@dropi/ui 0.1.41 → 0.1.42

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 (605) hide show
  1. package/assets/icons/symbol/svg/sprite.css.svg +1 -1
  2. package/dist/cjs/dropi-accordion-item.cjs.entry.js +2 -2
  3. package/dist/cjs/dropi-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/dropi-alert-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/dropi-alert-modal.cjs.entry.js +20 -16
  6. package/dist/cjs/dropi-alert.cjs.entry.js +12 -12
  7. package/dist/cjs/dropi-avatars.cjs.entry.js +1 -1
  8. package/dist/cjs/dropi-badge-legacy.cjs.entry.js +2 -2
  9. package/dist/cjs/dropi-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/dropi-banner-external.cjs.entry.js +3 -3
  11. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
  12. package/dist/cjs/dropi-button.cjs.entry.js +7 -7
  13. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +6 -6
  14. package/dist/cjs/dropi-card-product.cjs.entry.js +12 -12
  15. package/dist/cjs/dropi-card-section.cjs.entry.js +9 -9
  16. package/dist/cjs/dropi-carousel.cjs.entry.js +8 -8
  17. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +9 -9
  18. package/dist/cjs/dropi-checkbox.cjs.entry.js +6 -6
  19. package/dist/cjs/dropi-chips.cjs.entry.js +4 -4
  20. package/dist/cjs/dropi-city-selector.cjs.entry.js +2 -2
  21. package/dist/cjs/dropi-color-picker.cjs.entry.js +4 -4
  22. package/dist/cjs/dropi-country-flags.cjs.entry.js +2 -2
  23. package/dist/cjs/dropi-country-selector.cjs.entry.js +6 -6
  24. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +4 -4
  25. package/dist/cjs/dropi-date-picker.cjs.entry.js +12 -12
  26. package/dist/cjs/dropi-drawer.cjs.entry.js +4 -4
  27. package/dist/cjs/dropi-dropdown.cjs.entry.js +2 -2
  28. package/dist/cjs/dropi-empty-state.cjs.entry.js +3 -3
  29. package/dist/cjs/dropi-favorite-button.cjs.entry.js +3 -3
  30. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +5 -5
  31. package/dist/cjs/dropi-file-upload.cjs.entry.js +3 -3
  32. package/dist/cjs/dropi-icon.cjs.entry.js +17 -3
  33. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +5 -5
  34. package/dist/cjs/dropi-image-miniature.cjs.entry.js +3 -3
  35. package/dist/cjs/dropi-image-overlay.cjs.entry.js +2 -2
  36. package/dist/cjs/dropi-input_3.cjs.entry.js +50 -22
  37. package/dist/cjs/dropi-languages-selector.cjs.entry.js +4 -4
  38. package/dist/cjs/dropi-logo.cjs.entry.js +2 -2
  39. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +1 -1
  40. package/dist/cjs/dropi-media-player.cjs.entry.js +3 -3
  41. package/dist/cjs/dropi-modal.cjs.entry.js +37 -32
  42. package/dist/cjs/dropi-navbar.cjs.entry.js +7 -7
  43. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +34 -19
  44. package/dist/cjs/dropi-phone-input.cjs.entry.js +14 -14
  45. package/dist/cjs/dropi-progress-bar.cjs.entry.js +43 -0
  46. package/dist/cjs/dropi-radio-button.cjs.entry.js +5 -5
  47. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +9 -9
  48. package/dist/cjs/dropi-read-more.cjs.entry.js +2 -2
  49. package/dist/cjs/dropi-search.cjs.entry.js +21 -21
  50. package/dist/cjs/dropi-select.cjs.entry.js +50 -22
  51. package/dist/cjs/dropi-sidebar.cjs.entry.js +6 -6
  52. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +1 -1
  53. package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
  54. package/dist/cjs/dropi-steps.cjs.entry.js +1 -1
  55. package/dist/cjs/dropi-switch.cjs.entry.js +5 -5
  56. package/dist/cjs/dropi-table.cjs.entry.js +38 -30
  57. package/dist/cjs/dropi-tabs.cjs.entry.js +5 -5
  58. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +2 -2
  59. package/dist/cjs/dropi-text-area.cjs.entry.js +7 -7
  60. package/dist/cjs/dropi-time-line.cjs.entry.js +2 -2
  61. package/dist/cjs/dropi-toast.cjs.entry.js +2 -2
  62. package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +3 -3
  63. package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
  64. package/dist/cjs/dropi-ui.cjs.js +2 -2
  65. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +3 -3
  66. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +2 -2
  67. package/dist/cjs/index-CEWSDq65.js +2773 -0
  68. package/dist/cjs/loader.cjs.js +2 -2
  69. package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +1 -1
  70. package/dist/collection/collection-manifest.json +1 -0
  71. package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +1 -1
  72. package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
  73. package/dist/collection/components/dropi-alert/dropi-alert.js +16 -16
  74. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +43 -19
  75. package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +1 -1
  76. package/dist/collection/components/dropi-button/dropi-button.css +6 -3
  77. package/dist/collection/components/dropi-button/dropi-button.js +6 -6
  78. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +6 -6
  79. package/dist/collection/components/dropi-card-product/dropi-card-product.js +11 -11
  80. package/dist/collection/components/dropi-card-section/dropi-card-section.js +10 -10
  81. package/dist/collection/components/dropi-carousel/dropi-carousel.js +9 -9
  82. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +6 -6
  83. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +10 -10
  84. package/dist/collection/components/dropi-chips/dropi-chips.js +4 -4
  85. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +2 -2
  86. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +1 -1
  87. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +6 -6
  88. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +12 -12
  89. package/dist/collection/components/dropi-drawer/dropi-drawer.js +2 -2
  90. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +1 -1
  91. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
  92. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +1 -1
  93. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +1 -1
  94. package/dist/collection/components/dropi-icon/dropi-icon.css +2 -0
  95. package/dist/collection/components/dropi-icon/dropi-icon.js +35 -1
  96. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +4 -4
  97. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
  98. package/dist/collection/components/dropi-input/dropi-input.js +18 -18
  99. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +4 -4
  100. package/dist/collection/components/dropi-logo/dropi-logo.js +1 -1
  101. package/dist/collection/components/dropi-modal/dropi-modal.css +12 -6
  102. package/dist/collection/components/dropi-modal/dropi-modal.js +47 -42
  103. package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
  104. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +54 -18
  105. package/dist/collection/components/dropi-paginator/dropi-paginator.js +6 -6
  106. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +17 -17
  107. package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.css +35 -0
  108. package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.js +168 -0
  109. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +5 -5
  110. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +10 -10
  111. package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
  112. package/dist/collection/components/dropi-search/dropi-search.js +26 -26
  113. package/dist/collection/components/dropi-select/dropi-select.css +4 -0
  114. package/dist/collection/components/dropi-select/dropi-select.js +85 -25
  115. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +6 -6
  116. package/dist/collection/components/dropi-switch/dropi-switch.js +5 -5
  117. package/dist/collection/components/dropi-table/dropi-table.js +35 -27
  118. package/dist/collection/components/dropi-tabs/dropi-tabs.js +5 -5
  119. package/dist/collection/components/dropi-tag/dropi-tag.css +16 -7
  120. package/dist/collection/components/dropi-tag/dropi-tag.js +55 -1
  121. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +1 -1
  122. package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
  123. package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
  124. package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
  125. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
  126. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +2 -2
  127. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +1 -1
  128. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
  129. package/dist/components/dropi-accordion-item.js +1 -1
  130. package/dist/components/dropi-accordion.js +1 -1
  131. package/dist/components/dropi-alert-modal.js +1 -1
  132. package/dist/components/dropi-alert.js +1 -1
  133. package/dist/components/dropi-badge-legacy.js +1 -1
  134. package/dist/components/dropi-banner-external.js +1 -1
  135. package/dist/components/dropi-breadcrumb.js +1 -1
  136. package/dist/components/dropi-button.js +1 -1
  137. package/dist/components/dropi-card-checkbox.js +1 -1
  138. package/dist/components/dropi-card-product.js +1 -1
  139. package/dist/components/dropi-card-section.js +1 -1
  140. package/dist/components/dropi-carousel.js +1 -1
  141. package/dist/components/dropi-checkbox-selection-list.js +1 -1
  142. package/dist/components/dropi-checkbox.js +1 -1
  143. package/dist/components/dropi-chips.js +1 -1
  144. package/dist/components/dropi-city-selector.js +1 -1
  145. package/dist/components/dropi-color-picker.js +1 -1
  146. package/dist/components/dropi-country-flags.js +1 -1
  147. package/dist/components/dropi-country-selector.js +1 -1
  148. package/dist/components/dropi-date-picker-range.js +1 -1
  149. package/dist/components/dropi-date-picker.js +1 -1
  150. package/dist/components/dropi-drawer.js +1 -1
  151. package/dist/components/dropi-dropdown.js +1 -1
  152. package/dist/components/dropi-empty-state.js +1 -1
  153. package/dist/components/dropi-favorite-button.js +1 -1
  154. package/dist/components/dropi-file-upload-progress-bar.js +1 -1
  155. package/dist/components/dropi-file-upload.js +1 -1
  156. package/dist/components/dropi-icon.js +1 -1
  157. package/dist/components/dropi-ilustration-icon.js +1 -1
  158. package/dist/components/dropi-image-miniature.js +1 -1
  159. package/dist/components/dropi-image-overlay.js +1 -1
  160. package/dist/components/dropi-input.js +1 -1
  161. package/dist/components/dropi-languages-selector.js +1 -1
  162. package/dist/components/dropi-logo.js +1 -1
  163. package/dist/components/dropi-media-player.js +1 -1
  164. package/dist/components/dropi-modal.js +1 -1
  165. package/dist/components/dropi-navbar.js +1 -1
  166. package/dist/components/dropi-otp-send-code.js +1 -1
  167. package/dist/components/dropi-paginator.js +1 -1
  168. package/dist/components/dropi-phone-input.js +1 -1
  169. package/dist/components/dropi-progress-bar.d.ts +11 -0
  170. package/dist/components/dropi-progress-bar.js +1 -0
  171. package/dist/components/dropi-radio-button.js +1 -1
  172. package/dist/components/dropi-radio-selection-list.js +1 -1
  173. package/dist/components/dropi-read-more.js +1 -1
  174. package/dist/components/dropi-search.js +1 -1
  175. package/dist/components/dropi-select.js +1 -1
  176. package/dist/components/dropi-sidebar.js +1 -1
  177. package/dist/components/dropi-steps.js +1 -1
  178. package/dist/components/dropi-switch.js +1 -1
  179. package/dist/components/dropi-table.js +1 -1
  180. package/dist/components/dropi-tabs.js +1 -1
  181. package/dist/components/dropi-tag-type-product.js +1 -1
  182. package/dist/components/dropi-tag.js +1 -1
  183. package/dist/components/dropi-text-area.js +1 -1
  184. package/dist/components/dropi-time-line.js +1 -1
  185. package/dist/components/dropi-toast.js +1 -1
  186. package/dist/components/dropi-tooltip-v2.js +1 -1
  187. package/dist/components/dropi-tooltip.js +1 -1
  188. package/dist/components/dropi-vertical-steps.js +1 -1
  189. package/dist/components/dropi-youtube-lazy-video.js +1 -1
  190. package/dist/components/index.js +1 -1
  191. package/dist/components/p-1YjHPRto.js +1 -0
  192. package/dist/components/p-9CkX3ALN.js +1 -0
  193. package/dist/components/p-B9-h_ikq.js +1 -0
  194. package/dist/components/p-B9rJd-Rf.js +1 -0
  195. package/dist/components/p-BGb7xtJN.js +1 -0
  196. package/dist/components/p-BHV6BYSS.js +1 -0
  197. package/dist/components/p-BSB5Ar-y.js +1 -0
  198. package/dist/components/p-BSHROiHb.js +1 -0
  199. package/dist/components/p-BT99axEq.js +1 -0
  200. package/dist/components/p-BVgUVZyu.js +1 -0
  201. package/dist/components/p-BhRjfHZ3.js +1 -0
  202. package/dist/components/p-Bimspdte.js +1 -0
  203. package/dist/components/p-BmuWhHN-.js +1 -0
  204. package/dist/components/p-BqJ52YOH.js +1 -0
  205. package/dist/components/p-BrR1YjVi.js +1 -0
  206. package/dist/components/p-BrnGRyf0.js +1 -0
  207. package/dist/components/p-BtkDdEAq.js +1 -0
  208. package/dist/components/p-BvIwy9Yl.js +1 -0
  209. package/dist/components/p-BzCPv3ND.js +1 -0
  210. package/dist/components/p-C44-ijf2.js +1 -0
  211. package/dist/components/p-CHb992Wr.js +1 -0
  212. package/dist/components/p-CJ4s6SQT.js +1 -0
  213. package/dist/components/p-CKflT57p.js +1 -0
  214. package/dist/components/p-CWT7wT9m.js +1 -0
  215. package/dist/components/p-CWWFRdg7.js +1 -0
  216. package/dist/components/p-CWwDNt3V.js +1 -0
  217. package/dist/components/p-CXUiN3Rj.js +1 -0
  218. package/dist/components/p-C_zOkGR5.js +1 -0
  219. package/dist/components/p-Cujt3jky.js +1 -0
  220. package/dist/components/p-D5UeShUa.js +1 -0
  221. package/dist/components/p-D7GP-lmt.js +1 -0
  222. package/dist/components/p-DFNI0UID.js +1 -0
  223. package/dist/components/p-DG5fe-Ke.js +1 -0
  224. package/dist/components/p-DKWuIsc_.js +1 -0
  225. package/dist/components/p-DLyzE3Kh.js +1 -0
  226. package/dist/components/p-DN_IcU8H.js +1 -0
  227. package/dist/components/p-DON3zW51.js +1 -0
  228. package/dist/components/p-DQzskhll.js +1 -0
  229. package/dist/components/p-DYAsdhfM.js +1 -0
  230. package/dist/components/p-DYYToiO9.js +1 -0
  231. package/dist/components/p-DehWQyi5.js +1 -0
  232. package/dist/components/p-DfSe-tBr.js +1 -0
  233. package/dist/components/p-Dgeh9Yg8.js +1 -0
  234. package/dist/components/p-DlaiuH5K.js +1 -0
  235. package/dist/components/p-DvaFep4Y.js +1 -0
  236. package/dist/components/p-ETg0qC-7.js +1 -0
  237. package/dist/components/p-HCtk4_Dq.js +1 -0
  238. package/dist/components/p-QezfyBk4.js +1 -0
  239. package/dist/components/p-RD09_3LO.js +1 -0
  240. package/dist/components/p-RQjw5hdz.js +1 -0
  241. package/dist/components/p-dbZuh0Uq.js +1 -0
  242. package/dist/components/p-emzVHCws.js +1 -0
  243. package/dist/components/p-im7kgtnS.js +1 -0
  244. package/dist/components/p-kC6NU5nP.js +1 -0
  245. package/dist/components/p-lX2uCKEi.js +1 -0
  246. package/dist/components/p-ndQSfLKF.js +1 -0
  247. package/dist/components/p-plWZwD4h.js +1 -0
  248. package/dist/components/p-t0lkpFmw.js +1 -0
  249. package/dist/components/p-ujToMKti.js +1 -0
  250. package/dist/dropi-ui/dropi-accordion-item.entry.js +1 -1
  251. package/dist/dropi-ui/dropi-accordion.entry.js +1 -1
  252. package/dist/dropi-ui/dropi-alert-modal.entry.js +19 -15
  253. package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -1
  254. package/dist/dropi-ui/dropi-alert.entry.js +11 -11
  255. package/dist/dropi-ui/dropi-alert.entry.js.map +1 -1
  256. package/dist/dropi-ui/dropi-badge-legacy.entry.js +1 -1
  257. package/dist/dropi-ui/dropi-button.entry.js +6 -6
  258. package/dist/dropi-ui/dropi-button.entry.js.map +1 -1
  259. package/dist/dropi-ui/dropi-card-checkbox.entry.js +5 -5
  260. package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -1
  261. package/dist/dropi-ui/dropi-card-product.entry.js +9 -9
  262. package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -1
  263. package/dist/dropi-ui/dropi-card-section.entry.js +8 -8
  264. package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -1
  265. package/dist/dropi-ui/dropi-carousel.entry.js +7 -7
  266. package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -1
  267. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +8 -8
  268. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -1
  269. package/dist/dropi-ui/dropi-checkbox.entry.js +5 -5
  270. package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -1
  271. package/dist/dropi-ui/dropi-chips.entry.js +3 -3
  272. package/dist/dropi-ui/dropi-chips.entry.js.map +1 -1
  273. package/dist/dropi-ui/dropi-color-picker.entry.js +2 -2
  274. package/dist/dropi-ui/dropi-country-flags.entry.js +1 -1
  275. package/dist/dropi-ui/dropi-country-selector.entry.js +5 -5
  276. package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -1
  277. package/dist/dropi-ui/dropi-date-picker.entry.js +10 -10
  278. package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -1
  279. package/dist/dropi-ui/dropi-drawer.entry.js +2 -2
  280. package/dist/dropi-ui/dropi-empty-state.entry.js +1 -1
  281. package/dist/dropi-ui/dropi-favorite-button.entry.js +1 -1
  282. package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +1 -1
  283. package/dist/dropi-ui/dropi-file-upload.entry.js +1 -1
  284. package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -1
  285. package/dist/dropi-ui/dropi-icon.entry.js +16 -2
  286. package/dist/dropi-ui/dropi-icon.entry.js.map +1 -1
  287. package/dist/dropi-ui/dropi-ilustration-icon.entry.js +4 -4
  288. package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -1
  289. package/dist/dropi-ui/dropi-image-miniature.entry.js +1 -1
  290. package/dist/dropi-ui/dropi-input.entry.js +14 -14
  291. package/dist/dropi-ui/dropi-input.entry.js.map +1 -1
  292. package/dist/dropi-ui/dropi-languages-selector.entry.js +3 -3
  293. package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -1
  294. package/dist/dropi-ui/dropi-logo.entry.js +1 -1
  295. package/dist/dropi-ui/dropi-modal.entry.js +36 -31
  296. package/dist/dropi-ui/dropi-modal.entry.js.map +1 -1
  297. package/dist/dropi-ui/dropi-navbar.entry.js +2 -2
  298. package/dist/dropi-ui/dropi-otp-send-code.entry.js +30 -15
  299. package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -1
  300. package/dist/dropi-ui/dropi-paginator.entry.js +5 -5
  301. package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -1
  302. package/dist/dropi-ui/dropi-phone-input.entry.js +13 -13
  303. package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -1
  304. package/dist/dropi-ui/dropi-progress-bar.entry.js +44 -0
  305. package/dist/dropi-ui/dropi-progress-bar.entry.js.map +1 -0
  306. package/dist/dropi-ui/dropi-radio-button.entry.js +4 -4
  307. package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -1
  308. package/dist/dropi-ui/dropi-radio-selection-list.entry.js +8 -8
  309. package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -1
  310. package/dist/dropi-ui/dropi-read-more.entry.js +1 -1
  311. package/dist/dropi-ui/dropi-search.entry.js +20 -20
  312. package/dist/dropi-ui/dropi-search.entry.js.map +1 -1
  313. package/dist/dropi-ui/dropi-select.entry.js +49 -21
  314. package/dist/dropi-ui/dropi-select.entry.js.map +1 -1
  315. package/dist/dropi-ui/dropi-sidebar.entry.js +5 -5
  316. package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -1
  317. package/dist/dropi-ui/dropi-switch.entry.js +4 -4
  318. package/dist/dropi-ui/dropi-switch.entry.js.map +1 -1
  319. package/dist/dropi-ui/dropi-table.entry.js +29 -21
  320. package/dist/dropi-ui/dropi-table.entry.js.map +1 -1
  321. package/dist/dropi-ui/dropi-tabs.entry.js +4 -4
  322. package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -1
  323. package/dist/dropi-ui/dropi-tag-type-product.entry.js +1 -1
  324. package/dist/dropi-ui/dropi-tag.entry.js +30 -2
  325. package/dist/dropi-ui/dropi-tag.entry.js.map +1 -1
  326. package/dist/dropi-ui/dropi-text-area.entry.js +2 -2
  327. package/dist/dropi-ui/dropi-time-line.entry.js +1 -1
  328. package/dist/dropi-ui/dropi-toast.entry.js +1 -1
  329. package/dist/dropi-ui/dropi-tooltip-v2.entry.js +2 -2
  330. package/dist/dropi-ui/dropi-tooltip.entry.js +1 -1
  331. package/dist/dropi-ui/dropi-ui.css +1 -311
  332. package/dist/dropi-ui/dropi-ui.esm.js +1 -50
  333. package/dist/dropi-ui/dropi-vertical-steps.entry.js +1 -1
  334. package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +1 -1
  335. package/dist/dropi-ui/index.esm.js +0 -4
  336. package/dist/dropi-ui/p-019c2c37.entry.js +1 -0
  337. package/dist/dropi-ui/p-01c57627.entry.js +1 -0
  338. package/dist/dropi-ui/p-03515548.entry.js +1 -0
  339. package/dist/dropi-ui/p-0366349e.entry.js +1 -0
  340. package/dist/dropi-ui/p-06bdd006.entry.js +1 -0
  341. package/dist/dropi-ui/p-086a6f5f.entry.js +1 -0
  342. package/dist/dropi-ui/p-088616e6.entry.js +1 -0
  343. package/dist/dropi-ui/p-08bc8fb2.entry.js +1 -0
  344. package/dist/dropi-ui/p-0946a1f7.entry.js +1 -0
  345. package/dist/dropi-ui/p-09aa9a3c.entry.js +1 -0
  346. package/dist/dropi-ui/p-0a76c15c.entry.js +1 -0
  347. package/dist/dropi-ui/p-0d188f2c.entry.js +1 -0
  348. package/dist/dropi-ui/p-0e026afe.entry.js +1 -0
  349. package/dist/dropi-ui/p-0ef73e45.entry.js +1 -0
  350. package/dist/dropi-ui/p-0f1b13e5.entry.js +1 -0
  351. package/dist/dropi-ui/p-1107c210.entry.js +1 -0
  352. package/dist/dropi-ui/p-13a6dd72.entry.js +1 -0
  353. package/dist/dropi-ui/p-1558c22f.entry.js +1 -0
  354. package/dist/dropi-ui/p-16674c7c.entry.js +1 -0
  355. package/dist/dropi-ui/p-17c53e19.entry.js +1 -0
  356. package/dist/dropi-ui/p-1ce00757.entry.js +1 -0
  357. package/dist/dropi-ui/p-229dddb0.entry.js +1 -0
  358. package/dist/dropi-ui/p-278281d2.entry.js +1 -0
  359. package/dist/dropi-ui/p-28f960a1.entry.js +1 -0
  360. package/dist/dropi-ui/p-2d356767.entry.js +1 -0
  361. package/dist/dropi-ui/p-2f9072e7.entry.js +1 -0
  362. package/dist/dropi-ui/p-30377b7e.entry.js +1 -0
  363. package/dist/dropi-ui/p-342eaf9e.entry.js +1 -0
  364. package/dist/dropi-ui/p-3496cc01.entry.js +1 -0
  365. package/dist/dropi-ui/p-37bdbadc.entry.js +1 -0
  366. package/dist/dropi-ui/p-393867c2.entry.js +1 -0
  367. package/dist/dropi-ui/p-3a28b79c.entry.js +1 -0
  368. package/dist/dropi-ui/p-3aefce2b.entry.js +1 -0
  369. package/dist/dropi-ui/p-3f76c680.entry.js +1 -0
  370. package/dist/dropi-ui/p-488a3113.entry.js +1 -0
  371. package/dist/dropi-ui/p-497e4eff.entry.js +1 -0
  372. package/dist/dropi-ui/p-4a72e4c8.entry.js +1 -0
  373. package/dist/dropi-ui/p-4b169817.entry.js +1 -0
  374. package/dist/dropi-ui/p-4d31eab8.entry.js +1 -0
  375. package/dist/dropi-ui/p-508cfd38.entry.js +1 -0
  376. package/dist/dropi-ui/p-50e851b7.entry.js +1 -0
  377. package/dist/dropi-ui/p-5730ca4e.entry.js +1 -0
  378. package/dist/dropi-ui/p-575e1951.entry.js +1 -0
  379. package/dist/dropi-ui/p-57c3b667.entry.js +1 -0
  380. package/dist/dropi-ui/p-5c0cd221.entry.js +1 -0
  381. package/dist/dropi-ui/p-5e0da387.entry.js +1 -0
  382. package/dist/dropi-ui/p-5eb75ddf.entry.js +1 -0
  383. package/dist/dropi-ui/p-5f735166.entry.js +1 -0
  384. package/dist/dropi-ui/p-61f8905c.entry.js +1 -0
  385. package/dist/dropi-ui/p-648e5340.entry.js +1 -0
  386. package/dist/dropi-ui/p-66d7d67b.entry.js +1 -0
  387. package/dist/dropi-ui/p-673a5cfd.entry.js +1 -0
  388. package/dist/dropi-ui/p-67ba7d35.entry.js +1 -0
  389. package/dist/dropi-ui/p-692b665a.entry.js +1 -0
  390. package/dist/dropi-ui/p-69cf66c1.entry.js +1 -0
  391. package/dist/dropi-ui/p-6a148627.entry.js +1 -0
  392. package/dist/dropi-ui/p-6b925a36.entry.js +1 -0
  393. package/dist/dropi-ui/p-6cb6cfe0.entry.js +1 -0
  394. package/dist/dropi-ui/p-6dbce3d3.entry.js +1 -0
  395. package/dist/dropi-ui/p-70f75e92.entry.js +1 -0
  396. package/dist/dropi-ui/p-7140309a.entry.js +1 -0
  397. package/dist/dropi-ui/p-72ec96d0.entry.js +1 -0
  398. package/dist/dropi-ui/p-7450d195.entry.js +1 -0
  399. package/dist/dropi-ui/p-754aed1c.entry.js +1 -0
  400. package/dist/dropi-ui/p-76fa02a1.entry.js +1 -0
  401. package/dist/dropi-ui/p-770b0195.entry.js +1 -0
  402. package/dist/dropi-ui/p-7822b081.entry.js +1 -0
  403. package/dist/dropi-ui/p-78282471.entry.js +1 -0
  404. package/dist/dropi-ui/p-78aa7fb3.entry.js +1 -0
  405. package/dist/dropi-ui/p-7a25f595.entry.js +1 -0
  406. package/dist/dropi-ui/p-7c0f959f.entry.js +1 -0
  407. package/dist/dropi-ui/p-7c5ea4c5.entry.js +1 -0
  408. package/dist/dropi-ui/p-7f02ae47.entry.js +1 -0
  409. package/dist/dropi-ui/p-7f0f828d.entry.js +1 -0
  410. package/dist/dropi-ui/p-80f0f6e6.entry.js +1 -0
  411. package/dist/dropi-ui/p-813678a2.entry.js +1 -0
  412. package/dist/dropi-ui/p-819d810e.entry.js +1 -0
  413. package/dist/dropi-ui/p-84019422.entry.js +1 -0
  414. package/dist/dropi-ui/p-8b8dc399.entry.js +1 -0
  415. package/dist/dropi-ui/p-8cf27f13.entry.js +1 -0
  416. package/dist/dropi-ui/p-8d6313c0.entry.js +1 -0
  417. package/dist/dropi-ui/p-8dbc6bc8.entry.js +1 -0
  418. package/dist/dropi-ui/p-8fc3dbcb.entry.js +1 -0
  419. package/dist/dropi-ui/p-90abda79.entry.js +1 -0
  420. package/dist/dropi-ui/p-928b59e8.entry.js +1 -0
  421. package/dist/dropi-ui/p-92c9e3c5.entry.js +1 -0
  422. package/dist/dropi-ui/p-94144382.entry.js +1 -0
  423. package/dist/dropi-ui/p-94a58087.entry.js +1 -0
  424. package/dist/dropi-ui/p-9645d628.entry.js +1 -0
  425. package/dist/dropi-ui/p-96f72e50.entry.js +1 -0
  426. package/dist/dropi-ui/p-9b288982.entry.js +1 -0
  427. package/dist/dropi-ui/p-9b55c8ad.entry.js +1 -0
  428. package/dist/dropi-ui/p-9bcde3a5.entry.js +1 -0
  429. package/dist/dropi-ui/p-9e8615de.entry.js +1 -0
  430. package/dist/dropi-ui/p-a0ade2e7.entry.js +1 -0
  431. package/dist/dropi-ui/p-a2fb4CHk.js +2 -0
  432. package/dist/dropi-ui/p-a3b729fe.entry.js +1 -0
  433. package/dist/dropi-ui/p-a3d602fd.entry.js +1 -0
  434. package/dist/dropi-ui/p-a470a24a.entry.js +1 -0
  435. package/dist/dropi-ui/p-a50c8339.entry.js +1 -0
  436. package/dist/dropi-ui/p-a524ef3d.entry.js +1 -0
  437. package/dist/dropi-ui/p-a62c691f.entry.js +1 -0
  438. package/dist/dropi-ui/p-a745529a.entry.js +1 -0
  439. package/dist/dropi-ui/p-a96c54ed.entry.js +1 -0
  440. package/dist/dropi-ui/p-ab3c52a4.entry.js +1 -0
  441. package/dist/dropi-ui/p-abd327ed.entry.js +1 -0
  442. package/dist/dropi-ui/p-ac79e805.entry.js +1 -0
  443. package/dist/dropi-ui/p-ac9d2149.entry.js +1 -0
  444. package/dist/dropi-ui/p-ad73631e.entry.js +1 -0
  445. package/dist/dropi-ui/p-b20f7dde.entry.js +1 -0
  446. package/dist/dropi-ui/p-b2e7cf4f.entry.js +1 -0
  447. package/dist/dropi-ui/p-b325f7cf.entry.js +1 -0
  448. package/dist/dropi-ui/p-b63f5d03.entry.js +1 -0
  449. package/dist/dropi-ui/p-b7748488.entry.js +1 -0
  450. package/dist/dropi-ui/p-b8050ef5.entry.js +1 -0
  451. package/dist/dropi-ui/p-b99fee29.entry.js +1 -0
  452. package/dist/dropi-ui/p-ba3779a2.entry.js +1 -0
  453. package/dist/dropi-ui/p-bd0d1a29.entry.js +1 -0
  454. package/dist/dropi-ui/p-bef43920.entry.js +1 -0
  455. package/dist/dropi-ui/p-bfd43bdf.entry.js +1 -0
  456. package/dist/dropi-ui/p-c173db8c.entry.js +1 -0
  457. package/dist/dropi-ui/p-c218524f.entry.js +1 -0
  458. package/dist/dropi-ui/p-c4fbbb5a.entry.js +1 -0
  459. package/dist/dropi-ui/p-c51fcf75.entry.js +1 -0
  460. package/dist/dropi-ui/p-c662bce3.entry.js +1 -0
  461. package/dist/dropi-ui/p-c6ac1b6d.entry.js +1 -0
  462. package/dist/dropi-ui/p-ca2e462a.entry.js +1 -0
  463. package/dist/dropi-ui/p-ca90e108.entry.js +1 -0
  464. package/dist/dropi-ui/p-cb87d3c7.entry.js +1 -0
  465. package/dist/dropi-ui/p-cc954850.entry.js +1 -0
  466. package/dist/dropi-ui/p-cf7cd408.entry.js +1 -0
  467. package/dist/dropi-ui/p-d02dfc6a.entry.js +1 -0
  468. package/dist/dropi-ui/p-d11524ca.entry.js +1 -0
  469. package/dist/dropi-ui/p-d46f3328.entry.js +1 -0
  470. package/dist/dropi-ui/p-d693bbb8.entry.js +1 -0
  471. package/dist/dropi-ui/p-d813969b.entry.js +1 -0
  472. package/dist/dropi-ui/p-d899d4e1.entry.js +1 -0
  473. package/dist/dropi-ui/p-da038b5d.entry.js +1 -0
  474. package/dist/dropi-ui/p-db6af92e.entry.js +1 -0
  475. package/dist/dropi-ui/p-dc920aff.entry.js +1 -0
  476. package/dist/dropi-ui/p-e1126498.entry.js +1 -0
  477. package/dist/dropi-ui/p-e163bf7f.entry.js +1 -0
  478. package/dist/dropi-ui/p-e1b40bda.entry.js +1 -0
  479. package/dist/dropi-ui/p-e22a3b45.entry.js +1 -0
  480. package/dist/dropi-ui/p-e524fed1.entry.js +1 -0
  481. package/dist/dropi-ui/p-e53b23dd.entry.js +1 -0
  482. package/dist/dropi-ui/p-e629fdc7.entry.js +1 -0
  483. package/dist/dropi-ui/p-e97d3704.entry.js +1 -0
  484. package/dist/dropi-ui/p-e9a64ecc.entry.js +1 -0
  485. package/dist/dropi-ui/p-ea13bfee.entry.js +1 -0
  486. package/dist/dropi-ui/p-edcf5623.entry.js +1 -0
  487. package/dist/dropi-ui/p-edeacd44.entry.js +1 -0
  488. package/dist/dropi-ui/p-edef4506.entry.js +1 -0
  489. package/dist/dropi-ui/p-eec49ea3.entry.js +1 -0
  490. package/dist/dropi-ui/p-f057bd98.entry.js +1 -0
  491. package/dist/dropi-ui/p-f0893459.entry.js +1 -0
  492. package/dist/dropi-ui/p-f0ace417.entry.js +1 -0
  493. package/dist/dropi-ui/p-f23e1df7.entry.js +1 -0
  494. package/dist/dropi-ui/p-f4bd8568.entry.js +1 -0
  495. package/dist/dropi-ui/p-f7a605f8.entry.js +1 -0
  496. package/dist/dropi-ui/p-f7df0f43.entry.js +1 -0
  497. package/dist/dropi-ui/p-f80fa01d.entry.js +1 -0
  498. package/dist/dropi-ui/p-f9084a2c.entry.js +1 -0
  499. package/dist/dropi-ui/p-f9af2041.entry.js +1 -0
  500. package/dist/dropi-ui/p-f9d05b69.entry.js +1 -0
  501. package/dist/dropi-ui/p-faa59cd8.entry.js +1 -0
  502. package/dist/dropi-ui/p-fb39dfdc.entry.js +1 -0
  503. package/dist/dropi-ui/p-fcba49ca.entry.js +1 -0
  504. package/dist/dropi-ui/p-fdbdedd0.entry.js +1 -0
  505. package/dist/dropi-ui/p-fef3673d.entry.js +1 -0
  506. package/dist/esm/dropi-accordion-item.entry.js +2 -2
  507. package/dist/esm/dropi-accordion.entry.js +2 -2
  508. package/dist/esm/dropi-alert-legacy.entry.js +1 -1
  509. package/dist/esm/dropi-alert-modal.entry.js +20 -16
  510. package/dist/esm/dropi-alert.entry.js +12 -12
  511. package/dist/esm/dropi-avatars.entry.js +1 -1
  512. package/dist/esm/dropi-badge-legacy.entry.js +2 -2
  513. package/dist/esm/dropi-badge.entry.js +1 -1
  514. package/dist/esm/dropi-banner-external.entry.js +3 -3
  515. package/dist/esm/dropi-breadcrumb.entry.js +2 -2
  516. package/dist/esm/dropi-button.entry.js +7 -7
  517. package/dist/esm/dropi-card-checkbox.entry.js +6 -6
  518. package/dist/esm/dropi-card-product.entry.js +12 -12
  519. package/dist/esm/dropi-card-section.entry.js +9 -9
  520. package/dist/esm/dropi-carousel.entry.js +8 -8
  521. package/dist/esm/dropi-checkbox-selection-list.entry.js +9 -9
  522. package/dist/esm/dropi-checkbox.entry.js +6 -6
  523. package/dist/esm/dropi-chips.entry.js +4 -4
  524. package/dist/esm/dropi-city-selector.entry.js +2 -2
  525. package/dist/esm/dropi-color-picker.entry.js +4 -4
  526. package/dist/esm/dropi-country-flags.entry.js +2 -2
  527. package/dist/esm/dropi-country-selector.entry.js +6 -6
  528. package/dist/esm/dropi-date-picker-range.entry.js +4 -4
  529. package/dist/esm/dropi-date-picker.entry.js +12 -12
  530. package/dist/esm/dropi-drawer.entry.js +4 -4
  531. package/dist/esm/dropi-dropdown.entry.js +2 -2
  532. package/dist/esm/dropi-empty-state.entry.js +3 -3
  533. package/dist/esm/dropi-favorite-button.entry.js +3 -3
  534. package/dist/esm/dropi-file-upload-progress-bar.entry.js +5 -5
  535. package/dist/esm/dropi-file-upload.entry.js +3 -3
  536. package/dist/esm/dropi-icon.entry.js +17 -3
  537. package/dist/esm/dropi-ilustration-icon.entry.js +5 -5
  538. package/dist/esm/dropi-image-miniature.entry.js +3 -3
  539. package/dist/esm/dropi-image-overlay.entry.js +2 -2
  540. package/dist/esm/dropi-input_3.entry.js +50 -22
  541. package/dist/esm/dropi-languages-selector.entry.js +4 -4
  542. package/dist/esm/dropi-logo.entry.js +2 -2
  543. package/dist/esm/dropi-lottie-loader.entry.js +1 -1
  544. package/dist/esm/dropi-media-player.entry.js +3 -3
  545. package/dist/esm/dropi-modal.entry.js +37 -32
  546. package/dist/esm/dropi-navbar.entry.js +7 -7
  547. package/dist/esm/dropi-otp-send-code.entry.js +34 -19
  548. package/dist/esm/dropi-phone-input.entry.js +14 -14
  549. package/dist/esm/dropi-progress-bar.entry.js +41 -0
  550. package/dist/esm/dropi-radio-button.entry.js +5 -5
  551. package/dist/esm/dropi-radio-selection-list.entry.js +9 -9
  552. package/dist/esm/dropi-read-more.entry.js +2 -2
  553. package/dist/esm/dropi-search.entry.js +21 -21
  554. package/dist/esm/dropi-select.entry.js +50 -22
  555. package/dist/esm/dropi-sidebar.entry.js +6 -6
  556. package/dist/esm/dropi-simple-stepper.entry.js +1 -1
  557. package/dist/esm/dropi-skeleton.entry.js +1 -1
  558. package/dist/esm/dropi-steps.entry.js +1 -1
  559. package/dist/esm/dropi-switch.entry.js +5 -5
  560. package/dist/esm/dropi-table.entry.js +38 -30
  561. package/dist/esm/dropi-tabs.entry.js +5 -5
  562. package/dist/esm/dropi-tag-type-product.entry.js +2 -2
  563. package/dist/esm/dropi-text-area.entry.js +7 -7
  564. package/dist/esm/dropi-time-line.entry.js +2 -2
  565. package/dist/esm/dropi-toast.entry.js +2 -2
  566. package/dist/esm/dropi-tooltip-v2.entry.js +3 -3
  567. package/dist/esm/dropi-tooltip.entry.js +2 -2
  568. package/dist/esm/dropi-ui.js +3 -3
  569. package/dist/esm/dropi-vertical-steps.entry.js +3 -3
  570. package/dist/esm/dropi-youtube-lazy-video.entry.js +2 -2
  571. package/dist/esm/index-a2fb4CHk.js +2763 -0
  572. package/dist/esm/loader.js +3 -3
  573. package/dist/types/components/dropi-alert/dropi-alert.d.ts +3 -3
  574. package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +8 -4
  575. package/dist/types/components/dropi-button/dropi-button.d.ts +1 -1
  576. package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +1 -1
  577. package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +2 -2
  578. package/dist/types/components/dropi-card-section/dropi-card-section.d.ts +2 -2
  579. package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +2 -2
  580. package/dist/types/components/dropi-checkbox/dropi-checkbox.d.ts +1 -1
  581. package/dist/types/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.d.ts +2 -2
  582. package/dist/types/components/dropi-chips/dropi-chips.d.ts +1 -1
  583. package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +1 -1
  584. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +2 -2
  585. package/dist/types/components/dropi-icon/dropi-icon.d.ts +4 -0
  586. package/dist/types/components/dropi-input/dropi-input.d.ts +4 -4
  587. package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +1 -1
  588. package/dist/types/components/dropi-modal/dropi-modal.d.ts +9 -8
  589. package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +7 -3
  590. package/dist/types/components/dropi-paginator/dropi-paginator.d.ts +1 -1
  591. package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +4 -4
  592. package/dist/types/components/dropi-progress-bar/dropi-progress-bar.d.ts +16 -0
  593. package/dist/types/components/dropi-radio-button/dropi-radio-button.d.ts +1 -1
  594. package/dist/types/components/dropi-radio-selection-list/dropi-radio-selection-list.d.ts +2 -2
  595. package/dist/types/components/dropi-search/dropi-search.d.ts +6 -6
  596. package/dist/types/components/dropi-select/dropi-select.d.ts +10 -5
  597. package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +1 -1
  598. package/dist/types/components/dropi-switch/dropi-switch.d.ts +1 -1
  599. package/dist/types/components/dropi-table/dropi-table.d.ts +6 -6
  600. package/dist/types/components/dropi-tabs/dropi-tabs.d.ts +1 -1
  601. package/dist/types/components/dropi-tag/dropi-tag.d.ts +5 -0
  602. package/dist/types/components.d.ts +303 -167
  603. package/hydrate/index.js +509 -348
  604. package/hydrate/index.mjs +509 -348
  605. package/package.json +1 -1
@@ -1,15 +1,14 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D5SAM1O2.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-a2fb4CHk.js';
2
2
 
3
3
  const dropiOtpSendCodeCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.otp{display:flex;flex-direction:column;align-items:center;gap:var(--Size-4, 16px)}.otp__label{font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-600, #475066);text-align:center;margin:0}.otp__inputs{display:flex;gap:var(--Size-4, 16px)}.otp__digit{width:56px;height:56px;border:1.5px solid var(--Gray-Gray-200, #d3d7de);border-radius:var(--Border-2, 8px);text-align:center;font-size:22px;font-weight:var(--font-weight-bold, 700);font-family:inherit;color:var(--Gray-Gray-800, #1f2433);outline:none;transition:border-color 0.15s ease;background:var(--Neutral-White, #ffffff)}.otp__digit:focus{border:2px solid var(--Primary-Primary-500, #f49a3d)}.otp__digit--filled{border:1px solid var(--Success-Success-500, #0abb87);color:var(--Neutral-Neutral-900, #0e111a)}.otp__digit--error{border:1px solid var(--Error-Error-500, #f46a6b)}.otp__error{margin:0;font-size:var(--font-size-xs, 10px);color:var(--Error-Error-500, #f46a6b);text-align:center}.otp__resend{text-align:center}.otp__countdown{font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-400, #858ea6)}.otp__resend-btn{background:none;border:none;padding:0;font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-bold, 700);color:var(--Primary-Primary-500, #f49a3d);cursor:pointer;text-decoration:underline}`;
4
4
 
5
- const OTP_LENGTH = 6;
6
5
  const RESEND_SECONDS = 30;
7
6
  const DropiOtpSendCode = class {
8
7
  constructor(hostRef) {
9
8
  registerInstance(this, hostRef);
10
- this.codeCompleted = createEvent(this, "codeCompleted", 7);
11
- this.codeAccepted = createEvent(this, "codeAccepted", 7);
12
- this.dropiResend = createEvent(this, "dropiResend", 7);
9
+ this.codeCompleted = createEvent(this, "codeCompleted");
10
+ this.codeAccepted = createEvent(this, "codeAccepted");
11
+ this.dropiResend = createEvent(this, "dropiResend");
13
12
  }
14
13
  /** Delivery method label */
15
14
  engine = 'email';
@@ -19,19 +18,30 @@ const DropiOtpSendCode = class {
19
18
  showLabelContact = false;
20
19
  /** Error message to display */
21
20
  errorMessage = '';
22
- digits = Array(OTP_LENGTH).fill('');
23
- digitStates = Array(OTP_LENGTH).fill('idle');
21
+ /** Number of digits for the OTP */
22
+ digitsCount = 6;
23
+ digits = [];
24
+ digitStates = [];
24
25
  countdown = RESEND_SECONDS;
25
26
  canResend = false;
26
27
  error = false;
27
28
  inputs = [];
28
29
  timer;
29
- /** Emitted when all 6 digits are entered. */
30
+ handleDigitsCountChange(newValue) {
31
+ this.digits = Array(newValue).fill('');
32
+ this.digitStates = Array(newValue).fill('idle');
33
+ this.inputs = [];
34
+ }
35
+ /** Emitted when all digits are entered. */
30
36
  codeCompleted;
31
- /** Emitted when all 6 digits are entered (alternative event). */
37
+ /** Emitted when all digits are entered (alternative event). */
32
38
  codeAccepted;
33
39
  /** Emitted when resend is requested */
34
40
  dropiResend;
41
+ componentWillLoad() {
42
+ this.digits = Array(this.digitsCount).fill('');
43
+ this.digitStates = Array(this.digitsCount).fill('idle');
44
+ }
35
45
  componentDidLoad() { this.startCountdown(); }
36
46
  disconnectedCallback() { clearInterval(this.timer); }
37
47
  startCountdown() {
@@ -48,13 +58,13 @@ const DropiOtpSendCode = class {
48
58
  }
49
59
  handleInput(e, index) {
50
60
  const val = e.target.value.replace(/\D/g, '').slice(-1);
51
- const newDigits = [...(this.digits ?? Array(OTP_LENGTH).fill(''))];
61
+ const newDigits = [...this.digits];
52
62
  newDigits[index] = val;
53
63
  this.digits = newDigits;
54
- const newStates = [...(this.digitStates ?? Array(OTP_LENGTH).fill('idle'))];
64
+ const newStates = [...this.digitStates];
55
65
  newStates[index] = val ? 'filled' : 'idle';
56
66
  this.digitStates = newStates;
57
- if (val && index < OTP_LENGTH - 1)
67
+ if (val && index < this.digitsCount - 1)
58
68
  this.inputs[index + 1]?.focus();
59
69
  if (newDigits.every(d => d !== '')) {
60
70
  const finalCode = newDigits.join('');
@@ -63,18 +73,18 @@ const DropiOtpSendCode = class {
63
73
  }
64
74
  }
65
75
  handleKeyDown(e, index) {
66
- if (e.key === 'Backspace' && !(this.digits ?? [])[index] && index > 0) {
76
+ if (e.key === 'Backspace' && !this.digits[index] && index > 0) {
67
77
  this.inputs[index - 1]?.focus();
68
78
  }
69
79
  }
70
80
  handlePaste(e) {
71
81
  e.preventDefault();
72
- const text = e.clipboardData?.getData('text')?.replace(/\D/g, '').slice(0, OTP_LENGTH) || '';
73
- const newDigits = Array(OTP_LENGTH).fill('');
82
+ const text = e.clipboardData?.getData('text')?.replace(/\D/g, '').slice(0, this.digitsCount) || '';
83
+ const newDigits = Array(this.digitsCount).fill('');
74
84
  text.split('').forEach((c, i) => { newDigits[i] = c; });
75
85
  this.digits = newDigits;
76
86
  this.digitStates = newDigits.map(d => d ? 'filled' : 'idle');
77
- this.inputs[Math.min(text.length, OTP_LENGTH - 1)]?.focus();
87
+ this.inputs[Math.min(text.length, this.digitsCount - 1)]?.focus();
78
88
  if (newDigits.every(d => d !== '')) {
79
89
  const finalCode = newDigits.join('');
80
90
  this.codeCompleted.emit(finalCode);
@@ -83,15 +93,20 @@ const DropiOtpSendCode = class {
83
93
  }
84
94
  render() {
85
95
  const engineLabel = this.engine === 'sms' ? 'SMS' : this.engine === '2fa' ? 'autenticador' : 'correo';
86
- return (h("div", { key: '09eb961c43257d0a2a852ec05bafa7c050d9e4ec', class: "otp" }, this.showLabelContact && (h("p", { key: '46b215b5343892c5bca4d5aab6590e8da791fc9d', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '0c0871dbb99ad85a15275be1ed7f698cf9e4a808' }, " ", this.labelContact))), h("div", { key: 'd11d2c4f094a82240b3bde49039ff2e2d027f5d5', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, Array.from({ length: OTP_LENGTH }, (_, i) => (h("input", { key: i, ref: (el) => {
96
+ return (h("div", { key: 'c9c6c3387cec2371049c547d87742563268bf28d', class: "otp" }, this.showLabelContact && (h("p", { key: 'c3f36c62d7502eff8f86ef8202c3dfc65d846ba1', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '25c05d8f0773bf6f2af83f6154ac76638499e4d7' }, " ", this.labelContact))), h("div", { key: '3ca2687723735b3eb6ada997f622a4a50c2d7ee9', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, this.digits.map((_, i) => (h("input", { key: i, ref: (el) => {
87
97
  if (el)
88
98
  this.inputs[i] = el;
89
99
  }, class: {
90
100
  'otp__digit': true,
91
- 'otp__digit--filled': (this.digitStates ?? [])[i] === 'filled',
101
+ 'otp__digit--filled': this.digitStates[i] === 'filled',
92
102
  'otp__digit--error': this.error,
93
- }, type: "text", inputMode: "numeric", maxLength: 1, value: (this.digits ?? [])[i] ?? '', onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i) })))), this.error && this.errorMessage && (h("p", { key: 'a9156a4da398eeeec8128a012978e8e2c5f7eef4', class: "otp__error" }, this.errorMessage)), h("div", { key: '9c685306ba97d19907b92bbf6c203f0473a809fb', class: "otp__resend" }, this.canResend ? (h("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (h("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
103
+ }, type: "text", inputMode: "numeric", maxLength: 1, value: this.digits[i] ?? '', onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i) })))), this.error && this.errorMessage && (h("p", { key: 'ddcdd5dacc533b73e6353c2670f762168c2803d3', class: "otp__error" }, this.errorMessage)), h("div", { key: 'a21650c43d7a62f9e187bd9f4eb307d275ff37be', class: "otp__resend" }, this.canResend ? (h("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (h("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
94
104
  }
105
+ static get watchers() { return {
106
+ "digitsCount": [{
107
+ "handleDigitsCountChange": 0
108
+ }]
109
+ }; }
95
110
  };
96
111
  DropiOtpSendCode.style = dropiOtpSendCodeCss();
97
112
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h } from './index-D5SAM1O2.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-a2fb4CHk.js';
2
2
 
3
3
  const dropiPhoneInputCss = () => `:host{display:block;width:100%;position:relative;font-family:'Inter', sans-serif}*,*::before,*::after{box-sizing:border-box}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}input[type='number']{-moz-appearance:textfield;appearance:textfield}.phone-wrap{width:100%}.phone-label{display:block;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.phone-input-container{display:flex;align-items:center;gap:8px}.custom-select{position:relative;width:50%}.form-control{flex:1;width:100%;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:5px;font-size:14px;font-family:inherit;transition:border-color 0.3s ease-in-out;height:40px;padding:0 12px;outline:none;color:var(--Gray-Gray-700, #32394d);background-color:var(--Neutral-White, #ffffff)}.form-control::placeholder{color:var(--Gray-Gray-500, #69738c)}.form-control:focus::placeholder{color:var(--Gray-Gray-500, #69738c)}.form-control:focus{border-color:var(--Info-Info-500, #50a5f1);outline:none}.form-control:disabled{border:1px solid var(--Gray-Gray-200, #c3c9d9) !important;color:var(--Gray-Gray-400, #858ea6);background-color:var(--Gray-Gray-50, #f7f8fa);outline:none}.form-control.is-invalid{background:#fffbfb;border-color:var(--Error-Error-500, #f46a6b) !important}.select-button{width:100%;height:40px;padding:0.47rem 0.75rem;padding-right:7px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-s, 12px);font-family:inherit;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer}.select-button img{width:20px;height:20px}.select-button:focus{border-color:var(--Info-Info-500, #50a5f1) !important;outline:none}.select-button:disabled{border-color:var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6);background-color:var(--Gray-Gray-50, #f7f8fa);cursor:unset}.select-button.select-completed{border-color:var(--Gray-Gray-400, #858ea6);color:var(--Gray-Gray-600, #475066);background:var(--Neutral-White, #ffffff)}.select-button.select-invalid{border-color:var(--Error-Error-500, #f46a6b) !important}.select-dropdown{position:absolute;width:100%;overflow:hidden;list-style:none;padding:0;margin:4px 0 0 0;border:1px solid transparent;border-radius:var(--Border-2, 8px);overflow-y:scroll;z-index:100}.select-dropdown::-webkit-scrollbar{width:6px}.select-dropdown::-webkit-scrollbar-thumb{background-color:var(--Gray-Gray-300, #d1d6e1);border-radius:4px}.expanded-select{max-height:250px;background:var(--Neutral-White, #ffffff);box-shadow:var(--Shadow-medium, 0 4px 16px rgba(0, 0, 0, 0.08));border:1px solid var(--Gray-Gray-200, #c3c9d9);transition:max-height 0.2s ease-in}.collapsed-select{max-height:0;background:transparent;box-shadow:none;border:1px solid transparent;transition:max-height 0.2s ease-out, background 0.6s ease-out, box-shadow 0.6s ease-out}.select-dropdown li{margin:0;padding:0}.option{width:100%;height:45px;border-radius:var(--Border-2, 8px);padding-top:var(--Size-3, 12px);padding-right:var(--Size-4, 16px);padding-bottom:var(--Size-3, 12px);padding-left:var(--Size-4, 16px);border:none;background:transparent;text-align:left;color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-s, 12px);font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:8px}.option img{width:20px;height:20px}.option:hover{background:var(--Gray-Gray-50, #f7f8fa)}.option:disabled{color:var(--Gray-Gray-400, #858ea6);background-color:var(--Gray-Gray-50, #f7f8fa);cursor:unset}.invalid-color{color:var(--Error-Error-500, #f46a6b) !important}.phone-error{margin:4px 0 0;font-size:var(--font-size-xs, 10px);color:var(--Error-Error-500, #f46a6b)}`;
4
4
 
@@ -99,10 +99,10 @@ const COUNTRIES = [
99
99
  const DropiPhoneInput = class {
100
100
  constructor(hostRef) {
101
101
  registerInstance(this, hostRef);
102
- this.ngModelChangeCod = createEvent(this, "ngModelChangeCod", 7);
103
- this.ngModelChangePhone = createEvent(this, "ngModelChangePhone", 7);
104
- this.verifiedField = createEvent(this, "verifiedField", 7);
105
- this.onChangeSelect = createEvent(this, "onChangeSelect", 7);
102
+ this.dropiCodChange = createEvent(this, "dropiCodChange");
103
+ this.dropiPhoneChange = createEvent(this, "dropiPhoneChange");
104
+ this.dropiVerify = createEvent(this, "dropiVerify");
105
+ this.dropiChangeSelect = createEvent(this, "dropiChangeSelect");
106
106
  }
107
107
  get el() { return getElement(this); }
108
108
  /** Initial country dial code (e.g. "57") — matches Angular 'CodArea' setter */
@@ -130,13 +130,13 @@ const DropiPhoneInput = class {
130
130
  selectProperties = null;
131
131
  open = false;
132
132
  /** Emitted when country dial code changes — matches Angular 'ngModelChangeCod' */
133
- ngModelChangeCod;
133
+ dropiCodChange;
134
134
  /** Emitted when phone number changes — matches Angular 'ngModelChangePhone' */
135
- ngModelChangePhone;
135
+ dropiPhoneChange;
136
136
  /** Emitted on field verification — matches Angular 'verifiedField' */
137
- verifiedField;
137
+ dropiVerify;
138
138
  /** Emitted when country selection changes — matches Angular 'onChangeSelect' */
139
- onChangeSelect;
139
+ dropiChangeSelect;
140
140
  codAreaChanged() {
141
141
  this.ngModelPhone = '';
142
142
  }
@@ -158,14 +158,14 @@ const DropiPhoneInput = class {
158
158
  selectCountry(c) {
159
159
  this.codArea = c.code;
160
160
  this.open = false;
161
- this.ngModelChangeCod.emit(c.code);
162
- this.onChangeSelect.emit(c);
161
+ this.dropiCodChange.emit(c.code);
162
+ this.dropiChangeSelect.emit(c);
163
163
  }
164
164
  handleInput(e) {
165
165
  const raw = e.target.value.replace(/\D/g, '');
166
166
  this.ngModelPhone = raw.slice(0, this.selectedCountry.maxLength);
167
167
  e.target.value = this.ngModelPhone;
168
- this.ngModelChangePhone.emit(this.ngModelPhone);
168
+ this.dropiPhoneChange.emit(this.ngModelPhone);
169
169
  }
170
170
  handleWindowClick(ev) {
171
171
  const path = ev.composedPath();
@@ -176,10 +176,10 @@ const DropiPhoneInput = class {
176
176
  render() {
177
177
  const country = this.selectedCountry;
178
178
  const isInvalid = this.isValidPhone === false;
179
- return (h("div", { key: 'e4a9468971ff90e3e1c2cf6944a8475451843428', class: "phone-wrap" }, h("div", { key: 'dabdccaf0453e98afb3db78ee6b6f83a66615baa', class: "phone-input-container" }, h("div", { key: '6481136b782da271fe47c19cfd359398bf632f35', class: "custom-select" }, h("button", { key: 'd314c0e2c74724eff20eae8f34241caf1fc2448c', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
179
+ return (h("div", { key: 'a377fcfcfdb239d79f319f0e058f5d54cbcfac02', class: "phone-wrap" }, h("div", { key: '83719d2b76b491f1f7a9f3e202eb61c61abb2c31', class: "phone-input-container" }, h("div", { key: 'c92ff5d9f260b80ad4e7b8f7e290b7b4e1f595f0', class: "custom-select" }, h("button", { key: '35c56642c1828d86b7f211face2845dc79878fd4', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
180
180
  if (!this.disabledInput)
181
181
  this.open = !this.open;
182
- } }, h("span", { key: 'c8b2aa7801a5c633c70010e7eeb2d5d9f3fb6b37', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: 'c2a6583a02b029cee578b9c931f185f7d4102e3f', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: '26e6e575c9072c008060560f03fcaba942ae5157', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), h("ul", { key: 'ad2d7688f2de26aa1c8ac080819203c7f5839764', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (h("li", null, h("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, h("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), h("input", { key: '399968a68860688b9e91084dc5530aa5464ef5f1', id: "phone-input", type: "tel", inputmode: "numeric", class: { 'form-control': true, 'is-invalid': isInvalid }, placeholder: this.phoneNumberPlaceholder, value: this.ngModelPhone, disabled: this.disabledInput, maxLength: country.maxLength, onInput: (e) => this.handleInput(e) }))));
182
+ } }, h("span", { key: 'e39cdac451df1c9a47c6552e7f133cb7662cae7f', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: '620c8efc2695ee26fed0c2bcd7f6132af05cdbed', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: 'cf57cc1ef06e12b0112fdbbb063fb8f045c17e39', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), h("ul", { key: '1009d2e4212267bbfaf4aa26c0c2152606a8d092', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (h("li", null, h("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, h("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), h("input", { key: '87be58fc820c63741b076b04d807b7410e292344', id: "phone-input", type: "tel", inputmode: "numeric", class: { 'form-control': true, 'is-invalid': isInvalid }, placeholder: this.phoneNumberPlaceholder, value: this.ngModelPhone, disabled: this.disabledInput, maxLength: country.maxLength, onInput: (e) => this.handleInput(e) }))));
183
183
  }
184
184
  static get watchers() { return {
185
185
  "codArea": [{
@@ -0,0 +1,41 @@
1
+ import { r as registerInstance, h } from './index-a2fb4CHk.js';
2
+
3
+ const dropiProgressBarCss = () => `:host{display:block;width:100%}.progress-container{width:100%;display:flex;flex-direction:column;gap:4px}.progress-header{display:flex;justify-content:flex-end}.progress-value{font-size:var(--font-size-xs, 12px);color:var(--Gray-Gray-600, #475066);font-weight:500}.progress-track{width:100%;border-radius:999px;overflow:hidden;position:relative}.progress-fill{height:100%;border-radius:999px;transition:width 0.3s ease-in-out, background-color 0.3s ease-in-out}`;
4
+
5
+ const DropiProgressBar = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ /** The progress value (0-100) */
10
+ value = 0;
11
+ /** The color scheme of the progress bar */
12
+ severity = 'primary';
13
+ /** Height of the progress bar */
14
+ height = '8px';
15
+ /** Whether to show the value as text */
16
+ showValue = false;
17
+ /** Background color of the track (optional, defaults to gray-100) */
18
+ trackColor = 'var(--Gray-Gray-100, #F7F8FA)';
19
+ /** Custom color for the progress fill (overrides severity) */
20
+ color = '';
21
+ render() {
22
+ const fillStyle = {
23
+ width: `${Math.min(100, Math.max(0, this.value))}%`,
24
+ backgroundColor: this.color || `var(--${this.getSeverityVariable()}, #50A5F1)`,
25
+ };
26
+ return (h("div", { key: 'f68b88240ebc188f1f0378424b8d1617c2e7440e', class: "progress-container" }, this.showValue && (h("div", { key: 'f8116e4eb824031d4bd1ac9d694e2bd3bca1ed6d', class: "progress-header" }, h("span", { key: '892813f8e0a028ce286c00edd0489d489dd271c4', class: "progress-value" }, this.value, "%"))), h("div", { key: '2e740487a59df1ec7def96565a9ee64d53b773b8', class: "progress-track", style: { height: this.height, backgroundColor: this.trackColor } }, h("div", { key: '4f6fd1c436563cacac31e385d84c4a21945f6e10', class: "progress-fill", style: fillStyle }))));
27
+ }
28
+ getSeverityVariable() {
29
+ switch (this.severity) {
30
+ case 'success': return 'Success-Success-500';
31
+ case 'warning': return 'Warning-Warning-500';
32
+ case 'error': return 'Error-Error-500';
33
+ case 'info': return 'Info-Info-500';
34
+ case 'neutral': return 'Gray-Gray-400';
35
+ default: return 'Primary-Primary-500';
36
+ }
37
+ }
38
+ };
39
+ DropiProgressBar.style = dropiProgressBarCss();
40
+
41
+ export { DropiProgressBar as dropi_progress_bar };
@@ -1,11 +1,11 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D5SAM1O2.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-a2fb4CHk.js';
2
2
 
3
3
  const dropiRadioButtonCss = () => `:host{display:inline-block}*,*::before,*::after{box-sizing:border-box}.dropi-radio-button{display:flex;align-items:center;justify-content:flex-start;gap:20px}label{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer;color:var(--Gray-Gray-700, #32394d);font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-regular, 400);line-height:1.5}input[type='radio']{appearance:none;-webkit-appearance:none;width:20px;height:20px;min-width:20px;border:2px solid var(--Gray-Gray-200, #c3c9d9);border-radius:50%;background-color:transparent;position:relative;cursor:pointer;outline:none;flex-shrink:0;align-self:center;vertical-align:middle;margin:0}input[type='radio']::before{content:'';position:absolute;top:3px;left:3px;width:10px;height:10px;background-color:var(--Primary-Primary-400, #f7b46f);border-radius:50%;display:none}input[type='radio']:checked{border:2px solid var(--Primary-Primary-500, #f49a3d)}input[type='radio']:checked::before{display:block}`;
4
4
 
5
5
  const DropiRadioButton = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
- this.onChange = createEvent(this, "onChange", 7);
8
+ this.dropiChange = createEvent(this, "dropiChange");
9
9
  }
10
10
  /** Label text displayed next to the radio */
11
11
  label = '';
@@ -21,17 +21,17 @@ const DropiRadioButton = class {
21
21
  */
22
22
  resetTrigger = false;
23
23
  /** Emitted when the radio is selected */
24
- onChange;
24
+ dropiChange;
25
25
  onResetTrigger(val) {
26
26
  if (val)
27
27
  this.checked = false;
28
28
  }
29
29
  handleChange(e) {
30
30
  this.checked = e.target.checked;
31
- this.onChange.emit(e);
31
+ this.dropiChange.emit(e);
32
32
  }
33
33
  render() {
34
- return (h("div", { key: '86430f601f7ddb6144682c0356938886217eb2ae', class: "dropi-radio-button" }, h("label", { key: '653fa8d5c33fc64ab44174e6d0fe35c6fd992be7', htmlFor: this.id }, h("input", { key: 'd99eae69867b0a09b6585a18dfaa52da353c5bd2', id: this.id, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
34
+ return (h("div", { key: '9f4c4f3be63c0aa0bcd1c48dacb97cec903db98d', class: "dropi-radio-button" }, h("label", { key: 'c29bd1ccc6c468b57fdcb4dd6c15cf541255cb71', htmlFor: this.id }, h("input", { key: '19533ffd5e5eb1b43d7e0f42971aa81652c8c926', id: this.id, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
35
35
  }
36
36
  static get formAssociated() { return true; }
37
37
  static get watchers() { return {
@@ -1,12 +1,12 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D5SAM1O2.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-a2fb4CHk.js';
2
2
 
3
3
  const dropiRadioSelectionListCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.rsl__search{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);margin-bottom:var(--Size-2, 8px)}.rsl__search-input{flex:1;border:none;outline:none;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);background:transparent}.rsl__list{display:flex;flex-direction:column;gap:var(--Size-2, 8px)}.rsl__item{display:flex;align-items:flex-start;gap:var(--Size-3, 12px);padding:var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);cursor:pointer;transition:border-color 0.15s, background 0.15s}.rsl__item:hover{background:var(--Gray-Gray-50, #f7f8fa)}.rsl__item--selected{border-color:var(--Primary-Primary-500, #f49a3d);background:var(--Primary-Primary-50, #fff5eb)}.rsl__radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--Gray-Gray-300, #a3abbf);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:3px;transition:border-color 0.15s}.rsl__radio--checked{border-color:var(--Primary-Primary-500, #f49a3d)}.rsl__radio-dot{width:8px;height:8px;border-radius:50%;background:var(--Primary-Primary-500, #f49a3d)}.rsl__content{display:flex;flex-direction:column;gap:2px}.rsl__name{font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d)}.rsl__desc{font-size:var(--font-size-xs, 10px);line-height:1.4;color:var(--Gray-Gray-500, #69738c)}`;
4
4
 
5
5
  const DropiRadioSelectionList = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
- this.valueChange = createEvent(this, "valueChange", 7);
9
- this.onSearch = createEvent(this, "onSearch", 7);
8
+ this.dropiChange = createEvent(this, "dropiChange");
9
+ this.dropiSearch = createEvent(this, "dropiSearch");
10
10
  }
11
11
  /** Options array or JSON string */
12
12
  options = [];
@@ -25,9 +25,9 @@ const DropiRadioSelectionList = class {
25
25
  filterText = '';
26
26
  parsedOptions = [];
27
27
  /** Emitted on selection change. e.detail = selected option id */
28
- valueChange;
28
+ dropiChange;
29
29
  /** Emitted on search — matches Angular 'onSearch' */
30
- onSearch;
30
+ dropiSearch;
31
31
  optionsChanged(val) {
32
32
  this.parsedOptions = typeof val === 'string' ? JSON.parse(val) : (val || []);
33
33
  }
@@ -39,12 +39,12 @@ const DropiRadioSelectionList = class {
39
39
  return this.parsedOptions.filter(o => o.name?.toLowerCase().includes(q));
40
40
  }
41
41
  render() {
42
- return (h("div", { key: '7fdbf3d20a030a78ab4f48e7dba8333a34b1017b', class: "rsl" }, this.showFilter && (h("div", { key: '12e2abb8f8ed76c6b3231f28b63c842ba3c3c326', class: "rsl__search" }, h("dropi-icon", { key: '0d3e759696ceefdc997fadec75cc73f281caafd0', name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { key: 'd5605975ebfda35d7abb0e69fe0a2baa929faddb', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
42
+ return (h("div", { key: '296bdc955d13b8163ca954f6d399543343e7e121', class: "rsl" }, this.showFilter && (h("div", { key: '4cdd3764411f389d2b6ce1145f5b6759bb20fc7b', class: "rsl__search" }, h("dropi-icon", { key: '81af80a3dddb6176625b6ba575b084501741cd81', name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { key: 'aa0e762f4403431225375f95c792af8596529588', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
43
43
  this.filterText = e.target.value;
44
- this.onSearch.emit({ searchValue: this.filterText, filteredOptions: this.filtered });
45
- } }))), h("div", { key: '25dae74884621ce4f27f214de94c9ddb0fa1799f', class: "rsl__list" }, this.filtered.map(opt => {
44
+ this.dropiSearch.emit({ searchValue: this.filterText, filteredOptions: this.filtered });
45
+ } }))), h("div", { key: 'd153875a1c09957b74648f61f70320968ea6cd40', class: "rsl__list" }, this.filtered.map(opt => {
46
46
  const isSelected = opt.id === this.selectedOption;
47
- return (h("div", { class: { 'rsl__item': true, 'rsl__item--selected': isSelected }, key: opt.id, onClick: () => { this.selectedOption = opt.id; this.valueChange.emit(opt.id); } }, h("div", { class: { 'rsl__radio': true, 'rsl__radio--checked': isSelected } }, isSelected && h("div", { class: "rsl__radio-dot" })), h("div", { class: "rsl__content" }, h("span", { class: "rsl__name" }, opt.name), (isSelected || this.alwaysShowDescription) && opt.description && (h("span", { class: "rsl__desc" }, opt.description)))));
47
+ return (h("div", { class: { 'rsl__item': true, 'rsl__item--selected': isSelected }, key: opt.id, onClick: () => { this.selectedOption = opt.id; this.dropiChange.emit(opt.id); } }, h("div", { class: { 'rsl__radio': true, 'rsl__radio--checked': isSelected } }, isSelected && h("div", { class: "rsl__radio-dot" })), h("div", { class: "rsl__content" }, h("span", { class: "rsl__name" }, opt.name), (isSelected || this.alwaysShowDescription) && opt.description && (h("span", { class: "rsl__desc" }, opt.description)))));
48
48
  }))));
49
49
  }
50
50
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-D5SAM1O2.js';
1
+ import { r as registerInstance, h } from './index-a2fb4CHk.js';
2
2
 
3
3
  const dropiReadMoreCss = () => `:host{display:block}.read-more__text{margin:0;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-800, #1f2433);line-height:1.5}.read-more__toggle{all:unset;display:inline;font-size:var(--font-size-s, 12px);font-family:inherit;font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-600);cursor:pointer}.read-more__toggle:hover{color:var(--Primary-Primary-600, #d4872e)}`;
4
4
 
@@ -30,7 +30,7 @@ const DropiReadMore = class {
30
30
  }
31
31
  render() {
32
32
  const showToggle = this.needsTruncation && (this.expanded ? this.showSeeLess : true);
33
- return (h("div", { key: '125c5f1d75c1e06f02d9898f375626bb75a67cd8', class: "read-more" }, h("p", { key: '4a4450a3468e7fe7297fdae98d370f8cd77b8553', class: "read-more__text", style: this.textStyle ? this.textStyle : undefined }, this.displayText, showToggle && (h("button", { key: 'cfe58b2781b908d9a0a802b4bd68cedf8dea827e', class: "read-more__toggle", style: this.buttonStyle ? this.buttonStyle : undefined, onClick: () => this.expanded = !this.expanded }, this.expanded ? ' Ver menos' : '... Ver más')))));
33
+ return (h("div", { key: '6accf9aa0a6f7377c7de6e8cbcb9e2a7ee99573a', class: "read-more" }, h("p", { key: '96e5493df8b065008f9bc45cea1ba768eabfc0a2', class: "read-more__text", style: this.textStyle ? this.textStyle : undefined }, this.displayText, showToggle && (h("button", { key: '195d962715c5c618701c3e86df618289915e3a9b', class: "read-more__toggle", style: this.buttonStyle ? this.buttonStyle : undefined, onClick: () => this.expanded = !this.expanded }, this.expanded ? ' Ver menos' : '... Ver más')))));
34
34
  }
35
35
  };
36
36
  DropiReadMore.style = dropiReadMoreCss();
@@ -1,16 +1,16 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D5SAM1O2.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-a2fb4CHk.js';
2
2
 
3
3
  const dropiSearchCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.search-label{display:block;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.search-input-row{position:relative;display:flex;align-items:center;width:100%}.search-icon{position:absolute;left:10px;pointer-events:none;z-index:1}.search-input{width:100%;height:40px;padding:0 36px 0 34px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);outline:none;transition:border-color 0.2s}.search-input:focus{border-color:var(--Info-Info-500, #50a5f1)}.search-input::placeholder{color:var(--Gray-Gray-400, #858ea6)}.search-clear{position:absolute;right:10px;display:flex;align-items:center;background:none;border:none;padding:0;cursor:pointer;z-index:1}.search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:var(--dropdown-height, 240px);overflow-y:auto;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);box-shadow:0 4px 16px rgba(0, 0, 0, 0.08);z-index:100}.search-option{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);cursor:pointer;transition:background 0.15s;user-select:none}.search-option:hover{background:var(--Gray-Gray-50, #f7f8fa)}.search-option--selected{background:var(--Primary-Primary-50, #fff5eb)}.search-option__label{flex:1;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-no-results{padding:var(--Size-3, 12px);font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-400, #858ea6);text-align:center}`;
4
4
 
5
5
  const DropiSearch = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
- this.onInput = createEvent(this, "onInput", 7);
9
- this.onBlur = createEvent(this, "onBlur", 7);
10
- this.onKeyEnter = createEvent(this, "onKeyEnter", 7);
11
- this.onChange = createEvent(this, "onChange", 7);
12
- this.onClear = createEvent(this, "onClear", 7);
13
- this.modelChange = createEvent(this, "modelChange", 7);
8
+ this.dropiInput = createEvent(this, "dropiInput");
9
+ this.dropiBlur = createEvent(this, "dropiBlur");
10
+ this.dropiKeyEnter = createEvent(this, "dropiKeyEnter");
11
+ this.dropiChange = createEvent(this, "dropiChange");
12
+ this.dropiClear = createEvent(this, "dropiClear");
13
+ this.dropiModelChange = createEvent(this, "dropiModelChange");
14
14
  }
15
15
  /** Visual variant (matches Angular `type`) */
16
16
  type = 'default';
@@ -44,17 +44,17 @@ const DropiSearch = class {
44
44
  selected = [];
45
45
  parsedOptions = [];
46
46
  /** Emitted on input change. e.detail = current text */
47
- onInput;
47
+ dropiInput;
48
48
  /** Emitted on blur */
49
- onBlur;
49
+ dropiBlur;
50
50
  /** Emitted when Enter is pressed. e.detail = current text */
51
- onKeyEnter;
51
+ dropiKeyEnter;
52
52
  /** Emitted on change event of the native input (matches Angular `onChange`) */
53
- onChange;
53
+ dropiChange;
54
54
  /** Emitted when clear button clicked */
55
- onClear;
55
+ dropiClear;
56
56
  /** Emitted when selection changes. e.detail = selected items */
57
- modelChange;
57
+ dropiModelChange;
58
58
  optionsChanged(val) {
59
59
  this.parsedOptions = typeof val === 'string' ? JSON.parse(val) : (val || []);
60
60
  }
@@ -70,20 +70,20 @@ const DropiSearch = class {
70
70
  handleInput(e) {
71
71
  this.textInput = e.target.value;
72
72
  this.open = this.parsedOptions.length > 0;
73
- this.onInput.emit(this.textInput);
74
- this.onChange.emit(this.textInput);
73
+ this.dropiInput.emit(this.textInput);
74
+ this.dropiChange.emit(this.textInput);
75
75
  }
76
76
  handleKeyDown(e) {
77
77
  if (e.key === 'Enter')
78
- this.onKeyEnter.emit(this.textInput);
78
+ this.dropiKeyEnter.emit(this.textInput);
79
79
  if (e.key === 'Escape')
80
80
  this.open = false;
81
81
  }
82
82
  handleClear() {
83
83
  this.textInput = '';
84
84
  this.open = false;
85
- this.onClear.emit();
86
- this.onInput.emit('');
85
+ this.dropiClear.emit();
86
+ this.dropiInput.emit('');
87
87
  }
88
88
  isSelected(opt) {
89
89
  return this.selected.some(s => s[this.dataName] === opt[this.dataName]);
@@ -102,14 +102,14 @@ const DropiSearch = class {
102
102
  this.selected = [opt];
103
103
  this.open = false;
104
104
  }
105
- this.modelChange.emit(this.selected);
105
+ this.dropiModelChange.emit(this.selected);
106
106
  }
107
107
  render() {
108
108
  const showDropdown = this.open && this.parsedOptions.length > 0;
109
- return (h("div", { key: 'ec00c8851a1d2d4ddda50edea458589a62d9451a', class: "search-wrap" }, this.label && h("label", { key: '31cadba1b21276ec43f3623676fe1a7f9bac4da2', class: "search-label" }, this.label), h("div", { key: 'bf68dbb7cfa657e8a7e441a2fe47db0e7d214e44', class: `search-input-row search-input-row--${this.type}` }, this.showIcon && h("dropi-icon", { key: '21239271d90ba7adcc64e3f7ecb9b836619bd11e', class: "search-icon", name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { key: '64735f2618f993cbca379e72b3c87435158b4f0c', class: "search-input", type: this.typeInput, placeholder: this.placeholder, value: this.textInput, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), onKeyDown: (e) => this.handleKeyDown(e), onFocus: () => {
109
+ return (h("div", { key: '594b15b4b31044f4a02376dc773ea36da893d773', class: "search-wrap" }, this.label && h("label", { key: '297a989441ad892715b09421f9a53618851c1b52', class: "search-label" }, this.label), h("div", { key: '6bbaf4ea5c1bc6ff831626117fccde647e68ba19', class: `search-input-row search-input-row--${this.type}` }, this.showIcon && h("dropi-icon", { key: 'e94c3a3895a14e950a018023d5d7a281a230abae', class: "search-icon", name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("input", { key: '820bf2f4c9ecaf9907aceaaa08bd3fa309606e90', class: "search-input", type: this.typeInput, placeholder: this.placeholder, value: this.textInput, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), onKeyDown: (e) => this.handleKeyDown(e), onFocus: () => {
110
110
  if (this.parsedOptions.length)
111
111
  this.open = true;
112
- }, onBlur: () => { setTimeout(() => this.open = false, 150); this.onBlur.emit(); } }), this.showClear && this.textInput && (h("button", { key: 'c6a1dab911f262e0b2da88e59cdbaf6b4c1c74a9', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, h("dropi-icon", { key: 'ddf404e0be3d95f1154ecd22dd9b9f7a06e3c187', name: "Close-small", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" })))), showDropdown && (h("div", { key: 'a8c5ecbfe700bcb116119f172c3cb017b9693113', class: `search-dropdown search-dropdown--${this.position}`, style: { '--dropdown-height': `${this.heightOverlay}px` } }, this.filtered.length === 0 ? (h("div", { class: "search-no-results" }, "Sin resultados")) : (this.filtered.map((opt, i) => (h("div", { class: { 'search-option': true, 'search-option--selected': this.isSelected(opt) }, key: i, onMouseDown: (e) => { e.preventDefault(); this.selectOption(opt); } }, this.multipleSelectModel && h("dropi-checkbox", { checked: this.isSelected(opt) }), h("span", { class: "search-option__label" }, opt[this.dataName])))))))));
112
+ }, onBlur: () => { setTimeout(() => this.open = false, 150); this.dropiBlur.emit(); } }), this.showClear && this.textInput && (h("button", { key: 'e2fd7c3d5fee45a83f030589f58d4fee9f3af69c', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, h("dropi-icon", { key: 'a530b0adb83d76b205cd2b22792f14229950836e', name: "Close-small", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" })))), showDropdown && (h("div", { key: '8c062d43dccb41c84b2a599ed6d1a5e049a75b65', class: `search-dropdown search-dropdown--${this.position}`, style: { '--dropdown-height': `${this.heightOverlay}px` } }, this.filtered.length === 0 ? (h("div", { class: "search-no-results" }, "Sin resultados")) : (this.filtered.map((opt, i) => (h("div", { class: { 'search-option': true, 'search-option--selected': this.isSelected(opt) }, key: i, onMouseDown: (e) => { e.preventDefault(); this.selectOption(opt); } }, this.multipleSelectModel && h("dropi-checkbox", { checked: this.isSelected(opt) }), h("span", { class: "search-option__label" }, opt[this.dataName])))))))));
113
113
  }
114
114
  static get watchers() { return {
115
115
  "dataToSearch": [{