@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
package/link/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import "../code-tag/index.js";
2
- import "../icon/index.js";
3
- import { getAttribute, getBooleanAttribute, isAttrEqual, updateLiteralAttribute, updateAttribute, updateBooleanAttribute, isAttrTrue, getLiteralAttribute } from "../utils/dom.js";
4
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
6
- import { linkTypeValues } from "./utils.js";
1
+ import "../index.d9.js";
2
+ import "../index.d3.js";
3
+ import { i as getAttribute, j as getBooleanAttribute, s as isAttrEqual, C as updateLiteralAttribute, y as updateAttribute, z as updateBooleanAttribute, t as isAttrTrue, o as getLiteralAttribute } 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 { l as linkTypeValues } from "../utils20.js";
7
7
  const templateHTML = '<style>:host{display:inline}:host(:not([type])) a{font:var(--sinch-comp-link-default-font-initial);font-size:inherit;line-height:inherit;text-decoration:var(--sinch-comp-link-default-text-decoration-initial);color:var(--sinch-comp-link-color-default-text-initial);border-radius:.5em;white-space:nowrap;--sinch-global-color-icon:var(--sinch-comp-link-color-default-icon-initial)}:host(:not([type])) a:hover{text-decoration:var(--sinch-comp-link-default-text-decoration-hover);color:var(--sinch-comp-link-color-default-text-hover);--sinch-global-color-icon:var(--sinch-comp-link-color-default-icon-hover)}:host(:not([type])) a:focus-visible{outline:2px solid var(--sinch-comp-link-color-default-outline-focus);outline-offset:2px}:host(:not([type])[standalone]){display:block}:host(:not([type])[standalone]) a{display:block;font:var(--sinch-comp-link-standalone-font-initial);font-size:inherit;line-height:inherit;text-decoration:none;width:fit-content}#external-icon,#standalone-icon{display:none;height:1em}#icon-prefix{display:none;margin-left:-.25em}:host(:not([type])[external]:not([standalone])) #external-icon{display:inline-block;margin-left:.25em;vertical-align:-.2em;--sinch-global-size-icon:1em}:host(:not([type])[standalone][external]) #external-icon{display:inline-block;vertical-align:-.4em;--sinch-global-size-icon:1.5em}:host(:not([type])[standalone]) #icon-prefix{display:inline}:host(:not([type])[standalone]:not([external])) #standalone-icon{display:inline-block;vertical-align:-.4em;--sinch-global-size-icon:1.5em}:host(:not([type])[disabled]) a{color:var(--sinch-comp-link-color-disabled-text-initial);pointer-events:none;cursor:initial;text-decoration:var(--sinch-comp-link-default-text-decoration-disabled);--sinch-global-color-icon:var(--sinch-comp-link-color-disabled-icon-initial)}#content{white-space:var(--sinch-global-text-white-space,normal)}:host(:not([type])) button{display:none;border:none;background:0 0;padding:0;margin:0;cursor:pointer;font:var(--sinch-comp-link-default-font-initial);font-size:inherit;line-height:inherit;text-decoration:var(--sinch-comp-link-default-text-decoration-initial);color:var(--sinch-comp-link-color-default-text-initial);border-radius:.5em;white-space:nowrap}:host(:not([type])) button:hover{text-decoration:var(--sinch-comp-link-default-text-decoration-hover);color:var(--sinch-comp-link-color-default-text-hover)}:host(:not([type])) button:focus-visible{outline:2px solid var(--sinch-comp-link-color-default-outline-focus);outline-offset:2px}:host(:not([type])[disabled]) button{color:var(--sinch-comp-link-color-disabled-text-initial);pointer-events:none;cursor:initial;text-decoration:var(--sinch-comp-link-default-text-decoration-disabled)}#button-content{white-space:var(--sinch-global-text-white-space,normal)}:host([preventdefault]:not([use-history])) a{display:none}:host([preventdefault]:not([use-history])) button{display:inline}:host([type]){display:inline-block;vertical-align:middle;outline:0;cursor:pointer;user-select:none;--sinch-button-shape-radius-base:var(--sinch-comp-button-shape-radius-size-m);--sinch-button-set-size-shape-radius:var(--sinch-comp-button-shape-radius-size-m);--sinch-local-shadow:var(--sinch-comp-button-shadow-secondary-initial);--sinch-button-border:1px solid;--sinch-button-border-top:var(--sinch-button-border);--sinch-button-border-bottom:var(--sinch-button-border);--sinch-button-border-left:var(--sinch-button-border);--sinch-button-border-right:var(--sinch-button-border);--sinch-button-shape-radius-top-right:unset;--sinch-button-shape-radius-top-left:unset;--sinch-button-shape-radius-bottom-right:unset;--sinch-button-shape-radius-bottom-left:unset;--sinch-local-size:var(--sinch-comp-button-size-container-m);--sinch-local-padding:var(--sinch-comp-button-spacing-padding-m, 16px);--sinch-local-gap:var(--sinch-comp-button-spacing-gap-m, 12px);--sinch-local-font:var(--sinch-comp-button-font-size-m-text);--sinch-global-size-icon:var(--sinch-comp-button-size-icon-m)}:host([type][disabled]){cursor:initial}:host([type]) a,:host([type]) button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:var(--sinch-local-size);padding:0 var(--sinch-local-padding);border:none;margin:0;background:0 0;text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;color:inherit}:host([type]) a::before,:host([type]) button::before{content:"";position:absolute;inset:0;background-color:var(--sinch-local-color-background);border-top:var(--sinch-button-border-top);border-bottom:var(--sinch-button-border-bottom);border-right:var(--sinch-button-border-right);border-left:var(--sinch-button-border-left);border-color:var(--sinch-local-color-border);border-top-right-radius:var(--sinch-button-shape-radius-top-right,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base)));border-top-left-radius:var(--sinch-button-shape-radius-top-left,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base)));border-bottom-right-radius:var(--sinch-button-shape-radius-bottom-right,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base)));border-bottom-left-radius:var(--sinch-button-shape-radius-bottom-left,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base)));box-shadow:var(--sinch-local-shadow);pointer-events:none}:host([type]:not([disabled]):active) a::before,:host([type]:not([disabled]):active) button::before{border-width:2px}:host([type]) a:focus-visible,:host([type]) button:focus-visible{outline:0}:host([type]) a:focus-visible::after,:host([type]) button:focus-visible::after{position:absolute;content:"";inset:-3px;border:2px solid var(--sinch-local-color-outline-focus);border-top-right-radius:calc(var(--sinch-button-shape-radius-top-right,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base))) + 3px);border-top-left-radius:calc(var(--sinch-button-shape-radius-top-left,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base))) + 3px);border-bottom-right-radius:calc(var(--sinch-button-shape-radius-bottom-right,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base))) + 3px);border-bottom-left-radius:calc(var(--sinch-button-shape-radius-bottom-left,var(--sinch-button-set-size-shape-radius,var(--sinch-button-shape-radius-base))) + 3px);pointer-events:none}:host([type]) #button-content,:host([type]) #content{position:relative;font:var(--sinch-local-font);color:var(--sinch-local-color-text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex-shrink:1;min-width:0}:host([type]) #external-icon,:host([type]) #icon-prefix,:host([type]) #standalone-icon{display:none}:host([type][disabled]) a,:host([type][disabled]) button{pointer-events:none;cursor:initial}:host([type=primary]){--sinch-local-color-background:var(--sinch-comp-button-color-primary-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-primary-default-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-primary-default-text-initial);--sinch-local-color-icon:var(--sinch-comp-button-color-primary-default-icon-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-primary-default-outline-focus);--sinch-local-shadow:var(--sinch-comp-button-shadow-primary-initial)}:host([type=secondary]){--sinch-local-color-background:var(--sinch-comp-button-color-secondary-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-secondary-default-border-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-secondary-default-outline-focus);--sinch-local-color-text:var(--sinch-comp-button-color-secondary-default-text-initial);--sinch-local-color-icon:var(--sinch-comp-button-color-secondary-default-icon-initial)}:host([type=subtle-primary]){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-primary-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-subtle-primary-default-border-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-subtle-primary-default-outline-focus);--sinch-local-color-text:var(--sinch-comp-button-color-subtle-primary-default-text-initial);--sinch-local-color-icon:var(--sinch-comp-button-color-subtle-primary-default-icon-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-initial)}:host([type=subtle-secondary]){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-secondary-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-subtle-secondary-default-border-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-subtle-secondary-default-outline-focus);--sinch-local-color-text:var(--sinch-comp-button-color-subtle-secondary-default-text-initial);--sinch-local-color-icon:var(--sinch-comp-button-color-subtle-secondary-default-icon-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-initial)}:host([type=cta-primary]){--sinch-local-color-background:var(--sinch-comp-button-color-cta-primary-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-cta-primary-default-border-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-cta-primary-default-outline-focus);--sinch-local-color-text:var(--sinch-comp-button-color-cta-primary-default-text-initial);--sinch-local-color-icon:var(--sinch-comp-button-color-cta-primary-default-icon-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-primary-initial)}:host([type=cta-secondary]){--sinch-local-color-background:var(--sinch-comp-button-color-cta-secondary-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-cta-secondary-default-border-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-cta-secondary-default-outline-focus);--sinch-local-color-text:var(--sinch-comp-button-color-cta-secondary-default-text-initial);--sinch-local-color-icon:var(--sinch-comp-button-color-cta-secondary-default-icon-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-secondary-initial)}:host([type=destructive]){--sinch-local-color-background:var(--sinch-comp-button-color-danger-default-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-danger-default-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-danger-default-text-initial);--sinch-local-color-outline-focus:var(--sinch-comp-button-color-danger-default-outline-focus);--sinch-local-shadow:var(--sinch-comp-button-shadow-danger-initial);--sinch-global-color-icon:var(--sinch-comp-button-color-danger-default-icon-initial)}:host([type=primary]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-primary-focus)}:host([type=secondary]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-secondary-focus)}:host([type=subtle-primary]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-focus)}:host([type=subtle-secondary]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-focus)}:host([type=cta-primary]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-primary-focus)}:host([type=cta-secondary]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-secondary-focus)}:host([type=destructive]:focus-visible){--sinch-local-shadow:var(--sinch-comp-button-shadow-danger-focus)}:host([type=primary]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-primary-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-primary-hover)}:host([type=primary]:active){--sinch-local-color-background:var(--sinch-comp-button-color-primary-default-background-active);--sinch-local-shadow:var(--sinch-comp-button-shadow-primary-active)}:host([type=secondary]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-secondary-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-secondary-hover)}:host([type=secondary]:active){--sinch-local-color-background:var(--sinch-comp-button-color-secondary-default-background-active)}:host([type=subtle-primary]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-primary-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-hover)}:host([type=subtle-primary]:active){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-primary-default-background-active);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-active)}:host([type=subtle-secondary]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-secondary-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-hover)}:host([type=subtle-secondary]:active){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-secondary-default-background-active);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-active)}:host([type=cta-primary]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-cta-primary-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-primary-hover)}:host([type=cta-primary]:active){--sinch-local-color-background:var(--sinch-comp-button-color-cta-primary-default-background-active);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-primary-active)}:host([type=cta-secondary]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-cta-secondary-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-secondary-hover)}:host([type=cta-secondary]:active){--sinch-local-color-background:var(--sinch-comp-button-color-cta-secondary-default-background-active);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-secondary-active)}:host([type=destructive]:hover){--sinch-local-color-background:var(--sinch-comp-button-color-danger-default-background-hover);--sinch-local-shadow:var(--sinch-comp-button-shadow-danger-hover)}:host([type=destructive]:active){--sinch-local-color-background:var(--sinch-comp-button-color-danger-default-background-active);--sinch-local-shadow:var(--sinch-comp-button-shadow-danger-active)}:host([type=primary][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-primary-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-primary-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-primary-disabled-text-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-primary-disabled);--sinch-global-color-icon:var(--sinch-comp-button-color-primary-disabled-icon-initial)}:host([type=secondary][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-secondary-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-secondary-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-secondary-disabled-text-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-secondary-disabled);--sinch-global-color-icon:var(--sinch-comp-button-color-secondary-disabled-icon-initial)}:host([type=subtle-primary][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-primary-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-subtle-primary-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-subtle-primary-disabled-text-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-disabled);--sinch-global-color-icon:var(--sinch-comp-button-color-subtle-primary-disabled-icon-initial)}:host([type=subtle-secondary][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-subtle-secondary-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-subtle-secondary-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-subtle-secondary-disabled-text-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-subtle-disabled);--sinch-global-color-icon:var(--sinch-comp-button-color-subtle-secondary-disabled-icon-initial)}:host([type=cta-primary][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-cta-primary-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-cta-primary-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-cta-primary-disabled-text-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-primary-disabled);--sinch-global-color-icon:var(--sinch-comp-button-color-cta-primary-disabled-icon-initial)}:host([type=cta-secondary][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-cta-secondary-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-cta-secondary-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-cta-secondary-disabled-text-initial);--sinch-local-shadow:var(--sinch-comp-button-shadow-cta-secondary-disabled);--sinch-global-color-icon:var(--sinch-comp-button-color-cta-secondary-disabled-icon-initial)}:host([type=destructive][disabled]){--sinch-local-color-background:var(--sinch-comp-button-color-danger-disabled-background-initial);--sinch-local-color-border:var(--sinch-comp-button-color-danger-disabled-border-initial);--sinch-local-color-text:var(--sinch-comp-button-color-danger-disabled-text-initial);--sinch-global-color-icon:var(--sinch-comp-button-color-danger-disabled-icon-initial)}:host([type]) button{display:none}:host([type][preventdefault]:not([use-history])) a{display:none}:host([type][preventdefault]:not([use-history])) button{display:inline-flex}</style><a referrerpolicy="no-referer"><span id="content"></span> <span id="icon-prefix">&nbsp;</span><sinch-icon icons-version="2" name="fa-arrow-up-right" id="external-icon"></sinch-icon><sinch-icon icons-version="2" name="fa-arrow-right" id="standalone-icon"></sinch-icon></a><button type="button"><span id="button-content"></span></button>';
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-list");
@@ -0,0 +1 @@
1
+
package/list/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:block;height:100%}#wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%;overflow-y:auto}</style><div id="wrapper"><slot></slot></div>';
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-list-item");
@@ -0,0 +1 @@
1
+
@@ -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:block;outline:0}#wrapper{width:100%;height:100%;box-sizing:border-box;overflow:hidden;padding:8px 0;background-color:var(--sinch-comp-list-color-default-background-initial);border-bottom:1px solid var(--sinch-comp-list-color-default-border-initial)}:host(:last-child)>#wrapper{border-bottom:none}:host(:hover)>#wrapper{background-color:var(--sinch-comp-list-color-default-background-hover)}</style><div id="wrapper"><slot name="content"></slot></div>';
3
3
  const template = document.createElement("template");
4
4
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/components",
3
- "version": "5.42.4",
3
+ "version": "5.42.5-rc.0",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",
@@ -18,13 +18,9 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "scripts": {
22
- "build": "rm -rf utils/shared && cp -r ../shared utils/shared && npx tsx ../scripts/minify-html.ts && vite build && vite build --mode bundle && npx tsc --declaration --emitDeclarationOnly && npx tsx ../scripts/tsc-alias.ts --alias '@nectary/shared=./utils/shared'",
23
- "dev": "vite build --watch"
24
- },
25
21
  "dependencies": {
26
22
  "@babel/runtime": "^7.22.15",
27
- "@nectary/assets": "3.6.14"
23
+ "@nectary/assets": "3.0.0"
28
24
  },
29
25
  "devDependencies": {
30
26
  "@babel/cli": "^7.22.15",
@@ -34,12 +30,16 @@
34
30
  "@babel/preset-typescript": "^7.22.15",
35
31
  "@types/node": "22.12.0",
36
32
  "@types/react": "^18.2.21",
37
- "babel-plugin-html-inline-minifier": "workspace:*",
38
33
  "dts-bundle-generator": "^9.5.1",
39
34
  "typescript": "^5.2.2",
40
- "vite": "^7.0.6"
35
+ "vite": "^7.0.6",
36
+ "babel-plugin-html-inline-minifier": "0.0.0"
41
37
  },
42
38
  "peerDependencies": {
43
- "@nectary/theme-base": "1.17.0"
39
+ "@nectary/theme-base": ">=1.4.0 <2.0.0"
40
+ },
41
+ "scripts": {
42
+ "build": "rm -rf utils/shared && cp -r ../shared utils/shared && npx tsx ../scripts/minify-html.ts && vite build && vite build --mode bundle && npx tsc --declaration --emitDeclarationOnly && npx tsx ../scripts/tsc-alias.ts --alias '@nectary/shared=./utils/shared'",
43
+ "dev": "vite build --watch"
44
44
  }
45
- }
45
+ }
@@ -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-pagination");
@@ -0,0 +1 @@
1
+ import "../index.d3.js";
@@ -16,7 +16,7 @@ export declare class Pagination extends NectaryElement {
16
16
  get focusable(): boolean;
17
17
  focus(): void;
18
18
  blur(): void;
19
- get prevButtonRect(): TRect;
20
- get nextButtonRect(): TRect;
19
+ get prevButtonRect(): any;
20
+ get nextButtonRect(): any;
21
21
  nthButtonRect(index: number): TRect | null;
22
22
  }
@@ -1,9 +1,9 @@
1
- import "../icon/index.js";
2
- import { updateAttribute, getIntegerAttribute, setClass } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getRect } from "../utils/rect.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
6
- import { isTargetEqual, getTargetIndexInParent } from "../utils/event-target.js";
1
+ import "../index.d3.js";
2
+ import { y as updateAttribute, n as getIntegerAttribute, w as setClass } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { g as getRect } from "../rect.js";
5
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
6
+ import { i as isTargetEqual, b as getTargetIndexInParent } from "../event-target.js";
7
7
  const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}#wrapper{display:flex;justify-content:center;gap:8px;width:100%;height:var(--sinch-local-size);--sinch-local-size:24px}button{all:initial;position:relative;display:flex;justify-content:center;align-items:center;min-width:var(--sinch-local-size);height:var(--sinch-local-size);cursor:pointer;border-radius:var(--sinch-comp-pagination-shape-radius);user-select:none;--sinch-global-color-icon:var(--sinch-comp-pagination-color-default-icon-default)}button:focus-visible::before{content:"";position:absolute;inset:-3px;border:2px solid var(--sinch-comp-pagination-color-default-outline-focus);border-radius:calc(var(--sinch-comp-pagination-shape-radius) + 3px);pointer-events:none}button:disabled{--sinch-global-color-icon:var(--sinch-comp-pagination-color-disabled-icon-initial);cursor:initial}button:enabled:hover{background-color:var(--sinch-comp-pagination-color-default-background-hover)}button>*{display:block;overflow:hidden;pointer-events:none}.page{font:var(--sinch-comp-pagination-font-default-page-number);color:var(--sinch-comp-pagination-color-default-text-initial);background-color:var(--sinch-comp-pagination-color-default-background-initial);padding:0 4px;box-sizing:border-box}.page.dots>span{display:none}.page.dots::after{content:"..."}.page.active{font:var(--sinch-comp-pagination-font-checked-page-number);background-color:var(--sinch-comp-pagination-color-checked-background-initial);pointer-events:none;cursor:initial}.page.active:hover{background-color:var(--sinch-comp-pagination-color-checked-background-hover)}.page.hidden{display:none}#left,#right{--sinch-icon-size:24px}</style><nav id="wrapper"><button id="left" aria-label="Go back"><sinch-icon icons-version="2" name="fa-angle-left" id="icon-left"></sinch-icon></button> <button class="page"><span>1</span></button> <button class="page active"><span>2</span></button> <button class="page"><span>3</span></button> <button class="page"><span>4</span></button> <button class="page"><span>5</span></button> <button class="page dots"><span>6</span></button> <button class="page"><span>20</span></button> <button id="right" aria-label="Go forward"><sinch-icon icons-version="2" name="fa-angle-right" id="icon-right"></sinch-icon></button></nav>';
8
8
  const NUM_BUTTONS = 7;
9
9
  const MIDDLE_BTN_INDEX = Math.floor(NUM_BUTTONS / 2);
@@ -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-persistent-overlay");
@@ -0,0 +1 @@
1
+ import "../index.d12.js";
@@ -1,7 +1,7 @@
1
- import "../dialog/index.js";
2
- import { updateAttribute, getAttribute, updateBooleanAttribute, getBooleanAttribute, isAttrTrue } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
1
+ import "../index.d12.js";
2
+ import { y as updateAttribute, i as getAttribute, z as updateBooleanAttribute, j as getBooleanAttribute, t as isAttrTrue } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
5
5
  const templateHTML = '<style>#persisted-dialog{--sinch-dialog-close-button-display:none}::slotted(*){display:block}</style><sinch-dialog id="persisted-dialog" prevent-close><div slot="icon"><slot id="icon" name="icon"></slot></div><div slot="content"><slot name="content"></slot></div><div slot="buttons"><slot name="buttons"></slot></div></sinch-dialog>';
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-pop");
package/pop/index.d.js ADDED
@@ -0,0 +1 @@
1
+
package/pop/index.d.ts CHANGED
@@ -25,7 +25,7 @@ export declare class Pop extends NectaryElement {
25
25
  set inset(inset: number);
26
26
  get inset(): number;
27
27
  get footprintRect(): TRect;
28
- get popoverRect(): TRect;
28
+ get popoverRect(): any;
29
29
  get shouldCloseOnBackdropClick(): boolean;
30
30
  get shouldRestoreFocusOnClose(): boolean;
31
31
  attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
package/pop/index.js CHANGED
@@ -1,13 +1,12 @@
1
- import { Context, subscribeContext } from "../utils/context.js";
2
- import { getBooleanAttribute, updateBooleanAttribute, getLiteralAttribute, updateLiteralAttribute, updateIntegerAttribute, getIntegerAttribute, isAttrEqual, getScrollableParents, getTransformedAncestor, isAttrTrue } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getRect } from "../utils/rect.js";
5
- import { getFirstSlotElement, getFirstFocusableElement, isElementFocused } from "../utils/slot.js";
6
- import { throttleAnimationFrame } from "../utils/throttle.js";
7
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
8
- import { isTargetEqual } from "../utils/event-target.js";
9
- import { getPlacementContext, toLocalRect } from "../utils/placement.js";
10
- import { orientationValues, disableOverscroll, enableOverscroll, getAnchorPosition, clampPosition } from "./utils.js";
1
+ import { C as Context, s as subscribeContext } from "../context.js";
2
+ import { j as getBooleanAttribute, z as updateBooleanAttribute, o as getLiteralAttribute, C as updateLiteralAttribute, B as updateIntegerAttribute, n as getIntegerAttribute, s as isAttrEqual, p as getScrollableParents, q as getTransformedAncestor, t as isAttrTrue } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { g as getRect } from "../rect.js";
5
+ import { a as getFirstSlotElement, g as getFirstFocusableElement, i as isElementFocused } from "../slot.js";
6
+ import { t as throttleAnimationFrame } from "../throttle.js";
7
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
8
+ import { i as isTargetEqual } from "../event-target.js";
9
+ import { o as orientationValues, d as disableOverscroll, e as enableOverscroll, g as getPlacementContext, t as toLocalRect, a as getAnchorPosition, c as clampPosition } from "../utils31.js";
11
10
  const templateHTML = '<style>:host{display:contents;position:relative}dialog{position:fixed;left:0;top:0;transform:translate(var(--sinch-pop-offset-x),var(--sinch-pop-offset-y));margin:0;outline:0;padding:0;border:none;box-sizing:border-box;max-width:unset;max-height:unset;z-index:var(--sinch-comp-pop-z-index,1);background:0 0;overflow:visible}dialog:not([open]){display:none}dialog::backdrop{background-color:transparent}#content{position:relative;z-index:var(--sinch-comp-pop-z-index,1)}#target-open{display:flex;flex-direction:column;position:absolute;left:0;top:0}#focus{display:none;position:absolute;width:0;height:0}</style><slot id="target" name="target" aria-haspopup="dialog" aria-expanded="false"></slot><div id="focus"></div><dialog id="dialog"><div id="target-open"><slot name="target-open"></slot></div><div id="content"><slot name="content"></slot></div></dialog>';
12
11
  const template = document.createElement("template");
13
12
  template.innerHTML = templateHTML;
package/pop/types.d.js ADDED
@@ -0,0 +1 @@
1
+
package/pop/utils.d.js ADDED
@@ -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-popover");
@@ -0,0 +1 @@
1
+ import "../index.d2.js";
package/popover/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import "../pop/index.js";
2
- import { subscribeContext } from "../utils/context.js";
3
- import { updateAttribute, isAttrEqual, updateBooleanAttribute, isAttrTrue, getBooleanAttribute, getLiteralAttribute, updateLiteralAttribute, setClass } from "../utils/dom.js";
4
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
5
- import { rectOverlap } from "../utils/rect.js";
6
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
7
- import { getPopOrientation, orientationValues } from "./utils.js";
1
+ import "../index.d2.js";
2
+ import { s as subscribeContext } from "../context.js";
3
+ import { y as updateAttribute, s as isAttrEqual, z as updateBooleanAttribute, t as isAttrTrue, j as getBooleanAttribute, o as getLiteralAttribute, C as updateLiteralAttribute, w as setClass } from "../dom.js";
4
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
5
+ import { r as rectOverlap } from "../rect.js";
6
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
7
+ import { g as getPopOrientation, o as orientationValues } from "../utils3.js";
8
8
  const templateHTML = '<style>:host{display:contents}#content-wrapper{position:relative;padding-top:4px;width:fit-content;min-width:100%}:host([tip]) #content-wrapper{padding-top:12px;filter:drop-shadow(var(--sinch-comp-popover-shadow))}:host([orientation^=top]) #content-wrapper{padding-top:0;padding-bottom:4px}:host([orientation=left]) #content-wrapper{padding-top:0;padding-right:4px}:host([orientation=right]) #content-wrapper{padding-top:0;padding-left:4px}:host([orientation^=top][tip]) #content-wrapper{padding-top:0;padding-bottom:12px}:host([orientation=left][tip]) #content-wrapper{padding-top:0;padding-right:12px}:host([orientation=right][tip]) #content-wrapper{padding-top:0;padding-left:12px}#content{background-color:var(--sinch-comp-popover-color-default-background-initial);border:1px solid var(--sinch-comp-popover-color-default-border-initial);border-radius:var(--sinch-comp-popover-shape-radius);box-shadow:var(--sinch-comp-popover-shadow);overflow:hidden}:host([tip]) #content{box-shadow:none}#tip{position:absolute;left:50%;top:13px;transform:translateX(-50%) rotate(180deg);transform-origin:top center;fill:var(--sinch-comp-popover-color-default-background-initial);stroke:var(--sinch-comp-popover-color-default-border-initial);stroke-linecap:square;pointer-events:none;display:none}:host([orientation^=top]) #tip{transform:translateX(-50%) rotate(0);top:calc(100% - 13px)}:host([orientation=left]) #tip{transform:translateX(-50%) rotate(-90deg);top:calc(50%);left:calc(100% - 13px)}:host([orientation=right]) #tip{transform:translateX(-50%) rotate(90deg);top:calc(50%);left:13px}:host([tip]) #tip:not(.hidden){display:block}</style><sinch-pop id="pop" inset="4"><slot name="target" slot="target"></slot><div id="content-wrapper" slot="content"><div id="content"><slot name="content"></slot></div><svg id="tip" width="16" height="9" aria-hidden="true"><path d="m0 0 8 8 8 -8"/></svg></div></sinch-pop>';
9
9
  const TIP_SIZE = 16;
10
10
  const template = document.createElement("template");
@@ -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-progress");
@@ -0,0 +1 @@
1
+ import "../index.d.js";
package/progress/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import "../text/index.js";
2
- import { isAttrEqual, updateBooleanAttribute, isAttrTrue, attrValueToFloat, getIntegerAttribute, updateAttribute, getBooleanAttribute } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
1
+ import "../index.d.js";
2
+ import { s as isAttrEqual, z as updateBooleanAttribute, t as isAttrTrue, b as attrValueToFloat, n as getIntegerAttribute, y as updateAttribute, j as getBooleanAttribute } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
4
  const templateHTML = '<style>:host{display:block}#wrapper{display:flex;align-items:center;height:24px}#bar,#progress{height:8px;border-radius:4px}#progress{background-color:var(--sinch-comp-progress-color-default-background-initial);flex:1;min-width:0}#bar{background-color:var(--sinch-comp-progress-color-default-bar-initial);width:0}#text{display:none;width:46px;--sinch-global-color-text:var(--sinch-comp-progress-color-default-text-initial)}:host([detailed]) #text{display:block}</style><div id="wrapper"><sinch-text id="text" type="m"></sinch-text><div id="progress"><div id="bar"></div></div></div>';
5
5
  const template = document.createElement("template");
6
6
  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-progress-stepper");
@@ -0,0 +1 @@
1
+
@@ -1,9 +1,9 @@
1
- import { isProgressStepperItemActive, setProgressStepperItemChecked, setProgressStepperItemActiveDescendant, setProgressStepperItemStatus, isProgressStepperItemChecked } from "../progress-stepper-item/utils.js";
2
- import { updateAttribute, getAttribute } from "../utils/dom.js";
3
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
4
- import { getRect } from "../utils/rect.js";
5
- import { getReactEventHandler } from "../utils/get-react-event-handler.js";
6
- import { getTargetByAttribute } from "../utils/event-target.js";
1
+ import { c as isProgressStepperItemActive, s as setProgressStepperItemChecked, d as setProgressStepperItemActiveDescendant, e as setProgressStepperItemStatus, f as isProgressStepperItemChecked } from "../utils21.js";
2
+ import { y as updateAttribute, i as getAttribute } from "../dom.js";
3
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
4
+ import { g as getRect } from "../rect.js";
5
+ import { g as getReactEventHandler } from "../get-react-event-handler.js";
6
+ import { a as getTargetByAttribute } from "../event-target.js";
7
7
  const templateHTML = '<style>:host{display:block}#wrapper{display:flex;width:100%}::slotted(sinch-progress-stepper-item){flex:1;min-width:0}</style><div id="wrapper"><slot></slot></div>';
8
8
  const template = document.createElement("template");
9
9
  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-progress-stepper-item");
@@ -0,0 +1,2 @@
1
+ import "../index.d3.js";
2
+ import "../index.d.js";
@@ -1,8 +1,8 @@
1
- import "../icon/index.js";
2
- import "../text/index.js";
3
- import { isAttrEqual, updateExplicitBooleanAttribute, updateBooleanAttribute, isAttrTrue, updateAttribute, getAttribute, getBooleanAttribute } from "../utils/dom.js";
4
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
5
- import { ATTR_PROGRESS_STEPPER_ITEM_STATUS, ATTR_PROGRESS_STEPPER_ITEM_CHECKED, ATTR_PROGRESS_STEPPER_ITEM_ACTIVE_DESCENDANT, isProgressStepperItemActiveDescendant, isProgressStepperItemActive } from "./utils.js";
1
+ import "../index.d3.js";
2
+ import "../index.d.js";
3
+ import { s as isAttrEqual, A as updateExplicitBooleanAttribute, z as updateBooleanAttribute, t as isAttrTrue, y as updateAttribute, i as getAttribute, j as getBooleanAttribute } from "../dom.js";
4
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
5
+ import { A as ATTR_PROGRESS_STEPPER_ITEM_STATUS, a as ATTR_PROGRESS_STEPPER_ITEM_CHECKED, b as ATTR_PROGRESS_STEPPER_ITEM_ACTIVE_DESCENDANT, i as isProgressStepperItemActiveDescendant, c as isProgressStepperItemActive } from "../utils21.js";
6
6
  const templateHTML = '<style>:host{display:block;outline:0}#button{position:relative;display:flex;flex-direction:column;gap:4px;width:100%;height:100%;padding:8px 4px 4px;box-sizing:border-box;cursor:pointer;border-radius:var(--sinch-comp-progress-stepper-step-shape-radius)}:host([data-status=inactive])>#button{cursor:not-allowed}:host([data-status=incomplete]:hover)>#button{background-color:var(--sinch-comp-progress-stepper-step-color-incomplete-background-hover)}:host([data-status=complete]:hover)>#button{background-color:var(--sinch-comp-progress-stepper-step-color-complete-background-hover)}:host([data-status=invalid]:hover)>#button{background-color:var(--sinch-comp-progress-stepper-step-color-invalid-background-hover)}#outline{position:absolute;inset:-2px;border:2px solid var(--sinch-comp-progress-stepper-step-color-outline-focus);border-radius:calc(var(--sinch-comp-progress-stepper-step-shape-radius) + 2px);pointer-events:none;opacity:0}:host(:focus-visible) #outline{opacity:1}#text{flex-shrink:1;flex-basis:auto;min-width:0;transform:translate(0,0);will-change:transform;transition:transform .25s ease-out;padding-right:24px}:host([data-status=incomplete]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-incomplete-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-incomplete-label)}:host([data-status=complete]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-complete-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-complete-label)}:host([data-status=inactive]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-inactive-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-inactive-label)}:host([invalid]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-invalid-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-invalid-label);transform:translate(24px,0)}:host([data-status=incomplete][data-checked]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-incomplete-current-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-incomplete-current-label)}:host([data-status=complete][data-checked]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-complete-current-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-complete-current-label)}:host([invalid][data-checked]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-step-color-invalid-label-default);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-step-font-invalid-current-label)}#icon-error{position:absolute;left:0;top:4px;pointer-events:none;opacity:0;transition:opacity .25s ease-in-out;--sinch-global-color-icon:var(--sinch-comp-progress-stepper-step-color-invalid-icon-default);--sinch-global-size-icon:16px}:host([invalid]) #icon-error{opacity:1}#progress{height:8px;border-radius:4px;transition:background-color .25s ease-in-out}:host([data-status=incomplete]) #progress{background-color:var(--sinch-comp-progress-stepper-step-color-incomplete-progress-background)}:host([data-status=complete]) #progress{background-color:var(--sinch-comp-progress-stepper-step-color-complete-progress-background)}:host([data-status=inactive]) #progress{background-color:var(--sinch-comp-progress-stepper-step-color-inactive-progress-background)}:host([invalid]) #progress{background-color:var(--sinch-comp-progress-stepper-step-color-invalid-progress-background)}#bar{width:8px;height:8px;border-radius:4px;opacity:0;transition:width .25s ease-in-out,opacity .25s ease-in-out}:host([data-status=incomplete]) #bar{background-color:var(--sinch-comp-progress-stepper-step-color-incomplete-progress-bar)}:host([data-status=complete]) #bar{background-color:var(--sinch-comp-progress-stepper-step-color-complete-progress-bar);width:100%}:host([data-status=complete]:not([invalid])) #bar,:host([data-status=incomplete]:not([invalid])) #bar{opacity:1}#label-bar{position:relative}</style><div id="button"><div id="progress"><div id="bar"></div></div><div id="label-bar"><sinch-icon icons-version="2" name="triangle-exclamation" id="icon-error" aria-hidden="true"></sinch-icon><sinch-text id="text" type="m"></sinch-text></div><div id="outline"></div></div>';
7
7
  const template = document.createElement("template");
8
8
  template.innerHTML = templateHTML;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -2,10 +2,10 @@ type TSinchProgressStepperItemStatus = 'inactive' | 'incomplete' | 'invalid' | '
2
2
  export declare const ATTR_PROGRESS_STEPPER_ITEM_CHECKED = "data-checked";
3
3
  export declare const ATTR_PROGRESS_STEPPER_ITEM_STATUS = "data-status";
4
4
  export declare const ATTR_PROGRESS_STEPPER_ITEM_ACTIVE_DESCENDANT = "data-active-descendant";
5
- export declare const isProgressStepperItemChecked: ($el: Element) => boolean;
6
- export declare const setProgressStepperItemChecked: ($el: Element, isChecked: boolean) => void;
5
+ export declare const isProgressStepperItemChecked: ($el: Element) => any;
6
+ export declare const setProgressStepperItemChecked: ($el: Element, isChecked: boolean) => any;
7
7
  export declare const isProgressStepperItemActive: ($el: Element) => boolean;
8
- export declare const setProgressStepperItemStatus: ($el: Element, status: TSinchProgressStepperItemStatus) => void;
9
- export declare const isProgressStepperItemActiveDescendant: ($el: Element) => boolean;
10
- export declare const setProgressStepperItemActiveDescendant: ($el: Element, isActiveDescendant: boolean) => void;
8
+ export declare const setProgressStepperItemStatus: ($el: Element, status: TSinchProgressStepperItemStatus) => any;
9
+ export declare const isProgressStepperItemActiveDescendant: ($el: Element) => any;
10
+ export declare const setProgressStepperItemActiveDescendant: ($el: Element, isActiveDescendant: boolean) => any;
11
11
  export {};
@@ -1,4 +1,4 @@
1
- import { getBooleanAttribute, getAttribute, updateBooleanAttribute, updateAttribute } from "../utils/dom.js";
1
+ import { j as getBooleanAttribute, z as updateBooleanAttribute, y as updateAttribute, i as getAttribute } from "../dom.js";
2
2
  const ATTR_PROGRESS_STEPPER_ITEM_CHECKED = "data-checked";
3
3
  const ATTR_PROGRESS_STEPPER_ITEM_STATUS = "data-status";
4
4
  const ATTR_PROGRESS_STEPPER_ITEM_ACTIVE_DESCENDANT = "data-active-descendant";
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-progress-stepper-item-v2");
@@ -0,0 +1,2 @@
1
+ import "../index.d3.js";
2
+ import "../index.d.js";
@@ -1,9 +1,8 @@
1
- import "../icon/index.js";
2
- import "../text/index.js";
3
- import { fillProgressStepperStepChipHost } from "../progress-stepper-v2/step-chip.js";
4
- import { isAttrEqual, updateBooleanAttribute, isAttrTrue, updateExplicitBooleanAttribute, updateAttribute, getAttribute, getBooleanAttribute } from "../utils/dom.js";
5
- import { defineCustomElement, NectaryElement } from "../utils/element.js";
6
- import { TAG_PROGRESS_STEPPER_ITEM, ATTR_PROGRESS_STEPPER_ITEM_STATUS, ATTR_PROGRESS_STEPPER_ITEM_CHECKED, syncProgressStepperItemsRovingTabIndexes } from "./utils.js";
1
+ import "../index.d3.js";
2
+ import "../index.d.js";
3
+ import { a as TAG_PROGRESS_STEPPER_ITEM, A as ATTR_PROGRESS_STEPPER_ITEM_STATUS, h as ATTR_PROGRESS_STEPPER_ITEM_CHECKED, f as fillProgressStepperStepChipHost, s as syncProgressStepperItemsRovingTabIndexes } from "../utils30.js";
4
+ import { s as isAttrEqual, z as updateBooleanAttribute, t as isAttrTrue, A as updateExplicitBooleanAttribute, y as updateAttribute, i as getAttribute, j as getBooleanAttribute } from "../dom.js";
5
+ import { d as defineCustomElement, N as NectaryElement } from "../element.js";
7
6
  const templateHTML = '<style>:host{display:grid;grid-template-columns:minmax(0,max-content);grid-template-rows:minmax(0,1fr);min-height:0;min-width:0;outline:0}#button{position:relative;grid-area:1/1;align-self:stretch;justify-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:0;width:100%;min-width:100%;min-height:0;padding:8px 4px;box-sizing:border-box;cursor:pointer;border-radius:var(--sinch-comp-progress-stepper-v2-step-shape-radius-container)}:host([data-stepper-layout=horizontal]) #button{padding:8px 12px 8px 10px}#label-bar{position:relative;width:100%;min-width:0}:host([data-status=inactive])>#button{cursor:default}:host([data-status=incomplete]:hover)>#button{background-color:var(--sinch-comp-progress-stepper-v2-step-color-incomplete-background-hover)}:host([data-status=complete]:hover)>#button{background-color:var(--sinch-comp-progress-stepper-v2-step-color-complete-background-hover)}:host([invalid]:not([data-status=inactive]):hover)>#button{background-color:var(--sinch-comp-progress-stepper-v2-step-color-invalid-background-hover)}#outline{position:absolute;inset:-2px;border:2px solid var(--sinch-comp-progress-stepper-v2-step-color-outline-focus);border-radius:calc(var(--sinch-comp-progress-stepper-v2-step-shape-radius-container) + 2px);pointer-events:none;opacity:0}:host(:focus-visible) #outline,:host([data-force-focus-visible]) #outline{opacity:1}#text{flex-shrink:1;flex-basis:auto;min-width:0;transition:color .25s ease-out}#label-content{display:flex;align-items:center;gap:8px;min-width:0}:host([invalid]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-v2-step-color-invalid-label-initial);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-v2-step-font-label-initial)}:host(:is([data-status=incomplete],[data-status=inactive]):not([invalid])) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-v2-step-color-incomplete-label-initial);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-v2-step-font-label-initial)}:host([data-status=complete]:not([invalid])) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-v2-step-color-complete-label-initial);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-v2-step-font-label-initial)}:host([invalid][data-checked]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-v2-step-color-invalid-label-current);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-v2-step-font-label-current)}:host(:is([data-status=incomplete],[data-status=inactive]):not([invalid])[data-checked]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-v2-step-color-incomplete-label-current);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-v2-step-font-label-current)}:host([data-status=complete]:not([invalid])[data-checked]) #text{--sinch-global-color-text:var(--sinch-comp-progress-stepper-v2-step-color-complete-label-current);--sinch-comp-text-font:var(--sinch-comp-progress-stepper-v2-step-font-label-current)}</style><div id="button"><div id="label-bar"><div id="label-content"><span id="index" aria-hidden="true"></span><sinch-text id="text" type="m"></sinch-text></div></div><div id="outline"></div></div>';
8
7
  const template = document.createElement("template");
9
8
  template.innerHTML = templateHTML;
@@ -5,10 +5,10 @@ export declare const ATTR_PROGRESS_STEPPER_ITEM_CHECKED = "data-checked";
5
5
  export declare const ATTR_PROGRESS_STEPPER_ITEM_STATUS = "data-status";
6
6
  /** Set by `sinch-progress-stepper-v2` on default-slot items for layout-specific styling. */
7
7
  export declare const ATTR_PROGRESS_STEPPER_ITEM_LAYOUT = "data-stepper-layout";
8
- export declare const isProgressStepperItemChecked: ($el: Element) => boolean;
9
- export declare const setProgressStepperItemChecked: ($el: Element, isChecked: boolean) => void;
8
+ export declare const isProgressStepperItemChecked: ($el: Element) => any;
9
+ export declare const setProgressStepperItemChecked: ($el: Element, isChecked: boolean) => any;
10
10
  export declare const isProgressStepperItemActive: ($el: Element) => boolean;
11
- export declare const setProgressStepperItemStatus: ($el: Element, status: TSinchProgressStepperItemStatus) => void;
11
+ export declare const setProgressStepperItemStatus: ($el: Element, status: TSinchProgressStepperItemStatus) => any;
12
12
  /**
13
13
  * Nested shadow trees (e.g. `sinch-text` inside a step) break `shadowRoot.contains(active)` —
14
14
  * walk up through shadow boundaries, and optionally use `composedPath()` from the key event.
@@ -1,4 +1,4 @@
1
- import { getBooleanAttribute, getAttribute, updateBooleanAttribute, updateAttribute } from "../utils/dom.js";
1
+ import { j as getBooleanAttribute, z as updateBooleanAttribute, y as updateAttribute, i as getAttribute } from "../dom.js";
2
2
  const TAG_PROGRESS_STEPPER = "sinch-progress-stepper-v2";
3
3
  const TAG_PROGRESS_STEPPER_ITEM = "sinch-progress-stepper-item-v2";
4
4
  const ATTR_PROGRESS_STEPPER_ITEM_CHECKED = "data-checked";
@@ -0,0 +1 @@
1
+
@@ -1,8 +1,7 @@
1
- import { isProgressStepperItemActive, ATTR_PROGRESS_STEPPER_ITEM_STATUS } from "../progress-stepper-item-v2/utils.js";
2
- import { subscribeContext } from "../utils/context.js";
3
- import { getBooleanAttribute, updateBooleanAttribute, getAttribute, createScopedElement, updateAttribute } from "../utils/dom.js";
4
- import { resolveCompactMenuAndPopAriaLabel, formatCompactTemplate, resolveCompactCounterFormat, resolveCompactTriggerAriaLabel } from "./compact-format.js";
5
- import { fillProgressStepperStepChipHost } from "./step-chip.js";
1
+ import { i as isProgressStepperItemActive, A as ATTR_PROGRESS_STEPPER_ITEM_STATUS, f as fillProgressStepperStepChipHost } from "../utils30.js";
2
+ import { s as subscribeContext } from "../context.js";
3
+ import { j as getBooleanAttribute, z as updateBooleanAttribute, i as getAttribute, h as createScopedElement, y as updateAttribute } from "../dom.js";
4
+ import { r as resolveCompactMenuAndPopAriaLabel, f as formatCompactTemplate, a as resolveCompactCounterFormat, b as resolveCompactTriggerAriaLabel } from "../compact-format.js";
6
5
  class ProgressStepperCompactController {
7
6
  #$actionMenu;
8
7
  #$compactPop;
@@ -1,2 +1,2 @@
1
- import { defineCustomElement } from "../../utils/element.js";
1
+ import { d as defineCustomElement } from "../../element.js";
2
2
  defineCustomElement("sinch-progress-stepper-v2");