@nectary/components 5.42.4 → 5.42.5-rc.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 (536) hide show
  1. package/accordion/global/index.js +1 -1
  2. package/accordion/index.js +5 -5
  3. package/accordion/types.d.js +1 -0
  4. package/accordion-item/global/index.js +1 -1
  5. package/accordion-item/index.d.js +3 -0
  6. package/accordion-item/index.js +6 -6
  7. package/action-menu/global/index.d.js +1 -0
  8. package/action-menu/global/index.js +1 -1
  9. package/action-menu/index.d.js +1 -0
  10. package/action-menu/index.js +4 -4
  11. package/action-menu/types.d.js +1 -0
  12. package/action-menu-option/global/index.d.js +1 -0
  13. package/action-menu-option/global/index.js +1 -1
  14. package/action-menu-option/index.d.js +1 -0
  15. package/action-menu-option/index.js +4 -4
  16. package/action-menu-option/types.d.js +1 -0
  17. package/action-menu-option/utils.d.js +1 -0
  18. package/alert/global/index.d.js +1 -0
  19. package/alert/global/index.js +1 -1
  20. package/alert/index.d.js +3 -0
  21. package/alert/index.js +6 -6
  22. package/alert/types.d.js +1 -0
  23. package/alert/utils.d.js +1 -0
  24. package/avatar/colors.d.js +1 -0
  25. package/avatar/global/index.d.js +1 -0
  26. package/avatar/global/index.js +1 -1
  27. package/avatar/index.d.js +1 -0
  28. package/avatar/index.js +4 -4
  29. package/avatar/types.d.js +1 -0
  30. package/avatar/utils.d.js +1 -0
  31. package/badge/global/index.d.js +1 -0
  32. package/badge/global/index.js +1 -1
  33. package/badge/index.d.js +1 -0
  34. package/badge/index.js +5 -5
  35. package/badge/types.d.js +1 -0
  36. package/badge/utils.d.js +1 -0
  37. package/bundle.js +14159 -9183
  38. package/button/global/index.d.js +1 -0
  39. package/button/global/index.js +1 -1
  40. package/button/index.d.js +1 -0
  41. package/button/index.js +7 -7
  42. package/button/types.d.js +1 -0
  43. package/button/utils.d.js +1 -0
  44. package/button-group/global/index.d.js +1 -0
  45. package/button-group/global/index.js +1 -1
  46. package/button-group/index.d.js +1 -0
  47. package/button-group/index.js +4 -4
  48. package/button-group/types.d.js +1 -0
  49. package/button-group-item/global/index.d.js +1 -0
  50. package/button-group-item/global/index.js +1 -1
  51. package/button-group-item/index.d.js +1 -0
  52. package/button-group-item/index.js +3 -3
  53. package/button-group-item/types.d.js +1 -0
  54. package/card-container/global/index.d.js +1 -0
  55. package/card-container/global/index.js +1 -1
  56. package/card-container/index.d.js +1 -0
  57. package/card-container/index.js +1 -1
  58. package/card-container/types.d.js +1 -0
  59. package/card-v2/global/index.d.js +1 -0
  60. package/card-v2/global/index.js +1 -1
  61. package/card-v2/index.d.js +1 -0
  62. package/card-v2/index.js +3 -3
  63. package/card-v2/types.d.js +1 -0
  64. package/card-v2-title/global/index.d.js +1 -0
  65. package/card-v2-title/global/index.js +1 -1
  66. package/card-v2-title/index.d.js +1 -0
  67. package/card-v2-title/index.js +2 -2
  68. package/card-v2-title/types.d.js +1 -0
  69. package/checkbox/global/index.d.js +1 -0
  70. package/checkbox/global/index.js +1 -1
  71. package/checkbox/index.d.js +1 -0
  72. package/checkbox/index.js +5 -5
  73. package/checkbox/types.d.js +1 -0
  74. package/chip/colors.d.js +1 -0
  75. package/chip/global/index.d.js +1 -0
  76. package/chip/global/index.js +1 -1
  77. package/chip/index.d.js +2 -0
  78. package/chip/index.js +6 -6
  79. package/chip/types.d.js +1 -0
  80. package/chip/utils.d.js +1 -0
  81. package/code-tag/global/index.d.js +1 -0
  82. package/code-tag/global/index.js +1 -1
  83. package/code-tag/index.d.js +1 -0
  84. package/code-tag/index.js +2 -2
  85. package/code-tag/types.d.js +1 -0
  86. package/color-menu/global/index.d.js +1 -0
  87. package/color-menu/global/index.js +1 -1
  88. package/color-menu/index.d.js +1 -0
  89. package/color-menu/index.js +6 -6
  90. package/color-menu/types.d.js +1 -0
  91. package/color-menu/utils.d.js +1 -0
  92. package/color-menu-option/global/index.d.js +1 -0
  93. package/color-menu-option/global/index.js +1 -1
  94. package/color-menu-option/index.d.js +2 -0
  95. package/color-menu-option/index.js +5 -5
  96. package/color-menu-option/types.d.js +1 -0
  97. package/color-menu-option/utils.d.js +1 -0
  98. package/color-swatch/global/index.d.js +40 -0
  99. package/color-swatch/global/index.js +2 -2
  100. package/color-swatch/index.d.js +6 -0
  101. package/color-swatch/index.js +5 -5
  102. package/color-swatch/types.d.js +1 -0
  103. package/color-swatch/utils.d.js +1 -0
  104. package/color-swatch/utils.d.ts +2 -2
  105. package/color-swatch/utils.js +1 -1
  106. package/date-picker/global/index.d.js +1 -0
  107. package/date-picker/global/index.js +1 -1
  108. package/date-picker/index.d.js +2 -0
  109. package/date-picker/index.js +10 -10
  110. package/date-picker/types.d.js +1 -0
  111. package/date-picker/utils.d.js +1 -0
  112. package/dialog/global/index.d.js +1 -0
  113. package/dialog/global/index.js +1 -1
  114. package/dialog/index.d.js +3 -0
  115. package/dialog/index.d.ts +2 -2
  116. package/dialog/index.js +9 -9
  117. package/dialog/types.d.js +1 -0
  118. package/emoji/global/index.d.js +1 -0
  119. package/emoji/global/index.js +1 -1
  120. package/emoji/index.d.js +1 -0
  121. package/emoji/index.js +3 -3
  122. package/emoji/types.d.js +1 -0
  123. package/emoji/utils.d.js +1 -0
  124. package/emoji/utils.js +1 -1
  125. package/emoji-picker/global/index.d.js +1 -0
  126. package/emoji-picker/global/index.js +1 -1
  127. package/emoji-picker/index.d.js +7 -0
  128. package/emoji-picker/index.js +13 -16
  129. package/emoji-picker/types.d.js +1 -0
  130. package/field/global/index.d.js +1 -0
  131. package/field/global/index.js +1 -1
  132. package/field/index.d.js +1 -0
  133. package/field/index.js +4 -4
  134. package/field/types.d.js +1 -0
  135. package/field-v2/global/index.d.js +1 -0
  136. package/field-v2/global/index.js +1 -1
  137. package/field-v2/index.d.js +1 -0
  138. package/field-v2/index.js +5 -5
  139. package/field-v2/types.d.js +1 -0
  140. package/file-drop/global/index.d.js +1 -0
  141. package/file-drop/global/index.js +1 -1
  142. package/file-drop/index.d.js +2 -0
  143. package/file-drop/index.js +6 -6
  144. package/file-drop/types.d.js +1 -0
  145. package/file-drop/utils.d.js +1 -0
  146. package/file-picker/global/index.d.js +1 -0
  147. package/file-picker/global/index.js +1 -1
  148. package/file-picker/index.d.js +1 -0
  149. package/file-picker/index.js +4 -4
  150. package/file-picker/types.d.js +1 -0
  151. package/file-picker/utils.d.js +1 -0
  152. package/file-status/global/index.d.js +1 -0
  153. package/file-status/global/index.js +1 -1
  154. package/file-status/index.d.js +3 -0
  155. package/file-status/index.js +6 -6
  156. package/file-status/types.d.js +1 -0
  157. package/file-status/utils.d.js +1 -0
  158. package/flag/global/index.d.js +1 -0
  159. package/flag/global/index.js +1 -1
  160. package/flag/index.d.js +1 -0
  161. package/flag/index.js +3 -3
  162. package/flag/types.d.js +1 -0
  163. package/flag/utils.d.js +1 -0
  164. package/flag/utils.js +1 -1
  165. package/floating-panel/global/index.d.js +1 -0
  166. package/floating-panel/global/index.js +1 -1
  167. package/floating-panel/index.d.js +4 -0
  168. package/floating-panel/index.d.ts +3 -3
  169. package/floating-panel/index.js +10 -12
  170. package/floating-panel/types.d.js +1 -0
  171. package/floating-panel-button/index.d.js +1 -0
  172. package/floating-panel-button/index.js +3 -3
  173. package/floating-panel-button/types.d.js +1 -0
  174. package/floating-panel-icon-button/index.d.js +2 -0
  175. package/floating-panel-icon-button/index.js +4 -4
  176. package/floating-panel-icon-button/types.d.js +1 -0
  177. package/grid/global/index.d.js +1 -0
  178. package/grid/global/index.js +1 -1
  179. package/grid/index.d.js +1 -0
  180. package/grid/index.js +1 -1
  181. package/grid/types.d.js +1 -0
  182. package/grid-item/global/index.d.js +1 -0
  183. package/grid-item/global/index.js +1 -1
  184. package/grid-item/index.d.js +1 -0
  185. package/grid-item/index.js +2 -2
  186. package/grid-item/types.d.js +1 -0
  187. package/help-tooltip/global/index.d.js +1 -0
  188. package/help-tooltip/global/index.js +1 -1
  189. package/help-tooltip/index.d.js +2 -0
  190. package/help-tooltip/index.js +5 -5
  191. package/help-tooltip/types.d.js +1 -0
  192. package/icon/generated-icon-type.d.js +1 -0
  193. package/icon/global/index.d.js +1 -0
  194. package/icon/global/index.js +1 -1
  195. package/icon/index.d.js +1 -0
  196. package/icon/index.d.ts +1 -1
  197. package/icon/index.js +2 -2
  198. package/icon/types.d.js +1 -0
  199. package/inline-alert/global/index.d.js +1 -0
  200. package/inline-alert/global/index.js +1 -1
  201. package/inline-alert/index.d.js +5 -0
  202. package/inline-alert/index.js +8 -8
  203. package/inline-alert/types.d.js +1 -0
  204. package/inline-alert/utils.d.js +1 -0
  205. package/input/global/index.d.js +1 -0
  206. package/input/global/index.js +1 -1
  207. package/input/index.d.js +1 -0
  208. package/input/index.js +8 -8
  209. package/input/types.d.js +1 -0
  210. package/input/utils.d.js +1 -0
  211. package/link/global/index.d.js +1 -0
  212. package/link/global/index.js +1 -1
  213. package/link/index.d.js +2 -0
  214. package/link/index.js +6 -6
  215. package/link/types.d.js +1 -0
  216. package/link/utils.d.js +1 -0
  217. package/list/global/index.d.js +1 -0
  218. package/list/global/index.js +1 -1
  219. package/list/index.d.js +1 -0
  220. package/list/index.js +1 -1
  221. package/list/types.d.js +1 -0
  222. package/list-item/global/index.d.js +1 -0
  223. package/list-item/global/index.js +1 -1
  224. package/list-item/index.d.js +1 -0
  225. package/list-item/index.js +1 -1
  226. package/list-item/types.d.js +1 -0
  227. package/package.json +10 -10
  228. package/pagination/global/index.d.js +1 -0
  229. package/pagination/global/index.js +1 -1
  230. package/pagination/index.d.js +1 -0
  231. package/pagination/index.d.ts +2 -2
  232. package/pagination/index.js +6 -6
  233. package/pagination/types.d.js +1 -0
  234. package/persistent-overlay/global/index.d.js +1 -0
  235. package/persistent-overlay/global/index.js +1 -1
  236. package/persistent-overlay/index.d.js +1 -0
  237. package/persistent-overlay/index.js +4 -4
  238. package/persistent-overlay/types.d.js +1 -0
  239. package/pop/global/index.d.js +1 -0
  240. package/pop/global/index.js +1 -1
  241. package/pop/index.d.js +1 -0
  242. package/pop/index.d.ts +1 -1
  243. package/pop/index.js +9 -10
  244. package/pop/types.d.js +1 -0
  245. package/pop/utils.d.js +1 -0
  246. package/popover/global/index.d.js +1 -0
  247. package/popover/global/index.js +1 -1
  248. package/popover/index.d.js +1 -0
  249. package/popover/index.js +7 -7
  250. package/popover/types.d.js +1 -0
  251. package/popover/utils.d.js +1 -0
  252. package/progress/global/index.d.js +1 -0
  253. package/progress/global/index.js +1 -1
  254. package/progress/index.d.js +1 -0
  255. package/progress/index.js +3 -3
  256. package/progress/types.d.js +1 -0
  257. package/progress-stepper/global/index.d.js +1 -0
  258. package/progress-stepper/global/index.js +1 -1
  259. package/progress-stepper/index.d.js +1 -0
  260. package/progress-stepper/index.js +6 -6
  261. package/progress-stepper/types.d.js +1 -0
  262. package/progress-stepper-item/global/index.d.js +1 -0
  263. package/progress-stepper-item/global/index.js +1 -1
  264. package/progress-stepper-item/index.d.js +2 -0
  265. package/progress-stepper-item/index.js +5 -5
  266. package/progress-stepper-item/types.d.js +1 -0
  267. package/progress-stepper-item/utils.d.js +1 -0
  268. package/progress-stepper-item/utils.d.ts +5 -5
  269. package/progress-stepper-item/utils.js +1 -1
  270. package/progress-stepper-item-v2/global/index.d.js +1 -0
  271. package/progress-stepper-item-v2/global/index.js +1 -1
  272. package/progress-stepper-item-v2/index.d.js +2 -0
  273. package/progress-stepper-item-v2/index.js +5 -6
  274. package/progress-stepper-item-v2/types.d.js +1 -0
  275. package/progress-stepper-item-v2/utils.d.js +1 -0
  276. package/progress-stepper-item-v2/utils.d.ts +3 -3
  277. package/progress-stepper-item-v2/utils.js +1 -1
  278. package/progress-stepper-v2/compact-format.d.js +1 -0
  279. package/progress-stepper-v2/compact.d.js +1 -0
  280. package/progress-stepper-v2/compact.js +4 -5
  281. package/progress-stepper-v2/global/index.d.js +1 -0
  282. package/progress-stepper-v2/global/index.js +1 -1
  283. package/progress-stepper-v2/index.d.js +84 -0
  284. package/progress-stepper-v2/index.js +11 -14
  285. package/progress-stepper-v2/model.d.js +1 -0
  286. package/progress-stepper-v2/orientation.d.js +1 -0
  287. package/progress-stepper-v2/separators.d.js +1 -0
  288. package/progress-stepper-v2/separators.js +1 -1
  289. package/progress-stepper-v2/step-chip.d.js +1 -0
  290. package/progress-stepper-v2/step-chip.js +2 -2
  291. package/progress-stepper-v2/types.d.js +1 -0
  292. package/radio/global/index.d.js +1 -0
  293. package/radio/global/index.js +1 -1
  294. package/radio/index.d.js +1 -0
  295. package/radio/index.js +4 -4
  296. package/radio/types.d.js +1 -0
  297. package/radio-option/global/index.d.js +1 -0
  298. package/radio-option/global/index.js +1 -1
  299. package/radio-option/index.d.js +1 -0
  300. package/radio-option/index.js +2 -2
  301. package/radio-option/types.d.js +1 -0
  302. package/rich-text/global/index.d.js +1 -0
  303. package/rich-text/global/index.js +1 -1
  304. package/rich-text/index.d.js +4 -0
  305. package/rich-text/index.js +10 -10
  306. package/rich-text/types.d.js +1 -0
  307. package/rich-text/utils.d.js +1 -0
  308. package/rich-text/utils.js +1 -1
  309. package/rich-textarea/global/index.d.js +1 -0
  310. package/rich-textarea/global/index.js +1 -1
  311. package/rich-textarea/index.d.js +1 -0
  312. package/rich-textarea/index.js +8 -8
  313. package/rich-textarea/types.d.js +1 -0
  314. package/rich-textarea/utils.d.js +1 -0
  315. package/rich-textarea/utils.js +2 -2
  316. package/rich-textarea-chip/index.d.js +2 -0
  317. package/rich-textarea-chip/index.js +5 -5
  318. package/rich-textarea-chip/types.d.js +1 -0
  319. package/segment-collapse/global/index.d.js +1 -0
  320. package/segment-collapse/global/index.js +1 -1
  321. package/segment-collapse/index.d.js +1 -0
  322. package/segment-collapse/index.js +4 -4
  323. package/segment-collapse/types.d.js +1 -0
  324. package/segmented-control/global/index.d.js +1 -0
  325. package/segmented-control/global/index.js +1 -1
  326. package/segmented-control/index.d.js +1 -0
  327. package/segmented-control/index.js +5 -5
  328. package/segmented-control/types.d.js +1 -0
  329. package/segmented-control-option/global/index.d.js +1 -0
  330. package/segmented-control-option/global/index.js +1 -1
  331. package/segmented-control-option/index.d.js +1 -0
  332. package/segmented-control-option/index.js +3 -3
  333. package/segmented-control-option/types.d.js +1 -0
  334. package/segmented-icon-control/global/index.d.js +1 -0
  335. package/segmented-icon-control/global/index.js +1 -1
  336. package/segmented-icon-control/index.d.js +1 -0
  337. package/segmented-icon-control/index.js +6 -6
  338. package/segmented-icon-control/types.d.js +1 -0
  339. package/segmented-icon-control-option/global/index.d.js +1 -0
  340. package/segmented-icon-control-option/global/index.js +1 -1
  341. package/segmented-icon-control-option/index.d.js +1 -0
  342. package/segmented-icon-control-option/index.js +3 -3
  343. package/segmented-icon-control-option/types.d.js +1 -0
  344. package/select-button/global/index.d.js +1 -0
  345. package/select-button/global/index.js +1 -1
  346. package/select-button/index.d.js +2 -0
  347. package/select-button/index.js +7 -7
  348. package/select-button/types.d.js +1 -0
  349. package/select-menu/global/index.d.js +1 -0
  350. package/select-menu/global/index.js +1 -1
  351. package/select-menu/index.d.js +3 -0
  352. package/select-menu/index.js +12 -12
  353. package/select-menu/types.d.js +1 -0
  354. package/select-menu-option/global/index.d.js +1 -0
  355. package/select-menu-option/global/index.js +1 -1
  356. package/select-menu-option/index.d.js +2 -0
  357. package/select-menu-option/index.js +4 -4
  358. package/select-menu-option/types.d.js +1 -0
  359. package/select-menu-option/utils.d.js +1 -0
  360. package/sheet/global/index.d.js +1 -0
  361. package/sheet/global/index.js +1 -1
  362. package/sheet/index.d.js +1 -0
  363. package/sheet/index.d.ts +1 -1
  364. package/sheet/index.js +7 -7
  365. package/sheet/types.d.js +1 -0
  366. package/sheet-title/global/index.d.js +1 -0
  367. package/sheet-title/global/index.js +1 -1
  368. package/sheet-title/index.d.js +2 -0
  369. package/sheet-title/index.d.ts +1 -1
  370. package/sheet-title/index.js +5 -5
  371. package/sheet-title/types.d.js +1 -0
  372. package/skeleton/global/index.d.js +1 -0
  373. package/skeleton/global/index.js +1 -1
  374. package/skeleton/index.d.js +1 -0
  375. package/skeleton/index.js +3 -3
  376. package/skeleton/types.d.js +1 -0
  377. package/skeleton-item/global/index.d.js +1 -0
  378. package/skeleton-item/global/index.js +1 -1
  379. package/skeleton-item/index.d.js +1 -0
  380. package/skeleton-item/index.js +1 -1
  381. package/skeleton-item/types.d.js +1 -0
  382. package/spinner/global/index.d.js +1 -0
  383. package/spinner/global/index.js +1 -1
  384. package/spinner/index.d.js +1 -0
  385. package/spinner/index.js +4 -4
  386. package/spinner/types.d.js +1 -0
  387. package/standalone.js +25 -88
  388. package/stop-events/index.d.js +1 -0
  389. package/stop-events/index.js +2 -2
  390. package/table/global/index.d.js +1 -0
  391. package/table/global/index.js +1 -1
  392. package/table/index.d.js +1 -0
  393. package/table/index.js +1 -1
  394. package/table/types.d.js +1 -0
  395. package/table-body/global/index.d.js +1 -0
  396. package/table-body/global/index.js +1 -1
  397. package/table-body/index.d.js +1 -0
  398. package/table-body/index.js +1 -1
  399. package/table-body/types.d.js +1 -0
  400. package/table-cell/global/index.d.js +1 -0
  401. package/table-cell/global/index.js +1 -1
  402. package/table-cell/index.d.js +1 -0
  403. package/table-cell/index.js +3 -3
  404. package/table-cell/types.d.js +1 -0
  405. package/table-cell/utils.d.js +1 -0
  406. package/table-head/global/index.d.js +1 -0
  407. package/table-head/global/index.js +1 -1
  408. package/table-head/index.d.js +1 -0
  409. package/table-head/index.js +1 -1
  410. package/table-head/types.d.js +1 -0
  411. package/table-head-cell/global/index.d.js +1 -0
  412. package/table-head-cell/global/index.js +1 -1
  413. package/table-head-cell/index.d.js +1 -0
  414. package/table-head-cell/index.js +4 -4
  415. package/table-head-cell/types.d.js +1 -0
  416. package/table-row/global/index.d.js +1 -0
  417. package/table-row/global/index.js +1 -1
  418. package/table-row/index.d.js +1 -0
  419. package/table-row/index.js +2 -2
  420. package/table-row/types.d.js +1 -0
  421. package/tabs/global/index.d.js +1 -0
  422. package/tabs/global/index.js +1 -1
  423. package/tabs/index.d.js +1 -0
  424. package/tabs/index.js +6 -6
  425. package/tabs/types.d.js +1 -0
  426. package/tabs-icon-option/global/index.d.js +1 -0
  427. package/tabs-icon-option/global/index.js +1 -1
  428. package/tabs-icon-option/index.d.js +1 -0
  429. package/tabs-icon-option/index.js +3 -3
  430. package/tabs-icon-option/types.d.js +1 -0
  431. package/tabs-option/global/index.d.js +1 -0
  432. package/tabs-option/global/index.js +1 -1
  433. package/tabs-option/index.d.js +1 -0
  434. package/tabs-option/index.js +4 -4
  435. package/tabs-option/types.d.js +1 -0
  436. package/tag/colors.d.js +1 -0
  437. package/tag/global/index.d.js +1 -0
  438. package/tag/global/index.js +1 -1
  439. package/tag/index.d.js +2 -0
  440. package/tag/index.js +5 -5
  441. package/tag/types.d.js +1 -0
  442. package/tag/utils.d.js +1 -0
  443. package/text/global/index.d.js +1 -0
  444. package/text/global/index.js +1 -1
  445. package/text/index.d.js +1 -0
  446. package/text/index.js +3 -3
  447. package/text/types.d.js +1 -0
  448. package/text/utils.d.js +1 -0
  449. package/textarea/global/index.d.js +1 -0
  450. package/textarea/global/index.js +1 -1
  451. package/textarea/index.d.js +1 -0
  452. package/textarea/index.js +7 -7
  453. package/textarea/types.d.js +1 -0
  454. package/time-picker/global/index.d.js +1 -0
  455. package/time-picker/global/index.js +1 -1
  456. package/time-picker/index.d.js +2 -0
  457. package/time-picker/index.js +7 -8
  458. package/time-picker/types.d.js +1 -0
  459. package/time-picker/utils.d.js +1 -0
  460. package/title/global/index.d.js +1 -0
  461. package/title/global/index.js +1 -1
  462. package/title/index.d.js +1 -0
  463. package/title/index.js +3 -3
  464. package/title/types.d.js +1 -0
  465. package/title/utils.d.js +1 -0
  466. package/toast/global/index.d.js +1 -0
  467. package/toast/global/index.js +1 -1
  468. package/toast/index.d.js +2 -0
  469. package/toast/index.js +7 -7
  470. package/toast/types.d.js +1 -0
  471. package/toast/types.d.ts +2 -0
  472. package/toast/utils.d.js +1 -0
  473. package/toast-manager/global/index.d.js +1 -0
  474. package/toast-manager/global/index.js +1 -1
  475. package/toast-manager/index.d.js +2 -0
  476. package/toast-manager/index.js +6 -7
  477. package/toast-manager/types.d.js +1 -0
  478. package/toast-manager/utils.d.js +1 -0
  479. package/toggle/global/index.d.js +1 -0
  480. package/toggle/global/index.js +1 -1
  481. package/toggle/index.d.js +1 -0
  482. package/toggle/index.js +3 -3
  483. package/toggle/types.d.js +1 -0
  484. package/tooltip/global/index.d.js +1 -0
  485. package/tooltip/global/index.js +1 -1
  486. package/tooltip/index.d.js +2 -0
  487. package/tooltip/index.d.ts +1 -1
  488. package/tooltip/index.js +8 -9
  489. package/tooltip/tooltip-state.d.js +1 -0
  490. package/tooltip/types.d.js +1 -0
  491. package/tooltip/utils.d.js +1 -0
  492. package/utils/adapters.d.js +1 -0
  493. package/utils/component-names.d.js +1 -0
  494. package/utils/component-names.d.ts +1 -1
  495. package/utils/context.d.js +1 -0
  496. package/utils/control-keyboard-navigation.d.js +1 -0
  497. package/utils/control-keyboard-navigation.d.ts +1 -1
  498. package/utils/control-keyboard-navigation.js +2 -2
  499. package/utils/countries.d.js +1 -0
  500. package/utils/csv.d.js +1 -0
  501. package/utils/debounce.d.js +1 -0
  502. package/utils/dom.d.js +1 -0
  503. package/utils/element.d.js +1 -0
  504. package/utils/element.d.ts +16 -109
  505. package/utils/element.js +2 -2
  506. package/utils/event-target.d.js +1 -0
  507. package/utils/form.d.js +1 -0
  508. package/utils/get-react-event-handler.d.js +1 -0
  509. package/utils/global-components-constants.d.js +1 -0
  510. package/utils/global-components-manager.d.js +1 -0
  511. package/utils/global-components-manager.d.ts +4 -47
  512. package/utils/global-components-manager.js +91 -2
  513. package/utils/index.d.js +75 -0
  514. package/utils/index.js +73 -73
  515. package/utils/markdown.d.js +1 -0
  516. package/utils/placement.d.js +1 -0
  517. package/utils/placement.js +1 -1
  518. package/utils/rect.d.js +1 -0
  519. package/utils/rect.js +1 -1
  520. package/utils/scroll-lock.d.js +1 -0
  521. package/utils/size.d.js +1 -0
  522. package/utils/slot.d.js +1 -0
  523. package/utils/throttle.d.js +1 -0
  524. package/utils/uid.d.js +1 -0
  525. package/utils/shared/cdn-loader.js +0 -136
  526. package/utils/shared/deferred-promise.js +0 -10
  527. package/utils/shared/global-elements-manager.js +0 -150
  528. package/utils/shared/global-elements-store.js +0 -33
  529. package/utils/shared/index.d.js +0 -16
  530. package/utils/shared/index.js +0 -16
  531. package/utils/shared/nectary-element-base.js +0 -25
  532. /package/{utils/shared/global-elements-store.d.js → accordion/global/index.d.js} +0 -0
  533. /package/{utils/shared/nectary-element-base.d.js → accordion/index.d.js} +0 -0
  534. /package/{utils/shared/cdn-loader.d.js → accordion-item/global/index.d.js} +0 -0
  535. /package/{utils/shared/deferred-promise.d.js → accordion-item/types.d.js} +0 -0
  536. /package/{utils/shared/global-elements-manager.d.js → accordion-item/utils.d.js} +0 -0
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-field");
@@ -0,0 +1 @@
1
+ import "../index.d6.js";
package/field/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import "../tooltip/index.js";
2
- import { getAttribute, setClass, isAttrEqual, updateBooleanAttribute, isAttrTrue, updateAttribute, getBooleanAttribute } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getFirstSlotElement } from "../utils/slot.js";
1
+ import "../index.d6.js";
2
+ import { i as getAttribute, w as setClass, s as isAttrEqual, z as updateBooleanAttribute, t as isAttrTrue, y as updateAttribute, j as getBooleanAttribute } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { a as getFirstSlotElement } from "../slot.js";
5
5
  const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:column;width:100%}#bottom,#top{display:flex;align-items:baseline}#top{height:24px;margin-bottom:2px}#top.empty{display:none}#additional,#invalid,#label,#optional{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#label{font:var(--sinch-comp-field-font-label);color:var(--sinch-comp-field-color-default-label-initial)}#optional{flex:1;font:var(--sinch-comp-field-font-optional);color:var(--sinch-comp-field-color-default-optional-initial);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#optional:empty{display:none}#additional{flex:1;text-align:right;font:var(--sinch-comp-field-font-additional);color:var(--sinch-comp-field-color-default-additional-initial);line-height:20px;margin-top:2px}#additional:empty{display:none}#invalid{font:var(--sinch-comp-field-font-invalid);color:var(--sinch-comp-field-color-invalid-text-initial);line-height:20px;margin-top:2px}#invalid:empty{display:none}#tooltip{align-self:center;margin:0 8px;display:flex}#tooltip.empty{display:none}:host([disabled]) #label{color:var(--sinch-comp-field-color-disabled-label-initial)}:host([disabled]) #additional{color:var(--sinch-comp-field-color-disabled-additional-initial)}:host([disabled]) #optional{color:var(--sinch-comp-field-color-disabled-optional-initial)}</style><div id="wrapper"><div id="top"><label id="label" for="input"></label><div id="tooltip"><slot name="tooltip"></slot></div><sinch-tooltip id="optional-tooltip" allow-scroll><span id="optional"></span></sinch-tooltip></div><slot name="input"></slot><div id="bottom"><div id="invalid"></div><div id="additional"></div></div></div>';
6
6
  const template = document.createElement("template");
7
7
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-field-v2");
@@ -0,0 +1 @@
1
+ import "../index.d5.js";
package/field-v2/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import "../rich-text/index.js";
2
- import { getAttribute, setClass, isAttrEqual, updateBooleanAttribute, isAttrTrue, updateAttribute, getBooleanAttribute } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getFirstSlotElement } from "../utils/slot.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
1
+ import "../index.d5.js";
2
+ import { i as getAttribute, w as setClass, s as isAttrEqual, z as updateBooleanAttribute, t as isAttrTrue, y as updateAttribute, j as getBooleanAttribute } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { a as getFirstSlotElement } from "../slot.js";
5
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
6
6
  const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:column;width:100%}#top{display:flex;align-items:baseline;height:24px;margin-bottom:2px}#bottom{display:flex;flex-direction:column;align-items:baseline;width:100%}#top.empty{display:none}#label,#optional{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#label{font:var(--sinch-comp-field-font-label);color:var(--sinch-comp-field-color-default-label-initial)}#optional{flex:1;font:var(--sinch-comp-field-font-optional);color:var(--sinch-comp-field-color-default-optional-initial);text-align:right}#additional{flex:1;text-align:left;line-height:20px;margin-top:2px;white-space:normal;overflow:visible;--sinch-comp-rich-text-font:var(--sinch-comp-field-font-additional);--sinch-global-color-text:var(--sinch-comp-field-color-default-additional-initial);--sinch-comp-link-color-default-text-initial:var(--sinch-comp-field-color-default-additional-initial);--sinch-comp-link-color-default-text-hover:var(--sinch-comp-field-color-default-additional-initial)}#additional:is([text=""],:not([text])){display:none}#invalid{font:var(--sinch-comp-field-font-invalid);color:var(--sinch-comp-field-color-invalid-text-initial);line-height:20px;margin-top:2px;white-space:normal;overflow:visible;--sinch-comp-rich-text-font:var(--sinch-comp-field-font-invalid);--sinch-global-color-text:var(--sinch-comp-field-color-invalid-text-initial);--sinch-comp-link-color-default-text-initial:var(--sinch-comp-field-color-invalid-text-initial);--sinch-comp-link-color-default-text-hover:var(--sinch-comp-field-color-invalid-text-initial)}#invalid:is([text=""],:not([text])){display:none}#tooltip{align-self:center;margin:0 8px;display:flex}#tooltip.empty{display:none}:host([disabled]) #label{color:var(--sinch-comp-field-color-disabled-label-initial)}:host([disabled]) #additional{--sinch-global-color-text:var(--sinch-comp-field-color-disabled-additional-initial);--sinch-comp-link-color-default-text-initial:var(--sinch-comp-field-color-disabled-additional-initial);--sinch-comp-link-color-default-text-hover:var(--sinch-comp-field-color-disabled-additional-initial)}:host([disabled]) #optional{color:var(--sinch-comp-field-color-disabled-optional-initial)}</style><div id="wrapper"><div id="top"><label id="label" for="input"></label><div id="tooltip"><slot name="tooltip"></slot></div><span id="optional"></span></div><slot name="input"></slot><div id="bottom"><sinch-rich-text id="additional"></sinch-rich-text><sinch-rich-text id="invalid"></sinch-rich-text></div></div>';
7
7
  const template = document.createElement("template");
8
8
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-file-drop");
@@ -0,0 +1,2 @@
1
+ import "../index.d.js";
2
+ import "../index.d13.js";
@@ -1,9 +1,9 @@
1
- import "../text/index.js";
2
- import "../file-picker/index.js";
3
- import { isAttrEqual, updateAttribute, updateBooleanAttribute, isAttrTrue, getBooleanAttribute, getAttribute, getIntegerAttribute, setClass } from "../utils/dom.js";
4
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
6
- import { areItemsAccepted, areFilesAccepted, doFilesSatisfySize } from "./utils.js";
1
+ import "../index.d.js";
2
+ import "../index.d13.js";
3
+ import { s as isAttrEqual, y as updateAttribute, z as updateBooleanAttribute, t as isAttrTrue, j as getBooleanAttribute, i as getAttribute, n as getIntegerAttribute, w as setClass } from "../dom.js";
4
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
5
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
6
+ import { a as areItemsAccepted, b as areFilesAccepted, d as doFilesSatisfySize } from "../utils14.js";
7
7
  const templateHTML = '<style>:host{display:block}#wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-content:center;gap:8px;min-height:148px;min-width:148px;box-sizing:border-box;padding:16px;border-radius:var(--sinch-comp-file-drop-shape-radius);background-color:var(--sinch-comp-file-drop-color-default-background-initial)}#wrapper::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:1px dashed var(--sinch-comp-file-drop-color-default-border-initial);border-radius:var(--sinch-comp-file-drop-shape-radius);pointer-events:none}#placeholder{align-self:center;text-align:center;--sinch-global-color-text:var(--sinch-comp-file-drop-color-default-placeholder-initial);--sinch-comp-text-font:var(--sinch-comp-file-drop-font-placeholder)}:host([invalid]) #wrapper{background-color:var(--sinch-comp-file-drop-color-invalid-background-initial)}:host([invalid]) #wrapper::after{border-color:var(--sinch-comp-file-drop-color-invalid-border-initial);border-width:1px}#wrapper.drop::after{pointer-events:all}#wrapper.drop.valid{background-color:var(--sinch-comp-file-drop-color-default-background-active)}#wrapper.drop.valid::after{border-color:var(--sinch-comp-file-drop-color-default-border-active);border-width:2px}#wrapper.drop.valid>#placeholder{--sinch-global-color-text:var(--sinch-comp-file-drop-color-default-placeholder-active)}#wrapper.drop.invalid{background-color:var(--sinch-comp-file-drop-color-invalid-background-active)}#wrapper.drop.invalid::after{border-color:var(--sinch-comp-file-drop-color-invalid-border-active);border-width:2px}#wrapper.drop.invalid>#placeholder{--sinch-global-color-text:var(--sinch-comp-file-drop-color-invalid-placeholder-active)}:host([disabled])>#wrapper>#placeholder{--sinch-global-color-text:var(--sinch-comp-file-drop-color-disabled-placeholder-initial)}:host([disabled])>#wrapper{background-color:var(--sinch-comp-file-drop-color-disabled-background-initial)}:host([disabled])>#wrapper::after{border-color:var(--sinch-comp-file-drop-color-disabled-border-initial);border-width:1px}</style><div id="wrapper"><sinch-text id="placeholder" type="m" aria-hidden="true"></sinch-text><sinch-file-picker id="file-picker"><slot></slot></sinch-file-picker></div>';
8
8
  const template = document.createElement("template");
9
9
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-file-picker");
@@ -0,0 +1 @@
1
+
@@ -1,7 +1,7 @@
1
- import { updateAttribute, isAttrEqual, updateBooleanAttribute, isAttrTrue, getBooleanAttribute, getAttribute, getIntegerAttribute } from "../utils/dom.js";
2
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
3
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
4
- import { doFilesSatisfySize } from "./utils.js";
1
+ import { y as updateAttribute, s as isAttrEqual, z as updateBooleanAttribute, t as isAttrTrue, j as getBooleanAttribute, i as getAttribute, n as getIntegerAttribute } from "../dom.js";
2
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
3
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
4
+ import { d as doFilesSatisfySize } from "../utils15.js";
5
5
  const templateHTML = "<style>:host{display:inline-block}::slotted(*){display:block}</style><slot></slot>";
6
6
  const template = document.createElement("template");
7
7
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-file-status");
@@ -0,0 +1,3 @@
1
+ import "../index.d4.js";
2
+ import "../index.d3.js";
3
+ import "../index.d.js";
@@ -1,9 +1,9 @@
1
- import "../spinner/index.js";
2
- import "../icon/index.js";
3
- import "../text/index.js";
4
- import { getLiteralAttribute, updateLiteralAttribute, getAttribute, updateAttribute, updateBooleanAttribute } from "../utils/dom.js";
5
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
6
- import { typeValues } from "./utils.js";
1
+ import "../index.d4.js";
2
+ import "../index.d3.js";
3
+ import "../index.d.js";
4
+ import { o as getLiteralAttribute, C as updateLiteralAttribute, i as getAttribute, y as updateAttribute, z as updateBooleanAttribute } from "../dom.js";
5
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
6
+ import { t as typeValues } from "../utils16.js";
7
7
  const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:row;align-items:flex-start;padding:12px 16px;box-sizing:border-box;min-height:48px;min-width:148px;border-radius:var(--sinch-comp-file-status-shape-radius)}:host([type=error]) #wrapper{background-color:var(--sinch-comp-file-status-color-error-background)}:host([type=success]) #wrapper{background-color:var(--sinch-comp-file-status-color-success-background)}:host([type=pending]) #wrapper{background-color:var(--sinch-comp-file-status-color-pending-background)}:host([type=progress]) #wrapper{background-color:var(--sinch-comp-file-status-color-progress-background)}:host([type=loading]) #wrapper{background-color:var(--sinch-comp-file-status-color-loading-background)}#content-wrapper{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;min-height:24px;margin-left:16px}:host([type=error]) #filename{--sinch-global-color-text:var(--sinch-comp-file-status-color-error-text)}:host([type=success]) #filename{--sinch-global-color-text:var(--sinch-comp-file-status-color-success-text)}:host([type=pending]) #filename{--sinch-global-color-text:var(--sinch-comp-file-status-color-pending-text)}:host([type=progress]) #filename{--sinch-global-color-text:var(--sinch-comp-file-status-color-progress-text)}:host([type=loading]) #filename{--sinch-global-color-text:var(--sinch-comp-file-status-color-loading-text)}#action{display:flex;gap:4px;height:32px;margin-top:-4px;margin-bottom:-4px}#icon-error,#icon-loading,#icon-pending,#icon-progress,#icon-success{display:none}#icon-pending{--sinch-global-color-icon:var(--sinch-comp-file-status-color-pending-icon)}#icon-success{--sinch-global-color-icon:var(--sinch-comp-file-status-color-success-icon)}#icon-progress{--sinch-global-color-icon:var(--sinch-comp-file-status-color-progress-icon)}#icon-error{--sinch-global-color-icon:var(--sinch-comp-file-status-color-error-icon)}#icon-loading{--sinch-global-color-icon:var(--sinch-comp-file-status-color-loading-icon)}:host([type=error]) #icon-error,:host([type=loading]) #icon-loading,:host([type=pending]) #icon-pending,:host([type=progress]) #icon-progress,:host([type=success]) #icon-success{display:block}</style><div id="wrapper"><sinch-spinner id="icon-loading" size="m"></sinch-spinner><sinch-icon icons-version="2" name="fa-clipboard-question" id="icon-pending"></sinch-icon><sinch-icon icons-version="2" name="circle-check" id="icon-success"></sinch-icon><sinch-icon icons-version="2" name="fa-file-lines" id="icon-progress"></sinch-icon><sinch-icon icons-version="2" name="octagon-exclamation" id="icon-error"></sinch-icon><div id="content-wrapper"><sinch-text id="filename" type="m" ellipsis></sinch-text><slot name="content"></slot></div><div id="action"><slot name="action"></slot></div></div>';
8
8
  const template = document.createElement("template");
9
9
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-flag");
@@ -0,0 +1 @@
1
+
package/flag/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { updateAttribute, getAttribute } from "../utils/dom.js";
2
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
3
- import { getFlagUrl } from "./utils.js";
1
+ import { y as updateAttribute, i as getAttribute } from "../dom.js";
2
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
3
+ import { g as getFlagUrl } from "../utils17.js";
4
4
  const templateHTML = '<style>:host{display:contents}#image{pointer-events:none;width:var(--sinch-global-size-icon,48px);height:var(--sinch-global-size-icon,48px);object-fit:contain}</style><img id="image" src="" alt="" loading="lazy">';
5
5
  const template = document.createElement("template");
6
6
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
package/flag/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCssVar } from "../utils/dom.js";
1
+ import { k as getCssVar } from "../dom.js";
2
2
  let flagUrl = null;
3
3
  const getFlagUrl = (root, code) => {
4
4
  if (code === null || code.length === 0) {
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-floating-panel");
@@ -0,0 +1,4 @@
1
+ import "../index2.js";
2
+ import "../index.d14.js";
3
+ import "../index.d3.js";
4
+ import "../index4.js";
@@ -13,9 +13,9 @@ export declare class FloatingPanel extends NectaryElement {
13
13
  disconnectedCallback(): void;
14
14
  static get observedAttributes(): string[];
15
15
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
16
- get panelRect(): import("../types").TRect;
17
- get closeButtonRect(): import("../types").TRect;
18
- get ctaButtonRect(): import("../types").TRect;
16
+ get panelRect(): any;
17
+ get closeButtonRect(): any;
18
+ get ctaButtonRect(): any;
19
19
  set open(value: boolean);
20
20
  get open(): boolean;
21
21
  set noOfItemsSelected(value: string | null);
@@ -1,15 +1,13 @@
1
- import { isSinchActionMenuOption } from "../action-menu-option/utils.js";
2
- import { isAttrEqual, getBooleanAttribute, getAttribute, shouldReduceMotion, updateBooleanAttribute, updateAttribute } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getRect } from "../utils/rect.js";
5
- import { throttleAnimationFrame } from "../utils/throttle.js";
6
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
7
- import "../action-menu/index.js";
8
- import "../action-menu-option/index.js";
9
- import "../floating-panel-icon-button/index.js";
10
- import "../floating-panel-button/index.js";
11
- import "../icon/index.js";
12
- import "../popover/index.js";
1
+ import { i as isSinchActionMenuOption } from "../utils6.js";
2
+ import { s as isAttrEqual, j as getBooleanAttribute, i as getAttribute, x as shouldReduceMotion, z as updateBooleanAttribute, y as updateAttribute } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { g as getRect } from "../rect.js";
5
+ import { t as throttleAnimationFrame } from "../throttle.js";
6
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
7
+ import "../index2.js";
8
+ import "../index.d14.js";
9
+ import "../index.d3.js";
10
+ import "../index4.js";
13
11
  const templateHTML = '<style>:host{display:block;max-width:100%;min-width:0}@keyframes panel-slide-in{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes panel-slide-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}dialog{display:flex;align-items:center;box-sizing:border-box;height:40px;padding:0;overflow:visible;width:fit-content;max-width:100%;min-width:0;background-color:var(--sinch-comp-floating-panel-color-background,var(--sinch-sys-color-primary-default));border:none;border-radius:var(--sinch-comp-floating-panel-shape-radius);box-shadow:var(--sinch-comp-floating-panel-shadow);color:var(--sinch-comp-floating-panel-color-text,var(--sinch-sys-color-primary-foreground))}dialog.closing,dialog.opening{overflow:hidden}dialog:not([open]){display:none}dialog.opening{animation:panel-slide-in .2s ease-out forwards}dialog.closing{animation:panel-slide-out .2s ease-in forwards}#items-selected{display:flex;align-items:baseline;gap:10px;padding:0 8px;white-space:nowrap}#cta{display:flex}#no-of-items-selected{font:var(--sinch-comp-floating-panel-font-bold)}#items-selected-label{font:var(--sinch-comp-floating-panel-font-regular)}#left-actions{display:flex;align-items:center}#divider{width:1px;align-self:stretch;background-color:var(--sinch-comp-floating-panel-color-divider)}#actions-end{display:flex;align-items:center;flex-shrink:1;min-width:0}#right-actions{display:flex;align-items:center}#right-actions-overflow{display:none;align-items:center;flex-shrink:0}:host([data-density=compact]) #right-actions,:host([data-density=extra-compact]) #right-actions{display:none}:host([data-density=compact]) #right-actions-overflow,:host([data-density=extra-compact]) #right-actions-overflow{display:flex}#actions-popover{display:block;--sinch-comp-pop-z-index:2147483000}#overflow-trigger{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}#overflow-menu-surface{box-sizing:border-box;display:block;min-width:var(--sinch-comp-floating-panel-overflow-menu-min-width,220px);width:max-content;max-width:min(var(--sinch-comp-floating-panel-overflow-menu-max-width,288px),calc(100vw - 24px))}#overflow-menu-surface sinch-action-menu{display:block;width:100%}#right-actions sinch-floating-panel-icon-button:last-child:active,#right-actions sinch-floating-panel-icon-button:last-child:focus,#right-actions sinch-floating-panel-icon-button:last-child:hover{--sinch-button-shape-radius-top-right:var(--sinch-comp-floating-panel-shape-radius);--sinch-button-shape-radius-bottom-right:var(--sinch-comp-floating-panel-shape-radius)}@media (prefers-reduced-motion){dialog.closing,dialog.opening{animation:none}}</style><dialog id="wrapper" role="toolbar" aria-label="Bulk actions"><div id="left-actions"><sinch-floating-panel-icon-button id="close-btn" icon="fa-xmark" aria-label="Close selection" class="edge-start"></sinch-floating-panel-icon-button></div><div id="divider" role="separator" aria-orientation="vertical"></div><div id="items-selected" aria-live="polite" aria-atomic="true"><span id="no-of-items-selected"></span> <span id="items-selected-label"></span></div><div id="cta"><sinch-floating-panel-button id="cta-btn" text=""></sinch-floating-panel-button></div><div id="actions-end"><div id="right-actions" role="group" aria-label="Actions"></div><div id="right-actions-overflow"><sinch-popover id="actions-popover" orientation="bottom-right" allow-scroll aria-label="More actions"><sinch-floating-panel-icon-button slot="target" id="overflow-trigger" icon="fa-ellipsis" aria-label="More actions" class="edge-end"></sinch-floating-panel-icon-button><div id="overflow-menu-surface" slot="content"><sinch-action-menu id="overflow-menu" aria-label="Actions" rows="5"></sinch-action-menu></div></sinch-popover></div></div></dialog>';
14
12
  const template = document.createElement("template");
15
13
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ import "../index.d7.js";
@@ -1,6 +1,6 @@
1
- import { isAttrEqual, updateAttribute, getAttribute } from "../utils/dom.js";
2
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
3
- import "../button/index.js";
1
+ import { s as isAttrEqual, y as updateAttribute, i as getAttribute } from "../dom.js";
2
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
3
+ import "../index.d7.js";
4
4
  const templateHTML = '<style>:host{display:flex;flex-shrink:0;height:100%;min-height:40px;color:var(--sinch-comp-floating-panel-color-text,var(--sinch-sys-color-primary-foreground))}sinch-button{height:100%;padding:0;white-space:nowrap;--sinch-button-shape-radius-base:0;--sinch-comp-button-color-subtle-secondary-default-border-initial:var(--sinch-sys-color-basic-transparent);--sinch-comp-button-color-subtle-secondary-disabled-border-initial:var(--sinch-sys-color-basic-transparent);--sinch-comp-button-spacing-padding-m:16px;--sinch-comp-button-color-subtle-secondary-default-text-initial:var(--sinch-comp-floating-panel-color-button-text-initial, var(--sinch-sys-color-primary-foreground));--sinch-comp-button-color-subtle-secondary-default-background-initial:var(--sinch-comp-floating-panel-color-button-background-initial, transparent);--sinch-comp-button-color-subtle-secondary-default-background-hover:var(--sinch-comp-floating-panel-color-button-background-hover);--sinch-comp-button-color-subtle-secondary-default-background-active:var(--sinch-comp-floating-panel-color-button-background-active);--sinch-comp-button-shadow-subtle-hover:none;--sinch-comp-button-shadow-subtle-active:none}sinch-button:focus-visible{--sinch-comp-button-color-subtle-secondary-default-background-initial:var(--sinch-comp-floating-panel-color-button-background-hover);--sinch-comp-button-shadow-subtle-focus:none}</style><sinch-button id="button" type="subtle-secondary"></sinch-button>';
5
5
  const template = document.createElement("template");
6
6
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,2 @@
1
+ import "../index.d7.js";
2
+ import "../index.d3.js";
@@ -1,7 +1,7 @@
1
- import { isAttrEqual, updateAttribute, getAttribute } from "../utils/dom.js";
2
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
3
- import "../button/index.js";
4
- import "../icon/index.js";
1
+ import { s as isAttrEqual, y as updateAttribute, i as getAttribute } from "../dom.js";
2
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
3
+ import "../index.d7.js";
4
+ import "../index.d3.js";
5
5
  const templateHTML = '<style>:host{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;box-sizing:border-box;cursor:pointer}sinch-button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;--sinch-button-shape-radius-base:0;--sinch-comp-button-color-subtle-secondary-default-border-initial:var(--sinch-sys-color-basic-transparent);--sinch-comp-button-color-subtle-secondary-disabled-border-initial:var(--sinch-sys-color-basic-transparent);--sinch-comp-button-color-subtle-secondary-default-background-initial:transparent;--sinch-comp-button-color-subtle-secondary-default-icon-initial:var(--sinch-comp-floating-panel-color-text, var(--sinch-sys-color-primary-foreground));--sinch-comp-button-color-subtle-secondary-default-text-initial:var(--sinch-comp-floating-panel-color-text, var(--sinch-sys-color-primary-foreground));--sinch-comp-button-color-subtle-secondary-default-background-hover:var(--sinch-comp-floating-panel-color-button-background-hover);--sinch-comp-button-color-subtle-secondary-default-background-active:var(--sinch-comp-floating-panel-color-button-background-active);--sinch-comp-button-shadow-subtle-hover:none;--sinch-comp-button-shadow-subtle-active:none}sinch-button:focus-visible{--sinch-comp-button-color-subtle-secondary-default-background-initial:var(--sinch-comp-floating-panel-color-button-background-hover);--sinch-comp-button-shadow-subtle-focus:none}:host(.edge-start:active) sinch-button,:host(.edge-start:focus) sinch-button,:host(.edge-start:hover) sinch-button{--sinch-button-shape-radius-top-left:var(--sinch-comp-floating-panel-shape-radius);--sinch-button-shape-radius-bottom-left:var(--sinch-comp-floating-panel-shape-radius)}:host(.edge-end:active) sinch-button,:host(.edge-end:focus) sinch-button,:host(.edge-end:hover) sinch-button{--sinch-button-shape-radius-top-right:var(--sinch-comp-floating-panel-shape-radius);--sinch-button-shape-radius-bottom-right:var(--sinch-comp-floating-panel-shape-radius)}sinch-icon{--sinch-global-color-icon:var(--sinch-comp-floating-panel-color-text, var(--sinch-sys-color-primary-foreground));--sinch-global-size-icon:var(--sinch-comp-floating-panel-size-button-icon)}</style><sinch-button id="button" type="subtle-secondary"><sinch-icon id="icon" icons-version="2" slot="icon"></sinch-icon></sinch-button>';
6
6
  const template = document.createElement("template");
7
7
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-grid");
@@ -0,0 +1 @@
1
+
package/grid/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
1
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
2
2
  const templateHTML = '<style>:host{display:grid;grid-template-columns:repeat(var(--sinch-comp-grid-columns-xl),minmax(0,1fr));grid-column-gap:var(--sinch-comp-grid-gutter-xl);grid-row-gap:var(--sinch-comp-grid-gutter-xl);padding:var(--sinch-comp-grid-margin-xl)}@media only screen and (max-width:1439px){:host{grid-template-columns:repeat(var(--sinch-comp-grid-columns-l),minmax(0,1fr));grid-column-gap:var(--sinch-comp-grid-gutter-l);grid-row-gap:var(--sinch-comp-grid-gutter-l);padding:var(--sinch-comp-grid-margin-l)}}@media only screen and (max-width:1023px){:host{grid-template-columns:repeat(var(--sinch-comp-grid-columns-m),minmax(0,1fr));grid-column-gap:var(--sinch-comp-grid-gutter-m);grid-row-gap:var(--sinch-comp-grid-gutter-m);padding:var(--sinch-comp-grid-margin-m)}}@media only screen and (max-width:767px){:host{grid-template-columns:repeat(var(--sinch-comp-grid-columns-s),minmax(0,1fr));grid-column-gap:var(--sinch-comp-grid-gutter-s);grid-row-gap:var(--sinch-comp-grid-gutter-s);padding:var(--sinch-comp-grid-margin-s)}}</style><slot name="item"></slot>';
3
3
  const template = document.createElement("template");
4
4
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-grid-item");
@@ -0,0 +1 @@
1
+
@@ -1,5 +1,5 @@
1
- import { getIntegerAttribute, updateIntegerAttribute } from "../utils/dom.js";
2
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
1
+ import { n as getIntegerAttribute, B as updateIntegerAttribute } from "../dom.js";
2
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
3
3
  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>';
4
4
  const template = document.createElement("template");
5
5
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-help-tooltip");
@@ -0,0 +1,2 @@
1
+ import "../index.d6.js";
2
+ import "../index.d3.js";
@@ -1,8 +1,8 @@
1
- import "../tooltip/index.js";
2
- import "../icon/index.js";
3
- import { updateAttribute, getAttribute } from "../utils/dom.js";
4
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
1
+ import "../index.d6.js";
2
+ import "../index.d3.js";
3
+ import { y as updateAttribute, i as getAttribute } from "../dom.js";
4
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
5
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
6
6
  const templateHTML = '<style>:host{display:contents}#icon{--sinch-global-size-icon:18px}</style><sinch-tooltip type="fast"><sinch-icon icons-version="2" name="circle-question" id="icon"></sinch-icon></sinch-tooltip>';
7
7
  const template = document.createElement("template");
8
8
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-icon");
@@ -0,0 +1 @@
1
+
package/icon/index.d.ts CHANGED
@@ -9,5 +9,5 @@ export declare class Icon extends NectaryElement {
9
9
  get name(): string;
10
10
  set iconsVersion(value: '1' | '2');
11
11
  get iconsVersion(): '1' | '2';
12
- _matchNameToFont(): void;
12
+ _matchNameToFont(): any;
13
13
  }
package/icon/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getAttribute, updateAttribute } from "../utils/dom.js";
2
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
1
+ import { i as getAttribute, y as updateAttribute } from "../dom.js";
2
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
3
3
  const templateHTML = '<style>:host{display:inline-block;text-transform:none}#icon{display:block;font-weight:var(--sinch-comp-icon-font-weight);font-size:var(--sinch-global-size-icon, 24px);-webkit-font-smoothing:antialiased;line-height:1;white-space:nowrap;width:var(--sinch-global-size-icon,24px);height:var(--sinch-global-size-icon,24px);color:var(--sinch-global-color-icon,var(--sinch-sys-color-text-default));user-select:none;font-family:var(--sinch-comp-icon-font-family);font-feature-settings:var(--sinch-comp-icon-font-feature-settings)}#icon.zero-to-d{font-family:var(--sinch-comp-icon-font-family-zero-to-d)}#icon.e-to-o{font-family:var(--sinch-comp-icon-font-family-e-to-o)}#icon.p-to-z{font-family:var(--sinch-comp-icon-font-family-p-to-z)}</style><span id="icon" role="img"></span>';
4
4
  const template = document.createElement("template");
5
5
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-inline-alert");
@@ -0,0 +1,5 @@
1
+ import "../index.d3.js";
2
+ import "../index.d4.js";
3
+ import "../index.d5.js";
4
+ import "../index.d.js";
5
+ import "../index.js";
@@ -1,11 +1,11 @@
1
- import "../icon/index.js";
2
- import "../spinner/index.js";
3
- import "../rich-text/index.js";
4
- import "../text/index.js";
5
- import "../title/index.js";
6
- import { updateAttribute, updateExplicitBooleanAttribute, isAttrTrue, getLiteralAttribute, updateLiteralAttribute, getAttribute, getBooleanAttribute, updateBooleanAttribute, setClass } from "../utils/dom.js";
7
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
8
- import { typeValues } from "./utils.js";
1
+ import "../index.d3.js";
2
+ import "../index.d4.js";
3
+ import "../index.d5.js";
4
+ import "../index.d.js";
5
+ import "../index.js";
6
+ import { y as updateAttribute, A as updateExplicitBooleanAttribute, t as isAttrTrue, o as getLiteralAttribute, C as updateLiteralAttribute, i as getAttribute, j as getBooleanAttribute, z as updateBooleanAttribute, w as setClass } from "../dom.js";
7
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
8
+ import { t as typeValues } from "../utils18.js";
9
9
  const templateHTML = '<style>:host{display:block}#wrapper{display:flex;flex-direction:row;align-items:flex-start;padding:16px;border-radius:var(--sinch-comp-inline-alert-shape-radius);box-sizing:border-box;width:100%}:host([type=success]) #wrapper{background-color:var(--sinch-comp-inline-alert-color-success-default-background)}:host([type=warn]) #wrapper{background-color:var(--sinch-comp-inline-alert-color-warning-default-background)}:host([type=error]) #wrapper{background-color:var(--sinch-comp-inline-alert-color-error-default-background)}:host([type=info]) #wrapper{background-color:var(--sinch-comp-inline-alert-color-info-default-background)}#spinner{display:none}:host([type=success]) #icon,:host([type=success]) #spinner{--sinch-global-color-icon:var(--sinch-comp-inline-alert-color-success-default-icon)}:host([type=warn]) #icon,:host([type=warn]) #spinner{--sinch-global-color-icon:var(--sinch-comp-inline-alert-color-warning-default-icon)}:host([type=error]) #icon,:host([type=error]) #spinner{--sinch-global-color-icon:var(--sinch-comp-inline-alert-color-error-default-icon)}:host([type=info]) #icon,:host([type=info]) #spinner{--sinch-global-color-icon:var(--sinch-comp-inline-alert-color-info-default-icon)}:host([loading]) #icon{display:none}:host([loading]) #spinner{display:block}#body-wrapper{display:flex;flex-direction:column;align-items:flex-start;margin-left:8px;min-width:0;flex:1}#caption{align-self:stretch;--sinch-comp-title-font:var(--sinch-comp-inline-alert-font-title)}:host([type=success]) #caption{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-success-default-text)}:host([type=warn]) #caption{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-warning-default-text)}:host([type=error]) #caption{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-error-default-text)}:host([type=info]) #caption{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-info-default-text)}#text{display:flex;flex-direction:column;gap:8px;margin-top:0;align-self:stretch;--sinch-comp-rich-text-font:var(--sinch-comp-inline-alert-font-body)}:host([type=success]) #text{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-success-default-text)}:host([type=warn]) #text{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-warning-default-text)}:host([type=error]) #text{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-error-default-text)}:host([type=info]) #text{--sinch-global-color-text:var(--sinch-comp-inline-alert-color-info-default-text)}:host([caption=""]) #text,:host([caption]) #text{margin-top:4px}#action{width:100%;display:flex;margin-top:16px;min-width:0;gap:16px}#action.empty{display:none}#close{margin-left:16px}#close.empty{display:none}</style><div id="wrapper"><sinch-spinner id="spinner" size="m"></sinch-spinner><sinch-icon icons-version="2" name="" id="icon"></sinch-icon><div id="body-wrapper"><sinch-title id="caption" level="3" type="s"></sinch-title><sinch-rich-text id="text"></sinch-rich-text><div id="action"><slot name="action"></slot></div></div><div id="close"><slot name="close"></slot></div></div>';
10
10
  const template = document.createElement("template");
11
11
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-input");
@@ -0,0 +1 @@
1
+
package/input/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { Context, subscribeContext } from "../utils/context.js";
2
- import { getBooleanAttribute, getAttribute, updateAttribute, isAttrEqual, isAttrTrue, updateBooleanAttribute, updateLiteralAttribute, getLiteralAttribute, setClass } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { isElementFocused } from "../utils/slot.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
6
- import { setFormValue, requestSubmitForm } from "../utils/form.js";
7
- import { sizeValues, DEFAULT_SIZE } from "../utils/size.js";
8
- import { splitValueAndMask, inputTypes, beginMaskedComposition, endMaskedComposition, deleteContentForward, deleteContentBackward, insertFromPaste, insertText, getMergedValueSliced, getMaskSymbols } from "./utils.js";
1
+ import { C as Context, s as subscribeContext } from "../context.js";
2
+ import { j as getBooleanAttribute, i as getAttribute, y as updateAttribute, s as isAttrEqual, t as isAttrTrue, z as updateBooleanAttribute, C as updateLiteralAttribute, o as getLiteralAttribute, w as setClass } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { i as isElementFocused } from "../slot.js";
5
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
6
+ import { s as setFormValue, r as requestSubmitForm } from "../form.js";
7
+ import { s as sizeValues, D as DEFAULT_SIZE } from "../size.js";
8
+ import { s as splitValueAndMask, i as inputTypes, b as beginMaskedComposition, e as endMaskedComposition, d as deleteContentForward, a as deleteContentBackward, c as insertFromPaste, f as insertText, g as getMergedValueSliced, h as getMaskSymbols } from "../utils19.js";
9
9
  const templateHTML = '<style>:host{all:initial;display:inline-block;vertical-align:middle}#wrapper{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border-radius:var(--sinch-local-shape-radius);width:100%;height:var(--sinch-local-size);background-color:var(--sinch-comp-input-color-default-background-initial);--sinch-local-size:var(--sinch-comp-input-size-container-m);--sinch-local-padding:var(--sinch-comp-input-spacing-padding-m, 12px);--sinch-local-icon-gap:var(--sinch-comp-input-spacing-icon-gap-m, 8px);--sinch-local-slot-gap:var(--sinch-comp-input-spacing-slot-gap-m, 4px);--sinch-local-slot-padding:var(--sinch-comp-input-spacing-slot-padding-m, 4px);--sinch-global-size-icon:var(--sinch-comp-input-size-icon-m);--sinch-local-shape-radius:var(--sinch-comp-input-shape-radius-size-m)}:host([data-size="l"])>#wrapper{--sinch-local-size:var(--sinch-comp-input-size-container-l);--sinch-local-padding:var(--sinch-comp-input-spacing-padding-l, 12px);--sinch-local-icon-gap:var(--sinch-comp-input-spacing-icon-gap-l, 8px);--sinch-local-slot-gap:var(--sinch-comp-input-spacing-slot-gap-l, 4px);--sinch-local-slot-padding:var(--sinch-comp-input-spacing-slot-padding-l, 4px);--sinch-global-size-icon:var(--sinch-comp-input-size-icon-l);--sinch-local-shape-radius:var(--sinch-comp-input-shape-radius-size-l)}:host([data-size="m"])>#wrapper{--sinch-local-size:var(--sinch-comp-input-size-container-m);--sinch-local-padding:var(--sinch-comp-input-spacing-padding-m, 12px);--sinch-local-icon-gap:var(--sinch-comp-input-spacing-icon-gap-m, 8px);--sinch-local-slot-gap:var(--sinch-comp-input-spacing-slot-gap-m, 4px);--sinch-local-slot-padding:var(--sinch-comp-input-spacing-slot-padding-m, 4px);--sinch-global-size-icon:var(--sinch-comp-input-size-icon-m);--sinch-local-shape-radius:var(--sinch-comp-input-shape-radius-size-m)}:host([data-size="s"])>#wrapper{--sinch-local-size:var(--sinch-comp-input-size-container-s);--sinch-local-padding:var(--sinch-comp-input-spacing-padding-s, 12px);--sinch-local-icon-gap:var(--sinch-comp-input-spacing-icon-gap-s, 8px);--sinch-local-slot-gap:var(--sinch-comp-input-spacing-slot-gap-s, 4px);--sinch-local-slot-padding:var(--sinch-comp-input-spacing-slot-padding-s, 4px);--sinch-global-size-icon:var(--sinch-comp-input-size-icon-s);--sinch-local-shape-radius:var(--sinch-comp-input-shape-radius-size-s)}#input-wrapper{position:relative;flex:1;flex-basis:0;min-width:0;align-self:stretch}#input{all:initial;width:100%;height:100%;padding:0 var(--sinch-local-padding);box-sizing:border-box;font:var(--sinch-comp-input-font-input);color:var(--sinch-comp-input-color-default-text-initial)}#input::placeholder{font:var(--sinch-comp-input-font-placeholder)!important;color:var(--sinch-comp-input-color-default-text-placeholder);opacity:1}#input:disabled{color:var(--sinch-comp-input-color-disabled-text-initial);-webkit-text-fill-color:var(--sinch-comp-input-color-disabled-text-initial)}#input-mask{display:none;position:absolute;inset:0;padding:0 var(--sinch-local-padding);pointer-events:none;color:var(--sinch-comp-input-color-default-text-placeholder);white-space:pre;height:fit-content;margin:auto 0;overflow:hidden}#border{position:absolute;border:1px solid var(--sinch-comp-input-color-default-border-initial);border-radius:var(--sinch-local-shape-radius);inset:0;pointer-events:none}:host([disabled]) #border{border-color:var(--sinch-comp-input-color-disabled-border-initial)}#input-wrapper:focus-within+#border{border-color:var(--sinch-comp-input-color-default-border-focus);border-width:2px}#input-mask,:host([mask]) #input{font:var(--sinch-sys-font-body-monospace-m)}:host([mask]) #input-mask{display:block}:host([invalid]:not([disabled])) #input-wrapper:not(:focus-within)+#border{border-color:var(--sinch-comp-input-color-invalid-border-initial)}#input[type=password]:not(:placeholder-shown){letter-spacing:.1em}:host(:not([enforce-consistent-font-size])) #input[type=password]:not(:placeholder-shown){font-size:1.5em}:host([enforce-consistent-font-size]) #input[type=password]:not(:placeholder-shown){font-size:inherit}#icon-wrapper{position:relative;height:100%}#icon{position:absolute;display:flex;align-items:center;left:var(--sinch-local-padding);top:0;bottom:0;pointer-events:none;--sinch-global-color-icon:var(--sinch-comp-input-color-default-icon-initial)}:host([disabled]) #icon{--sinch-global-color-icon:var(--sinch-comp-input-color-disabled-icon-initial)}#icon-wrapper.empty{display:none}#icon-wrapper.empty~#input-wrapper>#input,#icon-wrapper.empty~#input-wrapper>#input-mask{padding-left:var(--sinch-local-padding)}#icon-wrapper:not(.empty)~#input-wrapper>#input,#icon-wrapper:not(.empty)~#input-wrapper>#input-mask{padding-left:calc(var(--sinch-local-padding) + var(--sinch-global-size-icon) + var(--sinch-local-icon-gap))}#right{display:flex;flex-direction:row;align-self:stretch;align-items:center;gap:var(--sinch-local-slot-gap);padding-right:var(--sinch-local-slot-padding)}#right.empty{display:none}#left{display:flex;flex-direction:row;align-self:stretch;align-items:center;gap:var(--sinch-local-slot-gap);padding-left:var(--sinch-local-slot-padding)}#left.empty{display:none}</style><div id="wrapper"><div id="left"><slot name="left"></slot></div><div id="icon-wrapper"><div id="icon"><slot name="icon"></slot></div></div><div id="input-wrapper"><div id="input-mask"></div><input id="input" type="text"></div><div id="border"></div><div id="right"><slot name="right"></slot></div></div>';
10
10
  const template = document.createElement("template");
11
11
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-link");
@@ -0,0 +1,2 @@
1
+ import "../index.d9.js";
2
+ import "../index.d3.js";