@dropi/ui 0.1.21 → 0.1.22

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 (392) hide show
  1. package/dist/cjs/dropi-accordion-item.cjs.entry.js +2 -2
  2. package/dist/cjs/dropi-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/dropi-alert-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/dropi-alert-modal.cjs.entry.js +3 -3
  5. package/dist/cjs/dropi-alert.cjs.entry.js +2 -2
  6. package/dist/cjs/dropi-avatars.cjs.entry.js +2 -2
  7. package/dist/cjs/dropi-badge-legacy.cjs.entry.js +2 -2
  8. package/dist/cjs/dropi-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/dropi-banner-external.cjs.entry.js +12 -2
  10. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
  11. package/dist/cjs/dropi-button.cjs.entry.js +3 -3
  12. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +3 -3
  13. package/dist/cjs/dropi-card-product.cjs.entry.js +7 -5
  14. package/dist/cjs/dropi-card-section.cjs.entry.js +3 -3
  15. package/dist/cjs/dropi-carousel.cjs.entry.js +7 -2
  16. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +3 -3
  17. package/dist/cjs/dropi-checkbox.cjs.entry.js +3 -3
  18. package/dist/cjs/dropi-chips.cjs.entry.js +2 -2
  19. package/dist/cjs/dropi-city-selector.cjs.entry.js +10 -2
  20. package/dist/cjs/dropi-color-picker.cjs.entry.js +4 -4
  21. package/dist/cjs/dropi-country-flags.cjs.entry.js +2 -2
  22. package/dist/cjs/dropi-country-selector.cjs.entry.js +3 -3
  23. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +1 -1
  24. package/dist/cjs/dropi-date-picker.cjs.entry.js +5 -5
  25. package/dist/cjs/dropi-drawer.cjs.entry.js +7 -4
  26. package/dist/cjs/dropi-dropdown.cjs.entry.js +3 -3
  27. package/dist/cjs/dropi-empty-state.cjs.entry.js +2 -2
  28. package/dist/cjs/dropi-favorite-button.cjs.entry.js +2 -2
  29. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +4 -2
  30. package/dist/cjs/dropi-file-upload.cjs.entry.js +6 -5
  31. package/dist/cjs/dropi-icon.cjs.entry.js +21 -4
  32. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +2 -2
  33. package/dist/cjs/dropi-image-miniature.cjs.entry.js +2 -2
  34. package/dist/cjs/dropi-image-overlay.cjs.entry.js +3 -2
  35. package/dist/cjs/dropi-input_3.cjs.entry.js +13 -11
  36. package/dist/cjs/dropi-languages-selector.cjs.entry.js +6 -2
  37. package/dist/cjs/dropi-logo.cjs.entry.js +12 -2
  38. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +1 -1
  39. package/dist/cjs/dropi-media-player.cjs.entry.js +7 -4
  40. package/dist/cjs/dropi-modal.cjs.entry.js +19 -12
  41. package/dist/cjs/dropi-navbar.cjs.entry.js +3 -3
  42. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +7 -7
  43. package/dist/cjs/dropi-phone-input.cjs.entry.js +4 -4
  44. package/dist/cjs/dropi-radio-button.cjs.entry.js +2 -2
  45. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +3 -3
  46. package/dist/cjs/dropi-read-more.cjs.entry.js +2 -2
  47. package/dist/cjs/dropi-search.cjs.entry.js +3 -3
  48. package/dist/cjs/dropi-select.cjs.entry.js +6 -2
  49. package/dist/cjs/dropi-sidebar.cjs.entry.js +2 -2
  50. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +2 -2
  51. package/dist/cjs/dropi-skeleton.cjs.entry.js +2 -2
  52. package/dist/cjs/dropi-steps.cjs.entry.js +2 -2
  53. package/dist/cjs/dropi-switch.cjs.entry.js +2 -2
  54. package/dist/cjs/dropi-table.cjs.entry.js +14 -7
  55. package/dist/cjs/dropi-tabs.cjs.entry.js +2 -2
  56. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +2 -2
  57. package/dist/cjs/dropi-text-area.cjs.entry.js +3 -3
  58. package/dist/cjs/dropi-time-line.cjs.entry.js +2 -2
  59. package/dist/cjs/dropi-toast.cjs.entry.js +6 -5
  60. package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +3 -3
  61. package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
  62. package/dist/cjs/dropi-ui.cjs.js +2 -2
  63. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +2 -2
  64. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +2 -2
  65. package/dist/cjs/{index-077kM98l.js → index-C8kwDvpf.js} +1041 -14
  66. package/dist/cjs/loader.cjs.js +2 -2
  67. package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +1 -1
  68. package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
  69. package/dist/collection/components/dropi-alert/dropi-alert.css +0 -6
  70. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +10 -1
  71. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +4 -5
  72. package/dist/collection/components/dropi-avatars/dropi-avatars.js +1 -1
  73. package/dist/collection/components/dropi-badge/dropi-badge.js +1 -1
  74. package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +1 -1
  75. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +12 -1
  76. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +1 -1
  77. package/dist/collection/components/dropi-button/dropi-button.js +2 -2
  78. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +2 -2
  79. package/dist/collection/components/dropi-card-product/dropi-card-product.js +6 -4
  80. package/dist/collection/components/dropi-card-section/dropi-card-section.js +2 -2
  81. package/dist/collection/components/dropi-carousel/dropi-carousel.js +15 -10
  82. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +2 -2
  83. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +2 -2
  84. package/dist/collection/components/dropi-chips/dropi-chips.js +1 -1
  85. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +9 -1
  86. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +3 -3
  87. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +1 -1
  88. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +2 -2
  89. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +4 -4
  90. package/dist/collection/components/dropi-drawer/dropi-drawer.js +12 -9
  91. package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +2 -2
  92. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +1 -1
  93. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
  94. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +5 -4
  95. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +3 -1
  96. package/dist/collection/components/dropi-icon/dropi-icon.css +5 -0
  97. package/dist/collection/components/dropi-icon/dropi-icon.js +19 -2
  98. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +1 -1
  99. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
  100. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +5 -4
  101. package/dist/collection/components/dropi-input/dropi-input.js +12 -10
  102. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +5 -1
  103. package/dist/collection/components/dropi-logo/dropi-logo.js +12 -1
  104. package/dist/collection/components/dropi-media-player/dropi-media-player.js +6 -3
  105. package/dist/collection/components/dropi-modal/dropi-modal.js +22 -15
  106. package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
  107. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +6 -6
  108. package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
  109. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +3 -3
  110. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +1 -1
  111. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +2 -2
  112. package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
  113. package/dist/collection/components/dropi-search/dropi-search.js +2 -2
  114. package/dist/collection/components/dropi-select/dropi-select.js +5 -1
  115. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +1 -1
  116. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +1 -1
  117. package/dist/collection/components/dropi-skeleton/dropi-skeleton.js +1 -1
  118. package/dist/collection/components/dropi-steps/dropi-steps.js +1 -1
  119. package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
  120. package/dist/collection/components/dropi-table/dropi-table.js +13 -6
  121. package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
  122. package/dist/collection/components/dropi-tag/dropi-tag.js +5 -5
  123. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +1 -1
  124. package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
  125. package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
  126. package/dist/collection/components/dropi-toast/dropi-toast.css +1 -1
  127. package/dist/collection/components/dropi-toast/dropi-toast.js +4 -3
  128. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
  129. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +2 -2
  130. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +1 -1
  131. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
  132. package/dist/components/dropi-accordion-item.js +1 -1
  133. package/dist/components/dropi-accordion.js +1 -1
  134. package/dist/components/dropi-alert-modal.js +1 -1
  135. package/dist/components/dropi-alert.js +1 -1
  136. package/dist/components/dropi-avatars.js +1 -1
  137. package/dist/components/dropi-badge-legacy.js +1 -1
  138. package/dist/components/dropi-badge.js +1 -1
  139. package/dist/components/dropi-banner-external.js +1 -1
  140. package/dist/components/dropi-breadcrumb.js +1 -1
  141. package/dist/components/dropi-button.js +1 -1
  142. package/dist/components/dropi-card-checkbox.js +1 -1
  143. package/dist/components/dropi-card-product.js +1 -1
  144. package/dist/components/dropi-card-section.js +1 -1
  145. package/dist/components/dropi-carousel.js +1 -1
  146. package/dist/components/dropi-checkbox-selection-list.js +1 -1
  147. package/dist/components/dropi-checkbox.js +1 -1
  148. package/dist/components/dropi-chips.js +1 -1
  149. package/dist/components/dropi-city-selector.js +1 -1
  150. package/dist/components/dropi-color-picker.js +1 -1
  151. package/dist/components/dropi-country-flags.js +1 -1
  152. package/dist/components/dropi-country-selector.js +1 -1
  153. package/dist/components/dropi-date-picker.js +1 -1
  154. package/dist/components/dropi-drawer.js +1 -1
  155. package/dist/components/dropi-dropdown.js +1 -1
  156. package/dist/components/dropi-empty-state.js +1 -1
  157. package/dist/components/dropi-favorite-button.js +1 -1
  158. package/dist/components/dropi-file-upload-progress-bar.js +1 -1
  159. package/dist/components/dropi-file-upload.js +1 -1
  160. package/dist/components/dropi-icon.js +1 -1
  161. package/dist/components/dropi-ilustration-icon.js +1 -1
  162. package/dist/components/dropi-image-miniature.js +1 -1
  163. package/dist/components/dropi-image-overlay.js +1 -1
  164. package/dist/components/dropi-input.js +1 -1
  165. package/dist/components/dropi-languages-selector.js +1 -1
  166. package/dist/components/dropi-logo.js +1 -1
  167. package/dist/components/dropi-media-player.js +1 -1
  168. package/dist/components/dropi-modal.js +1 -1
  169. package/dist/components/dropi-navbar.js +1 -1
  170. package/dist/components/dropi-otp-send-code.js +1 -1
  171. package/dist/components/dropi-paginator.js +1 -1
  172. package/dist/components/dropi-phone-input.js +1 -1
  173. package/dist/components/dropi-radio-button.js +1 -1
  174. package/dist/components/dropi-radio-selection-list.js +1 -1
  175. package/dist/components/dropi-read-more.js +1 -1
  176. package/dist/components/dropi-search.js +1 -1
  177. package/dist/components/dropi-select.js +1 -1
  178. package/dist/components/dropi-sidebar.js +1 -1
  179. package/dist/components/dropi-simple-stepper.js +1 -1
  180. package/dist/components/dropi-skeleton.js +1 -1
  181. package/dist/components/dropi-steps.js +1 -1
  182. package/dist/components/dropi-switch.js +1 -1
  183. package/dist/components/dropi-table.js +1 -1
  184. package/dist/components/dropi-tabs.js +1 -1
  185. package/dist/components/dropi-tag-type-product.js +1 -1
  186. package/dist/components/dropi-tag.js +1 -1
  187. package/dist/components/dropi-text-area.js +1 -1
  188. package/dist/components/dropi-time-line.js +1 -1
  189. package/dist/components/dropi-toast.js +1 -1
  190. package/dist/components/dropi-tooltip-v2.js +1 -1
  191. package/dist/components/dropi-tooltip.js +1 -1
  192. package/dist/components/dropi-vertical-steps.js +1 -1
  193. package/dist/components/dropi-youtube-lazy-video.js +1 -1
  194. package/dist/components/index.js +1 -1
  195. package/dist/components/{p-DWzWYR5X.js → p-B9R8Apw7.js} +1 -1
  196. package/dist/components/p-B_Ace02i.js +1 -0
  197. package/dist/components/p-BrjO_JXp.js +1 -0
  198. package/dist/components/p-BwhxWL4p.js +1 -0
  199. package/dist/components/p-Bz2jXX3R.js +1 -0
  200. package/dist/components/{p-CDvkvedb.js → p-CV4X3Gm4.js} +1 -1
  201. package/dist/components/p-CV_oz45O.js +1 -0
  202. package/dist/components/{p-CzHupXu8.js → p-D-vQQQNz.js} +1 -1
  203. package/dist/components/p-D13d88W3.js +1 -0
  204. package/dist/components/p-DGUfr98Z.js +1 -0
  205. package/dist/components/p-a-hGQrJd.js +1 -0
  206. package/dist/components/{p-DjO9xpVc.js → p-o5gyrbbD.js} +1 -1
  207. package/dist/dropi-ui/dropi-ui.css +1 -1
  208. package/dist/dropi-ui/dropi-ui.esm.js +1 -1
  209. package/dist/dropi-ui/{p-475a16f2.entry.js → p-00e5a2de.entry.js} +1 -1
  210. package/dist/dropi-ui/{p-8b4d4d2d.entry.js → p-0188e07a.entry.js} +1 -1
  211. package/dist/dropi-ui/{p-10e363a2.entry.js → p-02710049.entry.js} +1 -1
  212. package/dist/dropi-ui/{p-eac7777f.entry.js → p-17c56074.entry.js} +1 -1
  213. package/dist/dropi-ui/{p-a6939701.entry.js → p-18adf694.entry.js} +1 -1
  214. package/dist/dropi-ui/p-1a3619c3.entry.js +1 -0
  215. package/dist/dropi-ui/{p-0c541a53.entry.js → p-1d3d6a32.entry.js} +1 -1
  216. package/dist/dropi-ui/p-25640777.entry.js +1 -0
  217. package/dist/dropi-ui/p-2674d901.entry.js +1 -0
  218. package/dist/dropi-ui/{p-6e727fb0.entry.js → p-2af538b9.entry.js} +1 -1
  219. package/dist/dropi-ui/p-3013f3b8.entry.js +1 -0
  220. package/dist/dropi-ui/{p-0cd1fb7a.entry.js → p-3321ca70.entry.js} +1 -1
  221. package/dist/dropi-ui/{p-623759eb.entry.js → p-33d242ec.entry.js} +1 -1
  222. package/dist/dropi-ui/{p-6178190b.entry.js → p-39af6478.entry.js} +1 -1
  223. package/dist/dropi-ui/{p-858bedcf.entry.js → p-3e36c8b8.entry.js} +1 -1
  224. package/dist/dropi-ui/p-3ebc9b7b.entry.js +1 -0
  225. package/dist/dropi-ui/{p-36cdd4fc.entry.js → p-446a481d.entry.js} +1 -1
  226. package/dist/dropi-ui/{p-c7e3a5e0.entry.js → p-50a5e548.entry.js} +1 -1
  227. package/dist/dropi-ui/p-50e0d44f.entry.js +1 -0
  228. package/dist/dropi-ui/p-53a7a37d.entry.js +1 -0
  229. package/dist/dropi-ui/p-5c0bd7c2.entry.js +1 -0
  230. package/dist/dropi-ui/p-5cee6721.entry.js +1 -0
  231. package/dist/dropi-ui/p-5fb33ae4.entry.js +1 -0
  232. package/dist/dropi-ui/{p-0966c363.entry.js → p-665ef7ba.entry.js} +1 -1
  233. package/dist/dropi-ui/p-66b80371.entry.js +1 -0
  234. package/dist/dropi-ui/p-7bfc1c27.entry.js +1 -0
  235. package/dist/dropi-ui/p-7c0d2edf.entry.js +1 -0
  236. package/dist/dropi-ui/p-7eb27836.entry.js +1 -0
  237. package/dist/dropi-ui/p-85444414.entry.js +1 -0
  238. package/dist/dropi-ui/{p-7f8d3642.entry.js → p-86283e99.entry.js} +1 -1
  239. package/dist/dropi-ui/p-8bf5d8ee.entry.js +1 -0
  240. package/dist/dropi-ui/{p-ed94b5fe.entry.js → p-9032ba00.entry.js} +1 -1
  241. package/dist/dropi-ui/{p-b207fc92.entry.js → p-9212f544.entry.js} +1 -1
  242. package/dist/dropi-ui/{p-ba3ad28e.entry.js → p-92291873.entry.js} +1 -1
  243. package/dist/dropi-ui/{p-59188dd5.entry.js → p-955e52f8.entry.js} +1 -1
  244. package/dist/dropi-ui/{p-3cbe953f.entry.js → p-976a15e3.entry.js} +1 -1
  245. package/dist/dropi-ui/{p-4de83790.entry.js → p-9b037086.entry.js} +1 -1
  246. package/dist/dropi-ui/{p-7fc02d98.entry.js → p-9e0129cc.entry.js} +1 -1
  247. package/dist/dropi-ui/{p-99943b7d.entry.js → p-9ffec3f7.entry.js} +1 -1
  248. package/dist/dropi-ui/p-D5SAM1O2.js +2 -0
  249. package/dist/dropi-ui/p-a1c93e55.entry.js +1 -0
  250. package/dist/dropi-ui/{p-2e4efb72.entry.js → p-a232c6a7.entry.js} +1 -1
  251. package/dist/dropi-ui/{p-aa8d2aec.entry.js → p-a3c4d677.entry.js} +1 -1
  252. package/dist/dropi-ui/p-a457e8ca.entry.js +1 -0
  253. package/dist/dropi-ui/p-a4e1df5e.entry.js +1 -0
  254. package/dist/dropi-ui/p-a822a23e.entry.js +1 -0
  255. package/dist/dropi-ui/{p-0f161461.entry.js → p-a8f24270.entry.js} +1 -1
  256. package/dist/dropi-ui/p-ae35d538.entry.js +1 -0
  257. package/dist/dropi-ui/p-af8e2157.entry.js +1 -0
  258. package/dist/dropi-ui/{p-a1f2383d.entry.js → p-b2623a5c.entry.js} +1 -1
  259. package/dist/dropi-ui/p-b3d3c72e.entry.js +1 -0
  260. package/dist/dropi-ui/p-c3614c4a.entry.js +1 -0
  261. package/dist/dropi-ui/{p-e6943d7c.entry.js → p-cbf5367e.entry.js} +1 -1
  262. package/dist/dropi-ui/{p-e7b59811.entry.js → p-cc527d91.entry.js} +1 -1
  263. package/dist/dropi-ui/{p-7036c073.entry.js → p-cdde481b.entry.js} +1 -1
  264. package/dist/dropi-ui/{p-f0ddf569.entry.js → p-d42d4ef7.entry.js} +1 -1
  265. package/dist/dropi-ui/{p-7c0bc6dd.entry.js → p-db38bf16.entry.js} +1 -1
  266. package/dist/dropi-ui/p-dd5d8b1b.entry.js +1 -0
  267. package/dist/dropi-ui/p-e3ad21f8.entry.js +1 -0
  268. package/dist/dropi-ui/{p-acfa17ef.entry.js → p-e6e766ed.entry.js} +1 -1
  269. package/dist/dropi-ui/{p-d36a0c37.entry.js → p-ec263862.entry.js} +1 -1
  270. package/dist/dropi-ui/p-efc2fc35.entry.js +1 -0
  271. package/dist/dropi-ui/{p-9062f0de.entry.js → p-f41cd9b5.entry.js} +1 -1
  272. package/dist/dropi-ui/{p-40b69ccd.entry.js → p-fa3d0267.entry.js} +1 -1
  273. package/dist/esm/dropi-accordion-item.entry.js +2 -2
  274. package/dist/esm/dropi-accordion.entry.js +2 -2
  275. package/dist/esm/dropi-alert-legacy.entry.js +1 -1
  276. package/dist/esm/dropi-alert-modal.entry.js +3 -3
  277. package/dist/esm/dropi-alert.entry.js +2 -2
  278. package/dist/esm/dropi-avatars.entry.js +2 -2
  279. package/dist/esm/dropi-badge-legacy.entry.js +2 -2
  280. package/dist/esm/dropi-badge.entry.js +2 -2
  281. package/dist/esm/dropi-banner-external.entry.js +12 -2
  282. package/dist/esm/dropi-breadcrumb.entry.js +2 -2
  283. package/dist/esm/dropi-button.entry.js +3 -3
  284. package/dist/esm/dropi-card-checkbox.entry.js +3 -3
  285. package/dist/esm/dropi-card-product.entry.js +7 -5
  286. package/dist/esm/dropi-card-section.entry.js +3 -3
  287. package/dist/esm/dropi-carousel.entry.js +7 -2
  288. package/dist/esm/dropi-checkbox-selection-list.entry.js +3 -3
  289. package/dist/esm/dropi-checkbox.entry.js +3 -3
  290. package/dist/esm/dropi-chips.entry.js +2 -2
  291. package/dist/esm/dropi-city-selector.entry.js +10 -2
  292. package/dist/esm/dropi-color-picker.entry.js +4 -4
  293. package/dist/esm/dropi-country-flags.entry.js +2 -2
  294. package/dist/esm/dropi-country-selector.entry.js +3 -3
  295. package/dist/esm/dropi-date-picker-range.entry.js +1 -1
  296. package/dist/esm/dropi-date-picker.entry.js +5 -5
  297. package/dist/esm/dropi-drawer.entry.js +7 -4
  298. package/dist/esm/dropi-dropdown.entry.js +3 -3
  299. package/dist/esm/dropi-empty-state.entry.js +2 -2
  300. package/dist/esm/dropi-favorite-button.entry.js +2 -2
  301. package/dist/esm/dropi-file-upload-progress-bar.entry.js +4 -2
  302. package/dist/esm/dropi-file-upload.entry.js +6 -5
  303. package/dist/esm/dropi-icon.entry.js +21 -4
  304. package/dist/esm/dropi-ilustration-icon.entry.js +2 -2
  305. package/dist/esm/dropi-image-miniature.entry.js +2 -2
  306. package/dist/esm/dropi-image-overlay.entry.js +3 -2
  307. package/dist/esm/dropi-input_3.entry.js +13 -11
  308. package/dist/esm/dropi-languages-selector.entry.js +6 -2
  309. package/dist/esm/dropi-logo.entry.js +12 -2
  310. package/dist/esm/dropi-lottie-loader.entry.js +1 -1
  311. package/dist/esm/dropi-media-player.entry.js +7 -4
  312. package/dist/esm/dropi-modal.entry.js +19 -12
  313. package/dist/esm/dropi-navbar.entry.js +3 -3
  314. package/dist/esm/dropi-otp-send-code.entry.js +7 -7
  315. package/dist/esm/dropi-phone-input.entry.js +4 -4
  316. package/dist/esm/dropi-radio-button.entry.js +2 -2
  317. package/dist/esm/dropi-radio-selection-list.entry.js +3 -3
  318. package/dist/esm/dropi-read-more.entry.js +2 -2
  319. package/dist/esm/dropi-search.entry.js +3 -3
  320. package/dist/esm/dropi-select.entry.js +6 -2
  321. package/dist/esm/dropi-sidebar.entry.js +2 -2
  322. package/dist/esm/dropi-simple-stepper.entry.js +2 -2
  323. package/dist/esm/dropi-skeleton.entry.js +2 -2
  324. package/dist/esm/dropi-steps.entry.js +2 -2
  325. package/dist/esm/dropi-switch.entry.js +2 -2
  326. package/dist/esm/dropi-table.entry.js +14 -7
  327. package/dist/esm/dropi-tabs.entry.js +2 -2
  328. package/dist/esm/dropi-tag-type-product.entry.js +2 -2
  329. package/dist/esm/dropi-text-area.entry.js +3 -3
  330. package/dist/esm/dropi-time-line.entry.js +2 -2
  331. package/dist/esm/dropi-toast.entry.js +6 -5
  332. package/dist/esm/dropi-tooltip-v2.entry.js +3 -3
  333. package/dist/esm/dropi-tooltip.entry.js +2 -2
  334. package/dist/esm/dropi-ui.js +3 -3
  335. package/dist/esm/dropi-vertical-steps.entry.js +2 -2
  336. package/dist/esm/dropi-youtube-lazy-video.entry.js +2 -2
  337. package/dist/esm/{index-TXz_09YZ.js → index-D5SAM1O2.js} +1041 -15
  338. package/dist/esm/loader.js +3 -3
  339. package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +1 -1
  340. package/dist/types/components/dropi-banner-external/dropi-banner-external.d.ts +2 -0
  341. package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +3 -3
  342. package/dist/types/components/dropi-drawer/dropi-drawer.d.ts +2 -2
  343. package/dist/types/components/dropi-icon/dropi-icon.d.ts +3 -1
  344. package/dist/types/components/dropi-image-overlay/dropi-image-overlay.d.ts +1 -1
  345. package/dist/types/components/dropi-input/dropi-input.d.ts +2 -2
  346. package/dist/types/components/dropi-logo/dropi-logo.d.ts +2 -0
  347. package/dist/types/components/dropi-modal/dropi-modal.d.ts +2 -2
  348. package/dist/types/components/dropi-table/dropi-table.d.ts +2 -0
  349. package/dist/types/components.d.ts +37 -37
  350. package/hydrate/index.d.ts +287 -0
  351. package/hydrate/index.js +30455 -0
  352. package/hydrate/index.mjs +30445 -0
  353. package/hydrate/package.json +12 -0
  354. package/package.json +9 -3
  355. package/readme.md +42 -12
  356. package/scripts/setup.js +193 -8
  357. package/dist/components/p-9KLpSviZ.js +0 -1
  358. package/dist/components/p-BVekazGL.js +0 -1
  359. package/dist/components/p-BYRcOZS4.js +0 -1
  360. package/dist/components/p-BuDg1d0S.js +0 -1
  361. package/dist/components/p-C2paYEIp.js +0 -1
  362. package/dist/components/p-CnALA9z_.js +0 -1
  363. package/dist/components/p-CtzCJQVR.js +0 -1
  364. package/dist/components/p-D_Y7tuEH.js +0 -1
  365. package/dist/dropi-ui/p-1d4c5364.entry.js +0 -1
  366. package/dist/dropi-ui/p-2e0623ba.entry.js +0 -1
  367. package/dist/dropi-ui/p-37c86c74.entry.js +0 -1
  368. package/dist/dropi-ui/p-392654b7.entry.js +0 -1
  369. package/dist/dropi-ui/p-39904430.entry.js +0 -1
  370. package/dist/dropi-ui/p-3a3b778f.entry.js +0 -1
  371. package/dist/dropi-ui/p-443ed5bd.entry.js +0 -1
  372. package/dist/dropi-ui/p-4967b619.entry.js +0 -1
  373. package/dist/dropi-ui/p-645da978.entry.js +0 -1
  374. package/dist/dropi-ui/p-710312bd.entry.js +0 -1
  375. package/dist/dropi-ui/p-74dfe8d1.entry.js +0 -1
  376. package/dist/dropi-ui/p-770afae3.entry.js +0 -1
  377. package/dist/dropi-ui/p-8188cca4.entry.js +0 -1
  378. package/dist/dropi-ui/p-87e9ba6d.entry.js +0 -1
  379. package/dist/dropi-ui/p-925852b1.entry.js +0 -1
  380. package/dist/dropi-ui/p-TXz_09YZ.js +0 -2
  381. package/dist/dropi-ui/p-aafaffa3.entry.js +0 -1
  382. package/dist/dropi-ui/p-ac345a0e.entry.js +0 -1
  383. package/dist/dropi-ui/p-af3691a0.entry.js +0 -1
  384. package/dist/dropi-ui/p-bd0ffb4a.entry.js +0 -1
  385. package/dist/dropi-ui/p-c2e96728.entry.js +0 -1
  386. package/dist/dropi-ui/p-c664f99f.entry.js +0 -1
  387. package/dist/dropi-ui/p-cfc19ca0.entry.js +0 -1
  388. package/dist/dropi-ui/p-dd4c6b40.entry.js +0 -1
  389. package/dist/dropi-ui/p-e0351b61.entry.js +0 -1
  390. package/dist/dropi-ui/p-e2361547.entry.js +0 -1
  391. package/dist/dropi-ui/p-e25b2680.entry.js +0 -1
  392. package/dist/dropi-ui/p-f95c11f8.entry.js +0 -1
@@ -18,7 +18,11 @@ export class DropiLanguagesSelector {
18
18
  parsedLanguages = [];
19
19
  currentLang = null;
20
20
  languagesChanged(val) {
21
- this.parsedLanguages = typeof val === 'string' ? JSON.parse(val) : val;
21
+ if (val == null) {
22
+ this.parsedLanguages = [];
23
+ return;
24
+ }
25
+ this.parsedLanguages = typeof val === 'string' ? JSON.parse(val) : (val ?? []);
22
26
  if (!this.currentLang && this.parsedLanguages.length > 0) {
23
27
  this.currentLang = this.parsedLanguages[0];
24
28
  }
@@ -5,17 +5,27 @@ const FALLBACK_SVG = `data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53
5
5
  * Displays the Dropi brand logo with size variants.
6
6
  */
7
7
  export class DropiLogo {
8
+ el;
8
9
  /** Logo image URL */
9
10
  urlLogo = '';
10
11
  /** Size variant */
11
12
  size = 'large';
12
13
  /** Theme (reserved for future use) */
13
14
  theme = 'light';
15
+ componentWillLoad() {
16
+ if (!this.urlLogo) {
17
+ this.urlLogo =
18
+ this.el.getAttribute('urlLogo') ||
19
+ this.el.getAttribute('url-logo') ||
20
+ this.el.getAttribute('urllogo') ||
21
+ '';
22
+ }
23
+ }
14
24
  handleError(e) {
15
25
  e.target.src = FALLBACK_SVG;
16
26
  }
17
27
  render() {
18
- return (h("figure", { key: '3e333d272f1f7ee4af549167e5e4f7a713aaa508', class: { 'dropi-logo': true, [`dropi-logo--${this.size}`]: true } }, h("img", { key: 'e3f29c17b649b76da50b769fd88f5de9a86515e3', src: this.urlLogo || FALLBACK_SVG, alt: "Dropi logo", loading: "lazy", onError: (e) => this.handleError(e) })));
28
+ return (h("figure", { key: '479af3da2dc04c7d6e79b99494fce0fb5419af4d', class: { 'dropi-logo': true, [`dropi-logo--${this.size}`]: true } }, h("img", { key: '6b78e7004f4b1dd782e4c17dae7b264fff483875', src: this.urlLogo || FALLBACK_SVG, alt: "Dropi logo", onError: (e) => this.handleError(e) })));
19
29
  }
20
30
  static get is() { return "dropi-logo"; }
21
31
  static get encapsulation() { return "shadow"; }
@@ -93,4 +103,5 @@ export class DropiLogo {
93
103
  }
94
104
  };
95
105
  }
106
+ static get elementRef() { return "el"; }
96
107
  }
@@ -28,9 +28,12 @@ export class DropiMediaPlayer {
28
28
  dropiEnded;
29
29
  componentDidLoad() {
30
30
  if (this.mediaEl) {
31
- this.mediaEl.volume = this.initialVolume;
32
- this.muted = this.initialVolume === 0;
33
- this.volume = this.initialVolume;
31
+ const vol = this.initialVolume ?? 1;
32
+ if (isFinite(vol)) {
33
+ this.mediaEl.volume = vol;
34
+ this.muted = vol === 0;
35
+ this.volume = vol;
36
+ }
34
37
  }
35
38
  document.addEventListener('fullscreenchange', this.handleFullscreenChange);
36
39
  }
@@ -1,4 +1,4 @@
1
- import { h } from "@stencil/core";
1
+ import { h, Build } from "@stencil/core";
2
2
  /**
3
3
  * @component dropi-modal
4
4
  * Modal/dialog with backdrop, close button, and header/content/footer slots.
@@ -41,18 +41,26 @@ export class DropiModal {
41
41
  mounted = false;
42
42
  closeTimer = null;
43
43
  keyHandler = null;
44
- visibleChanged(val) {
45
- val ? this.openModal() : this.startClose();
44
+ visibleChanged(val, oldVal) {
45
+ const isVisible = val === true || String(val) === 'true';
46
+ const wasVisible = oldVal === true || String(oldVal) === 'true';
47
+ if (isVisible === wasVisible)
48
+ return;
49
+ console.log('[DropiModal] visibleChanged:', isVisible);
50
+ isVisible ? this.openModal() : (this.mounted && this.startClose());
46
51
  }
47
52
  componentDidLoad() {
48
- if (this.visible)
53
+ const isVisible = this.visible === true || String(this.visible) === 'true';
54
+ if (isVisible)
49
55
  this.openModal();
50
56
  }
51
57
  disconnectedCallback() {
52
58
  this.removeKeyHandler();
53
59
  if (this.closeTimer)
54
60
  clearTimeout(this.closeTimer);
55
- document.body.style.overflow = '';
61
+ if (typeof document !== 'undefined') {
62
+ document.body.classList.remove('dropi-modal-open');
63
+ }
56
64
  }
57
65
  async hide() {
58
66
  this.visible = false;
@@ -77,8 +85,8 @@ export class DropiModal {
77
85
  this.onShow.emit();
78
86
  }));
79
87
  this.addKeyHandler();
80
- if (this.modal && document.body && document.body.style) {
81
- document.body.style.setProperty('overflow', 'hidden');
88
+ if ((this.modal ?? true) && Build.isBrowser && document.body) {
89
+ document.body.classList.add('dropi-modal-open');
82
90
  }
83
91
  }
84
92
  startClose() {
@@ -92,8 +100,9 @@ export class DropiModal {
92
100
  this.closeTimer = setTimeout(() => {
93
101
  this.mounted = false;
94
102
  this.isClosing = false;
95
- if (document.body && document.body.style) {
96
- document.body.style.setProperty('overflow', '');
103
+ this.closeTimer = null;
104
+ if ((this.modal ?? true) && Build.isBrowser && document.body) {
105
+ document.body.classList.remove('dropi-modal-open');
97
106
  }
98
107
  this.onHide.emit();
99
108
  }, 200);
@@ -114,9 +123,7 @@ export class DropiModal {
114
123
  }
115
124
  }
116
125
  render() {
117
- if (!this.mounted)
118
- return null;
119
- return (h("div", { class: `modal-root modal-root--${this.position}${this.isOpen ? ' modal-root--open' : ''}${this.isClosing ? ' modal-root--closing' : ''}` }, this.modal && h("div", { class: "modal-mask", onClick: () => this.dismissable && this.hide() }), h("div", { class: `modal-panel size-${this.size || 'm'}`, role: "dialog", "aria-modal": "true" }, this.showHeader && (h("div", { class: "modal-header" }, this.header && h("span", { class: "modal-title" }, this.header), h("slot", { name: "header" }), this.showCloseIcon && (h("button", { class: "modal-close", onClick: () => this.hide(), "aria-label": "Cerrar" }, "\u00D7")))), h("div", { class: "modal-content" }, h("slot", null)), this.showFooter && h("div", { class: "modal-footer" }, h("slot", { name: "footer" })))));
126
+ return (h("div", { key: '6f790289cbdcb0cb92040abc471e8dc592f3d0ab', class: `modal-root modal-root--${this.position}${this.isOpen ? ' modal-root--open' : ''}${this.isClosing ? ' modal-root--closing' : ''}`, style: { display: this.mounted || this.isClosing ? 'flex' : 'none' } }, (this.modal ?? true) && h("div", { key: '6667d2df75ac67352346f454452a360a6506473a', class: "modal-mask", onClick: () => this.dismissable && this.hide() }), h("div", { key: '3a5485798cec9e986f411631aee819f10716e441', class: `modal-panel size-${this.size || 'm'}`, role: "dialog", "aria-modal": "true" }, this.showHeader && (h("div", { key: '795afcb76540a52beefd1ca4c0fb80d88156ef98', class: "modal-header" }, this.header && h("span", { key: '3df861b36deca9caaf6c64c54b89dc897f5b9453', class: "modal-title" }, this.header), h("slot", { key: 'b6b1913314b2c05daa299d273ff7b495d4f72c39', name: "header" }), this.showCloseIcon && (h("button", { key: '529dd7e8787a09fc588e28c0c77f0f27c304659f', class: "modal-close", onClick: () => this.hide(), "aria-label": "Cerrar" }, "\u00D7")))), h("div", { key: 'eeeae841372a788a34cee76b38de7689a7a296fc', class: "modal-content" }, h("slot", { key: '83c67fb239b5579169368b5b2ba6c2ee22564a73' })), this.showFooter && h("div", { key: 'd86cd40508a7b6ea3c9cd4583aaa5a69646bb549', class: "modal-footer" }, h("slot", { key: 'f70503acd5f2b5e672700cec46e4e9705d944e22', name: "footer" })))));
120
127
  }
121
128
  static get is() { return "dropi-modal"; }
122
129
  static get encapsulation() { return "shadow"; }
@@ -133,11 +140,11 @@ export class DropiModal {
133
140
  static get properties() {
134
141
  return {
135
142
  "visible": {
136
- "type": "boolean",
143
+ "type": "any",
137
144
  "mutable": true,
138
145
  "complexType": {
139
- "original": "boolean",
140
- "resolved": "boolean",
146
+ "original": "any",
147
+ "resolved": "any",
141
148
  "references": {}
142
149
  },
143
150
  "required": false,
@@ -36,9 +36,9 @@ export class DropiNavbar {
36
36
  }
37
37
  render() {
38
38
  const items = this.parsedData;
39
- return (h("nav", { key: '7309fb8df82f8d3fb17f7bde2791d9442a7b07b3', class: "navbar" }, h("div", { key: 'a32dc538c37aef53bc25146ff4a42a5ee0a68a48', class: "navbar__left" }, this.showMenuToggle && (h("button", { key: '943f67d583ba37abb09bdf9db816ff06871591d6', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, h("dropi-icon", { key: '5e1365b03f3aaeb1515fbd206ebd868706897818', name: "Menu", width: "20px", height: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (h("img", { key: '1572e5f2ccd930caba4c207a7f945b5e54709c9b', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt })), this.title && h("span", { key: '9822f3e3d05eca7aee36ca4a0d41ea0d7a1b0971', class: "navbar__title" }, this.title)), items.length > 0 && (h("ul", { key: '6734921e0d83825c0dca5681b35c4a98e85dd33f', class: "navbar__items" }, items.map(item => (h("li", null, h("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.clickLoadItem.emit(item), type: "button" }, item.icon && h("dropi-icon", { name: item.icon, width: "16px", height: "16px", color: item.id === this.activeId ? 'Primary-Primary-500' : 'Gray-Gray-600' }), h("span", null, item.name?.value || item.label), item.badge != null && String(item.badge) !== '0' && (h("span", { class: "navbar__badge" }, item.badge)))))))), h("div", { key: '2efb80c64b439bb8af4bfaad2af2a2e82eac8dbf', class: "navbar__right" }, h("button", { key: 'd07cf88c4ea1714187f0e0d9b4fb90b828d5ee10', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, h("dropi-icon", { key: '7f0c09a30363fcf4cd019250261e2f5f0fd362c1', name: "Bell", width: "20px", height: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (h("span", { key: '916b683d0e12ee0d5851b8c53a0cefffbd15b59a', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), h("button", { key: 'adda21458f6f7aac056beac14d59dcbe0a5c6cb5', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
39
+ return (h("nav", { key: '15c337396dbe445ac7a13d7e0f2d99f88b4de439', class: "navbar" }, h("div", { key: '922a217dfe53f3f34dd6746033996bcd71dadfb2', class: "navbar__left" }, this.showMenuToggle && (h("button", { key: 'db80ad1fd6f47807196c81ae60bf9cea8bb16e77', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, h("dropi-icon", { key: 'c35615cbfd5dc807def32957062ea25b059664b5', name: "Menu", width: "20px", height: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (h("img", { key: 'ffc532e501bc7bc0a5625c865955a43c84857a58', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt })), this.title && h("span", { key: '7fb10d4a5e42030a7701bf0933587ecdaf5ab20b', class: "navbar__title" }, this.title)), items.length > 0 && (h("ul", { key: '338118e694ca0a46d94fee60211302efe8bbee51', class: "navbar__items" }, items.map(item => (h("li", null, h("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.clickLoadItem.emit(item), type: "button" }, item.icon && h("dropi-icon", { name: item.icon, width: "16px", height: "16px", color: item.id === this.activeId ? 'Primary-Primary-500' : 'Gray-Gray-600' }), h("span", null, item.name?.value || item.label), item.badge != null && String(item.badge) !== '0' && (h("span", { class: "navbar__badge" }, item.badge)))))))), h("div", { key: 'f2ac52b78963fa9165b6614a7abaa6fe822b2a89', class: "navbar__right" }, h("button", { key: '4e78c3fbc69899f8b1f0206dc27372c3c0d15c31', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, h("dropi-icon", { key: 'a94bbd4aa73b7be9a735b31b92d882c53616f8e6', name: "Bell", width: "20px", height: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (h("span", { key: 'c2157fca16e1c3f992562027d4dfeb348ef7ad23', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), h("button", { key: 'ba2cb25cda984ba8ea180ff8edb3d3ffc955ab27', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
40
40
  ? h("img", { class: "navbar__avatar", src: this.userAvatar, alt: this.userName })
41
- : h("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && h("span", { key: '0a59f395793ceede59e52ef92ac37c71f6099f24', class: "navbar__user-name" }, this.userName), h("dropi-icon", { key: '8f430373d4a8f887a8c5da89f86bb3cc0aa5205a', name: "Arrow-Down-2", width: "12px", height: "12px", color: "Gray-Gray-400" })))));
41
+ : h("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && h("span", { key: '11b4c378a089644e63d6186fe40e31ca7b4ab924', class: "navbar__user-name" }, this.userName), h("dropi-icon", { key: 'c2a140081f5ad014b73d35f45476cc1ac41391b5', name: "Arrow-Down-2", width: "12px", height: "12px", color: "Gray-Gray-400" })))));
42
42
  }
43
43
  static get is() { return "dropi-navbar"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -41,10 +41,10 @@ export class DropiOtpSendCode {
41
41
  }
42
42
  handleInput(e, index) {
43
43
  const val = e.target.value.replace(/\D/g, '').slice(-1);
44
- const newDigits = [...this.digits];
44
+ const newDigits = [...(this.digits ?? Array(OTP_LENGTH).fill(''))];
45
45
  newDigits[index] = val;
46
46
  this.digits = newDigits;
47
- const newStates = [...this.digitStates];
47
+ const newStates = [...(this.digitStates ?? Array(OTP_LENGTH).fill('idle'))];
48
48
  newStates[index] = val ? 'filled' : 'idle';
49
49
  this.digitStates = newStates;
50
50
  if (val && index < OTP_LENGTH - 1)
@@ -54,7 +54,7 @@ export class DropiOtpSendCode {
54
54
  }
55
55
  }
56
56
  handleKeyDown(e, index) {
57
- if (e.key === 'Backspace' && !this.digits[index] && index > 0) {
57
+ if (e.key === 'Backspace' && !(this.digits ?? [])[index] && index > 0) {
58
58
  this.inputs[index - 1]?.focus();
59
59
  }
60
60
  }
@@ -71,14 +71,14 @@ export class DropiOtpSendCode {
71
71
  }
72
72
  render() {
73
73
  const engineLabel = this.engine === 'sms' ? 'SMS' : this.engine === '2fa' ? 'autenticador' : 'correo';
74
- return (h("div", { key: 'cc04c9f7a77e627f0ca7cf25fbd0316e05a7456c', class: "otp" }, this.showLabelContact && (h("p", { key: 'b4c060cdc5c9fa00887b675585c64325f5eefcf3', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '02b82a168f9f4c9e7dda74cbf3a86b0f63ccd878' }, " ", this.labelContact))), h("div", { key: '9a628fd456ec89892b126782104235545f2d3e8c', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, Array.from({ length: OTP_LENGTH }, (_, i) => (h("input", { key: i, ref: (el) => {
74
+ return (h("div", { key: '3cfe0d64890b2c90f500c662fe8572f9630d614b', class: "otp" }, this.showLabelContact && (h("p", { key: 'd791c408a5393ae82e00e758b67530d4b21381ac', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '3d6ca9c3a00a71ba99800a94f1b95d3247d75522' }, " ", this.labelContact))), h("div", { key: '22d172d48ae8748fa27aaead4c65145d848ae4f2', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, Array.from({ length: OTP_LENGTH }, (_, i) => (h("input", { key: i, ref: (el) => {
75
75
  if (el)
76
76
  this.inputs[i] = el;
77
77
  }, class: {
78
78
  'otp__digit': true,
79
- 'otp__digit--filled': this.digitStates[i] === 'filled',
79
+ 'otp__digit--filled': (this.digitStates ?? [])[i] === 'filled',
80
80
  'otp__digit--error': this.error,
81
- }, 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: 'e1d3e33e3eae69255909f47735210a2123f099d9', class: "otp__error" }, this.errorMessage)), h("div", { key: 'ebfc8892f232f90afdcec507de4019b1aea2e915', 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")))));
81
+ }, 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: 'c6434be80f44e6f8a277bdff49503f67db5cdca7', class: "otp__error" }, this.errorMessage)), h("div", { key: '281e56d25ec3b01136aae2220605037d4dff4e16', 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")))));
82
82
  }
83
83
  static get is() { return "dropi-otp-send-code"; }
84
84
  static get encapsulation() { return "shadow"; }
@@ -54,9 +54,9 @@ export class DropiPaginator {
54
54
  const pages = this.pageNumbers;
55
55
  const isFirst = this.currentPage <= 1;
56
56
  const isLast = this.currentPage >= this.totalPages;
57
- return (h("div", { key: '5f69b3abd4ddf98c2ab5df9c20361ba7f71addac', class: "paginator" }, h("div", { key: 'c050104ff12ec9c8b0cca40a75e0538cdd43d1e5', class: "paginator-pages" }, !isFirst && !this.noLabels && (h("button", { key: 'b03958b21bd015c6e80356172bea98f980c9eab4', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(1), "aria-label": "Primera p\u00E1gina", disabled: this.disabled }, h("dropi-icon", { key: 'c1670fe542a342765f79efde0ac3bd754dad4798', name: "Arrow-double-small-left", width: "16px", height: "16px", color: "Gray-Gray-600" }))), !isFirst && (h("button", { key: '170d5b6c0f1f105682d9a8bd69d95d445af1c5ac', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage - 1), "aria-label": "Anterior", disabled: this.disabled }, h("dropi-icon", { key: 'a5233c1025b3a7c96ae3d8a30a7a38fe4d009ce8', name: "Dropdown-left", width: "16px", height: "16px", color: "Gray-Gray-600" }), !this.noLabels && h("span", { key: '074c645f02a26e1a1607aaccaa2a6c25b2d2e17a', class: "paginator-label" }, "Anterior"))), pages.map((p, i) => p === '...'
57
+ return (h("div", { key: 'b601f88e4f971f885835d81fe876303fe97027c7', class: "paginator" }, h("div", { key: '988ffb7ed122d4a666af4525bc85159d8d36538a', class: "paginator-pages" }, !isFirst && !this.noLabels && (h("button", { key: '920a1a407782bde436fb6560caeb39848e9c7e28', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(1), "aria-label": "Primera p\u00E1gina", disabled: this.disabled }, h("dropi-icon", { key: '67bc6ba66852a8883a19b2a3182be3cb298f2c8d', name: "Arrow-double-small-left", width: "16px", height: "16px", color: "Gray-Gray-600" }))), !isFirst && (h("button", { key: 'b1d0c5a8f66056cb53c31b01959177754632a906', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage - 1), "aria-label": "Anterior", disabled: this.disabled }, h("dropi-icon", { key: '951435cbf9b7a8b9bd0e0f33d2c9eacaea6e7af1', name: "Dropdown-left", width: "16px", height: "16px", color: "Gray-Gray-600" }), !this.noLabels && h("span", { key: 'fed8a203b3e62f5da3e6fa055b1ee6e35453147c', class: "paginator-label" }, "Anterior"))), pages.map((p, i) => p === '...'
58
58
  ? h("span", { class: "paginator-ellipsis", key: `e${i}` }, "\u2026")
59
- : h("button", { key: p, class: { 'paginator-btn': true, 'paginator-btn--active': p === this.currentPage }, onClick: () => this.goTo(p), "aria-current": p === this.currentPage ? 'page' : undefined, disabled: this.disabled }, p)), !isLast && (h("button", { key: 'd02f057415086137540417bcd5762bc2f955885f', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage + 1), "aria-label": "Siguiente", disabled: this.disabled }, !this.noLabels && h("span", { key: '4bfc14f3fa8ce553a61702bd5323b9554c99b05e', class: "paginator-label" }, "Siguiente"), h("dropi-icon", { key: 'c9e532e95dc78ac8e91ef43d64d98ef75a4b5fb8', name: "Dropdown-Right", width: "16px", height: "16px", color: "Gray-Gray-600" }))), !isLast && !this.noLabels && (h("button", { key: 'fe498a605de588ce33ed4597fa09d6659f555790', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.totalPages), "aria-label": "\u00DAltima p\u00E1gina", disabled: this.disabled }, h("dropi-icon", { key: '1e0d64045e390c5f934ea2c70c4ccc8f0c542b8a', name: "Arrow-double-small-right", width: "16px", height: "16px", color: "Gray-Gray-600" }))))));
59
+ : h("button", { key: p, class: { 'paginator-btn': true, 'paginator-btn--active': p === this.currentPage }, onClick: () => this.goTo(p), "aria-current": p === this.currentPage ? 'page' : undefined, disabled: this.disabled }, p)), !isLast && (h("button", { key: '35a728e031880403ee0ff984484237ab701bd406', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.currentPage + 1), "aria-label": "Siguiente", disabled: this.disabled }, !this.noLabels && h("span", { key: '4a73ba225105e449f8dfe8a504c5b1ad3e9c31cd', class: "paginator-label" }, "Siguiente"), h("dropi-icon", { key: '7b140df9437922acc8c24d6ee1ff15d69ce7b7f1', name: "Dropdown-Right", width: "16px", height: "16px", color: "Gray-Gray-600" }))), !isLast && !this.noLabels && (h("button", { key: '6157fa189ca011be4c13da803d2cd110d882bb8e', class: { 'paginator-btn': true, 'paginator-btn--arrow': true }, onClick: () => this.goTo(this.totalPages), "aria-label": "\u00DAltima p\u00E1gina", disabled: this.disabled }, h("dropi-icon", { key: '7b6c1b31d4caed8203b739cc10f3084568e40f10', name: "Arrow-double-small-right", width: "16px", height: "16px", color: "Gray-Gray-600" }))))));
60
60
  }
61
61
  static get is() { return "dropi-paginator"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -147,7 +147,7 @@ export class DropiPhoneInput {
147
147
  this.selectedOptionChanged(this.selectedOption);
148
148
  }
149
149
  get selectedCountry() {
150
- const cleanCodArea = this.codArea.replace('+', '');
150
+ const cleanCodArea = (this.codArea ?? '57').replace('+', '');
151
151
  return COUNTRIES.find(c => c.code === cleanCodArea) ?? COUNTRIES[0];
152
152
  }
153
153
  selectCountry(c) {
@@ -171,10 +171,10 @@ export class DropiPhoneInput {
171
171
  render() {
172
172
  const country = this.selectedCountry;
173
173
  const isInvalid = this.isValidPhone === false;
174
- return (h("div", { key: '884ddc86a364c666e79c2e99501c607a5c332599', class: "phone-wrap" }, h("div", { key: 'e0b044ac41b640cddffe080c695b7fe2d4add574', class: "phone-input-container" }, h("div", { key: 'f9f8b6794fb73efff50e064550ce462e25bb4d51', class: "custom-select" }, h("button", { key: '564675d4b89d33cc7cba743f77b4d96f7f6afea3', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
174
+ 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: () => {
175
175
  if (!this.disabledInput)
176
176
  this.open = !this.open;
177
- } }, h("span", { key: '884a8a6d688e9fae8bc62ace8ba1f870f3ebdedf', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: '4c263356870f8d2aaaa84ffe5f1a1bff49f98e34', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: '589ff50ef5881a58586e9b08d9db3e0abcde5873', name: this.open ? 'Dropdown-up' : 'Dropdown-down', width: "14px", height: "14px", color: "Gray-Gray-500" })), h("ul", { key: 'fed2ed2efc5be49ebeb8fe8c36557914eff439c7', 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: 'dcefc1987643eab23dc5d9fbf211804fa90a9d82', 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) }))));
177
+ } }, 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: '0ace7b7188e846793d66373ea3d2c2d8ae881c24', name: this.open ? 'Dropdown-up' : 'Dropdown-down', width: "14px", height: "14px", color: "Gray-Gray-500" })), h("ul", { key: '832b37902ce54aac152e956d671fb6f899781029', 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: 'eaf32641b019e1ffd3fe5a1d7a3c4597e1cd0cb5', 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) }))));
178
178
  }
179
179
  static get is() { return "dropi-phone-input"; }
180
180
  static get encapsulation() { return "shadow"; }
@@ -28,7 +28,7 @@ export class DropiRadioButton {
28
28
  this.onChange.emit(e);
29
29
  }
30
30
  render() {
31
- return (h("div", { key: '560f5edef6d0646d8797dfc3add17003ea847d0b', class: "dropi-radio-button" }, h("label", { key: 'aeb5159c64643485457ffe083bbeb78a97da8b50', htmlFor: this.id }, h("input", { key: '78ff657aee559c1230e2e16c01adfea0382e4979', id: this.id, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
31
+ 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)));
32
32
  }
33
33
  static get is() { return "dropi-radio-button"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -35,10 +35,10 @@ export class DropiRadioSelectionList {
35
35
  return this.parsedOptions.filter(o => o.name?.toLowerCase().includes(q));
36
36
  }
37
37
  render() {
38
- return (h("div", { key: '25a4a4fcdb6915f6f09a33339adad159b49cba23', class: "rsl" }, this.showFilter && (h("div", { key: '5aa576318ea9f8b848728684aaef96f58e4fee7b', class: "rsl__search" }, h("dropi-icon", { key: '5c025e7a773ee5595e5beb86d337f5c0c9247c21', name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { key: '794a9fdab94dc32b9af1ebb4bef9f5864ef0613c', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
38
+ return (h("div", { key: '7fdbf3d20a030a78ab4f48e7dba8333a34b1017b', class: "rsl" }, this.showFilter && (h("div", { key: '12e2abb8f8ed76c6b3231f28b63c842ba3c3c326', class: "rsl__search" }, h("dropi-icon", { key: '4f6a63480a811ed22d67485274b7edf3bf9765f4', name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { key: 'c1f1c5942d422fceaa967640b7795a981896d68d', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
39
39
  this.filterText = e.target.value;
40
40
  this.onSearch.emit({ searchValue: this.filterText, filteredOptions: this.filtered });
41
- } }))), h("div", { key: 'bd450fdec58e77782d5617f6225870d4dbb38d9c', class: "rsl__list" }, this.filtered.map(opt => {
41
+ } }))), h("div", { key: '425b4048cbf4fa4a22c13d932f296cb594ffe993', class: "rsl__list" }, this.filtered.map(opt => {
42
42
  const isSelected = opt.id === this.selectedOption;
43
43
  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)))));
44
44
  }))));
@@ -28,7 +28,7 @@ export class DropiReadMore {
28
28
  }
29
29
  render() {
30
30
  const showToggle = this.needsTruncation && (this.expanded ? this.showSeeLess : true);
31
- return (h("div", { key: 'ae43f258e0254cc03f87436486b0bfecc55bc23c', class: "read-more" }, h("p", { key: '7b56af2b2bd8e068bb28bfd0e5184da9e7abafd2', class: "read-more__text", style: this.textStyle ? this.textStyle : undefined }, this.displayText, showToggle && (h("button", { key: 'd1a0a8eae3431c35b9bac8cfb9b47102f18cf2f0', class: "read-more__toggle", style: this.buttonStyle ? this.buttonStyle : undefined, onClick: () => this.expanded = !this.expanded }, this.expanded ? ' Ver menos' : '... Ver más')))));
31
+ 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')))));
32
32
  }
33
33
  static get is() { return "dropi-read-more"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -99,10 +99,10 @@ export class DropiSearch {
99
99
  }
100
100
  render() {
101
101
  const showDropdown = this.open && this.parsedOptions.length > 0;
102
- return (h("div", { key: '3a191ce6fcdede699dcc707411c4f901a4c16e49', class: "search-wrap" }, this.label && h("label", { key: '41049aa159d5bdb89d07b94821bbfe41bb12c2c7', class: "search-label" }, this.label), h("div", { key: 'fba00db1ed11f78cefc0a12ca4d3be780989a48e', class: `search-input-row search-input-row--${this.type}` }, this.showIcon && h("dropi-icon", { key: '7b9d9a9c91eb88161492e4fb8f0c87e89c0f24cb', class: "search-icon", name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { key: '0340848a8c7cdb336fca7e70a863b83a8e8e31ef', 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: () => {
102
+ 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: 'c1c442a8fed018f774d6addc9dcaf3d1e89d6121', class: "search-icon", name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), h("input", { key: 'd22791b1864320c54060827cc601bbc242d6c37d', 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: () => {
103
103
  if (this.parsedOptions.length)
104
104
  this.open = true;
105
- }, onBlur: () => { setTimeout(() => this.open = false, 150); this.onBlur.emit(); } }), this.showClear && this.textInput && (h("button", { key: '80b5c05828f5f67c861b2f05db4e11f3282c995c', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, h("dropi-icon", { key: 'b83d1998021e65431225e73d1edd0388e01b07ce', name: "Close-small", width: "16px", height: "16px", color: "Gray-Gray-400" })))), showDropdown && (h("div", { key: '1800618fb2f8f2a47c9a8ddbb9c9649c254a03d2', 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])))))))));
105
+ }, onBlur: () => { setTimeout(() => this.open = false, 150); this.onBlur.emit(); } }), this.showClear && this.textInput && (h("button", { key: '55e8653e330b06d488c6d65f6a8ffe6465a24289', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, h("dropi-icon", { key: '0c154c2a95119caefe84bd9cfc40860d4b722137', name: "Close-small", width: "16px", height: "16px", color: "Gray-Gray-400" })))), showDropdown && (h("div", { key: 'a4b4691ff29a427755f19c4bc4932f2634736701', 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])))))))));
106
106
  }
107
107
  static get is() { return "dropi-search"; }
108
108
  static get encapsulation() { return "shadow"; }
@@ -127,6 +127,10 @@ export class DropiSelect {
127
127
  this.applyDefaultSelection();
128
128
  }
129
129
  normalizeOptions() {
130
+ if (!this.options) {
131
+ this.options = [];
132
+ return;
133
+ }
130
134
  if (typeof this.options === 'string') {
131
135
  try {
132
136
  this.options = JSON.parse(this.options);
@@ -355,7 +359,7 @@ export class DropiSelect {
355
359
  ]), !this.isGrouped && this.filteredOptions.map(opt => this.renderOption(opt)), this.filteredOptions.length === 0 && (h("li", { class: "no-results" }, "Sin resultados"))));
356
360
  }
357
361
  render() {
358
- return (h("div", { key: 'daa9915ec481b2a7d1bb6a74abf9c5ac7f5c8abd', class: "custom-select" }, !this.dropdownType && this.label && (h("label", { key: '184da51081bd5f31220670dd846c07dab8b8caea', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && h("span", { key: '5bfe13da6e2cd1cbf151a87b6cf987d20581afbe', class: "asterisk" }, " *"))), h("div", { key: 'e5c55f5d269cd0c6fe532b18e5b12e86399504ae', class: "dropdown-container" }, this.dropdownType && this.label && (h("div", { key: 'b49dd08e94004da615553a6ffd85097a16357c0e', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (h("div", { key: '28d9fa19c9c5f8d4fbea5643e606cae70613dcee', class: "select-helper" }, h("span", { key: '078e8b23953a41e8cd99eab055322ceb543afeb3' }, this.textHelper))), this.hasError && this.errorText && (h("div", { key: '746c5293426a3bbe8327e349a484465a4995b135', class: "select-helper-error" }, h("dropi-icon", { key: '34d227f3e0d92c490f617d1624b5ef84c2647df5', name: "Warning-circle", width: "12px", height: "12px", color: "Error-Error-500" }), h("span", { key: 'd90c7e1fd0e8c7c40d35ec7dc9e4648d448bf559' }, this.errorText))), this.renderDropdown()));
362
+ return (h("div", { key: '932cad965441a784f51d6b82ffc5a100cf438fb6', class: "custom-select" }, !this.dropdownType && this.label && (h("label", { key: '1c46242dcbd7862b32a36e2132bc4689b3c95aab', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && h("span", { key: '79e2df6ae0a55c4e51ff7354486903d58bdb7d36', class: "asterisk" }, " *"))), h("div", { key: 'd4a48dcc513b5ae7171598709b0d00c3ffd7f42b', class: "dropdown-container" }, this.dropdownType && this.label && (h("div", { key: 'f9d8b6f87dcc8438c00ec04edabe10ebb2cceb79', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (h("div", { key: 'e8cc2e4ccb3a5919fe30411003153bfe6434b0d0', class: "select-helper" }, h("span", { key: '2fe857a4efac70882ec58835534bb22739c4fb26' }, this.textHelper))), this.hasError && this.errorText && (h("div", { key: 'e357992bf4a391052fe3a8444b24777292f71bf0', class: "select-helper-error" }, h("dropi-icon", { key: '9a32ef1f5ae2ccf18996bdc451e5de4e2c923a0a', name: "Warning-circle", width: "12px", height: "12px", color: "Error-Error-500" }), h("span", { key: '919259f76022b34162f680234a3c1cf93492666b' }, this.errorText))), this.renderDropdown()));
359
363
  }
360
364
  static get is() { return "dropi-select"; }
361
365
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class DropiSidebar {
42
42
  this.onIndexChanged.emit(itemClicked);
43
43
  }
44
44
  render() {
45
- return (h("div", { key: '713a17f5279e5ca1a7110fdbf189e24e199b11cf', class: "main-sidebar-container" }, this.parsedProperties.map(item => {
45
+ return (h("div", { key: '9f79e6370ff61c6278a8238b0dc92881832f9b8f', class: "main-sidebar-container" }, this.parsedProperties.map(item => {
46
46
  return [
47
47
  /* Item Principal */
48
48
  h("div", { class: {
@@ -30,7 +30,7 @@ export class DropiSimpleStepper {
30
30
  render() {
31
31
  const labels = this.parsedLabels;
32
32
  const steps = Array.from({ length: this.stepsCount }, (_, i) => i + 1);
33
- return (h("div", { key: 'e4613f72ea46ed367287005c573c80e7deac1470', class: "stepper" }, steps.map((step, i) => {
33
+ return (h("div", { key: 'f67f6e9404bf67700c46b987923836d5251ae1c4', class: "stepper" }, steps.map((step, i) => {
34
34
  const isCompleted = step < this.currentStep;
35
35
  const isActive = step === this.currentStep;
36
36
  const isLast = i === steps.length - 1;
@@ -17,7 +17,7 @@ export class DropiSkeleton {
17
17
  /** Base color of the shimmer gradient. Accepts hex (#f6f7f8) or token name (Gray-Gray-100) */
18
18
  baseColor = '#f6f7f8';
19
19
  getBackground() {
20
- const color = this.baseColor.startsWith('#') ? this.baseColor : `var(--${this.baseColor})`;
20
+ const color = (this.baseColor ?? '#f6f7f8').startsWith('#') ? (this.baseColor ?? '#f6f7f8') : `var(--${this.baseColor})`;
21
21
  return `linear-gradient(to right, ${color} 8%, #e3e7efe7 28%, ${color} 77%)`;
22
22
  }
23
23
  getRadius() {
@@ -35,7 +35,7 @@ export class DropiSteps {
35
35
  render() {
36
36
  const labels = this.parsedLabels;
37
37
  const steps = Array.from({ length: this.stepsCount }, (_, i) => i + 1);
38
- return (h("div", { key: 'cc54b22068478a85a29603e05d618c66ec1d2218', class: "stepper" }, steps.map((step) => {
38
+ return (h("div", { key: '35c28210675370e76f16e2525fdf785b6205ec78', class: "stepper" }, steps.map((step) => {
39
39
  const state = this.stepState(step);
40
40
  const label = labels[step - 1];
41
41
  const isLast = step === this.stepsCount;
@@ -16,7 +16,7 @@ export class DropiSwitch {
16
16
  this.onChange.emit(this.isChecked);
17
17
  }
18
18
  render() {
19
- return (h("label", { key: '15d604adb71cbe0c4d7e3627b8ee58380749c4df', class: "toggle-switch" }, h("input", { key: '5ff458aa0c536d88e2ee44576e7b5cbfdb15e990', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), h("span", { key: 'a0dbc3f038af17fcea903fccd5f1e1638192c89a', class: "slider" })));
19
+ return (h("label", { key: 'c12214e051cfd7ca50d0df9fb3374ee9f3b72c1a', class: "toggle-switch" }, h("input", { key: '2821a935d4614447900d35028261b5c6620c104f', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), h("span", { key: '1370a1ea4b9bb48849f9d998eac3a36ac3fa75b6', class: "slider" })));
20
20
  }
21
21
  static get is() { return "dropi-switch"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -117,6 +117,9 @@ export class DropiTable {
117
117
  }
118
118
  }
119
119
  componentWillLoad() {
120
+ // SSR hydration guard: if no data props provided, preserve server-rendered DOM
121
+ if (this.data == null && this.rows == null && this.headers == null && this.columns == null)
122
+ return;
120
123
  // headers/data take precedence over columns/rows when provided
121
124
  const headersSrc = (Array.isArray(this.headers) ? this.headers : []).length
122
125
  ? this.headers : this.columns;
@@ -128,7 +131,8 @@ export class DropiTable {
128
131
  this.rowActionsChanged(this.rowActions);
129
132
  }
130
133
  get visibleColumns() {
131
- return this.parsedColumns.filter(c => !this.hiddenColumns.has(c.key));
134
+ const hidden = this.hiddenColumns ?? new Set();
135
+ return (this.parsedColumns ?? []).filter(c => !hidden.has(c.key));
132
136
  }
133
137
  get filteredRows() {
134
138
  if (!this.searchTerm)
@@ -218,31 +222,34 @@ export class DropiTable {
218
222
  return h("span", { class: "table-labels" }, String(value));
219
223
  }
220
224
  render() {
225
+ // SSR hydration: if parsedRows not yet initialized, preserve server-rendered shadow DOM
226
+ if (this.parsedRows === undefined)
227
+ return null;
221
228
  const rows = this.pagedRows;
222
229
  const allSelected = rows.length > 0 && this.selectedKeys.size === rows.length;
223
230
  const hasActions = this.parsedRowActions.length > 0;
224
231
  const cols = this.visibleColumns;
225
- return (h("div", { key: '0568597a39d8f4b111c99e38a3559c0ebabe3f7d', class: "table-container" }, (this.showSearch || this.showColumnSelector || this.title) && (h("div", { key: '6b47b6eb27cb3354fae130a642515ee4efbe96e6', class: "search-container" }, this.title && h("h3", { key: 'e88c0cfccd3008cebd479069e6ebf28135aa30dc', class: "table-title" }, this.title), h("div", { key: '9798ab26988d090edd5c14c0dc62c9d0273995cf', class: `search-actions${this.showSearch ? '' : ' only-filter'}` }, this.showSearch && (h("dropi-input", { key: 'c8871b9eae75d6fb24d4161c2e38278697d23ac0', placeholder: "Buscar", value: this.searchTerm, onOnInput: (e) => {
232
+ return (h("div", { class: "table-container" }, (this.showSearch || this.showColumnSelector || this.title) && (h("div", { class: "search-container" }, this.title && h("h3", { class: "table-title" }, this.title), h("div", { class: `search-actions${this.showSearch ? '' : ' only-filter'}` }, this.showSearch && (h("dropi-input", { placeholder: "Buscar", value: this.searchTerm, onOnInput: (e) => {
226
233
  this.searchTerm = e.detail;
227
234
  this.dropiSearch.emit(e.detail);
228
235
  this.onSearchChange.emit(e.detail);
229
- } })), this.showColumnSelector && (h("div", { key: 'dc96780a72dca620aa1ed7349f59d837a31602fc', class: "table-tools" }, h("div", { key: 'e0b71a0018af5bba4e56b51e5df98c149f547b22', class: "column-selector-container" }, h("button", { key: '3b5639c4df44eb5f15d69999dae601e639afa2e4', class: "column-selector-btn", onClick: () => this.showColumnMenu = !this.showColumnMenu }, h("dropi-icon", { key: '3c8eb5df52c0494b1080d2e5fc6cf8b219b7b56d', name: "list-table", width: "20px", height: "20px", color: "Gray-Gray-500" })), this.showColumnMenu && (h("div", { key: 'a8229fa0100fe68a4b232a06584c3de1a9a90b6f', class: "column-selector-menu" }, this.parsedColumns.map(col => (h("div", { class: "column-selector-option", onClick: () => {
236
+ } })), this.showColumnSelector && (h("div", { class: "table-tools" }, h("div", { class: "column-selector-container" }, h("button", { class: "column-selector-btn", onClick: () => this.showColumnMenu = !this.showColumnMenu }, h("dropi-icon", { name: "list-table", width: "20px", height: "20px", color: "Gray-Gray-500" })), this.showColumnMenu && (h("div", { class: "column-selector-menu" }, this.parsedColumns.map(col => (h("div", { class: "column-selector-option", onClick: () => {
230
237
  const next = new Set(this.hiddenColumns);
231
238
  if (next.has(col.key))
232
239
  next.delete(col.key);
233
240
  else
234
241
  next.add(col.key);
235
242
  this.hiddenColumns = next;
236
- } }, h("dropi-checkbox", { checked: !this.hiddenColumns.has(col.key) }), h("span", null, col.label)))), h("div", { key: '6a8fa71f8540202baaa24e2facf797149efd353b', class: "column-selector-footer" }, h("div", { key: '70b646908dcd172ae459cca680b0dcc7c5663cb8', class: "column-selector-all", onClick: () => {
243
+ } }, h("dropi-checkbox", { checked: !this.hiddenColumns.has(col.key) }), h("span", null, col.label)))), h("div", { class: "column-selector-footer" }, h("div", { class: "column-selector-all", onClick: () => {
237
244
  this.hiddenColumns = this.hiddenColumns.size === 0
238
245
  ? new Set(this.parsedColumns.map(c => c.key))
239
246
  : new Set();
240
- } }, h("dropi-checkbox", { key: '295ad4f783c7a1737d7ad0e488881b37919c40f6', checked: this.hiddenColumns.size === 0 }), h("span", { key: '838ffe74c4c35363127e9e5daacc25da8cccf76d' }, "Mostrar / Ocultar todo"))))))))))), h("div", { key: '9cd8d7cc6ce997d53b3459065b5b8bef275ec5ea', class: `table-wrapper${hasActions ? ' has-sticky-actions' : ''}` }, h("table", { key: 'dd65672ad724cc2becf91099383b2892022b9f25', class: `custom-table${this.showCheckbox ? ' has-checkbox' : ''}` }, h("thead", { key: 'd509b97f349b30e08380a3d1e7470d609e854539' }, h("tr", { key: 'f5e27a7b1e191e569f2a396bcaf118e338ff36a6' }, this.showCheckbox && (h("th", { key: 'c99ac20618519207e15556b706c4872bc92edf42', class: "checkbox-header" }, h("dropi-checkbox", { key: 'affd77ad7b0fdaece95e83993d6acff582161cf5', checked: allSelected, onOnChange: (e) => this.toggleAll(e.detail) }))), cols.map(col => (h("th", { class: { sortable: !!col.sortable, 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { textAlign: col.align || 'center' }, onClick: () => this.handleSort(col) }, h("div", { class: `headers-container${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("div", { class: `headers${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("span", null, col.label), col.sortable && (h("div", { class: "order-icons" }, h("dropi-icon", { name: "Caret-up", width: "12px", height: "12px", color: this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' }), h("dropi-icon", { name: "Caret-down", width: "12px", height: "12px", color: !this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' })))))))), hasActions && h("th", { key: 'ad41355f347d7d94ea6de4ddfa4e23ebffd7a7b8', class: "actions-header actions" }, "Acciones"))), h("tbody", { key: '7f3dfbd3fd7aa0b29eb55c5a5825492a1ed0e063' }, this.loading ? (Array.from({ length: 5 }).map(() => (h("tr", { class: "table-row" }, this.showCheckbox && h("td", null, h("div", { class: "skeleton skeleton--sm" })), cols.map(() => h("td", null, h("div", { class: "skeleton" }))), hasActions && h("td", null))))) : rows.length === 0 ? (h("tr", null, h("td", { colSpan: cols.length + (this.showCheckbox ? 1 : 0) + (hasActions ? 1 : 0) }, h("div", { class: "empty-table" }, h("div", { class: "empty-message-container" }, this.emptyMessage))))) : (rows.map((row, i) => (h("tr", { class: "table-row", onClick: () => this.dropiRowClick.emit({ row, index: i }) }, this.showCheckbox && (h("td", { onClick: (e) => e.stopPropagation() }, h("dropi-checkbox", { checked: this.selectedKeys.has(i), onOnChange: () => this.toggleRow(i) }))), cols.map(col => (h("td", { class: { 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn } }, h("div", { class: "cell-content", style: { textAlign: col.align || 'center' } }, this.renderCellValue(row[col.key]))))), hasActions && (h("td", { class: "action-button actions", onClick: (e) => e.stopPropagation() }, this.parsedRowActions.length > 3 ? (h("div", { style: { display: "flex", justifyContent: "center", width: "100%" } }, h("dropi-icon", { class: "action-icon", name: "Menu-dots-vertical", width: "24px", height: "24px", color: "Gray-Gray-500", onClick: () => this.openActionRow = this.openActionRow === i ? -1 : i }), this.openActionRow === i && (h("div", { class: "actions-menu" }, this.parsedRowActions.map(action => (h("div", { class: "action-item", onClick: () => { this.openActionRow = -1; this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } }, h("dropi-icon", { name: action.icon, width: "20px", height: "20px", color: action.iconColor || 'Gray-Gray-500' }), action.label))))))) : (h("div", { class: "short-actions" }, this.parsedRowActions.map(action => (h("dropi-icon", { class: "action-icon", name: action.icon, width: "24px", height: "24px", color: action.iconColor || 'Gray-Gray-500', onClick: () => { this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } })))))))))))))), this.showPaginator && (h("div", { key: '20e2f504d995f8875e42ceedfeb3977d777044a6', class: "pagination" }, h("div", { key: '898f69b7801af32df0bdfa9a23cfc7fc5adcac84', class: "page-size-selector" }, h("label", { key: '4871de9ed4a35fa60ac2ac824c96a278ffdf7496' }, "Mostrar"), h("select", { key: '8c2cb250c724ff0914c69135c054c25c9aa857f2', onChange: (e) => {
247
+ } }, h("dropi-checkbox", { checked: this.hiddenColumns.size === 0 }), h("span", null, "Mostrar / Ocultar todo"))))))))))), h("div", { class: `table-wrapper${hasActions ? ' has-sticky-actions' : ''}` }, h("table", { class: `custom-table${this.showCheckbox ? ' has-checkbox' : ''}` }, h("thead", null, h("tr", null, this.showCheckbox && (h("th", { class: "checkbox-header" }, h("dropi-checkbox", { checked: allSelected, onOnChange: (e) => this.toggleAll(e.detail) }))), cols.map(col => (h("th", { class: { sortable: !!col.sortable, 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { textAlign: col.align || 'center', minWidth: col.minWidth, maxWidth: col.maxWidth }, onClick: () => this.handleSort(col) }, h("div", { class: `headers-container${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("div", { class: `headers${col.align === 'left' ? ' align-left' : col.align === 'right' ? ' align-right' : ''}` }, h("span", null, col.label), col.sortable && (h("div", { class: "order-icons" }, h("dropi-icon", { name: "Caret-up", width: "12px", height: "12px", color: this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' }), h("dropi-icon", { name: "Caret-down", width: "12px", height: "12px", color: !this.sortAsc ? 'Gray-Gray-500' : 'Gray-Gray-200' })))))))), hasActions && h("th", { class: "actions-header actions" }, "Acciones"))), h("tbody", null, this.loading ? (Array.from({ length: 5 }).map(() => (h("tr", { class: "table-row" }, this.showCheckbox && h("td", null, h("div", { class: "skeleton skeleton--sm" })), cols.map(() => h("td", null, h("div", { class: "skeleton" }))), hasActions && h("td", null))))) : rows.length === 0 ? (h("tr", null, h("td", { colSpan: cols.length + (this.showCheckbox ? 1 : 0) + (hasActions ? 1 : 0) }, h("div", { class: "empty-table" }, h("div", { class: "empty-message-container" }, this.emptyMessage))))) : (rows.map((row, i) => (h("tr", { class: "table-row", onClick: () => this.dropiRowClick.emit({ row, index: i }) }, this.showCheckbox && (h("td", { onClick: (e) => e.stopPropagation() }, h("dropi-checkbox", { checked: this.selectedKeys.has(i), onOnChange: () => this.toggleRow(i) }))), cols.map(col => (h("td", { class: { 'low-opacity': !!col.disabledColumn, 'highlight-column': !!col.highlightColumn }, style: { minWidth: col.minWidth, maxWidth: col.maxWidth, overflow: col.maxWidth ? 'hidden' : undefined } }, h("div", { class: "cell-content", style: { textAlign: col.align || 'center' } }, this.renderCellValue(row[col.key]))))), hasActions && (h("td", { class: "action-button actions", onClick: (e) => e.stopPropagation() }, this.parsedRowActions.length > 3 ? (h("div", { style: { display: "flex", justifyContent: "center", width: "100%" } }, h("dropi-icon", { class: "action-icon", name: "Menu-dots-vertical", width: "24px", height: "24px", color: "Gray-Gray-500", onClick: () => this.openActionRow = this.openActionRow === i ? -1 : i }), this.openActionRow === i && (h("div", { class: "actions-menu" }, this.parsedRowActions.map(action => (h("div", { class: "action-item", onClick: () => { this.openActionRow = -1; this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } }, h("dropi-icon", { name: action.icon, width: "20px", height: "20px", color: action.iconColor || 'Gray-Gray-500' }), action.label))))))) : (h("div", { class: "short-actions" }, this.parsedRowActions.map(action => (h("dropi-icon", { class: "action-icon", name: action.icon, width: "24px", height: "24px", color: action.iconColor || 'Gray-Gray-500', onClick: () => { this.dropiAction.emit({ row, action }); this.actionClicked.emit({ row, action }); } })))))))))))))), this.showPaginator && (h("div", { class: "pagination" }, h("div", { class: "page-size-selector" }, h("label", null, "Mostrar"), h("select", { onChange: (e) => {
241
248
  this.pageSize = Number(e.target.value);
242
249
  this.currentPage = 1;
243
250
  this.dropiPageSizeChange.emit(this.pageSize);
244
251
  this.onSizeChange.emit(this.pageSize);
245
- } }, this.parsedPageSizes.map(s => (h("option", { value: s, selected: this.pageSize === s }, s))))), h("dropi-paginator", { key: '82a4e645ab197a52ec7985614e53fcae749e8ed4', totalPages: this.totalPages, currentPage: this.currentPage, onPageChange: (e) => {
252
+ } }, this.parsedPageSizes.map(s => (h("option", { value: s, selected: this.pageSize === s }, s))))), h("dropi-paginator", { totalPages: this.totalPages, currentPage: this.currentPage, onPageChange: (e) => {
246
253
  this.currentPage = e.detail;
247
254
  this.dropiPageChange.emit(e.detail);
248
255
  this.onPageChange.emit(e.detail);
@@ -34,7 +34,7 @@ export class DropiTabs {
34
34
  this.onIndexChanged.emit(tab);
35
35
  }
36
36
  render() {
37
- return (h("div", { key: '35d0e29a1b788e7895d31ed6040cd86ecc6a28b3', class: "tabs-container", role: "tablist" }, this.parsedTabs.map(tab => {
37
+ return (h("div", { key: '337040015b29581ebb15ac347bb62220ed0a2d4d', class: "tabs-container", role: "tablist" }, this.parsedTabs.map(tab => {
38
38
  const isActive = tab.id === this.activeTab;
39
39
  return (h("div", { role: "tab", "aria-selected": String(isActive), class: { 'tab-item': true, 'tab-item--active': isActive && !tab.disabled, 'tab-item--disabled': !!tab.disabled }, onClick: () => this.handleClick(tab) }, h("span", { class: "tab-label-row" }, h("span", { class: "tab-label" }, tab.label), tab.counter !== undefined && tab.counter !== null && (h("span", { class: { 'tab-counter': true, 'tab-counter--active': isActive } }, tab.counter))), this.showIcon && (tab.completed
40
40
  ? h("dropi-icon", { name: "Check-circle", width: "12px", height: "12px", color: "Success-Success-500" })
@@ -48,7 +48,7 @@ export class DropiTag {
48
48
  return typeof this.text === 'string' && this.text.trim().length > 0;
49
49
  }
50
50
  render() {
51
- return (h("div", { key: 'b949409e06cf0ba23112c5cb5c2f49e605ddc730', class: "container-chips" }, h("div", { key: '3013650803f96e0f77e1631ba824e378ad9d5296', class: { tags: true, 'icon-only': this.showIcon && !this.hasContent }, style: { backgroundColor: this.bgColor, color: this.textColor } }, this.showIcon && this.icon && (h("dropi-icon", { key: '5f8b72bef223fbf1ab47a1fcef7b016bfa8d7b91', class: "file-icon", name: this.icon, width: "16px", height: "16px", color: this.iconColor })), this.hasContent && h("span", { key: '63921861c9549d70fc432bb1252c2af2b76cbaa1' }, this.text))));
51
+ return (h("div", { key: '1736efc48b3ccaf5f3ca85ad29622f42b4fb3c8d', class: "container-chips" }, h("div", { key: '96c2b0e9d22881ca71c58488dcd622a1eef1a120', class: { tags: true, 'icon-only': this.showIcon && !this.hasContent }, style: { backgroundColor: this.bgColor, color: this.textColor } }, this.showIcon && this.icon && (h("dropi-icon", { key: 'aab0330382fe0690177edcb364ab043459b9a316', class: "file-icon", name: this.icon, width: "16px", height: "16px", color: this.iconColor })), this.hasContent && h("span", { key: 'be38207ca7668b6b4976d5f3f2f506c380ee0491' }, this.text))));
52
52
  }
53
53
  static get is() { return "dropi-tag"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -86,7 +86,7 @@ export class DropiTag {
86
86
  },
87
87
  "getter": false,
88
88
  "setter": false,
89
- "reflect": false,
89
+ "reflect": true,
90
90
  "attribute": "type",
91
91
  "defaultValue": "'primary'"
92
92
  },
@@ -112,7 +112,7 @@ export class DropiTag {
112
112
  },
113
113
  "getter": false,
114
114
  "setter": false,
115
- "reflect": false,
115
+ "reflect": true,
116
116
  "attribute": "state",
117
117
  "defaultValue": "'default'"
118
118
  },
@@ -152,7 +152,7 @@ export class DropiTag {
152
152
  },
153
153
  "getter": false,
154
154
  "setter": false,
155
- "reflect": false,
155
+ "reflect": true,
156
156
  "attribute": "icon",
157
157
  "defaultValue": "''"
158
158
  },
@@ -172,7 +172,7 @@ export class DropiTag {
172
172
  },
173
173
  "getter": false,
174
174
  "setter": false,
175
- "reflect": false,
175
+ "reflect": true,
176
176
  "attribute": "text",
177
177
  "defaultValue": "''"
178
178
  }
@@ -7,7 +7,7 @@ export class DropiTagTypeProduct {
7
7
  /** Label text. Default: VARIABLE */
8
8
  label = 'VARIABLE';
9
9
  render() {
10
- return h("div", { key: '505c4833064fa691575e38aa16b6046bc101c7eb', class: "type-variation" }, this.label);
10
+ return h("div", { key: 'ae1cd50cd3e82180704ae4f5406b4dc13ffbd12c', class: "type-variation" }, this.label);
11
11
  }
12
12
  static get is() { return "dropi-tag-type-product"; }
13
13
  static get encapsulation() { return "shadow"; }