@nectary/components 0.22.0 → 0.24.0

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 (450) hide show
  1. package/accordion/index.js +3 -6
  2. package/accordion-item/index.d.ts +1 -1
  3. package/accordion-item/index.js +4 -7
  4. package/alert/index.js +3 -5
  5. package/alert-button/index.js +3 -6
  6. package/alert-close/index.d.ts +1 -1
  7. package/alert-close/index.js +4 -7
  8. package/avatar/index.d.ts +1 -1
  9. package/avatar/index.js +4 -6
  10. package/avatar-badge/index.d.ts +1 -1
  11. package/avatar-badge/index.js +4 -6
  12. package/avatar-status/index.d.ts +1 -1
  13. package/avatar-status/index.js +4 -6
  14. package/button/index.js +3 -6
  15. package/card/index.js +3 -6
  16. package/card-button/index.js +3 -6
  17. package/card-container/index.js +3 -6
  18. package/card-link/index.d.ts +1 -1
  19. package/card-link/index.js +4 -7
  20. package/chat/index.js +3 -6
  21. package/chat-avatar/index.js +3 -6
  22. package/chat-block/index.js +3 -6
  23. package/chat-bubble/index.js +3 -6
  24. package/checkbox/index.js +3 -6
  25. package/dialog/index.d.ts +3 -4
  26. package/dialog/index.js +5 -8
  27. package/dropdown/index.js +4 -7
  28. package/dropdown-option/index.d.ts +2 -1
  29. package/dropdown-option/index.js +4 -6
  30. package/grid/index.js +3 -5
  31. package/grid-item/index.js +3 -5
  32. package/help-tooltip/index.d.ts +1 -1
  33. package/help-tooltip/index.js +4 -6
  34. package/icon-button/index.js +3 -6
  35. package/icons/access-time/index.d.ts +11 -0
  36. package/icons/access-time/index.js +4 -0
  37. package/icons/add-alert/index.js +4 -0
  38. package/icons/add-comment/index.d.ts +11 -0
  39. package/icons/add-comment/index.js +4 -0
  40. package/icons/alt-route/index.d.ts +11 -0
  41. package/icons/alt-route/index.js +4 -0
  42. package/icons/app-settings-alt/index.js +4 -0
  43. package/icons/apps/index.js +4 -0
  44. package/icons/arrow-back/index.js +4 -0
  45. package/icons/arrow-back-ios/index.js +4 -0
  46. package/icons/arrow-downward/index.js +4 -0
  47. package/icons/arrow-drop-down/index.js +4 -0
  48. package/icons/arrow-drop-down-circle/index.js +4 -0
  49. package/icons/arrow-drop-up/index.js +4 -0
  50. package/icons/arrow-forward/index.js +4 -0
  51. package/icons/arrow-forward-ios/index.js +4 -0
  52. package/icons/arrow-left/index.js +4 -0
  53. package/icons/arrow-right/index.js +4 -0
  54. package/icons/arrow-upward/index.js +4 -0
  55. package/icons/assignment/index.d.ts +11 -0
  56. package/icons/assignment/index.js +4 -0
  57. package/icons/attach-email/index.js +4 -0
  58. package/icons/attachment/index.js +4 -0
  59. package/icons/auto-delete/index.js +4 -0
  60. package/icons/campaign/index.js +4 -0
  61. package/icons/cancel/index.js +4 -0
  62. package/icons/chat/index.d.ts +11 -0
  63. package/icons/chat/index.js +4 -0
  64. package/icons/chat-bubble-outline/index.d.ts +11 -0
  65. package/icons/chat-bubble-outline/index.js +4 -0
  66. package/icons/check/index.js +4 -0
  67. package/icons/check-circle-outline/index.d.ts +11 -0
  68. package/icons/check-circle-outline/index.js +4 -0
  69. package/icons/chevron-left/index.js +4 -0
  70. package/icons/chevron-right/index.js +4 -0
  71. package/icons/close/index.js +4 -0
  72. package/icons/cloud/index.js +4 -0
  73. package/icons/cloud-circle/index.js +4 -0
  74. package/icons/cloud-done/index.js +4 -0
  75. package/icons/cloud-download/index.js +4 -0
  76. package/icons/cloud-off/index.js +4 -0
  77. package/icons/cloud-queue/index.js +4 -0
  78. package/icons/cloud-upload/index.js +4 -0
  79. package/icons/comment/index.d.ts +11 -0
  80. package/icons/comment/index.js +4 -0
  81. package/icons/create/index.d.ts +11 -0
  82. package/icons/create/index.js +4 -0
  83. package/{icon → icons}/create-icon-class.d.ts +1 -1
  84. package/{icon → icons}/create-icon-class.js +3 -5
  85. package/icons/create-new-folder/index.js +4 -0
  86. package/icons/done-all/index.d.ts +11 -0
  87. package/icons/done-all/index.js +4 -0
  88. package/icons/double-arrow/index.js +4 -0
  89. package/icons/download/index.js +4 -0
  90. package/icons/download-done/index.js +4 -0
  91. package/{icon → icons}/east/index.js +1 -1
  92. package/icons/error/index.js +4 -0
  93. package/icons/error-outline/index.js +4 -0
  94. package/icons/expand-less/index.js +4 -0
  95. package/icons/expand-more/index.js +4 -0
  96. package/icons/filter-list/index.js +4 -0
  97. package/icons/first-page/index.js +4 -0
  98. package/icons/folder/index.js +4 -0
  99. package/icons/folder-open/index.js +4 -0
  100. package/icons/folder-shared/index.js +4 -0
  101. package/icons/forum/index.d.ts +11 -0
  102. package/icons/forum/index.js +4 -0
  103. package/icons/fullscreen/index.js +4 -0
  104. package/icons/fullscreen-exit/index.js +4 -0
  105. package/icons/help-outline/index.js +4 -0
  106. package/icons/history/index.d.ts +11 -0
  107. package/icons/history/index.js +4 -0
  108. package/icons/home-work/index.js +4 -0
  109. package/icons/info-outline/index.d.ts +11 -0
  110. package/icons/info-outline/index.js +4 -0
  111. package/icons/insert-emoticon/index.d.ts +11 -0
  112. package/icons/insert-emoticon/index.js +4 -0
  113. package/icons/keyboard-arrow-down/index.js +4 -0
  114. package/icons/keyboard-arrow-left/index.js +4 -0
  115. package/icons/keyboard-arrow-right/index.js +4 -0
  116. package/icons/keyboard-arrow-up/index.js +4 -0
  117. package/icons/last-page/index.js +4 -0
  118. package/icons/legend-toggle/index.js +4 -0
  119. package/icons/local-offer/index.d.ts +11 -0
  120. package/icons/local-offer/index.js +4 -0
  121. package/icons/mark-chat-read/index.d.ts +11 -0
  122. package/icons/mark-chat-read/index.js +4 -0
  123. package/icons/mark-chat-unread/index.d.ts +11 -0
  124. package/icons/mark-chat-unread/index.js +4 -0
  125. package/icons/menu/index.js +4 -0
  126. package/icons/menu-open/index.js +4 -0
  127. package/icons/mic-none/index.d.ts +11 -0
  128. package/icons/mic-none/index.js +4 -0
  129. package/{icon → icons}/more-horiz/index.js +1 -1
  130. package/icons/more-time/index.d.ts +11 -0
  131. package/icons/more-time/index.js +4 -0
  132. package/{icon → icons}/more-vert/index.js +1 -1
  133. package/{icon → icons}/north/index.js +1 -1
  134. package/{icon → icons}/north-east/index.js +1 -1
  135. package/{icon → icons}/north-west/index.js +1 -1
  136. package/icons/notes/index.d.ts +11 -0
  137. package/icons/notes/index.js +4 -0
  138. package/icons/notification-important/index.js +4 -0
  139. package/icons/notifications-none/index.d.ts +11 -0
  140. package/icons/notifications-none/index.js +4 -0
  141. package/icons/open-in-new/index.js +4 -0
  142. package/icons/pause-circle-outline/index.d.ts +11 -0
  143. package/icons/pause-circle-outline/index.js +4 -0
  144. package/icons/payments/index.js +4 -0
  145. package/icons/play-circle-outline/index.d.ts +11 -0
  146. package/icons/play-circle-outline/index.js +4 -0
  147. package/icons/refresh/index.js +4 -0
  148. package/icons/reply/index.d.ts +11 -0
  149. package/icons/reply/index.js +4 -0
  150. package/icons/request-quote/index.js +4 -0
  151. package/icons/rule-folder/index.js +4 -0
  152. package/icons/search/index.js +4 -0
  153. package/icons/send/index.d.ts +11 -0
  154. package/icons/send/index.js +4 -0
  155. package/icons/settings/index.d.ts +11 -0
  156. package/icons/settings/index.js +4 -0
  157. package/icons/snippet-folder/index.js +4 -0
  158. package/{icon → icons}/south/index.js +1 -1
  159. package/{icon → icons}/south-east/index.js +1 -1
  160. package/{icon → icons}/south-west/index.js +1 -1
  161. package/icons/star/index.d.ts +11 -0
  162. package/icons/star/index.js +4 -0
  163. package/icons/star-outline/index.d.ts +11 -0
  164. package/icons/star-outline/index.js +4 -0
  165. package/icons/stop/index.d.ts +11 -0
  166. package/icons/stop/index.js +4 -0
  167. package/icons/subdirectory-arrow-left/index.js +4 -0
  168. package/icons/subdirectory-arrow-right/index.js +4 -0
  169. package/icons/swap-vert/index.d.ts +11 -0
  170. package/icons/swap-vert/index.js +4 -0
  171. package/icons/switch-left/index.d.ts +11 -0
  172. package/icons/switch-left/index.js +4 -0
  173. package/icons/switch-right/index.d.ts +11 -0
  174. package/icons/switch-right/index.js +4 -0
  175. package/icons/text-snippet/index.js +4 -0
  176. package/icons/topic/index.js +4 -0
  177. package/icons/types.js +1 -0
  178. package/icons/undo/index.d.ts +11 -0
  179. package/icons/undo/index.js +4 -0
  180. package/icons/unfold-less/index.js +4 -0
  181. package/icons/unfold-more/index.js +4 -0
  182. package/icons/update/index.d.ts +11 -0
  183. package/icons/update/index.js +4 -0
  184. package/icons/upload/index.js +4 -0
  185. package/icons/volume-off/index.d.ts +11 -0
  186. package/icons/volume-off/index.js +4 -0
  187. package/icons/volume-up/index.d.ts +11 -0
  188. package/icons/volume-up/index.js +4 -0
  189. package/icons/warning/index.js +4 -0
  190. package/icons/warning-amber/index.js +4 -0
  191. package/{icon → icons}/west/index.js +1 -1
  192. package/icons-branded/barchart-down/index.d.ts +11 -0
  193. package/{icon-branded → icons-branded}/barchart-down/index.js +2 -2
  194. package/icons-branded/barchart-up/index.d.ts +11 -0
  195. package/{icon-branded → icons-branded}/barchart-up/index.js +2 -2
  196. package/{icon-branded/contact → icons-branded/bell}/index.d.ts +2 -2
  197. package/icons-branded/bell/index.js +4 -0
  198. package/{icon-branded/multiple-channels → icons-branded/campaigns}/index.d.ts +2 -2
  199. package/{icon-branded → icons-branded}/campaigns/index.js +2 -2
  200. package/icons-branded/chatbot/index.d.ts +11 -0
  201. package/{icon-branded → icons-branded}/chatbot/index.js +2 -2
  202. package/icons-branded/contact/index.d.ts +11 -0
  203. package/{icon-branded → icons-branded}/contact/index.js +2 -2
  204. package/{icon-branded → icons-branded}/create-icon-class.d.ts +1 -1
  205. package/{icon-branded → icons-branded}/create-icon-class.js +4 -6
  206. package/{icon-branded/campaigns → icons-branded/home}/index.d.ts +2 -2
  207. package/{icon-branded → icons-branded}/home/index.js +2 -2
  208. package/icons-branded/multiple-channels/index.d.ts +11 -0
  209. package/{icon-branded → icons-branded}/multiple-channels/index.js +2 -2
  210. package/{icon-branded/chatbot → icons-branded/rocket}/index.d.ts +2 -2
  211. package/{icon-branded → icons-branded}/rocket/index.js +2 -2
  212. package/icons-branded/settings/index.d.ts +11 -0
  213. package/{icon-branded → icons-branded}/settings/index.js +2 -2
  214. package/{icon-branded/barchart-up → icons-branded/user}/index.d.ts +2 -2
  215. package/icons-branded/user/index.js +4 -0
  216. package/{icon-branded/barchart-down → icons-branded/users}/index.d.ts +2 -2
  217. package/{icon-branded → icons-branded}/users/index.js +2 -2
  218. package/icons-channel/apple-business-chat/index.d.ts +11 -0
  219. package/icons-channel/apple-business-chat/index.js +4 -0
  220. package/icons-channel/create-icon-class.d.ts +310 -0
  221. package/icons-channel/create-icon-class.js +51 -0
  222. package/icons-channel/facebook-messenger/index.d.ts +11 -0
  223. package/icons-channel/facebook-messenger/index.js +4 -0
  224. package/icons-channel/instagram/index.d.ts +11 -0
  225. package/icons-channel/instagram/index.js +4 -0
  226. package/icons-channel/line/index.d.ts +11 -0
  227. package/icons-channel/line/index.js +4 -0
  228. package/icons-channel/talk/index.d.ts +11 -0
  229. package/icons-channel/talk/index.js +4 -0
  230. package/icons-channel/telegram/index.d.ts +11 -0
  231. package/icons-channel/telegram/index.js +4 -0
  232. package/icons-channel/twitter/index.d.ts +11 -0
  233. package/icons-channel/twitter/index.js +4 -0
  234. package/icons-channel/types.d.ts +7 -0
  235. package/icons-channel/viber/index.d.ts +11 -0
  236. package/icons-channel/viber/index.js +4 -0
  237. package/icons-channel/wechat/index.d.ts +11 -0
  238. package/icons-channel/wechat/index.js +4 -0
  239. package/icons-channel/whatsapp/index.d.ts +11 -0
  240. package/icons-channel/whatsapp/index.js +4 -0
  241. package/illustration/create-illustration-class.d.ts +1 -1
  242. package/illustration/create-illustration-class.js +3 -5
  243. package/index.d.ts +140 -95
  244. package/index.js +140 -95
  245. package/input/index.js +3 -6
  246. package/link/index.d.ts +1 -1
  247. package/link/index.js +6 -27
  248. package/logo/create-logo-class.d.ts +1 -1
  249. package/logo/create-logo-class.js +3 -5
  250. package/package.json +1 -1
  251. package/pagination/index.d.ts +6 -3
  252. package/pagination/index.js +19 -8
  253. package/popover/index.js +3 -6
  254. package/radio/index.js +3 -6
  255. package/radio-option/index.js +3 -6
  256. package/search/index.d.ts +2 -2
  257. package/search/index.js +6 -9
  258. package/search-option/index.js +3 -5
  259. package/segment/index.js +3 -6
  260. package/segment-collapse/index.d.ts +2 -2
  261. package/segment-collapse/index.js +5 -7
  262. package/select/index.js +22 -8
  263. package/spinner/index.js +3 -5
  264. package/table/index.js +3 -5
  265. package/table-body/index.js +3 -5
  266. package/table-cell/index.js +3 -5
  267. package/table-head/index.js +3 -5
  268. package/table-head-cell/index.js +3 -5
  269. package/table-row/index.js +3 -5
  270. package/tabs/index.js +3 -6
  271. package/tabs-option/index.js +4 -7
  272. package/tag/index.d.ts +1 -1
  273. package/tag/index.js +4 -6
  274. package/tag-close/index.d.ts +1 -1
  275. package/tag-close/index.js +4 -7
  276. package/textarea/index.js +3 -6
  277. package/title/index.d.ts +1 -1
  278. package/title/index.js +4 -7
  279. package/toggle/index.js +3 -6
  280. package/tooltip/index.js +3 -5
  281. package/utils.d.ts +10 -3
  282. package/utils.js +22 -14
  283. package/icon/add-alert/index.js +0 -4
  284. package/icon/app-settings-alt/index.js +0 -4
  285. package/icon/apps/index.js +0 -4
  286. package/icon/arrow-back/index.js +0 -4
  287. package/icon/arrow-back-ios/index.js +0 -4
  288. package/icon/arrow-downward/index.js +0 -4
  289. package/icon/arrow-drop-down/index.js +0 -4
  290. package/icon/arrow-drop-down-circle/index.js +0 -4
  291. package/icon/arrow-drop-up/index.js +0 -4
  292. package/icon/arrow-forward/index.js +0 -4
  293. package/icon/arrow-forward-ios/index.js +0 -4
  294. package/icon/arrow-left/index.js +0 -4
  295. package/icon/arrow-right/index.js +0 -4
  296. package/icon/arrow-upward/index.js +0 -4
  297. package/icon/attach-email/index.js +0 -4
  298. package/icon/attachment/index.js +0 -4
  299. package/icon/auto-delete/index.js +0 -4
  300. package/icon/campaign/index.js +0 -4
  301. package/icon/cancel/index.js +0 -4
  302. package/icon/check/index.js +0 -4
  303. package/icon/chevron-left/index.js +0 -4
  304. package/icon/chevron-right/index.js +0 -4
  305. package/icon/close/index.js +0 -4
  306. package/icon/cloud/index.js +0 -4
  307. package/icon/cloud-circle/index.js +0 -4
  308. package/icon/cloud-done/index.js +0 -4
  309. package/icon/cloud-download/index.js +0 -4
  310. package/icon/cloud-off/index.js +0 -4
  311. package/icon/cloud-queue/index.js +0 -4
  312. package/icon/cloud-upload/index.js +0 -4
  313. package/icon/create-new-folder/index.js +0 -4
  314. package/icon/double-arrow/index.js +0 -4
  315. package/icon/download/index.js +0 -4
  316. package/icon/download-done/index.js +0 -4
  317. package/icon/error/index.js +0 -4
  318. package/icon/error-outline/index.js +0 -4
  319. package/icon/expand-less/index.js +0 -4
  320. package/icon/expand-more/index.js +0 -4
  321. package/icon/filter-list/index.js +0 -4
  322. package/icon/first-page/index.js +0 -4
  323. package/icon/folder/index.js +0 -4
  324. package/icon/folder-open/index.js +0 -4
  325. package/icon/folder-shared/index.js +0 -4
  326. package/icon/fullscreen/index.js +0 -4
  327. package/icon/fullscreen-exit/index.js +0 -4
  328. package/icon/help-outline/index.js +0 -4
  329. package/icon/home-work/index.js +0 -4
  330. package/icon/keyboard-arrow-down/index.js +0 -4
  331. package/icon/keyboard-arrow-left/index.js +0 -4
  332. package/icon/keyboard-arrow-right/index.js +0 -4
  333. package/icon/keyboard-arrow-up/index.js +0 -4
  334. package/icon/last-page/index.js +0 -4
  335. package/icon/legend-toggle/index.js +0 -4
  336. package/icon/menu/index.js +0 -4
  337. package/icon/menu-open/index.js +0 -4
  338. package/icon/notification-important/index.js +0 -4
  339. package/icon/open-in-new/index.js +0 -4
  340. package/icon/payments/index.js +0 -4
  341. package/icon/refresh/index.js +0 -4
  342. package/icon/request-quote/index.js +0 -4
  343. package/icon/rule-folder/index.js +0 -4
  344. package/icon/search/index.js +0 -4
  345. package/icon/snippet-folder/index.js +0 -4
  346. package/icon/subdirectory-arrow-left/index.js +0 -4
  347. package/icon/subdirectory-arrow-right/index.js +0 -4
  348. package/icon/switch-left/index.d.ts +0 -11
  349. package/icon/switch-left/index.js +0 -4
  350. package/icon/switch-right/index.d.ts +0 -11
  351. package/icon/switch-right/index.js +0 -4
  352. package/icon/text-snippet/index.js +0 -4
  353. package/icon/topic/index.js +0 -4
  354. package/icon/unfold-less/index.js +0 -4
  355. package/icon/unfold-more/index.js +0 -4
  356. package/icon/upload/index.js +0 -4
  357. package/icon/warning/index.js +0 -4
  358. package/icon/warning-amber/index.js +0 -4
  359. package/icon-branded/home/index.d.ts +0 -11
  360. package/icon-branded/rocket/index.d.ts +0 -11
  361. package/icon-branded/settings/index.d.ts +0 -11
  362. package/icon-branded/user/index.d.ts +0 -11
  363. package/icon-branded/user/index.js +0 -4
  364. package/icon-branded/users/index.d.ts +0 -11
  365. /package/{icon → icons}/add-alert/index.d.ts +0 -0
  366. /package/{icon → icons}/app-settings-alt/index.d.ts +0 -0
  367. /package/{icon → icons}/apps/index.d.ts +0 -0
  368. /package/{icon → icons}/arrow-back/index.d.ts +0 -0
  369. /package/{icon → icons}/arrow-back-ios/index.d.ts +0 -0
  370. /package/{icon → icons}/arrow-downward/index.d.ts +0 -0
  371. /package/{icon → icons}/arrow-drop-down/index.d.ts +0 -0
  372. /package/{icon → icons}/arrow-drop-down-circle/index.d.ts +0 -0
  373. /package/{icon → icons}/arrow-drop-up/index.d.ts +0 -0
  374. /package/{icon → icons}/arrow-forward/index.d.ts +0 -0
  375. /package/{icon → icons}/arrow-forward-ios/index.d.ts +0 -0
  376. /package/{icon → icons}/arrow-left/index.d.ts +0 -0
  377. /package/{icon → icons}/arrow-right/index.d.ts +0 -0
  378. /package/{icon → icons}/arrow-upward/index.d.ts +0 -0
  379. /package/{icon → icons}/attach-email/index.d.ts +0 -0
  380. /package/{icon → icons}/attachment/index.d.ts +0 -0
  381. /package/{icon → icons}/auto-delete/index.d.ts +0 -0
  382. /package/{icon → icons}/campaign/index.d.ts +0 -0
  383. /package/{icon → icons}/cancel/index.d.ts +0 -0
  384. /package/{icon → icons}/check/index.d.ts +0 -0
  385. /package/{icon → icons}/chevron-left/index.d.ts +0 -0
  386. /package/{icon → icons}/chevron-right/index.d.ts +0 -0
  387. /package/{icon → icons}/close/index.d.ts +0 -0
  388. /package/{icon → icons}/cloud/index.d.ts +0 -0
  389. /package/{icon → icons}/cloud-circle/index.d.ts +0 -0
  390. /package/{icon → icons}/cloud-done/index.d.ts +0 -0
  391. /package/{icon → icons}/cloud-download/index.d.ts +0 -0
  392. /package/{icon → icons}/cloud-off/index.d.ts +0 -0
  393. /package/{icon → icons}/cloud-queue/index.d.ts +0 -0
  394. /package/{icon → icons}/cloud-upload/index.d.ts +0 -0
  395. /package/{icon → icons}/create-new-folder/index.d.ts +0 -0
  396. /package/{icon → icons}/double-arrow/index.d.ts +0 -0
  397. /package/{icon → icons}/download/index.d.ts +0 -0
  398. /package/{icon → icons}/download-done/index.d.ts +0 -0
  399. /package/{icon → icons}/east/index.d.ts +0 -0
  400. /package/{icon → icons}/error/index.d.ts +0 -0
  401. /package/{icon → icons}/error-outline/index.d.ts +0 -0
  402. /package/{icon → icons}/expand-less/index.d.ts +0 -0
  403. /package/{icon → icons}/expand-more/index.d.ts +0 -0
  404. /package/{icon → icons}/filter-list/index.d.ts +0 -0
  405. /package/{icon → icons}/first-page/index.d.ts +0 -0
  406. /package/{icon → icons}/folder/index.d.ts +0 -0
  407. /package/{icon → icons}/folder-open/index.d.ts +0 -0
  408. /package/{icon → icons}/folder-shared/index.d.ts +0 -0
  409. /package/{icon → icons}/fullscreen/index.d.ts +0 -0
  410. /package/{icon → icons}/fullscreen-exit/index.d.ts +0 -0
  411. /package/{icon → icons}/help-outline/index.d.ts +0 -0
  412. /package/{icon → icons}/home-work/index.d.ts +0 -0
  413. /package/{icon → icons}/keyboard-arrow-down/index.d.ts +0 -0
  414. /package/{icon → icons}/keyboard-arrow-left/index.d.ts +0 -0
  415. /package/{icon → icons}/keyboard-arrow-right/index.d.ts +0 -0
  416. /package/{icon → icons}/keyboard-arrow-up/index.d.ts +0 -0
  417. /package/{icon → icons}/last-page/index.d.ts +0 -0
  418. /package/{icon → icons}/legend-toggle/index.d.ts +0 -0
  419. /package/{icon → icons}/menu/index.d.ts +0 -0
  420. /package/{icon → icons}/menu-open/index.d.ts +0 -0
  421. /package/{icon → icons}/more-horiz/index.d.ts +0 -0
  422. /package/{icon → icons}/more-vert/index.d.ts +0 -0
  423. /package/{icon → icons}/north/index.d.ts +0 -0
  424. /package/{icon → icons}/north-east/index.d.ts +0 -0
  425. /package/{icon → icons}/north-west/index.d.ts +0 -0
  426. /package/{icon → icons}/notification-important/index.d.ts +0 -0
  427. /package/{icon → icons}/open-in-new/index.d.ts +0 -0
  428. /package/{icon → icons}/payments/index.d.ts +0 -0
  429. /package/{icon → icons}/refresh/index.d.ts +0 -0
  430. /package/{icon → icons}/request-quote/index.d.ts +0 -0
  431. /package/{icon → icons}/rule-folder/index.d.ts +0 -0
  432. /package/{icon → icons}/search/index.d.ts +0 -0
  433. /package/{icon → icons}/snippet-folder/index.d.ts +0 -0
  434. /package/{icon → icons}/south/index.d.ts +0 -0
  435. /package/{icon → icons}/south-east/index.d.ts +0 -0
  436. /package/{icon → icons}/south-west/index.d.ts +0 -0
  437. /package/{icon → icons}/subdirectory-arrow-left/index.d.ts +0 -0
  438. /package/{icon → icons}/subdirectory-arrow-right/index.d.ts +0 -0
  439. /package/{icon → icons}/text-snippet/index.d.ts +0 -0
  440. /package/{icon → icons}/topic/index.d.ts +0 -0
  441. /package/{icon → icons}/types.d.ts +0 -0
  442. /package/{icon → icons}/unfold-less/index.d.ts +0 -0
  443. /package/{icon → icons}/unfold-more/index.d.ts +0 -0
  444. /package/{icon → icons}/upload/index.d.ts +0 -0
  445. /package/{icon → icons}/warning/index.d.ts +0 -0
  446. /package/{icon → icons}/warning-amber/index.d.ts +0 -0
  447. /package/{icon → icons}/west/index.d.ts +0 -0
  448. /package/{icon-branded → icons-branded}/types.d.ts +0 -0
  449. /package/{icon-branded → icons-branded}/types.js +0 -0
  450. /package/{icon → icons-channel}/types.js +0 -0
package/dialog/index.js CHANGED
@@ -12,13 +12,13 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
12
12
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
13
13
 
14
14
  import dialogPolyfill from 'dialog-polyfill';
15
- import { defineCustomElement, getAttribute, getBooleanAttribute, getRect, isAttrTrue, updateAttribute, getReactEventHandler } from '../utils';
15
+ import { defineCustomElement, getAttribute, getBooleanAttribute, getRect, isAttrTrue, updateAttribute, getReactEventHandler, NectaryElement } from '../utils';
16
16
  import '../icon-button';
17
- import '../icon/close';
18
- const templateHTML = '<style>dialog{position:absolute;left:0;right:0;margin:auto;display:flex;flex-direction:column;padding:24px;width:100%;max-width:512px;border-radius:4px;box-sizing:border-box;background-color:var(--sinch-color-snow-100);color:var(--sinch-color-text-default);font:var(--sinch-font-body);border:none;box-shadow:1px 2px 8px rgba(0,0,0,.1)}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.55}dialog::backdrop{background-color:#000;opacity:.55}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translate(0,-50%)}#header{display:flex;flex-direction:row;justify-content:space-between;align-content:center;margin-bottom:16px}#caption{font:var(--sinch-font-title-m);color:var(--sinch-color-text-default)}#content-wrapper{max-height:50vh;overflow-y:auto}#close{all:initial;cursor:pointer;--sinch-size-icon:24px}#buttons{display:flex;flex-direction:row;justify-content:flex-end;gap:16px;margin-top:24px}</style><dialog><div id="header"><span id="caption"></span> <button id="close"><sinch-icon-close></sinch-icon-close></button></div><div id="content-wrapper"><slot name="content"></slot></div><div id="buttons"><slot name="buttons"></slot></div></dialog>';
17
+ import '../icons/close';
18
+ const templateHTML = '<style>dialog{position:absolute;left:0;right:0;margin:auto;display:flex;flex-direction:column;padding:24px;width:100%;max-width:512px;border-radius:4px;box-sizing:border-box;background-color:var(--sinch-color-snow-100);color:var(--sinch-color-text-default);font:var(--sinch-font-body);border:none;box-shadow:1px 2px 8px rgba(0,0,0,.1)}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.55}dialog::backdrop{background-color:#000;opacity:.55}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translate(0,-50%)}#header{display:flex;flex-direction:row;justify-content:space-between;align-content:center;margin-bottom:16px}#caption{font:var(--sinch-font-title-m);color:var(--sinch-color-text-default)}#content-wrapper{min-height:0;overflow:auto;max-height:var(--sinch-dialog-max-height,50vh)}#close{all:initial;cursor:pointer;--sinch-size-icon:24px}#buttons{display:flex;flex-direction:row;justify-content:flex-end;gap:16px;margin-top:24px}</style><dialog><div id="header"><span id="caption"></span> <button id="close"><sinch-icon-close></sinch-icon-close></button></div><div id="content-wrapper"><slot name="content"></slot></div><div id="buttons"><slot name="buttons"></slot></div></dialog>';
19
19
  const template = document.createElement('template');
20
20
  template.innerHTML = templateHTML;
21
- defineCustomElement('sinch-dialog', (_$dialog = new WeakMap(), _$closeButton = new WeakMap(), _$caption = new WeakMap(), _isConnected = new WeakMap(), _onCancel = new WeakMap(), _onCloseClick = new WeakMap(), _onBackdropClick = new WeakMap(), _onCloseReactHandler = new WeakMap(), _dispatchCloseEvent = new WeakSet(), _setOpen = new WeakSet(), class extends HTMLElement {
21
+ defineCustomElement('sinch-dialog', (_$dialog = new WeakMap(), _$closeButton = new WeakMap(), _$caption = new WeakMap(), _isConnected = new WeakMap(), _onCancel = new WeakMap(), _onCloseClick = new WeakMap(), _onBackdropClick = new WeakMap(), _onCloseReactHandler = new WeakMap(), _dispatchCloseEvent = new WeakSet(), _setOpen = new WeakSet(), class extends NectaryElement {
22
22
  constructor() {
23
23
  super();
24
24
 
@@ -83,10 +83,7 @@ defineCustomElement('sinch-dialog', (_$dialog = new WeakMap(), _$closeButton = n
83
83
  }
84
84
  });
85
85
 
86
- const shadowRoot = this.attachShadow({
87
- mode: 'closed',
88
- delegatesFocus: true
89
- });
86
+ const shadowRoot = this.attachShadow();
90
87
  shadowRoot.appendChild(template.content.cloneNode(true));
91
88
 
92
89
  _classPrivateFieldSet(this, _$dialog, shadowRoot.querySelector('dialog'));
package/dropdown/index.js CHANGED
@@ -13,7 +13,7 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(
13
13
 
14
14
  import dialogPolyfill from 'dialog-polyfill';
15
15
  import { isDropdownOptionElement } from '../dropdown-option';
16
- import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, getRect, isAttrTrue, updateAttribute, updateBooleanAttribute, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
16
+ import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, getRect, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
17
17
  const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{position:relative;width:100%;box-sizing:border-box}dialog{outline:0;border:none;font:var(--sinch-font-body);color:var(--sinch-color-text-default);background-color:var(--sinch-color-snow-100);box-shadow:1px 2px 4px rgba(0,0,0,.15);overflow-y:auto;contain:content;padding:0;border-radius:4px;cursor:pointer}dialog::backdrop{background-color:transparent}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:transparent}dialog.fixed{position:fixed;top:50%;transform:translate(0,-50%)}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}::slotted(*){display:block}</style><div id="wrapper"><div id="target" aria-haspopup="listbox" aria-expanded="false"><slot name="target"></slot></div><dialog id="listbox" tabindex="-1"><slot name="option"></slot></dialog></div>';
18
18
  const orientationValues = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
19
19
  const ITEM_HEIGHT = 40;
@@ -30,7 +30,7 @@ const findSelectedOption = elements => {
30
30
 
31
31
  const template = document.createElement('template');
32
32
  template.innerHTML = templateHTML;
33
- defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _isConnected = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyPress = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(), _isOpen = new WeakSet(), _updateOrientation = new WeakSet(), _onValueChange = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _getOptionWithValue = new WeakSet(), _getOptionElements = new WeakSet(), _getEnabledOptionElements = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _dispatchCloseEvent = new WeakSet(), _onCancel = new WeakMap(), _onCloseReactHandler = new WeakMap(), class extends HTMLElement {
33
+ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot = new WeakMap(), _$listbox = new WeakMap(), _isConnected = new WeakMap(), _onListboxClick = new WeakMap(), _onListboxKeyPress = new WeakMap(), _onListboxKeyDown = new WeakMap(), _onOptionSlotChange = new WeakMap(), _onExpand = new WeakSet(), _onCollapse = new WeakSet(), _isOpen = new WeakSet(), _updateOrientation = new WeakSet(), _onValueChange = new WeakSet(), _getFirstOption = new WeakSet(), _getLastOption = new WeakSet(), _getNextOption = new WeakSet(), _getPrevOption = new WeakSet(), _selectOption = new WeakSet(), _getOptionWithValue = new WeakSet(), _getOptionElements = new WeakSet(), _getEnabledOptionElements = new WeakSet(), _dispatchChangeEvent = new WeakSet(), _dispatchCloseEvent = new WeakSet(), _onCancel = new WeakMap(), _onCloseReactHandler = new WeakMap(), class extends NectaryElement {
34
34
  constructor() {
35
35
  super();
36
36
 
@@ -173,10 +173,7 @@ defineCustomElement('sinch-dropdown', (_$target = new WeakMap(), _$optionSlot =
173
173
  }
174
174
  });
175
175
 
176
- const shadowRoot = this.attachShadow({
177
- mode: 'closed',
178
- delegatesFocus: true
179
- });
176
+ const shadowRoot = this.attachShadow();
180
177
  shadowRoot.appendChild(template.content.cloneNode(true));
181
178
 
182
179
  _classPrivateFieldSet(this, _$target, shadowRoot.querySelector('#target'));
@@ -470,7 +467,7 @@ function _getEnabledOptionElements2() {
470
467
  }
471
468
 
472
469
  function _dispatchChangeEvent2($opt) {
473
- if ($opt != null && this.value !== $opt.value) {
470
+ if ($opt != null) {
474
471
  this.dispatchEvent(new CustomEvent('change', {
475
472
  detail: $opt.value,
476
473
  bubbles: true
@@ -1,5 +1,6 @@
1
+ import { NectaryElement } from '../utils';
1
2
  import type { TSinchElementReact } from '../types';
2
- export declare class DropdownOption extends HTMLElement {
3
+ export declare class DropdownOption extends NectaryElement {
3
4
  #private;
4
5
  constructor();
5
6
  connectedCallback(): void;
@@ -5,8 +5,8 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedec
5
5
 
6
6
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
7
7
 
8
- import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, updateAttribute, updateBooleanAttribute } from '../utils';
9
- const templateHTML = '<style>:host{display:block}*{pointer-events:none}#wrapper{display:flex;position:relative;box-sizing:border-box;height:40px;padding:6px 12px;width:100%;align-items:center;gap:12px;--sinch-size-icon:24px}#content{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(:hover)>#wrapper,:host([data-selected])>#wrapper{background-color:var(--sinch-color-snow-500)}:host([checked])>#wrapper{padding-right:36px}:host([checked])>#wrapper::after{content:"";position:absolute;top:12px;right:11px;width:18px;height:14px;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M6 11.17 1.83 7 .41 8.41 6 14 18 2 16.59.59 6 11.17Z\' fill=\'%230A273D\'/%3E%3C/svg%3E");background-size:cover;background-repeat:no-repeat}:host([disabled]:not([disabled=false]))>#wrapper{color:var(--sinch-color-stormy-100);--sinch-color-icon:var(--sinch-color-stormy-100)}</style><div id="wrapper"><slot name="icon"></slot><span id="content"></span></div>';
8
+ import { defineCustomElement, getAttribute, getBooleanAttribute, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute } from '../utils';
9
+ const templateHTML = '<style>:host{display:block}:host()>*{pointer-events:none}#wrapper{display:flex;position:relative;box-sizing:border-box;height:40px;padding:6px 12px;width:100%;align-items:center;gap:12px;--sinch-size-icon:24px}#content{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(:hover)>#wrapper,:host([data-selected])>#wrapper{background-color:var(--sinch-color-snow-500)}:host([checked])>#wrapper{padding-right:36px}:host([checked])>#wrapper::after{content:"";position:absolute;top:12px;right:11px;width:18px;height:14px;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M6 11.17 1.83 7 .41 8.41 6 14 18 2 16.59.59 6 11.17Z\' fill=\'%230A273D\'/%3E%3C/svg%3E");background-size:cover;background-repeat:no-repeat}:host([disabled]:not([disabled=false]))>#wrapper{color:var(--sinch-color-stormy-100);--sinch-color-icon:var(--sinch-color-stormy-100)}</style><div id="wrapper"><slot name="icon"></slot><span id="content"></span></div>';
10
10
  const template = document.createElement('template');
11
11
  template.innerHTML = templateHTML;
12
12
 
@@ -14,7 +14,7 @@ var _$iconSlot = new WeakMap();
14
14
 
15
15
  var _$content = new WeakMap();
16
16
 
17
- export class DropdownOption extends HTMLElement {
17
+ export class DropdownOption extends NectaryElement {
18
18
  constructor() {
19
19
  super();
20
20
 
@@ -28,9 +28,7 @@ export class DropdownOption extends HTMLElement {
28
28
  value: void 0
29
29
  });
30
30
 
31
- const shadowRoot = this.attachShadow({
32
- mode: 'closed'
33
- });
31
+ const shadowRoot = this.attachShadow();
34
32
  shadowRoot.appendChild(template.content.cloneNode(true));
35
33
 
36
34
  _classPrivateFieldSet(this, _$iconSlot, shadowRoot.querySelector('slot'));
package/grid/index.js CHANGED
@@ -1,14 +1,12 @@
1
- import { defineCustomElement } from '../utils';
1
+ import { defineCustomElement, NectaryElement } from '../utils';
2
2
  const templateHTML = '<style>:host{--sinch-grid-gutter:24px;--sinch-grid-margin:32px;--sinch-grid-num-columns:12;display:grid;grid-template-columns:repeat(var(--sinch-grid-num-columns),minmax(0,1fr));grid-column-gap:var(--sinch-grid-gutter);grid-row-gap:var(--sinch-grid-gutter);padding:var(--sinch-grid-margin)}@media only screen and (max-width:1439px){:host{--sinch-grid-gutter:24px;--sinch-grid-margin:24px;--sinch-grid-num-columns:12}}@media only screen and (max-width:1023px){:host{--sinch-grid-gutter:24px;--sinch-grid-margin:24px;--sinch-grid-num-columns:8}}@media only screen and (max-width:767px){:host{--sinch-grid-gutter:16px;--sinch-grid-margin:16px;--sinch-grid-num-columns:4}}</style><slot name="item"></slot>';
3
3
  import '../grid-item';
4
4
  const template = document.createElement('template');
5
5
  template.innerHTML = templateHTML;
6
- defineCustomElement('sinch-grid', class extends HTMLElement {
6
+ defineCustomElement('sinch-grid', class extends NectaryElement {
7
7
  constructor() {
8
8
  super();
9
- const shadowRoot = this.attachShadow({
10
- mode: 'closed'
11
- });
9
+ const shadowRoot = this.attachShadow();
12
10
  shadowRoot.appendChild(template.content.cloneNode(true));
13
11
  }
14
12
 
@@ -1,13 +1,11 @@
1
- import { defineCustomElement, getIntegerAttribute, updateIntegerAttribute } from '../utils';
1
+ import { defineCustomElement, getIntegerAttribute, NectaryElement, updateIntegerAttribute } from '../utils';
2
2
  const templateHTML = '<style>:host{display:block;grid-column:span 12}:host([xl="2"]){grid-column:span 2}:host([xl="3"]){grid-column:span 3}:host([xl="4"]){grid-column:span 4}:host([xl="5"]){grid-column:span 5}:host([xl="6"]){grid-column:span 6}:host([xl="7"]){grid-column:span 7}:host([xl="8"]){grid-column:span 8}:host([xl="9"]){grid-column:span 9}:host([xl="10"]){grid-column:span 10}:host([xl="11"]){grid-column:span 11}:host([xl="12"]){grid-column:span 12}@media only screen and (max-width:1439px){:host{grid-column:span 12}:host([l="2"]){grid-column:span 2}:host([l="3"]){grid-column:span 3}:host([l="4"]){grid-column:span 4}:host([l="5"]){grid-column:span 5}:host([l="6"]){grid-column:span 6}:host([l="7"]){grid-column:span 7}:host([l="8"]){grid-column:span 8}:host([l="9"]){grid-column:span 9}:host([l="10"]){grid-column:span 10}:host([l="11"]){grid-column:span 11}:host([l="12"]){grid-column:span 12}}@media only screen and (max-width:1023px){:host{grid-column:span 8}:host([m="2"]){grid-column:span 2}:host([m="3"]){grid-column:span 3}:host([m="4"]){grid-column:span 4}:host([m="5"]){grid-column:span 5}:host([m="6"]){grid-column:span 6}:host([m="7"]){grid-column:span 7}:host([m="8"]){grid-column:span 8}}@media only screen and (max-width:767px){:host{grid-column:span 4}:host([s="2"]){grid-column:span 2}:host([s="3"]){grid-column:span 3}:host([s="4"]){grid-column:span 4}}</style><slot name="content"></slot>';
3
3
  const template = document.createElement('template');
4
4
  template.innerHTML = templateHTML;
5
- defineCustomElement('sinch-grid-item', class extends HTMLElement {
5
+ defineCustomElement('sinch-grid-item', class extends NectaryElement {
6
6
  constructor() {
7
7
  super();
8
- const shadowRoot = this.attachShadow({
9
- mode: 'closed'
10
- });
8
+ const shadowRoot = this.attachShadow();
11
9
  shadowRoot.appendChild(template.content.cloneNode(true));
12
10
  }
13
11
 
@@ -1,5 +1,5 @@
1
1
  import '../tooltip';
2
- import '../icon/help-outline';
2
+ import '../icons/help-outline';
3
3
  import type { TSinchTooltipElement, TSinchTooltipReact } from '../tooltip';
4
4
  export declare type TSinchHelpTooltipElement = TSinchTooltipElement;
5
5
  export declare type TSinchHelpTooltipReact = TSinchTooltipReact;
@@ -1,15 +1,13 @@
1
1
  import '../tooltip';
2
- import '../icon/help-outline';
3
- import { defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, updateAttribute, updateBooleanAttribute, updateIntegerAttribute } from '../utils';
2
+ import '../icons/help-outline';
3
+ import { defineCustomElement, getAttribute, getBooleanAttribute, getIntegerAttribute, NectaryElement, updateAttribute, updateBooleanAttribute, updateIntegerAttribute } from '../utils';
4
4
  const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;--sinch-size-icon:18px}sinch-tooltip{display:block}</style><sinch-tooltip><sinch-icon-help-outline></sinch-icon-help-outline></sinch-tooltip>';
5
5
  const template = document.createElement('template');
6
6
  template.innerHTML = templateHTML;
7
- defineCustomElement('sinch-help-tooltip', class extends HTMLElement {
7
+ defineCustomElement('sinch-help-tooltip', class extends NectaryElement {
8
8
  constructor() {
9
9
  super();
10
- const shadowRoot = this.attachShadow({
11
- mode: 'closed'
12
- });
10
+ const shadowRoot = this.attachShadow();
13
11
  shadowRoot.appendChild(template.content.cloneNode(true));
14
12
  this.$tooltip = shadowRoot.querySelector('sinch-tooltip');
15
13
  }
@@ -7,11 +7,11 @@ function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedec
7
7
 
8
8
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
9
9
 
10
- import { defineCustomElement, getBooleanAttribute, isAttrTrue, updateBooleanAttribute } from '../utils';
10
+ import { defineCustomElement, getBooleanAttribute, isAttrTrue, NectaryElement, updateBooleanAttribute } from '../utils';
11
11
  const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}button{all:initial;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:48px;height:48px;border-radius:4px;background-color:transparent;box-shadow:0 0 0 1px transparent inset;cursor:pointer;--sinch-size-icon:24px;--sinch-color-icon:var(--sinch-icon-button-color, var(--sinch-color-stormy-500))}button:focus{box-shadow:0 0 0 1px var(--sinch-color-stormy-500) inset}button:hover{background-color:var(--sinch-color-snow-500)}button:active{background-color:var(--sinch-color-snow-600)}button:disabled{background-color:transparent;cursor:initial;--sinch-color-spinner-bg:var(--sinch-color-snow-200);--sinch-color-spinner-fg:var(--sinch-color-stormy-200);--sinch-color-icon:var(--sinch-color-stormy-100)}:host([small]:not([small=false]))>button{width:32px;height:32px}button>*{pointer-events:none}</style><button><slot name="icon"></slot></button>';
12
12
  const template = document.createElement('template');
13
13
  template.innerHTML = templateHTML;
14
- defineCustomElement('sinch-icon-button', (_$button = new WeakMap(), class extends HTMLElement {
14
+ defineCustomElement('sinch-icon-button', (_$button = new WeakMap(), class extends NectaryElement {
15
15
  constructor() {
16
16
  super();
17
17
 
@@ -20,10 +20,7 @@ defineCustomElement('sinch-icon-button', (_$button = new WeakMap(), class extend
20
20
  value: void 0
21
21
  });
22
22
 
23
- const shadowRoot = this.attachShadow({
24
- mode: 'closed',
25
- delegatesFocus: true
26
- });
23
+ const shadowRoot = this.attachShadow();
27
24
  shadowRoot.appendChild(template.content.cloneNode(true));
28
25
 
29
26
  _classPrivateFieldSet(this, _$button, shadowRoot.querySelector('button'));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-access-time': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-access-time': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24a.71.71 0 0 0-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72Z"/></svg>';
4
+ defineCustomElement('sinch-icon-access-time', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 23c1.1 0 1.99-.89 1.99-1.99h-3.98c0 1.1.89 1.99 1.99 1.99Zm7-6v-6c0-3.35-2.36-6.15-5.5-6.83V3c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v1.17C7.36 4.85 5 7.65 5 11v6l-1.29 1.29c-.63.63-.19 1.71.7 1.71h15.17c.89 0 1.34-1.08.71-1.71L19 17Zm-4-3.99h-2v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H9c-.55 0-1-.45-1-1V12c0-.55.45-1 1-1h2V9c0-.55.45-1 1-1s1 .45 1 1v2h2c.55 0 1 .45 1 1v.01c0 .55-.45 1-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-add-alert', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-add-comment': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-add-comment': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M22 4c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4Zm-6 7h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V6c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-add-comment', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-alt-route': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-alt-route': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m9.78 11.16-1.42 1.42a7.282 7.282 0 0 1-1.79-2.94l1.94-.49c.32.89.77 1.5 1.27 2.01Zm.37-6.01-2.8-2.8c-.2-.2-.51-.2-.71 0l-2.79 2.8a.5.5 0 0 0 .36.85h1.81c.02.81.08 1.54.19 2.17l1.94-.49C8.08 7.2 8.03 6.63 8.02 6H9.8a.5.5 0 0 0 .35-.85Zm10 0-2.79-2.79c-.2-.2-.51-.2-.71 0l-2.79 2.79c-.32.31-.1.85.35.85h1.78c-.1 3.68-1.28 4.75-2.54 5.88-.5.44-1.01.92-1.45 1.55-.34-.49-.73-.88-1.13-1.24L9.46 13.6c.93.85 1.54 1.54 1.54 3.4v4c0 .55.45 1 1 1s1-.45 1-1v-4c0-2.02.71-2.66 1.79-3.63 1.38-1.24 3.08-2.78 3.2-7.37h1.8a.5.5 0 0 0 .36-.85Z"/></svg>';
4
+ defineCustomElement('sinch-icon-alt-route', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m21.81 12.74-.82-.63v-.22l.8-.63c.16-.12.2-.34.1-.51l-.85-1.48a.395.395 0 0 0-.35-.2c-.05 0-.1.01-.15.03l-.95.38c-.08-.05-.11-.07-.19-.11l-.15-1.01a.408.408 0 0 0-.4-.36h-1.71c-.2 0-.37.15-.4.34l-.14 1.01c-.03.02-.07.03-.1.05l-.09.06-.95-.38a.401.401 0 0 0-.5.17l-.85 1.48c-.1.17-.06.39.1.51l.8.63v.23l-.8.63a.39.39 0 0 0-.1.51l.85 1.48c.07.13.21.2.35.2.05 0 .1-.01.15-.03l.95-.37c.08.05.12.07.2.11l.15 1.01c.03.2.2.34.4.34h1.71c.2 0 .37-.15.4-.34l.15-1.01c.03-.02.07-.03.1-.05l.09-.06.95.38a.401.401 0 0 0 .5-.17l.85-1.48a.39.39 0 0 0-.1-.51ZM18 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5ZM17 17h2v4c0 1.1-.9 2-2 2H7c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v4h-2V6H7v12h10v-1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-app-settings-alt', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M4 8h4V4H4v4Zm6 12h4v-4h-4v4Zm-6 0h4v-4H4v4Zm0-6h4v-4H4v4Zm6 0h4v-4h-4v4Zm6-10v4h4V4h-4Zm-6 4h4V4h-4v4Zm6 6h4v-4h-4v4Zm0 6h4v-4h-4v4Z"/></svg>';
4
+ defineCustomElement('sinch-icon-apps', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59a.996.996 0 0 0 0 1.41l6.59 6.59a.996.996 0 1 0 1.41-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-back', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M16.62 2.99a1.25 1.25 0 0 0-1.77 0L6.54 11.3a.996.996 0 0 0 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-back-ios', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M11 5v11.17l-4.88-4.88c-.39-.39-1.03-.39-1.42 0a.996.996 0 0 0 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 1 0-1.41-1.41L13 16.17V5c0-.55-.45-1-1-1s-1 .45-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-downward', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m8.71 11.71 2.59 2.59c.39.39 1.02.39 1.41 0l2.59-2.59c.63-.63.18-1.71-.71-1.71H9.41c-.89 0-1.33 1.08-.7 1.71Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-drop-down', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm-.35 12.65-2.79-2.79c-.32-.32-.1-.86.35-.86h5.59c.45 0 .67.54.35.85l-2.79 2.79c-.2.2-.52.2-.71.01Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-drop-down-circle', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M8.71 12.29 11.3 9.7a.996.996 0 0 1 1.41 0l2.59 2.59c.63.63.18 1.71-.71 1.71H9.41c-.89 0-1.33-1.08-.7-1.71Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-drop-up', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 0 0 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-forward', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31a.996.996 0 0 0 0-1.41L9.15 2.98a1.25 1.25 0 0 0-1.77 0 1.25 1.25 0 0 0 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-forward-ios', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12.29 8.71 9.7 11.3a.996.996 0 0 0 0 1.41l2.59 2.59c.63.63 1.71.18 1.71-.71V9.41c0-.89-1.08-1.33-1.71-.7Z" fill="#0A273D"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-left', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m11.71 15.29 2.59-2.59a.996.996 0 0 0 0-1.41L11.71 8.7c-.63-.62-1.71-.18-1.71.71v5.17c0 .9 1.08 1.34 1.71.71Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-right', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M13 19V7.83l4.88 4.88c.39.39 1.03.39 1.42 0a.996.996 0 0 0 0-1.41l-6.59-6.59a.996.996 0 0 0-1.41 0l-6.6 6.58a.996.996 0 1 0 1.41 1.41L11 7.83V19c0 .55.45 1 1 1s1-.45 1-1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-arrow-upward', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-assignment': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-assignment': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1Zm1 14H8c-.55 0-1-.45-1-1s.45-1 1-1h5c.55 0 1 .45 1 1s-.45 1-1 1Zm3-4H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1Zm0-4H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-assignment', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21 10V4c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2L1 16c0 1.1.9 2 2 2h11v-5c0-1.66 1.34-3 3-3h4Zm-9.47.67c-.32.2-.74.2-1.06 0L3.4 6.25a.85.85 0 1 1 .9-1.44L11 9l6.7-4.19a.85.85 0 1 1 .9 1.44l-7.07 4.42Z" fill="#0A273D"/><path d="M22 14c-.55 0-1 .45-1 1v3c0 1.1-.9 2-2 2s-2-.9-2-2v-4.5c0-.28.22-.5.5-.5s.5.22.5.5V17c0 .55.45 1 1 1s1-.45 1-1v-3.5a2.5 2.5 0 0 0-5 0V18c0 2.21 1.79 4 4 4s4-1.79 4-4v-3c0-.55-.45-1-1-1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-attach-email', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M17.75 16H7.17c-2.09 0-3.95-1.53-4.15-3.61A3.998 3.998 0 0 1 7 8h12.36c1.31 0 2.5.94 2.63 2.24A2.5 2.5 0 0 1 19.5 13H9c-.55 0-1-.45-1-1s.45-1 1-1h8.75c.41 0 .75-.34.75-.75s-.34-.75-.75-.75H9.14c-1.31 0-2.5.94-2.63 2.24A2.5 2.5 0 0 0 9 14.5h10.33c2.09 0 3.95-1.53 4.15-3.61A3.993 3.993 0 0 0 19.5 6.5H7.23c-2.87 0-5.44 2.1-5.71 4.96A5.505 5.505 0 0 0 7 17.5h10.75c.41 0 .75-.34.75-.75s-.34-.75-.75-.75Z"/></svg>';
4
+ defineCustomElement('sinch-icon-attachment', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M16 9c-.7 0-1.37.1-2 .29V7c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h5.68A6.999 6.999 0 0 0 23 16c0-3.87-3.13-7-7-7Zm0 12c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5ZM14 4c.55 0 1-.45 1-1s-.45-1-1-1h-2.5l-.71-.71c-.18-.18-.44-.29-.7-.29H5.91c-.26 0-.52.11-.7.29L4.5 2H2c-.55 0-1 .45-1 1s.45 1 1 1h12Z"/><path d="M15.75 12c-.41 0-.75.34-.75.75v3.68c0 .36.19.68.5.86l2.52 1.47c.33.19.75.09.96-.22a.72.72 0 0 0-.24-1.02L16.5 16.2v-3.45c0-.41-.34-.75-.75-.75Z"/></svg>';
4
+ defineCustomElement('sinch-icon-auto-delete', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 12c0 .55.45 1 1 1h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1Zm-1.41 4.82a.966.966 0 0 0 .2 1.37c.53.39 1.09.81 1.62 1.21.44.33 1.06.24 1.38-.2 0-.01.01-.01.01-.02a.978.978 0 0 0-.2-1.38c-.53-.4-1.09-.82-1.61-1.21a.993.993 0 0 0-1.39.21c0 .01-.01.02-.01.02Zm3.22-12.01c0-.01-.01-.01-.01-.02a.98.98 0 0 0-1.38-.2c-.53.4-1.1.82-1.62 1.22-.44.33-.52.95-.19 1.38 0 .01.01.01.01.02.33.44.94.53 1.38.2.53-.39 1.09-.82 1.62-1.22.43-.32.51-.94.19-1.38ZM8 9H4c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v3c0 .55.45 1 1 1s1-.45 1-1v-3h1l5 3V6L8 9Zm7.5 3c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34Z"/></svg>';
4
+ defineCustomElement('sinch-icon-campaign', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cancel', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-chat': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-chat': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2ZM7 9h10c.55 0 1 .45 1 1s-.45 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1Zm6 5H7c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1Zm4-6H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-chat', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-chat-bubble-outline': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-chat-bubble-outline': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm-1 14H6l-2 2V5c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-chat-bubble-outline', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9 16.17 5.53 12.7a.996.996 0 1 0-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71a.996.996 0 1 0-1.41-1.41L9 16.17Z"/></svg>';
4
+ defineCustomElement('sinch-icon-check', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-play-circle-outline': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-play-circle-outline': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Zm3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0Z"/></svg>';
4
+ defineCustomElement('sinch-icon-play-circle-outline', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M14.71 6.71a.996.996 0 0 0-1.41 0L8.71 11.3a.996.996 0 0 0 0 1.41l4.59 4.59a.996.996 0 1 0 1.41-1.41L10.83 12l3.88-3.88c.39-.39.38-1.03 0-1.41Z"/></svg>';
4
+ defineCustomElement('sinch-icon-chevron-left', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M9.29 6.71a.996.996 0 0 0 0 1.41L13.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01Z"/></svg>';
4
+ defineCustomElement('sinch-icon-chevron-right', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7A.996.996 0 1 0 5.7 7.11L10.59 12 5.7 16.89a.996.996 0 1 0 1.41 1.41L12 13.41l4.89 4.89a.996.996 0 1 0 1.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4Z"/></svg>';
4
+ defineCustomElement('sinch-icon-close', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3h.14c.44-1.73 1.99-3 3.86-3 2.21 0 4 1.79 4 4h.5a2.5 2.5 0 0 1 0 5Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud-circle', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96Zm-8.64 6.25a.996.996 0 0 1-1.41 0L7.2 14.2a.996.996 0 1 1 1.41-1.41L10 14.18l4.48-4.48a.996.996 0 1 1 1.41 1.41l-5.18 5.18Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud-done', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM17 13l-4.65 4.65c-.2.2-.51.2-.71 0L7 13h3V9h4v4h3Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud-download', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M24 15c0-2.64-2.05-4.78-4.65-4.96A7.49 7.49 0 0 0 12 4c-1.33 0-2.57.36-3.65.97l1.49 1.49C10.51 6.17 11.23 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19a2.996 2.996 0 0 1 1.79 5.4l1.41 1.41c1.09-.92 1.8-2.27 1.8-3.81ZM3.71 4.56a.996.996 0 0 0 0 1.41l2.06 2.06h-.42a5.99 5.99 0 0 0-5.29 6.79C.46 17.84 3.19 20 6.22 20h11.51l1.29 1.29a.996.996 0 1 0 1.41-1.41L5.12 4.56a.996.996 0 0 0-1.41 0ZM6 18c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73l8 8H6Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud-off', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud-queue', createIconClass(templateHTML));
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13h-3Z"/></svg>';
4
+ defineCustomElement('sinch-icon-cloud-upload', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-comment': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-comment': TSinchIconElement;
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ import { defineCustomElement } from '../../utils';
2
+ import { createIconClass } from '../create-icon-class';
3
+ const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18ZM17 14H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1Z"/></svg>';
4
+ defineCustomElement('sinch-icon-comment', createIconClass(templateHTML));
@@ -0,0 +1,11 @@
1
+ import type { TSinchIconElement, TSinchIconReact } from '../types';
2
+ declare global {
3
+ namespace JSX {
4
+ interface IntrinsicElements {
5
+ 'sinch-icon-create': TSinchIconReact;
6
+ }
7
+ }
8
+ interface HTMLElementTagNameMap {
9
+ 'sinch-icon-create': TSinchIconElement;
10
+ }
11
+ }