@dropi/ui 0.1.20 → 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 (533) hide show
  1. package/dist/cjs/dropi-accordion-item.cjs.entry.js +54 -0
  2. package/dist/cjs/dropi-accordion.cjs.entry.js +5 -39
  3. package/dist/cjs/dropi-alert-legacy.cjs.entry.js +39 -0
  4. package/dist/cjs/dropi-alert-modal.cjs.entry.js +80 -24
  5. package/dist/cjs/dropi-alert.cjs.entry.js +20 -14
  6. package/dist/cjs/dropi-avatars.cjs.entry.js +3 -3
  7. package/dist/cjs/dropi-badge-legacy.cjs.entry.js +30 -0
  8. package/dist/cjs/dropi-badge.cjs.entry.js +4 -4
  9. package/dist/cjs/dropi-banner-external.cjs.entry.js +25 -9
  10. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
  11. package/dist/cjs/dropi-button.cjs.entry.js +11 -7
  12. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +17 -14
  13. package/dist/cjs/dropi-card-product.cjs.entry.js +42 -23
  14. package/dist/cjs/dropi-card-section.cjs.entry.js +17 -17
  15. package/dist/cjs/dropi-carousel.cjs.entry.js +112 -42
  16. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +17 -15
  17. package/dist/cjs/dropi-checkbox.cjs.entry.js +6 -6
  18. package/dist/cjs/dropi-chips.cjs.entry.js +8 -8
  19. package/dist/cjs/dropi-city-selector.cjs.entry.js +28 -9
  20. package/dist/cjs/dropi-color-picker.cjs.entry.js +300 -50
  21. package/dist/cjs/dropi-country-flags.cjs.entry.js +4 -4
  22. package/dist/cjs/dropi-country-selector.cjs.entry.js +50 -17
  23. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +8 -8
  24. package/dist/cjs/dropi-date-picker.cjs.entry.js +53 -35
  25. package/dist/cjs/dropi-drawer.cjs.entry.js +38 -9
  26. package/dist/cjs/dropi-dropdown.cjs.entry.js +23 -16
  27. package/dist/cjs/dropi-empty-state.cjs.entry.js +15 -18
  28. package/dist/cjs/dropi-favorite-button.cjs.entry.js +5 -5
  29. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +57 -32
  30. package/dist/cjs/dropi-file-upload.cjs.entry.js +210 -57
  31. package/dist/cjs/dropi-icon.cjs.entry.js +21 -4
  32. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +3 -3
  33. package/dist/cjs/dropi-image-miniature.cjs.entry.js +2 -2
  34. package/dist/cjs/dropi-image-overlay.cjs.entry.js +4 -3
  35. package/dist/cjs/dropi-input_3.cjs.entry.js +392 -0
  36. package/dist/cjs/dropi-languages-selector.cjs.entry.js +10 -6
  37. package/dist/cjs/dropi-logo.cjs.entry.js +12 -2
  38. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +5 -5
  39. package/dist/cjs/dropi-media-player.cjs.entry.js +131 -41
  40. package/dist/cjs/dropi-modal.cjs.entry.js +46 -20
  41. package/dist/cjs/dropi-navbar.cjs.entry.js +14 -12
  42. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +13 -13
  43. package/dist/cjs/dropi-phone-input.cjs.entry.js +163 -50
  44. package/dist/cjs/dropi-radio-button.cjs.entry.js +7 -7
  45. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +17 -13
  46. package/dist/cjs/dropi-read-more.cjs.entry.js +8 -4
  47. package/dist/cjs/dropi-search.cjs.entry.js +52 -38
  48. package/dist/cjs/dropi-select.cjs.entry.js +102 -55
  49. package/dist/cjs/dropi-sidebar.cjs.entry.js +61 -50
  50. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +8 -6
  51. package/dist/cjs/dropi-skeleton.cjs.entry.js +16 -6
  52. package/dist/cjs/dropi-steps.cjs.entry.js +6 -4
  53. package/dist/cjs/dropi-switch.cjs.entry.js +5 -5
  54. package/dist/cjs/dropi-table.cjs.entry.js +212 -37
  55. package/dist/cjs/dropi-tabs.cjs.entry.js +13 -11
  56. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +3 -3
  57. package/dist/cjs/dropi-text-area.cjs.entry.js +45 -14
  58. package/dist/cjs/dropi-time-line.cjs.entry.js +3 -3
  59. package/dist/cjs/dropi-toast.cjs.entry.js +7 -6
  60. package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +131 -0
  61. package/dist/cjs/dropi-tooltip.cjs.entry.js +5 -26
  62. package/dist/cjs/dropi-ui.cjs.js +2 -2
  63. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +6 -6
  64. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +3 -3
  65. package/dist/cjs/{index-DcOH2ZjX.js → index-C8kwDvpf.js} +1044 -14
  66. package/dist/cjs/loader.cjs.js +2 -2
  67. package/dist/collection/collection-manifest.json +7 -3
  68. package/dist/collection/components/dropi-accordion/dropi-accordion-item.css +45 -0
  69. package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +172 -0
  70. package/dist/collection/components/dropi-accordion/dropi-accordion.css +3 -3
  71. package/dist/collection/components/dropi-accordion/dropi-accordion.js +7 -129
  72. package/dist/collection/components/dropi-alert/dropi-alert.css +5 -11
  73. package/dist/collection/components/dropi-alert/dropi-alert.js +86 -20
  74. package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.css +31 -0
  75. package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.js +128 -0
  76. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +55 -23
  77. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +180 -50
  78. package/dist/collection/components/dropi-avatars/dropi-avatars.js +3 -3
  79. package/dist/collection/components/dropi-badge/dropi-badge.css +1 -1
  80. package/dist/collection/components/dropi-badge/dropi-badge.js +3 -4
  81. package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.css +17 -0
  82. package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +119 -0
  83. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +88 -13
  84. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +1 -1
  85. package/dist/collection/components/dropi-button/dropi-button.css +17 -17
  86. package/dist/collection/components/dropi-button/dropi-button.js +31 -7
  87. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +3 -1
  88. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +30 -27
  89. package/dist/collection/components/dropi-card-product/dropi-card-product.css +179 -102
  90. package/dist/collection/components/dropi-card-product/dropi-card-product.js +112 -79
  91. package/dist/collection/components/dropi-card-section/dropi-card-section.css +2 -2
  92. package/dist/collection/components/dropi-card-section/dropi-card-section.js +25 -25
  93. package/dist/collection/components/dropi-carousel/dropi-carousel.css +114 -69
  94. package/dist/collection/components/dropi-carousel/dropi-carousel.js +202 -100
  95. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +6 -6
  96. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +42 -20
  97. package/dist/collection/components/dropi-chips/dropi-chips.js +15 -15
  98. package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +112 -50
  99. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +38 -9
  100. package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +169 -142
  101. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +317 -159
  102. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +5 -5
  103. package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +72 -25
  104. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +124 -22
  105. package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +104 -39
  106. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +131 -49
  107. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +8 -8
  108. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +8 -8
  109. package/dist/collection/components/dropi-drawer/dropi-drawer.css +38 -16
  110. package/dist/collection/components/dropi-drawer/dropi-drawer.js +107 -18
  111. package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +1 -1
  112. package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +52 -27
  113. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +37 -54
  114. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +5 -5
  115. package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +431 -33
  116. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +364 -104
  117. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +82 -78
  118. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +129 -69
  119. package/dist/collection/components/dropi-icon/dropi-icon.css +5 -0
  120. package/dist/collection/components/dropi-icon/dropi-icon.js +19 -2
  121. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +3 -3
  122. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +1 -1
  123. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
  124. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +6 -2
  125. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +5 -4
  126. package/dist/collection/components/dropi-input/dropi-input.css +1 -1
  127. package/dist/collection/components/dropi-input/dropi-input.js +155 -82
  128. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +1 -1
  129. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +9 -5
  130. package/dist/collection/components/dropi-logo/dropi-logo.js +12 -1
  131. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +8 -2
  132. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +6 -6
  133. package/dist/collection/components/dropi-media-player/dropi-media-player.css +263 -70
  134. package/dist/collection/components/dropi-media-player/dropi-media-player.js +161 -61
  135. package/dist/collection/components/dropi-modal/dropi-modal.css +14 -4
  136. package/dist/collection/components/dropi-modal/dropi-modal.js +312 -26
  137. package/dist/collection/components/dropi-navbar/dropi-navbar.css +7 -7
  138. package/dist/collection/components/dropi-navbar/dropi-navbar.js +42 -26
  139. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +2 -2
  140. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +13 -13
  141. package/dist/collection/components/dropi-paginator/dropi-paginator.css +2 -2
  142. package/dist/collection/components/dropi-paginator/dropi-paginator.js +51 -99
  143. package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +158 -101
  144. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +256 -86
  145. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +13 -20
  146. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +3 -3
  147. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +69 -19
  148. package/dist/collection/components/dropi-read-more/dropi-read-more.css +5 -8
  149. package/dist/collection/components/dropi-read-more/dropi-read-more.js +46 -2
  150. package/dist/collection/components/dropi-search/dropi-search.css +2 -2
  151. package/dist/collection/components/dropi-search/dropi-search.js +194 -60
  152. package/dist/collection/components/dropi-select/dropi-select.css +7 -7
  153. package/dist/collection/components/dropi-select/dropi-select.js +170 -84
  154. package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +51 -92
  155. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +86 -176
  156. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +2 -2
  157. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +29 -7
  158. package/dist/collection/components/dropi-skeleton/dropi-skeleton.js +40 -10
  159. package/dist/collection/components/dropi-steps/dropi-steps.css +3 -3
  160. package/dist/collection/components/dropi-steps/dropi-steps.js +31 -3
  161. package/dist/collection/components/dropi-switch/dropi-switch.js +5 -5
  162. package/dist/collection/components/dropi-table/dropi-table.css +505 -45
  163. package/dist/collection/components/dropi-table/dropi-table.js +690 -50
  164. package/dist/collection/components/dropi-tabs/dropi-tabs.css +10 -5
  165. package/dist/collection/components/dropi-tabs/dropi-tabs.js +35 -13
  166. package/dist/collection/components/dropi-tag/dropi-tag.js +5 -5
  167. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +4 -4
  168. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +1 -1
  169. package/dist/collection/components/dropi-text-area/dropi-text-area.css +4 -1
  170. package/dist/collection/components/dropi-text-area/dropi-text-area.js +87 -32
  171. package/dist/collection/components/dropi-time-line/dropi-time-line.css +2 -2
  172. package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
  173. package/dist/collection/components/dropi-toast/dropi-toast.css +2 -2
  174. package/dist/collection/components/dropi-toast/dropi-toast.js +6 -5
  175. package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +28 -63
  176. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +11 -88
  177. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +67 -0
  178. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +468 -0
  179. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +3 -3
  180. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +5 -5
  181. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +1 -1
  182. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
  183. package/dist/components/dropi-accordion-item.d.ts +11 -0
  184. package/dist/components/dropi-accordion-item.js +1 -0
  185. package/dist/components/dropi-accordion.js +1 -1
  186. package/dist/components/dropi-alert-legacy.d.ts +11 -0
  187. package/dist/components/dropi-alert-legacy.js +1 -0
  188. package/dist/components/dropi-alert-modal.js +1 -1
  189. package/dist/components/dropi-alert.js +1 -1
  190. package/dist/components/dropi-avatars.js +1 -1
  191. package/dist/components/dropi-badge-legacy.d.ts +11 -0
  192. package/dist/components/dropi-badge-legacy.js +1 -0
  193. package/dist/components/dropi-badge.js +1 -1
  194. package/dist/components/dropi-banner-external.js +1 -1
  195. package/dist/components/dropi-breadcrumb.js +1 -1
  196. package/dist/components/dropi-button.js +1 -1
  197. package/dist/components/dropi-card-checkbox.js +1 -1
  198. package/dist/components/dropi-card-product.js +1 -1
  199. package/dist/components/dropi-card-section.js +1 -1
  200. package/dist/components/dropi-carousel.js +1 -1
  201. package/dist/components/dropi-checkbox-selection-list.js +1 -1
  202. package/dist/components/dropi-checkbox.js +1 -1
  203. package/dist/components/dropi-chips.js +1 -1
  204. package/dist/components/dropi-city-selector.js +1 -1
  205. package/dist/components/dropi-color-picker.js +1 -1
  206. package/dist/components/dropi-country-flags.js +1 -1
  207. package/dist/components/dropi-country-selector.js +1 -1
  208. package/dist/components/dropi-date-picker-range.js +1 -1
  209. package/dist/components/dropi-date-picker.js +1 -1
  210. package/dist/components/dropi-drawer.js +1 -1
  211. package/dist/components/dropi-dropdown.js +1 -1
  212. package/dist/components/dropi-empty-state.js +1 -1
  213. package/dist/components/dropi-favorite-button.js +1 -1
  214. package/dist/components/dropi-file-upload-progress-bar.js +1 -1
  215. package/dist/components/dropi-file-upload.js +1 -1
  216. package/dist/components/dropi-icon.js +1 -1
  217. package/dist/components/dropi-ilustration-icon.js +1 -1
  218. package/dist/components/dropi-image-miniature.js +1 -1
  219. package/dist/components/dropi-image-overlay.js +1 -1
  220. package/dist/components/dropi-input.js +1 -1
  221. package/dist/components/dropi-languages-selector.js +1 -1
  222. package/dist/components/dropi-logo.js +1 -1
  223. package/dist/components/dropi-lottie-loader.js +1 -1
  224. package/dist/components/dropi-media-player.js +1 -1
  225. package/dist/components/dropi-modal.js +1 -1
  226. package/dist/components/dropi-navbar.js +1 -1
  227. package/dist/components/dropi-otp-send-code.js +1 -1
  228. package/dist/components/dropi-paginator.js +1 -1
  229. package/dist/components/dropi-phone-input.js +1 -1
  230. package/dist/components/dropi-radio-button.js +1 -1
  231. package/dist/components/dropi-radio-selection-list.js +1 -1
  232. package/dist/components/dropi-read-more.js +1 -1
  233. package/dist/components/dropi-search.js +1 -1
  234. package/dist/components/dropi-select.js +1 -1
  235. package/dist/components/dropi-sidebar.js +1 -1
  236. package/dist/components/dropi-simple-stepper.js +1 -1
  237. package/dist/components/dropi-skeleton.js +1 -1
  238. package/dist/components/dropi-steps.js +1 -1
  239. package/dist/components/dropi-switch.js +1 -1
  240. package/dist/components/dropi-table.js +1 -1
  241. package/dist/components/dropi-tabs.js +1 -1
  242. package/dist/components/dropi-tag-type-product.js +1 -1
  243. package/dist/components/dropi-tag.js +1 -1
  244. package/dist/components/dropi-text-area.js +1 -1
  245. package/dist/components/dropi-time-line.js +1 -1
  246. package/dist/components/dropi-toast.js +1 -1
  247. package/dist/components/dropi-tooltip-v2.d.ts +11 -0
  248. package/dist/components/dropi-tooltip-v2.js +1 -0
  249. package/dist/components/dropi-tooltip.js +1 -1
  250. package/dist/components/dropi-vertical-steps.js +1 -1
  251. package/dist/components/dropi-youtube-lazy-video.js +1 -1
  252. package/dist/components/index.js +1 -1
  253. package/dist/components/p-B9R8Apw7.js +1 -0
  254. package/dist/components/p-B_Ace02i.js +1 -0
  255. package/dist/components/p-BrjO_JXp.js +1 -0
  256. package/dist/components/p-BwhxWL4p.js +1 -0
  257. package/dist/components/p-Bz2jXX3R.js +1 -0
  258. package/dist/components/p-CV4X3Gm4.js +1 -0
  259. package/dist/components/p-CV_oz45O.js +1 -0
  260. package/dist/components/p-D-vQQQNz.js +1 -0
  261. package/dist/components/p-D13d88W3.js +1 -0
  262. package/dist/components/p-DGUfr98Z.js +1 -0
  263. package/dist/components/p-a-hGQrJd.js +1 -0
  264. package/dist/components/p-o5gyrbbD.js +1 -0
  265. package/dist/dropi-ui/dropi-ui.css +1 -1
  266. package/dist/dropi-ui/dropi-ui.esm.js +1 -1
  267. package/dist/dropi-ui/p-00e5a2de.entry.js +1 -0
  268. package/dist/dropi-ui/p-0188e07a.entry.js +1 -0
  269. package/dist/dropi-ui/p-02710049.entry.js +1 -0
  270. package/dist/dropi-ui/p-17c56074.entry.js +1 -0
  271. package/dist/dropi-ui/p-18adf694.entry.js +1 -0
  272. package/dist/dropi-ui/p-1a3619c3.entry.js +1 -0
  273. package/dist/dropi-ui/p-1d3d6a32.entry.js +1 -0
  274. package/dist/dropi-ui/p-25640777.entry.js +1 -0
  275. package/dist/dropi-ui/p-2674d901.entry.js +1 -0
  276. package/dist/dropi-ui/p-2af538b9.entry.js +1 -0
  277. package/dist/dropi-ui/p-3013f3b8.entry.js +1 -0
  278. package/dist/dropi-ui/p-3321ca70.entry.js +1 -0
  279. package/dist/dropi-ui/p-33d242ec.entry.js +1 -0
  280. package/dist/dropi-ui/p-39af6478.entry.js +1 -0
  281. package/dist/dropi-ui/p-3e36c8b8.entry.js +1 -0
  282. package/dist/dropi-ui/p-3ebc9b7b.entry.js +1 -0
  283. package/dist/dropi-ui/p-446a481d.entry.js +1 -0
  284. package/dist/dropi-ui/p-50a5e548.entry.js +1 -0
  285. package/dist/dropi-ui/p-50e0d44f.entry.js +1 -0
  286. package/dist/dropi-ui/p-53a7a37d.entry.js +1 -0
  287. package/dist/dropi-ui/p-5c0bd7c2.entry.js +1 -0
  288. package/dist/dropi-ui/p-5cee6721.entry.js +1 -0
  289. package/dist/dropi-ui/p-5fb33ae4.entry.js +1 -0
  290. package/dist/dropi-ui/p-665ef7ba.entry.js +1 -0
  291. package/dist/dropi-ui/p-66b80371.entry.js +1 -0
  292. package/dist/dropi-ui/p-7bfc1c27.entry.js +1 -0
  293. package/dist/dropi-ui/p-7c0d2edf.entry.js +1 -0
  294. package/dist/dropi-ui/p-7eb27836.entry.js +1 -0
  295. package/dist/dropi-ui/p-85444414.entry.js +1 -0
  296. package/dist/dropi-ui/p-86283e99.entry.js +1 -0
  297. package/dist/dropi-ui/p-8bf5d8ee.entry.js +1 -0
  298. package/dist/dropi-ui/p-9032ba00.entry.js +1 -0
  299. package/dist/dropi-ui/p-9212f544.entry.js +1 -0
  300. package/dist/dropi-ui/p-92291873.entry.js +1 -0
  301. package/dist/dropi-ui/p-955e52f8.entry.js +1 -0
  302. package/dist/dropi-ui/p-976a15e3.entry.js +1 -0
  303. package/dist/dropi-ui/p-9b037086.entry.js +1 -0
  304. package/dist/dropi-ui/p-9e0129cc.entry.js +1 -0
  305. package/dist/dropi-ui/{p-c9ebd31b.entry.js → p-9ffec3f7.entry.js} +1 -1
  306. package/dist/dropi-ui/p-D5SAM1O2.js +2 -0
  307. package/dist/dropi-ui/p-a1c93e55.entry.js +1 -0
  308. package/dist/dropi-ui/p-a232c6a7.entry.js +1 -0
  309. package/dist/dropi-ui/p-a3c4d677.entry.js +1 -0
  310. package/dist/dropi-ui/p-a457e8ca.entry.js +1 -0
  311. package/dist/dropi-ui/p-a4e1df5e.entry.js +1 -0
  312. package/dist/dropi-ui/p-a822a23e.entry.js +1 -0
  313. package/dist/dropi-ui/p-a8f24270.entry.js +1 -0
  314. package/dist/dropi-ui/p-ae35d538.entry.js +1 -0
  315. package/dist/dropi-ui/p-af8e2157.entry.js +1 -0
  316. package/dist/dropi-ui/p-b2623a5c.entry.js +1 -0
  317. package/dist/dropi-ui/p-b3d3c72e.entry.js +1 -0
  318. package/dist/dropi-ui/p-c3614c4a.entry.js +1 -0
  319. package/dist/dropi-ui/p-cbf5367e.entry.js +1 -0
  320. package/dist/dropi-ui/p-cc527d91.entry.js +1 -0
  321. package/dist/dropi-ui/p-cdde481b.entry.js +1 -0
  322. package/dist/dropi-ui/p-d42d4ef7.entry.js +1 -0
  323. package/dist/dropi-ui/{p-b41c8a6c.entry.js → p-db38bf16.entry.js} +1 -1
  324. package/dist/dropi-ui/p-dd5d8b1b.entry.js +1 -0
  325. package/dist/dropi-ui/p-e3ad21f8.entry.js +1 -0
  326. package/dist/dropi-ui/p-e6e766ed.entry.js +1 -0
  327. package/dist/dropi-ui/p-ec263862.entry.js +1 -0
  328. package/dist/dropi-ui/p-efc2fc35.entry.js +1 -0
  329. package/dist/dropi-ui/p-f41cd9b5.entry.js +1 -0
  330. package/dist/dropi-ui/p-fa3d0267.entry.js +1 -0
  331. package/dist/esm/dropi-accordion-item.entry.js +52 -0
  332. package/dist/esm/dropi-accordion.entry.js +5 -39
  333. package/dist/esm/dropi-alert-legacy.entry.js +37 -0
  334. package/dist/esm/dropi-alert-modal.entry.js +80 -24
  335. package/dist/esm/dropi-alert.entry.js +20 -14
  336. package/dist/esm/dropi-avatars.entry.js +3 -3
  337. package/dist/esm/dropi-badge-legacy.entry.js +28 -0
  338. package/dist/esm/dropi-badge.entry.js +4 -4
  339. package/dist/esm/dropi-banner-external.entry.js +25 -9
  340. package/dist/esm/dropi-breadcrumb.entry.js +2 -2
  341. package/dist/esm/dropi-button.entry.js +11 -7
  342. package/dist/esm/dropi-card-checkbox.entry.js +17 -14
  343. package/dist/esm/dropi-card-product.entry.js +42 -23
  344. package/dist/esm/dropi-card-section.entry.js +17 -17
  345. package/dist/esm/dropi-carousel.entry.js +112 -42
  346. package/dist/esm/dropi-checkbox-selection-list.entry.js +17 -15
  347. package/dist/esm/dropi-checkbox.entry.js +6 -6
  348. package/dist/esm/dropi-chips.entry.js +8 -8
  349. package/dist/esm/dropi-city-selector.entry.js +28 -9
  350. package/dist/esm/dropi-color-picker.entry.js +300 -50
  351. package/dist/esm/dropi-country-flags.entry.js +4 -4
  352. package/dist/esm/dropi-country-selector.entry.js +50 -17
  353. package/dist/esm/dropi-date-picker-range.entry.js +8 -8
  354. package/dist/esm/dropi-date-picker.entry.js +53 -35
  355. package/dist/esm/dropi-drawer.entry.js +38 -9
  356. package/dist/esm/dropi-dropdown.entry.js +23 -16
  357. package/dist/esm/dropi-empty-state.entry.js +15 -18
  358. package/dist/esm/dropi-favorite-button.entry.js +5 -5
  359. package/dist/esm/dropi-file-upload-progress-bar.entry.js +57 -32
  360. package/dist/esm/dropi-file-upload.entry.js +210 -57
  361. package/dist/esm/dropi-icon.entry.js +21 -4
  362. package/dist/esm/dropi-ilustration-icon.entry.js +3 -3
  363. package/dist/esm/dropi-image-miniature.entry.js +2 -2
  364. package/dist/esm/dropi-image-overlay.entry.js +4 -3
  365. package/dist/esm/dropi-input_3.entry.js +388 -0
  366. package/dist/esm/dropi-languages-selector.entry.js +10 -6
  367. package/dist/esm/dropi-logo.entry.js +12 -2
  368. package/dist/esm/dropi-lottie-loader.entry.js +5 -5
  369. package/dist/esm/dropi-media-player.entry.js +131 -41
  370. package/dist/esm/dropi-modal.entry.js +46 -20
  371. package/dist/esm/dropi-navbar.entry.js +14 -12
  372. package/dist/esm/dropi-otp-send-code.entry.js +13 -13
  373. package/dist/esm/dropi-phone-input.entry.js +163 -50
  374. package/dist/esm/dropi-radio-button.entry.js +7 -7
  375. package/dist/esm/dropi-radio-selection-list.entry.js +17 -13
  376. package/dist/esm/dropi-read-more.entry.js +8 -4
  377. package/dist/esm/dropi-search.entry.js +52 -38
  378. package/dist/esm/dropi-select.entry.js +102 -55
  379. package/dist/esm/dropi-sidebar.entry.js +61 -50
  380. package/dist/esm/dropi-simple-stepper.entry.js +8 -6
  381. package/dist/esm/dropi-skeleton.entry.js +16 -6
  382. package/dist/esm/dropi-steps.entry.js +6 -4
  383. package/dist/esm/dropi-switch.entry.js +5 -5
  384. package/dist/esm/dropi-table.entry.js +212 -37
  385. package/dist/esm/dropi-tabs.entry.js +13 -11
  386. package/dist/esm/dropi-tag-type-product.entry.js +3 -3
  387. package/dist/esm/dropi-text-area.entry.js +45 -14
  388. package/dist/esm/dropi-time-line.entry.js +3 -3
  389. package/dist/esm/dropi-toast.entry.js +7 -6
  390. package/dist/esm/dropi-tooltip-v2.entry.js +129 -0
  391. package/dist/esm/dropi-tooltip.entry.js +5 -26
  392. package/dist/esm/dropi-ui.js +3 -3
  393. package/dist/esm/dropi-vertical-steps.entry.js +6 -6
  394. package/dist/esm/dropi-youtube-lazy-video.entry.js +3 -3
  395. package/dist/esm/{index-Tbza12Gt.js → index-D5SAM1O2.js} +1044 -15
  396. package/dist/esm/loader.js +3 -3
  397. package/dist/types/components/dropi-accordion/dropi-accordion-item.d.ts +24 -0
  398. package/dist/types/components/dropi-accordion/dropi-accordion.d.ts +3 -23
  399. package/dist/types/components/dropi-alert/dropi-alert.d.ts +9 -3
  400. package/dist/types/components/dropi-alert-legacy/dropi-alert-legacy.d.ts +18 -0
  401. package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +26 -8
  402. package/dist/types/components/dropi-badge-legacy/dropi-badge-legacy.d.ts +15 -0
  403. package/dist/types/components/dropi-banner-external/dropi-banner-external.d.ts +11 -3
  404. package/dist/types/components/dropi-button/dropi-button.d.ts +4 -2
  405. package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +8 -7
  406. package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +19 -15
  407. package/dist/types/components/dropi-card-section/dropi-card-section.d.ts +5 -5
  408. package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +31 -27
  409. package/dist/types/components/dropi-checkbox/dropi-checkbox.d.ts +1 -1
  410. package/dist/types/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.d.ts +7 -5
  411. package/dist/types/components/dropi-chips/dropi-chips.d.ts +4 -4
  412. package/dist/types/components/dropi-city-selector/dropi-city-selector.d.ts +3 -1
  413. package/dist/types/components/dropi-color-picker/dropi-color-picker.d.ts +51 -26
  414. package/dist/types/components/dropi-country-flags/dropi-country-flags.d.ts +1 -1
  415. package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +16 -5
  416. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +16 -8
  417. package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +2 -2
  418. package/dist/types/components/dropi-drawer/dropi-drawer.d.ts +12 -6
  419. package/dist/types/components/dropi-dropdown/dropi-dropdown.d.ts +12 -6
  420. package/dist/types/components/dropi-empty-state/dropi-empty-state.d.ts +12 -14
  421. package/dist/types/components/dropi-favorite-button/dropi-favorite-button.d.ts +1 -1
  422. package/dist/types/components/dropi-file-upload/dropi-file-upload.d.ts +65 -26
  423. package/dist/types/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.d.ts +24 -16
  424. package/dist/types/components/dropi-icon/dropi-icon.d.ts +3 -1
  425. package/dist/types/components/dropi-image-overlay/dropi-image-overlay.d.ts +1 -1
  426. package/dist/types/components/dropi-input/dropi-input.d.ts +27 -17
  427. package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +1 -1
  428. package/dist/types/components/dropi-logo/dropi-logo.d.ts +2 -0
  429. package/dist/types/components/dropi-lottie-loader/dropi-lottie-loader.d.ts +1 -1
  430. package/dist/types/components/dropi-media-player/dropi-media-player.d.ts +26 -19
  431. package/dist/types/components/dropi-modal/dropi-modal.d.ts +24 -5
  432. package/dist/types/components/dropi-navbar/dropi-navbar.d.ts +7 -5
  433. package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +1 -1
  434. package/dist/types/components/dropi-paginator/dropi-paginator.d.ts +10 -20
  435. package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +35 -20
  436. package/dist/types/components/dropi-radio-button/dropi-radio-button.d.ts +2 -2
  437. package/dist/types/components/dropi-radio-selection-list/dropi-radio-selection-list.d.ts +11 -4
  438. package/dist/types/components/dropi-read-more/dropi-read-more.d.ts +4 -0
  439. package/dist/types/components/dropi-search/dropi-search.d.ts +24 -12
  440. package/dist/types/components/dropi-select/dropi-select.d.ts +26 -15
  441. package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +32 -26
  442. package/dist/types/components/dropi-simple-stepper/dropi-simple-stepper.d.ts +2 -0
  443. package/dist/types/components/dropi-skeleton/dropi-skeleton.d.ts +4 -1
  444. package/dist/types/components/dropi-steps/dropi-steps.d.ts +3 -0
  445. package/dist/types/components/dropi-switch/dropi-switch.d.ts +1 -1
  446. package/dist/types/components/dropi-table/dropi-table.d.ts +90 -14
  447. package/dist/types/components/dropi-tabs/dropi-tabs.d.ts +5 -3
  448. package/dist/types/components/dropi-text-area/dropi-text-area.d.ts +27 -6
  449. package/dist/types/components/dropi-tooltip/dropi-tooltip.d.ts +3 -17
  450. package/dist/types/components/dropi-tooltip-v2/dropi-tooltip.d.ts +59 -0
  451. package/dist/types/components/dropi-vertical-steps/dropi-vertical-steps.d.ts +1 -1
  452. package/dist/types/components.d.ts +2182 -1180
  453. package/dist/types/index.d.ts +1 -0
  454. package/hydrate/index.d.ts +287 -0
  455. package/hydrate/index.js +30455 -0
  456. package/hydrate/index.mjs +30445 -0
  457. package/hydrate/package.json +12 -0
  458. package/package.json +33 -5
  459. package/readme.md +97 -18
  460. package/scripts/setup.js +310 -29
  461. package/skills/install-dropi-ui/skill.md +15 -10
  462. package/dist/cjs/dropi-input.cjs.entry.js +0 -210
  463. package/dist/cjs/dropi-paginator.cjs.entry.js +0 -91
  464. package/dist/cjs/dropi-tag.cjs.entry.js +0 -68
  465. package/dist/components/p-BY_J-4Sm.js +0 -1
  466. package/dist/components/p-CYCV-5qV.js +0 -1
  467. package/dist/components/p-D0ZJcRZn.js +0 -1
  468. package/dist/components/p-DUPOnSiL.js +0 -1
  469. package/dist/components/p-DUX_WvqW.js +0 -1
  470. package/dist/components/p-wO1yy0Zr.js +0 -1
  471. package/dist/dropi-ui/p-053ebb91.entry.js +0 -1
  472. package/dist/dropi-ui/p-0acd32e6.entry.js +0 -1
  473. package/dist/dropi-ui/p-0e88a543.entry.js +0 -1
  474. package/dist/dropi-ui/p-0f2f5f75.entry.js +0 -1
  475. package/dist/dropi-ui/p-131d87ac.entry.js +0 -1
  476. package/dist/dropi-ui/p-1af4719d.entry.js +0 -1
  477. package/dist/dropi-ui/p-1e8f6d4a.entry.js +0 -1
  478. package/dist/dropi-ui/p-22132b1a.entry.js +0 -1
  479. package/dist/dropi-ui/p-2c1aaf6f.entry.js +0 -1
  480. package/dist/dropi-ui/p-2e9b87a9.entry.js +0 -1
  481. package/dist/dropi-ui/p-3414a414.entry.js +0 -1
  482. package/dist/dropi-ui/p-34ad54a1.entry.js +0 -1
  483. package/dist/dropi-ui/p-3531378b.entry.js +0 -1
  484. package/dist/dropi-ui/p-3983a7aa.entry.js +0 -1
  485. package/dist/dropi-ui/p-40e91337.entry.js +0 -1
  486. package/dist/dropi-ui/p-4a8646e5.entry.js +0 -1
  487. package/dist/dropi-ui/p-4be64bf0.entry.js +0 -1
  488. package/dist/dropi-ui/p-4ec17510.entry.js +0 -1
  489. package/dist/dropi-ui/p-5023eef0.entry.js +0 -1
  490. package/dist/dropi-ui/p-51a97b1a.entry.js +0 -1
  491. package/dist/dropi-ui/p-52796d84.entry.js +0 -1
  492. package/dist/dropi-ui/p-53a5bd7b.entry.js +0 -1
  493. package/dist/dropi-ui/p-5425f941.entry.js +0 -1
  494. package/dist/dropi-ui/p-58d0bf7a.entry.js +0 -1
  495. package/dist/dropi-ui/p-59d3bd9b.entry.js +0 -1
  496. package/dist/dropi-ui/p-5e957631.entry.js +0 -1
  497. package/dist/dropi-ui/p-64cbf4ea.entry.js +0 -1
  498. package/dist/dropi-ui/p-68080534.entry.js +0 -1
  499. package/dist/dropi-ui/p-6da6b97e.entry.js +0 -1
  500. package/dist/dropi-ui/p-6df57f25.entry.js +0 -1
  501. package/dist/dropi-ui/p-7c916570.entry.js +0 -1
  502. package/dist/dropi-ui/p-7e95462a.entry.js +0 -1
  503. package/dist/dropi-ui/p-80089042.entry.js +0 -1
  504. package/dist/dropi-ui/p-8768bb11.entry.js +0 -1
  505. package/dist/dropi-ui/p-896f2900.entry.js +0 -1
  506. package/dist/dropi-ui/p-89ac1ff2.entry.js +0 -1
  507. package/dist/dropi-ui/p-8ce79c69.entry.js +0 -1
  508. package/dist/dropi-ui/p-8e809670.entry.js +0 -1
  509. package/dist/dropi-ui/p-93b207b7.entry.js +0 -1
  510. package/dist/dropi-ui/p-983f72ad.entry.js +0 -1
  511. package/dist/dropi-ui/p-98babb78.entry.js +0 -1
  512. package/dist/dropi-ui/p-9fc53d50.entry.js +0 -1
  513. package/dist/dropi-ui/p-Tbza12Gt.js +0 -2
  514. package/dist/dropi-ui/p-a20705fe.entry.js +0 -1
  515. package/dist/dropi-ui/p-a72da98f.entry.js +0 -1
  516. package/dist/dropi-ui/p-a876d57c.entry.js +0 -1
  517. package/dist/dropi-ui/p-b1b0f938.entry.js +0 -1
  518. package/dist/dropi-ui/p-b2e176b1.entry.js +0 -1
  519. package/dist/dropi-ui/p-b890fd5b.entry.js +0 -1
  520. package/dist/dropi-ui/p-bf5a53ef.entry.js +0 -1
  521. package/dist/dropi-ui/p-c0677661.entry.js +0 -1
  522. package/dist/dropi-ui/p-c2562a1c.entry.js +0 -1
  523. package/dist/dropi-ui/p-c2b5d0fb.entry.js +0 -1
  524. package/dist/dropi-ui/p-c4d4396b.entry.js +0 -1
  525. package/dist/dropi-ui/p-cecfb68e.entry.js +0 -1
  526. package/dist/dropi-ui/p-d0b47e2e.entry.js +0 -1
  527. package/dist/dropi-ui/p-dcefef51.entry.js +0 -1
  528. package/dist/dropi-ui/p-e4b7e15f.entry.js +0 -1
  529. package/dist/dropi-ui/p-e7f4ed25.entry.js +0 -1
  530. package/dist/dropi-ui/p-f1d69b15.entry.js +0 -1
  531. package/dist/esm/dropi-input.entry.js +0 -208
  532. package/dist/esm/dropi-paginator.entry.js +0 -89
  533. package/dist/esm/dropi-tag.entry.js +0 -66
@@ -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.
@@ -6,34 +6,61 @@ import { h } from "@stencil/core";
6
6
  */
7
7
  export class DropiModal {
8
8
  visible = false;
9
- header = '';
9
+ header = null;
10
10
  showCloseIcon = true;
11
11
  dismissable = true;
12
+ dismissableMask = true;
13
+ dismissible = true;
12
14
  closeOnEscape = true;
13
15
  modal = true;
16
+ closable = true;
17
+ blockScroll = true;
14
18
  showHeader = true;
19
+ showFooter = true;
15
20
  position = 'center';
16
21
  size = 'm';
17
- dropiShow;
18
- dropiHide;
22
+ styleClass = null;
23
+ maxWidth = null;
24
+ /** Auto-manage z-index stack (matches Angular `autoZIndex`) */
25
+ autoZIndex = true;
26
+ /** Base z-index value when autoZIndex is false (matches Angular `baseZIndex`) */
27
+ baseZIndex = 1100;
28
+ /** CSS transition duration, e.g. '0.15s' (matches Angular `transitionOptions`) */
29
+ transitionOptions = '0.15s';
30
+ /** Enable a before-close hook (matches Angular `enableBeforeClose`) */
31
+ enableBeforeClose = false;
32
+ /** No-op — kept for API parity with Angular (matches Angular `draggable`) */
33
+ draggable = false;
34
+ /** No-op — kept for API parity with Angular (matches Angular `resizable`) */
35
+ resizable = false;
36
+ onShow;
37
+ onHide;
19
38
  visibleChange;
20
39
  isOpen = false;
21
40
  isClosing = false;
22
41
  mounted = false;
23
42
  closeTimer = null;
24
43
  keyHandler = null;
25
- visibleChanged(val) {
26
- 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());
27
51
  }
28
52
  componentDidLoad() {
29
- if (this.visible)
53
+ const isVisible = this.visible === true || String(this.visible) === 'true';
54
+ if (isVisible)
30
55
  this.openModal();
31
56
  }
32
57
  disconnectedCallback() {
33
58
  this.removeKeyHandler();
34
59
  if (this.closeTimer)
35
60
  clearTimeout(this.closeTimer);
36
- document.body.style.overflow = '';
61
+ if (typeof document !== 'undefined') {
62
+ document.body.classList.remove('dropi-modal-open');
63
+ }
37
64
  }
38
65
  async hide() {
39
66
  this.visible = false;
@@ -55,11 +82,11 @@ export class DropiModal {
55
82
  this.isOpen = false;
56
83
  requestAnimationFrame(() => requestAnimationFrame(() => {
57
84
  this.isOpen = true;
58
- this.dropiShow.emit();
85
+ this.onShow.emit();
59
86
  }));
60
87
  this.addKeyHandler();
61
- if (this.modal && document.body && document.body.style) {
62
- document.body.style.setProperty('overflow', 'hidden');
88
+ if ((this.modal ?? true) && Build.isBrowser && document.body) {
89
+ document.body.classList.add('dropi-modal-open');
63
90
  }
64
91
  }
65
92
  startClose() {
@@ -73,10 +100,11 @@ export class DropiModal {
73
100
  this.closeTimer = setTimeout(() => {
74
101
  this.mounted = false;
75
102
  this.isClosing = false;
76
- if (document.body && document.body.style) {
77
- 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');
78
106
  }
79
- this.dropiHide.emit();
107
+ this.onHide.emit();
80
108
  }, 200);
81
109
  }
82
110
  addKeyHandler() {
@@ -95,9 +123,7 @@ export class DropiModal {
95
123
  }
96
124
  }
97
125
  render() {
98
- if (!this.mounted)
99
- return null;
100
- 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)), 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" })))));
101
127
  }
102
128
  static get is() { return "dropi-modal"; }
103
129
  static get encapsulation() { return "shadow"; }
@@ -114,11 +140,11 @@ export class DropiModal {
114
140
  static get properties() {
115
141
  return {
116
142
  "visible": {
117
- "type": "boolean",
143
+ "type": "any",
118
144
  "mutable": true,
119
145
  "complexType": {
120
- "original": "boolean",
121
- "resolved": "boolean",
146
+ "original": "any",
147
+ "resolved": "any",
122
148
  "references": {}
123
149
  },
124
150
  "required": false,
@@ -137,7 +163,7 @@ export class DropiModal {
137
163
  "type": "string",
138
164
  "mutable": false,
139
165
  "complexType": {
140
- "original": "string",
166
+ "original": "string | null",
141
167
  "resolved": "string",
142
168
  "references": {}
143
169
  },
@@ -151,7 +177,7 @@ export class DropiModal {
151
177
  "setter": false,
152
178
  "reflect": false,
153
179
  "attribute": "header",
154
- "defaultValue": "''"
180
+ "defaultValue": "null"
155
181
  },
156
182
  "showCloseIcon": {
157
183
  "type": "boolean",
@@ -193,6 +219,46 @@ export class DropiModal {
193
219
  "attribute": "dismissable",
194
220
  "defaultValue": "true"
195
221
  },
222
+ "dismissableMask": {
223
+ "type": "boolean",
224
+ "mutable": false,
225
+ "complexType": {
226
+ "original": "boolean",
227
+ "resolved": "boolean",
228
+ "references": {}
229
+ },
230
+ "required": false,
231
+ "optional": false,
232
+ "docs": {
233
+ "tags": [],
234
+ "text": ""
235
+ },
236
+ "getter": false,
237
+ "setter": false,
238
+ "reflect": false,
239
+ "attribute": "dismissable-mask",
240
+ "defaultValue": "true"
241
+ },
242
+ "dismissible": {
243
+ "type": "boolean",
244
+ "mutable": false,
245
+ "complexType": {
246
+ "original": "boolean",
247
+ "resolved": "boolean",
248
+ "references": {}
249
+ },
250
+ "required": false,
251
+ "optional": false,
252
+ "docs": {
253
+ "tags": [],
254
+ "text": ""
255
+ },
256
+ "getter": false,
257
+ "setter": false,
258
+ "reflect": false,
259
+ "attribute": "dismissible",
260
+ "defaultValue": "true"
261
+ },
196
262
  "closeOnEscape": {
197
263
  "type": "boolean",
198
264
  "mutable": false,
@@ -233,6 +299,46 @@ export class DropiModal {
233
299
  "attribute": "modal",
234
300
  "defaultValue": "true"
235
301
  },
302
+ "closable": {
303
+ "type": "boolean",
304
+ "mutable": false,
305
+ "complexType": {
306
+ "original": "boolean",
307
+ "resolved": "boolean",
308
+ "references": {}
309
+ },
310
+ "required": false,
311
+ "optional": false,
312
+ "docs": {
313
+ "tags": [],
314
+ "text": ""
315
+ },
316
+ "getter": false,
317
+ "setter": false,
318
+ "reflect": false,
319
+ "attribute": "closable",
320
+ "defaultValue": "true"
321
+ },
322
+ "blockScroll": {
323
+ "type": "boolean",
324
+ "mutable": false,
325
+ "complexType": {
326
+ "original": "boolean",
327
+ "resolved": "boolean",
328
+ "references": {}
329
+ },
330
+ "required": false,
331
+ "optional": false,
332
+ "docs": {
333
+ "tags": [],
334
+ "text": ""
335
+ },
336
+ "getter": false,
337
+ "setter": false,
338
+ "reflect": false,
339
+ "attribute": "block-scroll",
340
+ "defaultValue": "true"
341
+ },
236
342
  "showHeader": {
237
343
  "type": "boolean",
238
344
  "mutable": false,
@@ -253,6 +359,26 @@ export class DropiModal {
253
359
  "attribute": "show-header",
254
360
  "defaultValue": "true"
255
361
  },
362
+ "showFooter": {
363
+ "type": "boolean",
364
+ "mutable": false,
365
+ "complexType": {
366
+ "original": "boolean",
367
+ "resolved": "boolean",
368
+ "references": {}
369
+ },
370
+ "required": false,
371
+ "optional": false,
372
+ "docs": {
373
+ "tags": [],
374
+ "text": ""
375
+ },
376
+ "getter": false,
377
+ "setter": false,
378
+ "reflect": false,
379
+ "attribute": "show-footer",
380
+ "defaultValue": "true"
381
+ },
256
382
  "position": {
257
383
  "type": "string",
258
384
  "mutable": false,
@@ -304,6 +430,166 @@ export class DropiModal {
304
430
  "reflect": false,
305
431
  "attribute": "size",
306
432
  "defaultValue": "'m'"
433
+ },
434
+ "styleClass": {
435
+ "type": "string",
436
+ "mutable": false,
437
+ "complexType": {
438
+ "original": "string | null",
439
+ "resolved": "string",
440
+ "references": {}
441
+ },
442
+ "required": false,
443
+ "optional": false,
444
+ "docs": {
445
+ "tags": [],
446
+ "text": ""
447
+ },
448
+ "getter": false,
449
+ "setter": false,
450
+ "reflect": false,
451
+ "attribute": "style-class",
452
+ "defaultValue": "null"
453
+ },
454
+ "maxWidth": {
455
+ "type": "string",
456
+ "mutable": false,
457
+ "complexType": {
458
+ "original": "string | null",
459
+ "resolved": "string",
460
+ "references": {}
461
+ },
462
+ "required": false,
463
+ "optional": false,
464
+ "docs": {
465
+ "tags": [],
466
+ "text": ""
467
+ },
468
+ "getter": false,
469
+ "setter": false,
470
+ "reflect": false,
471
+ "attribute": "max-width",
472
+ "defaultValue": "null"
473
+ },
474
+ "autoZIndex": {
475
+ "type": "boolean",
476
+ "mutable": false,
477
+ "complexType": {
478
+ "original": "boolean",
479
+ "resolved": "boolean",
480
+ "references": {}
481
+ },
482
+ "required": false,
483
+ "optional": false,
484
+ "docs": {
485
+ "tags": [],
486
+ "text": "Auto-manage z-index stack (matches Angular `autoZIndex`)"
487
+ },
488
+ "getter": false,
489
+ "setter": false,
490
+ "reflect": false,
491
+ "attribute": "auto-z-index",
492
+ "defaultValue": "true"
493
+ },
494
+ "baseZIndex": {
495
+ "type": "number",
496
+ "mutable": false,
497
+ "complexType": {
498
+ "original": "number",
499
+ "resolved": "number",
500
+ "references": {}
501
+ },
502
+ "required": false,
503
+ "optional": false,
504
+ "docs": {
505
+ "tags": [],
506
+ "text": "Base z-index value when autoZIndex is false (matches Angular `baseZIndex`)"
507
+ },
508
+ "getter": false,
509
+ "setter": false,
510
+ "reflect": false,
511
+ "attribute": "base-z-index",
512
+ "defaultValue": "1100"
513
+ },
514
+ "transitionOptions": {
515
+ "type": "string",
516
+ "mutable": false,
517
+ "complexType": {
518
+ "original": "string",
519
+ "resolved": "string",
520
+ "references": {}
521
+ },
522
+ "required": false,
523
+ "optional": false,
524
+ "docs": {
525
+ "tags": [],
526
+ "text": "CSS transition duration, e.g. '0.15s' (matches Angular `transitionOptions`)"
527
+ },
528
+ "getter": false,
529
+ "setter": false,
530
+ "reflect": false,
531
+ "attribute": "transition-options",
532
+ "defaultValue": "'0.15s'"
533
+ },
534
+ "enableBeforeClose": {
535
+ "type": "boolean",
536
+ "mutable": false,
537
+ "complexType": {
538
+ "original": "boolean",
539
+ "resolved": "boolean",
540
+ "references": {}
541
+ },
542
+ "required": false,
543
+ "optional": false,
544
+ "docs": {
545
+ "tags": [],
546
+ "text": "Enable a before-close hook (matches Angular `enableBeforeClose`)"
547
+ },
548
+ "getter": false,
549
+ "setter": false,
550
+ "reflect": false,
551
+ "attribute": "enable-before-close",
552
+ "defaultValue": "false"
553
+ },
554
+ "draggable": {
555
+ "type": "boolean",
556
+ "mutable": false,
557
+ "complexType": {
558
+ "original": "boolean",
559
+ "resolved": "boolean",
560
+ "references": {}
561
+ },
562
+ "required": false,
563
+ "optional": false,
564
+ "docs": {
565
+ "tags": [],
566
+ "text": "No-op \u2014 kept for API parity with Angular (matches Angular `draggable`)"
567
+ },
568
+ "getter": false,
569
+ "setter": false,
570
+ "reflect": false,
571
+ "attribute": "draggable",
572
+ "defaultValue": "false"
573
+ },
574
+ "resizable": {
575
+ "type": "boolean",
576
+ "mutable": false,
577
+ "complexType": {
578
+ "original": "boolean",
579
+ "resolved": "boolean",
580
+ "references": {}
581
+ },
582
+ "required": false,
583
+ "optional": false,
584
+ "docs": {
585
+ "tags": [],
586
+ "text": "No-op \u2014 kept for API parity with Angular (matches Angular `resizable`)"
587
+ },
588
+ "getter": false,
589
+ "setter": false,
590
+ "reflect": false,
591
+ "attribute": "resizable",
592
+ "defaultValue": "false"
307
593
  }
308
594
  };
309
595
  }
@@ -316,8 +602,8 @@ export class DropiModal {
316
602
  }
317
603
  static get events() {
318
604
  return [{
319
- "method": "dropiShow",
320
- "name": "dropiShow",
605
+ "method": "onShow",
606
+ "name": "onShow",
321
607
  "bubbles": true,
322
608
  "cancelable": true,
323
609
  "composed": false,
@@ -331,8 +617,8 @@ export class DropiModal {
331
617
  "references": {}
332
618
  }
333
619
  }, {
334
- "method": "dropiHide",
335
- "name": "dropiHide",
620
+ "method": "onHide",
621
+ "name": "onHide",
336
622
  "bubbles": true,
337
623
  "cancelable": true,
338
624
  "composed": false,
@@ -6,7 +6,7 @@
6
6
  align-items: center;
7
7
  height: 56px;
8
8
  padding: 0 var(--Size-4, 16px);
9
- background: var(--Neutral-White, #fff);
9
+ background: var(--Neutral-White, #ffffff);
10
10
  border-bottom: 1px solid var(--Gray-Gray-100, #eceef4);
11
11
  gap: var(--Size-4, 16px);
12
12
  position: relative;
@@ -72,9 +72,9 @@
72
72
 
73
73
  .navbar__badge {
74
74
  background: var(--Error-Error-500, #f46a6b);
75
- color: var(--Neutral-White, #fff);
76
- font-size: 10px;
77
- font-weight: 700;
75
+ color: var(--Neutral-White, #ffffff);
76
+ font-size: var(--font-size-xxs);
77
+ font-weight: var(--font-weight-bold);
78
78
  min-width: 16px;
79
79
  height: 16px;
80
80
  border-radius: 100px;
@@ -110,9 +110,9 @@
110
110
  top: 2px;
111
111
  right: 2px;
112
112
  background: var(--Error-Error-500, #f46a6b);
113
- color: var(--Neutral-White, #fff);
113
+ color: var(--Neutral-White, #ffffff);
114
114
  font-size: 9px;
115
- font-weight: 700;
115
+ font-weight: var(--font-weight-bold);
116
116
  min-width: 14px;
117
117
  height: 14px;
118
118
  border-radius: 100px;
@@ -148,7 +148,7 @@
148
148
  height: 28px;
149
149
  border-radius: 50%;
150
150
  background: var(--Primary-Primary-500, #f49a3d);
151
- color: var(--Neutral-White, #fff);
151
+ color: var(--Neutral-White, #ffffff);
152
152
  display: flex;
153
153
  align-items: center;
154
154
  justify-content: center;
@@ -8,8 +8,10 @@ export class DropiNavbar {
8
8
  logoUrl = '';
9
9
  /** Logo alt */
10
10
  logoAlt = 'Logo';
11
- /** Navigation items (array or JSON string) */
12
- items = [];
11
+ /** Navigation data (matches Angular `data: DropiTableRow[]`) */
12
+ data = [];
13
+ /** Title (matches Angular `title`) */
14
+ title = '';
13
15
  /** Active item ID */
14
16
  activeId = '';
15
17
  /** User name */
@@ -20,23 +22,23 @@ export class DropiNavbar {
20
22
  notifications = 0;
21
23
  /** Show menu toggle (mobile) */
22
24
  showMenuToggle = true;
23
- /** Emitted when a nav item is clicked. e.detail = item id */
24
- dropiNavItemClick;
25
+ /** Emitted when a nav item is clicked (matches Angular `clickLoadItem`) */
26
+ clickLoadItem;
25
27
  /** Emitted when notification bell is clicked */
26
28
  dropiNotificationsClick;
27
29
  /** Emitted when avatar/user is clicked */
28
30
  dropiUserClick;
29
31
  /** Emitted when mobile menu toggle clicked */
30
32
  dropiMenuToggle;
31
- get parsedItems() {
32
- const val = this.items;
33
+ get parsedData() {
34
+ const val = this.data;
33
35
  return typeof val === 'string' ? JSON.parse(val) : (val || []);
34
36
  }
35
37
  render() {
36
- const items = this.parsedItems;
37
- return (h("nav", { key: '014281e03d0d6d2619add2319c3df90a5b6246a5', class: "navbar" }, h("div", { key: '4c1ac832042995edbe98e03d9ffd722879d7667c', class: "navbar__left" }, this.showMenuToggle && (h("button", { key: 'b244829263b1fa8f10365be75f8e6a86780b23bb', class: "navbar__menu-btn", onClick: () => this.dropiMenuToggle.emit(), "aria-label": "Men\u00FA" }, h("dropi-icon", { key: '082a2ec0c22c31d0e50c6c4268deb91db91a4a0a', name: "Menu", width: "20px", height: "20px", color: "Gray-Gray-700" }))), this.logoUrl && (h("img", { key: 'bb999a5b53a2e667715b8b8152e68f567bf6735d', class: "navbar__logo", src: this.logoUrl, alt: this.logoAlt }))), items.length > 0 && (h("ul", { key: '0d8fc800d7e8eb42ba7971c323dcd7366c564c6f', class: "navbar__items" }, items.map(item => (h("li", null, h("button", { class: { 'navbar__item': true, 'navbar__item--active': item.id === this.activeId }, onClick: () => this.dropiNavItemClick.emit(item.id), 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.label), item.badge != null && String(item.badge) !== '0' && (h("span", { class: "navbar__badge" }, item.badge)))))))), h("div", { key: 'ce34e9989a27f875880cc674f68cd1348ba830ea', class: "navbar__right" }, h("button", { key: '8786409d275d115e363d4675d51d33a004881287', class: "navbar__icon-btn", onClick: () => this.dropiNotificationsClick.emit(), "aria-label": "Notificaciones" }, h("dropi-icon", { key: '6d8475c54109cf3535464029d906779a1ef5613d', name: "Bell", width: "20px", height: "20px", color: "Gray-Gray-600" }), this.notifications > 0 && (h("span", { key: 'f38458c5cf0e805cf7bc20ca6d9c2f59570c2813', class: "navbar__notif-badge" }, this.notifications > 99 ? '99+' : this.notifications))), h("button", { key: 'aa82799088ef91868967988a48b51d5426175733', class: "navbar__user-btn", onClick: () => this.dropiUserClick.emit(), type: "button" }, this.userAvatar
38
+ const items = this.parsedData;
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
38
40
  ? h("img", { class: "navbar__avatar", src: this.userAvatar, alt: this.userName })
39
- : h("div", { class: "navbar__avatar-placeholder" }, this.userName ? this.userName[0].toUpperCase() : '?'), this.userName && h("span", { key: '512bb7945572d2a2c117d8fa27d82d1d53b78120', class: "navbar__user-name" }, this.userName), h("dropi-icon", { key: 'feac223f33239f1b1d2add2139aef3408a73de44', 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" })))));
40
42
  }
41
43
  static get is() { return "dropi-navbar"; }
42
44
  static get encapsulation() { return "shadow"; }
@@ -92,32 +94,46 @@ export class DropiNavbar {
92
94
  "attribute": "logo-alt",
93
95
  "defaultValue": "'Logo'"
94
96
  },
95
- "items": {
97
+ "data": {
96
98
  "type": "string",
97
99
  "mutable": false,
98
100
  "complexType": {
99
- "original": "NavItem[] | string",
100
- "resolved": "NavItem[] | string",
101
- "references": {
102
- "NavItem": {
103
- "location": "local",
104
- "path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-navbar/dropi-navbar.tsx",
105
- "id": "src/components/dropi-navbar/dropi-navbar.tsx::NavItem"
106
- }
107
- }
101
+ "original": "any[] | string",
102
+ "resolved": "any[] | string",
103
+ "references": {}
108
104
  },
109
105
  "required": false,
110
106
  "optional": false,
111
107
  "docs": {
112
108
  "tags": [],
113
- "text": "Navigation items (array or JSON string)"
109
+ "text": "Navigation data (matches Angular `data: DropiTableRow[]`)"
114
110
  },
115
111
  "getter": false,
116
112
  "setter": false,
117
113
  "reflect": false,
118
- "attribute": "items",
114
+ "attribute": "data",
119
115
  "defaultValue": "[]"
120
116
  },
117
+ "title": {
118
+ "type": "string",
119
+ "mutable": false,
120
+ "complexType": {
121
+ "original": "string",
122
+ "resolved": "string",
123
+ "references": {}
124
+ },
125
+ "required": false,
126
+ "optional": false,
127
+ "docs": {
128
+ "tags": [],
129
+ "text": "Title (matches Angular `title`)"
130
+ },
131
+ "getter": false,
132
+ "setter": false,
133
+ "reflect": false,
134
+ "attribute": "title",
135
+ "defaultValue": "''"
136
+ },
121
137
  "activeId": {
122
138
  "type": "string",
123
139
  "mutable": false,
@@ -222,18 +238,18 @@ export class DropiNavbar {
222
238
  }
223
239
  static get events() {
224
240
  return [{
225
- "method": "dropiNavItemClick",
226
- "name": "dropiNavItemClick",
241
+ "method": "clickLoadItem",
242
+ "name": "clickLoadItem",
227
243
  "bubbles": true,
228
244
  "cancelable": true,
229
245
  "composed": true,
230
246
  "docs": {
231
247
  "tags": [],
232
- "text": "Emitted when a nav item is clicked. e.detail = item id"
248
+ "text": "Emitted when a nav item is clicked (matches Angular `clickLoadItem`)"
233
249
  },
234
250
  "complexType": {
235
- "original": "string",
236
- "resolved": "string",
251
+ "original": "any",
252
+ "resolved": "any",
237
253
  "references": {}
238
254
  }
239
255
  }, {
@@ -24,10 +24,10 @@
24
24
  font-size: 22px;
25
25
  font-weight: var(--font-weight-bold, 700);
26
26
  font-family: inherit;
27
- color: var(--Gray-Gray-800, #495057);
27
+ color: var(--Gray-Gray-800, #1f2433);
28
28
  outline: none;
29
29
  transition: border-color 0.15s ease;
30
- background: var(--Neutral-White, #fff);
30
+ background: var(--Neutral-White, #ffffff);
31
31
  }
32
32
 
33
33
  .otp__digit:focus {