@dropi/ui 0.1.18 → 0.1.20

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 (491) hide show
  1. package/assets/icons/ilustration/bg-warning.svg +3 -0
  2. package/assets/icons/ilustration/default.svg +4 -0
  3. package/assets/icons/ilustration/error.svg +10 -0
  4. package/assets/icons/ilustration/exclusive.svg +9 -0
  5. package/assets/icons/ilustration/info.svg +10 -0
  6. package/assets/icons/ilustration/loading.svg +4 -0
  7. package/assets/icons/ilustration/love.svg +9 -0
  8. package/assets/icons/ilustration/premium-new.svg +14 -0
  9. package/assets/icons/ilustration/premium.svg +5 -0
  10. package/assets/icons/ilustration/sorry.svg +4 -0
  11. package/assets/icons/ilustration/success.svg +11 -0
  12. package/assets/icons/ilustration/verified-new.svg +9 -0
  13. package/assets/icons/ilustration/verified.svg +4 -0
  14. package/assets/icons/ilustration/warning.svg +9 -0
  15. package/assets/lottie-files/loading.json +1 -0
  16. package/dist/cjs/dropi-accordion.cjs.entry.js +3 -3
  17. package/dist/cjs/dropi-alert-modal.cjs.entry.js +72 -0
  18. package/dist/cjs/dropi-alert.cjs.entry.js +58 -0
  19. package/dist/cjs/dropi-avatars.cjs.entry.js +31 -0
  20. package/dist/cjs/dropi-badge.cjs.entry.js +2 -2
  21. package/dist/cjs/dropi-banner-external.cjs.entry.js +47 -0
  22. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +48 -0
  23. package/dist/cjs/dropi-button.cjs.entry.js +7 -5
  24. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +45 -0
  25. package/dist/cjs/dropi-card-product.cjs.entry.js +59 -0
  26. package/dist/cjs/dropi-card-section.cjs.entry.js +38 -0
  27. package/dist/cjs/dropi-carousel.cjs.entry.js +83 -0
  28. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +71 -0
  29. package/dist/cjs/dropi-checkbox.cjs.entry.js +4 -4
  30. package/dist/cjs/dropi-chips.cjs.entry.js +30 -0
  31. package/dist/cjs/dropi-city-selector.cjs.entry.js +85 -0
  32. package/dist/cjs/dropi-color-picker.cjs.entry.js +69 -0
  33. package/dist/cjs/dropi-country-flags.cjs.entry.js +37 -0
  34. package/dist/cjs/dropi-country-selector.cjs.entry.js +164 -0
  35. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +115 -0
  36. package/dist/cjs/dropi-date-picker.cjs.entry.js +205 -0
  37. package/dist/cjs/dropi-drawer.cjs.entry.js +50 -0
  38. package/dist/cjs/dropi-dropdown.cjs.entry.js +58 -0
  39. package/dist/cjs/dropi-empty-state.cjs.entry.js +9 -5
  40. package/dist/cjs/dropi-favorite-button.cjs.entry.js +27 -0
  41. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +52 -0
  42. package/dist/cjs/dropi-file-upload.cjs.entry.js +84 -0
  43. package/dist/cjs/dropi-icon.cjs.entry.js +2 -2
  44. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +39 -0
  45. package/dist/cjs/dropi-image-miniature.cjs.entry.js +44 -0
  46. package/dist/cjs/dropi-image-overlay.cjs.entry.js +62 -0
  47. package/dist/cjs/dropi-input.cjs.entry.js +10 -10
  48. package/dist/cjs/dropi-languages-selector.cjs.entry.js +57 -0
  49. package/dist/cjs/dropi-logo.cjs.entry.js +27 -0
  50. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +27 -0
  51. package/dist/cjs/dropi-media-player.cjs.entry.js +102 -0
  52. package/dist/cjs/dropi-modal.cjs.entry.js +12 -9
  53. package/dist/cjs/dropi-navbar.cjs.entry.js +52 -0
  54. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +92 -0
  55. package/dist/cjs/dropi-paginator.cjs.entry.js +7 -5
  56. package/dist/cjs/dropi-phone-input.cjs.entry.js +84 -0
  57. package/dist/cjs/dropi-radio-button.cjs.entry.js +3 -3
  58. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +56 -0
  59. package/dist/cjs/dropi-read-more.cjs.entry.js +36 -0
  60. package/dist/cjs/dropi-search.cjs.entry.js +110 -0
  61. package/dist/cjs/dropi-select.cjs.entry.js +7 -7
  62. package/dist/cjs/dropi-sidebar.cjs.entry.js +67 -0
  63. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +51 -0
  64. package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/dropi-steps.cjs.entry.js +50 -0
  66. package/dist/cjs/dropi-switch.cjs.entry.js +3 -3
  67. package/dist/cjs/dropi-table.cjs.entry.js +124 -0
  68. package/dist/cjs/dropi-tabs.cjs.entry.js +3 -3
  69. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +19 -0
  70. package/dist/cjs/dropi-tag.cjs.entry.js +3 -3
  71. package/dist/cjs/dropi-text-area.cjs.entry.js +8 -8
  72. package/dist/cjs/dropi-time-line.cjs.entry.js +34 -0
  73. package/dist/cjs/dropi-toast.cjs.entry.js +2 -2
  74. package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
  75. package/dist/cjs/dropi-ui.cjs.js +2 -2
  76. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +55 -0
  77. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +33 -0
  78. package/dist/cjs/{index-B6R6Ojma.js → index-DcOH2ZjX.js} +3 -3
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/collection/collection-manifest.json +44 -1
  81. package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
  82. package/dist/collection/components/dropi-alert/dropi-alert.css +134 -0
  83. package/dist/collection/components/dropi-alert/dropi-alert.js +305 -0
  84. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +73 -0
  85. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +395 -0
  86. package/dist/collection/components/dropi-avatars/dropi-avatars.css +55 -0
  87. package/dist/collection/components/dropi-avatars/dropi-avatars.js +126 -0
  88. package/dist/collection/components/dropi-badge/dropi-badge.js +1 -1
  89. package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +56 -0
  90. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +179 -0
  91. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +69 -0
  92. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +171 -0
  93. package/dist/collection/components/dropi-button/dropi-button.css +4 -2
  94. package/dist/collection/components/dropi-button/dropi-button.js +24 -2
  95. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +90 -0
  96. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +219 -0
  97. package/dist/collection/components/dropi-card-product/dropi-card-product.css +158 -0
  98. package/dist/collection/components/dropi-card-product/dropi-card-product.js +353 -0
  99. package/dist/collection/components/dropi-card-section/dropi-card-section.css +42 -0
  100. package/dist/collection/components/dropi-card-section/dropi-card-section.js +178 -0
  101. package/dist/collection/components/dropi-carousel/dropi-carousel.css +103 -0
  102. package/dist/collection/components/dropi-carousel/dropi-carousel.js +277 -0
  103. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +2 -2
  104. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +44 -0
  105. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +245 -0
  106. package/dist/collection/components/dropi-chips/dropi-chips.css +68 -0
  107. package/dist/collection/components/dropi-chips/dropi-chips.js +169 -0
  108. package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +156 -0
  109. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +213 -0
  110. package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +183 -0
  111. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +235 -0
  112. package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +30 -0
  113. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +129 -0
  114. package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +164 -0
  115. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +327 -0
  116. package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +150 -0
  117. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +434 -0
  118. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +143 -0
  119. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +327 -0
  120. package/dist/collection/components/dropi-drawer/dropi-drawer.css +107 -0
  121. package/dist/collection/components/dropi-drawer/dropi-drawer.js +198 -0
  122. package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +51 -0
  123. package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +184 -0
  124. package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +1 -0
  125. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +45 -1
  126. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +24 -0
  127. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +78 -0
  128. package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +66 -0
  129. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +257 -0
  130. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +111 -0
  131. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +198 -0
  132. package/dist/collection/components/dropi-icon/dropi-icon.js +1 -1
  133. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +91 -0
  134. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +150 -0
  135. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.css +45 -0
  136. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +150 -0
  137. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +123 -0
  138. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +155 -0
  139. package/dist/collection/components/dropi-input/dropi-input.css +11 -0
  140. package/dist/collection/components/dropi-input/dropi-input.js +4 -4
  141. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +79 -0
  142. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +154 -0
  143. package/dist/collection/components/dropi-logo/dropi-logo.css +26 -0
  144. package/dist/collection/components/dropi-logo/dropi-logo.js +96 -0
  145. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +50 -0
  146. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +116 -0
  147. package/dist/collection/components/dropi-media-player/dropi-media-player.css +127 -0
  148. package/dist/collection/components/dropi-media-player/dropi-media-player.js +294 -0
  149. package/dist/collection/components/dropi-modal/dropi-modal.css +9 -3
  150. package/dist/collection/components/dropi-modal/dropi-modal.js +10 -7
  151. package/dist/collection/components/dropi-navbar/dropi-navbar.css +166 -0
  152. package/dist/collection/components/dropi-navbar/dropi-navbar.js +286 -0
  153. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +67 -0
  154. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +221 -0
  155. package/dist/collection/components/dropi-paginator/dropi-paginator.css +15 -12
  156. package/dist/collection/components/dropi-paginator/dropi-paginator.js +24 -2
  157. package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +152 -0
  158. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +272 -0
  159. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +1 -1
  160. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +64 -0
  161. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +209 -0
  162. package/dist/collection/components/dropi-read-more/dropi-read-more.css +28 -0
  163. package/dist/collection/components/dropi-read-more/dropi-read-more.js +110 -0
  164. package/dist/collection/components/dropi-search/dropi-search.css +112 -0
  165. package/dist/collection/components/dropi-search/dropi-search.js +392 -0
  166. package/dist/collection/components/dropi-select/dropi-select.js +1 -1
  167. package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +117 -0
  168. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +233 -0
  169. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +94 -0
  170. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +172 -0
  171. package/dist/collection/components/dropi-steps/dropi-steps.css +95 -0
  172. package/dist/collection/components/dropi-steps/dropi-steps.js +145 -0
  173. package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
  174. package/dist/collection/components/dropi-table/dropi-table.css +80 -0
  175. package/dist/collection/components/dropi-table/dropi-table.js +333 -0
  176. package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
  177. package/dist/collection/components/dropi-tag/dropi-tag.css +1 -2
  178. package/dist/collection/components/dropi-tag/dropi-tag.js +1 -1
  179. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +14 -0
  180. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +48 -0
  181. package/dist/collection/components/dropi-text-area/dropi-text-area.css +2 -2
  182. package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
  183. package/dist/collection/components/dropi-time-line/dropi-time-line.css +108 -0
  184. package/dist/collection/components/dropi-time-line/dropi-time-line.js +69 -0
  185. package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
  186. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
  187. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +95 -0
  188. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +167 -0
  189. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +73 -0
  190. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +110 -0
  191. package/dist/components/dropi-accordion.js +1 -1
  192. package/dist/components/dropi-alert-modal.d.ts +11 -0
  193. package/dist/components/dropi-alert-modal.js +1 -0
  194. package/dist/components/dropi-alert.d.ts +11 -0
  195. package/dist/components/dropi-alert.js +1 -0
  196. package/dist/components/dropi-avatars.d.ts +11 -0
  197. package/dist/components/dropi-avatars.js +1 -0
  198. package/dist/components/dropi-badge.js +1 -1
  199. package/dist/components/dropi-banner-external.d.ts +11 -0
  200. package/dist/components/dropi-banner-external.js +1 -0
  201. package/dist/components/dropi-breadcrumb.d.ts +11 -0
  202. package/dist/components/dropi-breadcrumb.js +1 -0
  203. package/dist/components/dropi-button.js +1 -1
  204. package/dist/components/dropi-card-checkbox.d.ts +11 -0
  205. package/dist/components/dropi-card-checkbox.js +1 -0
  206. package/dist/components/dropi-card-product.d.ts +11 -0
  207. package/dist/components/dropi-card-product.js +1 -0
  208. package/dist/components/dropi-card-section.d.ts +11 -0
  209. package/dist/components/dropi-card-section.js +1 -0
  210. package/dist/components/dropi-carousel.d.ts +11 -0
  211. package/dist/components/dropi-carousel.js +1 -0
  212. package/dist/components/dropi-checkbox-selection-list.d.ts +11 -0
  213. package/dist/components/dropi-checkbox-selection-list.js +1 -0
  214. package/dist/components/dropi-checkbox.js +1 -1
  215. package/dist/components/dropi-chips.d.ts +11 -0
  216. package/dist/components/dropi-chips.js +1 -0
  217. package/dist/components/dropi-city-selector.d.ts +11 -0
  218. package/dist/components/dropi-city-selector.js +1 -0
  219. package/dist/components/dropi-color-picker.d.ts +11 -0
  220. package/dist/components/dropi-color-picker.js +1 -0
  221. package/dist/components/dropi-country-flags.d.ts +11 -0
  222. package/dist/components/dropi-country-flags.js +1 -0
  223. package/dist/components/dropi-country-selector.d.ts +11 -0
  224. package/dist/components/dropi-country-selector.js +1 -0
  225. package/dist/components/dropi-date-picker-range.d.ts +11 -0
  226. package/dist/components/dropi-date-picker-range.js +1 -0
  227. package/dist/components/dropi-date-picker.d.ts +11 -0
  228. package/dist/components/dropi-date-picker.js +1 -0
  229. package/dist/components/dropi-drawer.d.ts +11 -0
  230. package/dist/components/dropi-drawer.js +1 -0
  231. package/dist/components/dropi-dropdown.d.ts +11 -0
  232. package/dist/components/dropi-dropdown.js +1 -0
  233. package/dist/components/dropi-empty-state.js +1 -1
  234. package/dist/components/dropi-favorite-button.d.ts +11 -0
  235. package/dist/components/dropi-favorite-button.js +1 -0
  236. package/dist/components/dropi-file-upload-progress-bar.d.ts +11 -0
  237. package/dist/components/dropi-file-upload-progress-bar.js +1 -0
  238. package/dist/components/dropi-file-upload.d.ts +11 -0
  239. package/dist/components/dropi-file-upload.js +1 -0
  240. package/dist/components/dropi-icon.js +1 -1
  241. package/dist/components/dropi-ilustration-icon.d.ts +11 -0
  242. package/dist/components/dropi-ilustration-icon.js +1 -0
  243. package/dist/components/dropi-image-miniature.d.ts +11 -0
  244. package/dist/components/dropi-image-miniature.js +1 -0
  245. package/dist/components/dropi-image-overlay.d.ts +11 -0
  246. package/dist/components/dropi-image-overlay.js +1 -0
  247. package/dist/components/dropi-input.js +1 -1
  248. package/dist/components/dropi-languages-selector.d.ts +11 -0
  249. package/dist/components/dropi-languages-selector.js +1 -0
  250. package/dist/components/dropi-logo.d.ts +11 -0
  251. package/dist/components/dropi-logo.js +1 -0
  252. package/dist/components/dropi-lottie-loader.d.ts +11 -0
  253. package/dist/components/dropi-lottie-loader.js +1 -0
  254. package/dist/components/dropi-media-player.d.ts +11 -0
  255. package/dist/components/dropi-media-player.js +1 -0
  256. package/dist/components/dropi-modal.js +1 -1
  257. package/dist/components/dropi-navbar.d.ts +11 -0
  258. package/dist/components/dropi-navbar.js +1 -0
  259. package/dist/components/dropi-otp-send-code.d.ts +11 -0
  260. package/dist/components/dropi-otp-send-code.js +1 -0
  261. package/dist/components/dropi-paginator.js +1 -1
  262. package/dist/components/dropi-phone-input.d.ts +11 -0
  263. package/dist/components/dropi-phone-input.js +1 -0
  264. package/dist/components/dropi-radio-button.js +1 -1
  265. package/dist/components/dropi-radio-selection-list.d.ts +11 -0
  266. package/dist/components/dropi-radio-selection-list.js +1 -0
  267. package/dist/components/dropi-read-more.d.ts +11 -0
  268. package/dist/components/dropi-read-more.js +1 -0
  269. package/dist/components/dropi-search.d.ts +11 -0
  270. package/dist/components/dropi-search.js +1 -0
  271. package/dist/components/dropi-select.js +1 -1
  272. package/dist/components/dropi-sidebar.d.ts +11 -0
  273. package/dist/components/dropi-sidebar.js +1 -0
  274. package/dist/components/dropi-simple-stepper.d.ts +11 -0
  275. package/dist/components/dropi-simple-stepper.js +1 -0
  276. package/dist/components/dropi-steps.d.ts +11 -0
  277. package/dist/components/dropi-steps.js +1 -0
  278. package/dist/components/dropi-switch.js +1 -1
  279. package/dist/components/dropi-table.d.ts +11 -0
  280. package/dist/components/dropi-table.js +1 -0
  281. package/dist/components/dropi-tabs.js +1 -1
  282. package/dist/components/dropi-tag-type-product.d.ts +11 -0
  283. package/dist/components/dropi-tag-type-product.js +1 -0
  284. package/dist/components/dropi-tag.js +1 -1
  285. package/dist/components/dropi-text-area.js +1 -1
  286. package/dist/components/dropi-time-line.d.ts +11 -0
  287. package/dist/components/dropi-time-line.js +1 -0
  288. package/dist/components/dropi-toast.js +1 -1
  289. package/dist/components/dropi-tooltip.js +1 -1
  290. package/dist/components/dropi-vertical-steps.d.ts +11 -0
  291. package/dist/components/dropi-vertical-steps.js +1 -0
  292. package/dist/components/dropi-youtube-lazy-video.d.ts +11 -0
  293. package/dist/components/dropi-youtube-lazy-video.js +1 -0
  294. package/dist/components/index.js +1 -1
  295. package/dist/components/p-BY_J-4Sm.js +1 -0
  296. package/dist/components/p-CYCV-5qV.js +1 -0
  297. package/dist/components/p-D0ZJcRZn.js +1 -0
  298. package/dist/components/p-DUPOnSiL.js +1 -0
  299. package/dist/components/p-DUX_WvqW.js +1 -0
  300. package/dist/components/{p-ChOXWKmI.js → p-wO1yy0Zr.js} +1 -1
  301. package/dist/dropi-ui/dropi-ui.esm.js +1 -1
  302. package/dist/dropi-ui/p-053ebb91.entry.js +1 -0
  303. package/dist/dropi-ui/p-0acd32e6.entry.js +1 -0
  304. package/dist/dropi-ui/p-0e88a543.entry.js +1 -0
  305. package/dist/dropi-ui/p-0f2f5f75.entry.js +1 -0
  306. package/dist/dropi-ui/p-131d87ac.entry.js +1 -0
  307. package/dist/dropi-ui/p-1af4719d.entry.js +1 -0
  308. package/dist/dropi-ui/p-1e8f6d4a.entry.js +1 -0
  309. package/dist/dropi-ui/p-22132b1a.entry.js +1 -0
  310. package/dist/dropi-ui/p-2c1aaf6f.entry.js +1 -0
  311. package/dist/dropi-ui/p-2e9b87a9.entry.js +1 -0
  312. package/dist/dropi-ui/p-3414a414.entry.js +1 -0
  313. package/dist/dropi-ui/p-34ad54a1.entry.js +1 -0
  314. package/dist/dropi-ui/p-3531378b.entry.js +1 -0
  315. package/dist/dropi-ui/p-3983a7aa.entry.js +1 -0
  316. package/dist/dropi-ui/p-40e91337.entry.js +1 -0
  317. package/dist/dropi-ui/{p-42179ae4.entry.js → p-4a8646e5.entry.js} +1 -1
  318. package/dist/dropi-ui/p-4be64bf0.entry.js +1 -0
  319. package/dist/dropi-ui/p-4ec17510.entry.js +1 -0
  320. package/dist/dropi-ui/p-5023eef0.entry.js +1 -0
  321. package/dist/dropi-ui/p-51a97b1a.entry.js +1 -0
  322. package/dist/dropi-ui/p-52796d84.entry.js +1 -0
  323. package/dist/dropi-ui/p-53a5bd7b.entry.js +1 -0
  324. package/dist/dropi-ui/p-5425f941.entry.js +1 -0
  325. package/dist/dropi-ui/p-58d0bf7a.entry.js +1 -0
  326. package/dist/dropi-ui/p-59d3bd9b.entry.js +1 -0
  327. package/dist/dropi-ui/p-5e957631.entry.js +1 -0
  328. package/dist/dropi-ui/p-64cbf4ea.entry.js +1 -0
  329. package/dist/dropi-ui/p-68080534.entry.js +1 -0
  330. package/dist/dropi-ui/{p-e44242e2.entry.js → p-6da6b97e.entry.js} +1 -1
  331. package/dist/dropi-ui/p-6df57f25.entry.js +1 -0
  332. package/dist/dropi-ui/p-7c916570.entry.js +1 -0
  333. package/dist/dropi-ui/p-7e95462a.entry.js +1 -0
  334. package/dist/dropi-ui/{p-6031ac9d.entry.js → p-80089042.entry.js} +1 -1
  335. package/dist/dropi-ui/p-8768bb11.entry.js +1 -0
  336. package/dist/dropi-ui/p-896f2900.entry.js +1 -0
  337. package/dist/dropi-ui/p-89ac1ff2.entry.js +1 -0
  338. package/dist/dropi-ui/p-8ce79c69.entry.js +1 -0
  339. package/dist/dropi-ui/p-8e809670.entry.js +1 -0
  340. package/dist/dropi-ui/p-93b207b7.entry.js +1 -0
  341. package/dist/dropi-ui/p-983f72ad.entry.js +1 -0
  342. package/dist/dropi-ui/p-98babb78.entry.js +1 -0
  343. package/dist/dropi-ui/p-9fc53d50.entry.js +1 -0
  344. package/dist/dropi-ui/p-Tbza12Gt.js +2 -0
  345. package/dist/dropi-ui/p-a20705fe.entry.js +1 -0
  346. package/dist/dropi-ui/p-a72da98f.entry.js +1 -0
  347. package/dist/dropi-ui/p-a876d57c.entry.js +1 -0
  348. package/dist/dropi-ui/p-b1b0f938.entry.js +1 -0
  349. package/dist/dropi-ui/p-b2e176b1.entry.js +1 -0
  350. package/dist/dropi-ui/p-b41c8a6c.entry.js +1 -0
  351. package/dist/dropi-ui/p-b890fd5b.entry.js +1 -0
  352. package/dist/dropi-ui/p-bf5a53ef.entry.js +1 -0
  353. package/dist/dropi-ui/{p-4d582d58.entry.js → p-c0677661.entry.js} +1 -1
  354. package/dist/dropi-ui/p-c2562a1c.entry.js +1 -0
  355. package/dist/dropi-ui/p-c2b5d0fb.entry.js +1 -0
  356. package/dist/dropi-ui/p-c4d4396b.entry.js +1 -0
  357. package/dist/dropi-ui/p-c9ebd31b.entry.js +1 -0
  358. package/dist/dropi-ui/p-cecfb68e.entry.js +1 -0
  359. package/dist/dropi-ui/p-d0b47e2e.entry.js +1 -0
  360. package/dist/dropi-ui/p-dcefef51.entry.js +1 -0
  361. package/dist/dropi-ui/p-e4b7e15f.entry.js +1 -0
  362. package/dist/dropi-ui/{p-b0d3442e.entry.js → p-e7f4ed25.entry.js} +1 -1
  363. package/dist/dropi-ui/p-f1d69b15.entry.js +1 -0
  364. package/dist/esm/dropi-accordion.entry.js +3 -3
  365. package/dist/esm/dropi-alert-modal.entry.js +70 -0
  366. package/dist/esm/dropi-alert.entry.js +56 -0
  367. package/dist/esm/dropi-avatars.entry.js +29 -0
  368. package/dist/esm/dropi-badge.entry.js +2 -2
  369. package/dist/esm/dropi-banner-external.entry.js +45 -0
  370. package/dist/esm/dropi-breadcrumb.entry.js +46 -0
  371. package/dist/esm/dropi-button.entry.js +7 -5
  372. package/dist/esm/dropi-card-checkbox.entry.js +43 -0
  373. package/dist/esm/dropi-card-product.entry.js +57 -0
  374. package/dist/esm/dropi-card-section.entry.js +36 -0
  375. package/dist/esm/dropi-carousel.entry.js +81 -0
  376. package/dist/esm/dropi-checkbox-selection-list.entry.js +69 -0
  377. package/dist/esm/dropi-checkbox.entry.js +4 -4
  378. package/dist/esm/dropi-chips.entry.js +28 -0
  379. package/dist/esm/dropi-city-selector.entry.js +83 -0
  380. package/dist/esm/dropi-color-picker.entry.js +67 -0
  381. package/dist/esm/dropi-country-flags.entry.js +35 -0
  382. package/dist/esm/dropi-country-selector.entry.js +162 -0
  383. package/dist/esm/dropi-date-picker-range.entry.js +113 -0
  384. package/dist/esm/dropi-date-picker.entry.js +203 -0
  385. package/dist/esm/dropi-drawer.entry.js +48 -0
  386. package/dist/esm/dropi-dropdown.entry.js +56 -0
  387. package/dist/esm/dropi-empty-state.entry.js +9 -5
  388. package/dist/esm/dropi-favorite-button.entry.js +25 -0
  389. package/dist/esm/dropi-file-upload-progress-bar.entry.js +50 -0
  390. package/dist/esm/dropi-file-upload.entry.js +82 -0
  391. package/dist/esm/dropi-icon.entry.js +2 -2
  392. package/dist/esm/dropi-ilustration-icon.entry.js +37 -0
  393. package/dist/esm/dropi-image-miniature.entry.js +42 -0
  394. package/dist/esm/dropi-image-overlay.entry.js +60 -0
  395. package/dist/esm/dropi-input.entry.js +10 -10
  396. package/dist/esm/dropi-languages-selector.entry.js +55 -0
  397. package/dist/esm/dropi-logo.entry.js +25 -0
  398. package/dist/esm/dropi-lottie-loader.entry.js +25 -0
  399. package/dist/esm/dropi-media-player.entry.js +100 -0
  400. package/dist/esm/dropi-modal.entry.js +12 -9
  401. package/dist/esm/dropi-navbar.entry.js +50 -0
  402. package/dist/esm/dropi-otp-send-code.entry.js +90 -0
  403. package/dist/esm/dropi-paginator.entry.js +7 -5
  404. package/dist/esm/dropi-phone-input.entry.js +82 -0
  405. package/dist/esm/dropi-radio-button.entry.js +3 -3
  406. package/dist/esm/dropi-radio-selection-list.entry.js +54 -0
  407. package/dist/esm/dropi-read-more.entry.js +34 -0
  408. package/dist/esm/dropi-search.entry.js +108 -0
  409. package/dist/esm/dropi-select.entry.js +7 -7
  410. package/dist/esm/dropi-sidebar.entry.js +65 -0
  411. package/dist/esm/dropi-simple-stepper.entry.js +49 -0
  412. package/dist/esm/dropi-skeleton.entry.js +1 -1
  413. package/dist/esm/dropi-steps.entry.js +48 -0
  414. package/dist/esm/dropi-switch.entry.js +3 -3
  415. package/dist/esm/dropi-table.entry.js +122 -0
  416. package/dist/esm/dropi-tabs.entry.js +3 -3
  417. package/dist/esm/dropi-tag-type-product.entry.js +17 -0
  418. package/dist/esm/dropi-tag.entry.js +3 -3
  419. package/dist/esm/dropi-text-area.entry.js +8 -8
  420. package/dist/esm/dropi-time-line.entry.js +32 -0
  421. package/dist/esm/dropi-toast.entry.js +2 -2
  422. package/dist/esm/dropi-tooltip.entry.js +2 -2
  423. package/dist/esm/dropi-ui.js +3 -3
  424. package/dist/esm/dropi-vertical-steps.entry.js +53 -0
  425. package/dist/esm/dropi-youtube-lazy-video.entry.js +31 -0
  426. package/dist/esm/{index-Twbb5MNM.js → index-Tbza12Gt.js} +3 -3
  427. package/dist/esm/loader.js +3 -3
  428. package/dist/types/components/dropi-alert/dropi-alert.d.ts +35 -0
  429. package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +48 -0
  430. package/dist/types/components/dropi-avatars/dropi-avatars.d.ts +17 -0
  431. package/dist/types/components/dropi-banner-external/dropi-banner-external.d.ts +30 -0
  432. package/dist/types/components/dropi-breadcrumb/dropi-breadcrumb.d.ts +31 -0
  433. package/dist/types/components/dropi-button/dropi-button.d.ts +2 -0
  434. package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +33 -0
  435. package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +39 -0
  436. package/dist/types/components/dropi-card-section/dropi-card-section.d.ts +22 -0
  437. package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +40 -0
  438. package/dist/types/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.d.ts +37 -0
  439. package/dist/types/components/dropi-chips/dropi-chips.d.ts +23 -0
  440. package/dist/types/components/dropi-city-selector/dropi-city-selector.d.ts +46 -0
  441. package/dist/types/components/dropi-color-picker/dropi-color-picker.d.ts +31 -0
  442. package/dist/types/components/dropi-country-flags/dropi-country-flags.d.ts +19 -0
  443. package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +39 -0
  444. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +47 -0
  445. package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +50 -0
  446. package/dist/types/components/dropi-drawer/dropi-drawer.d.ts +25 -0
  447. package/dist/types/components/dropi-dropdown/dropi-dropdown.d.ts +28 -0
  448. package/dist/types/components/dropi-empty-state/dropi-empty-state.d.ts +4 -0
  449. package/dist/types/components/dropi-favorite-button/dropi-favorite-button.d.ts +14 -0
  450. package/dist/types/components/dropi-file-upload/dropi-file-upload.d.ts +37 -0
  451. package/dist/types/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.d.ts +25 -0
  452. package/dist/types/components/dropi-ilustration-icon/dropi-ilustration-icon.d.ts +24 -0
  453. package/dist/types/components/dropi-image-miniature/dropi-image-miniature.d.ts +23 -0
  454. package/dist/types/components/dropi-image-overlay/dropi-image-overlay.d.ts +26 -0
  455. package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +31 -0
  456. package/dist/types/components/dropi-logo/dropi-logo.d.ts +14 -0
  457. package/dist/types/components/dropi-lottie-loader/dropi-lottie-loader.d.ts +15 -0
  458. package/dist/types/components/dropi-media-player/dropi-media-player.d.ts +44 -0
  459. package/dist/types/components/dropi-navbar/dropi-navbar.d.ts +40 -0
  460. package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +33 -0
  461. package/dist/types/components/dropi-paginator/dropi-paginator.d.ts +2 -0
  462. package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +34 -0
  463. package/dist/types/components/dropi-radio-selection-list/dropi-radio-selection-list.d.ts +34 -0
  464. package/dist/types/components/dropi-read-more/dropi-read-more.d.ts +17 -0
  465. package/dist/types/components/dropi-search/dropi-search.d.ts +51 -0
  466. package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +35 -0
  467. package/dist/types/components/dropi-simple-stepper/dropi-simple-stepper.d.ts +20 -0
  468. package/dist/types/components/dropi-steps/dropi-steps.d.ts +21 -0
  469. package/dist/types/components/dropi-table/dropi-table.d.ts +57 -0
  470. package/dist/types/components/dropi-tag-type-product/dropi-tag-type-product.d.ts +9 -0
  471. package/dist/types/components/dropi-time-line/dropi-time-line.d.ts +18 -0
  472. package/dist/types/components/dropi-vertical-steps/dropi-vertical-steps.d.ts +24 -0
  473. package/dist/types/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.d.ts +19 -0
  474. package/dist/types/components.d.ts +5705 -874
  475. package/package.json +1 -1
  476. package/scripts/setup.js +2 -0
  477. package/dist/components/p-NCyvfOs2.js +0 -1
  478. package/dist/dropi-ui/p-082b7039.entry.js +0 -1
  479. package/dist/dropi-ui/p-09c38a49.entry.js +0 -1
  480. package/dist/dropi-ui/p-1739d20c.entry.js +0 -1
  481. package/dist/dropi-ui/p-26dbae0d.entry.js +0 -1
  482. package/dist/dropi-ui/p-63e969da.entry.js +0 -1
  483. package/dist/dropi-ui/p-65fa8558.entry.js +0 -1
  484. package/dist/dropi-ui/p-6d15d32f.entry.js +0 -1
  485. package/dist/dropi-ui/p-79466fec.entry.js +0 -1
  486. package/dist/dropi-ui/p-Twbb5MNM.js +0 -2
  487. package/dist/dropi-ui/p-a5650d8f.entry.js +0 -1
  488. package/dist/dropi-ui/p-eb7f9a57.entry.js +0 -1
  489. package/dist/dropi-ui/p-ecda6e19.entry.js +0 -1
  490. package/dist/dropi-ui/p-f0e1e0f6.entry.js +0 -1
  491. package/dist/dropi-ui/p-f283f41d.entry.js +0 -1
@@ -0,0 +1,110 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiSearchCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.search-label{display:block;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.search-input-row{position:relative;display:flex;align-items:center;width:100%}.search-icon{position:absolute;left:10px;pointer-events:none;z-index:1}.search-input{width:100%;height:40px;padding:0 36px 0 34px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #fff);font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);outline:none;transition:border-color 0.2s}.search-input:focus{border-color:var(--Info-Info-500, #50a5f1)}.search-input::placeholder{color:var(--Gray-Gray-400, #858ea6)}.search-clear{position:absolute;right:10px;display:flex;align-items:center;background:none;border:none;padding:0;cursor:pointer;z-index:1}.search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:var(--dropdown-height, 240px);overflow-y:auto;background:var(--Neutral-White, #fff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);box-shadow:0 4px 16px rgba(0, 0, 0, 0.08);z-index:100}.search-option{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);cursor:pointer;transition:background 0.15s;user-select:none}.search-option:hover{background:var(--Gray-Gray-50, #f7f8fa)}.search-option--selected{background:var(--Primary-Primary-50, #fff5eb)}.search-option__label{flex:1;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-no-results{padding:var(--Size-3, 12px);font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-400, #858ea6);text-align:center}`;
6
+
7
+ const DropiSearch = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.dropiInput = index.createEvent(this, "dropiInput", 7);
11
+ this.dropiBlur = index.createEvent(this, "dropiBlur", 7);
12
+ this.dropiKeyEnter = index.createEvent(this, "dropiKeyEnter", 7);
13
+ this.dropiClear = index.createEvent(this, "dropiClear", 7);
14
+ this.dropiChange = index.createEvent(this, "dropiChange", 7);
15
+ }
16
+ /** Placeholder text */
17
+ placeholder = 'Buscar...';
18
+ /** Controlled input value */
19
+ value = '';
20
+ /** Max character length */
21
+ maxlength;
22
+ /** Show clear (×) button when input has text */
23
+ showClear = true;
24
+ /** Data source to filter. Pass as array or JSON string */
25
+ options = [];
26
+ /** Property name to display and search */
27
+ labelKey = 'name';
28
+ /** Allow multiple selection */
29
+ multiSelect = false;
30
+ /** Max height of dropdown (CSS value) */
31
+ dropdownHeight = '240px';
32
+ /** Label shown above the input */
33
+ label = '';
34
+ open = false;
35
+ selected = [];
36
+ parsedOptions = [];
37
+ /** Emitted on input change. e.detail = current text */
38
+ dropiInput;
39
+ /** Emitted on blur */
40
+ dropiBlur;
41
+ /** Emitted when Enter is pressed. e.detail = current text */
42
+ dropiKeyEnter;
43
+ /** Emitted when clear button clicked */
44
+ dropiClear;
45
+ /** Emitted when selection changes. e.detail = selected items */
46
+ dropiChange;
47
+ optionsChanged(val) {
48
+ this.parsedOptions = typeof val === 'string' ? JSON.parse(val) : (val || []);
49
+ }
50
+ componentWillLoad() {
51
+ this.optionsChanged(this.options);
52
+ }
53
+ get filtered() {
54
+ if (!this.value)
55
+ return this.parsedOptions;
56
+ const q = this.value.toLowerCase();
57
+ return this.parsedOptions.filter(o => String(o[this.labelKey] ?? '').toLowerCase().includes(q));
58
+ }
59
+ handleInput(e) {
60
+ this.value = e.target.value;
61
+ this.open = this.parsedOptions.length > 0;
62
+ this.dropiInput.emit(this.value);
63
+ }
64
+ handleKeyDown(e) {
65
+ if (e.key === 'Enter')
66
+ this.dropiKeyEnter.emit(this.value);
67
+ if (e.key === 'Escape')
68
+ this.open = false;
69
+ }
70
+ handleClear() {
71
+ this.value = '';
72
+ this.open = false;
73
+ this.dropiClear.emit();
74
+ this.dropiInput.emit('');
75
+ }
76
+ isSelected(opt) {
77
+ return this.selected.some(s => s[this.labelKey] === opt[this.labelKey]);
78
+ }
79
+ selectOption(opt) {
80
+ if (this.multiSelect) {
81
+ if (this.isSelected(opt)) {
82
+ this.selected = this.selected.filter(s => s[this.labelKey] !== opt[this.labelKey]);
83
+ }
84
+ else {
85
+ this.selected = [...this.selected, opt];
86
+ }
87
+ }
88
+ else {
89
+ this.value = opt[this.labelKey] ?? '';
90
+ this.selected = [opt];
91
+ this.open = false;
92
+ }
93
+ this.dropiChange.emit(this.selected);
94
+ }
95
+ render() {
96
+ const showDropdown = this.open && this.parsedOptions.length > 0;
97
+ return (index.h("div", { key: 'f7b5b5256a42dc534286dd02248b419fddd74d39', class: "search-wrap" }, this.label && index.h("label", { key: '721b09602381aad6f1f72acdc1029556222144c8', class: "search-label" }, this.label), index.h("div", { key: 'a6c9cff477367a5a6e3653ddd2ae56066acc9236', class: "search-input-row" }, index.h("dropi-icon", { key: '95a51114f701aa87c258e620ccd60e2282830554', class: "search-icon", name: "Search", width: "16px", height: "16px", color: "Gray-Gray-400" }), index.h("input", { key: 'fc0f13786b69d08a1fa71accf5316ca98d6e3823', class: "search-input", type: "text", placeholder: this.placeholder, value: this.value, maxLength: this.maxlength, onInput: (e) => this.handleInput(e), onKeyDown: (e) => this.handleKeyDown(e), onFocus: () => {
98
+ if (this.parsedOptions.length)
99
+ this.open = true;
100
+ }, onBlur: () => { setTimeout(() => this.open = false, 150); this.dropiBlur.emit(); } }), this.showClear && this.value && (index.h("button", { key: 'e16e8746a1800927966aec5268c73bf8c4c10275', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, index.h("dropi-icon", { key: '691106cf972751b909d1a0a467268098e3ff02e8', name: "Close-small", width: "16px", height: "16px", color: "Gray-Gray-400" })))), showDropdown && (index.h("div", { key: '41f2d2f38dbe9d5fb1c48e1b960888fb8cc5738b', class: "search-dropdown", style: { '--dropdown-height': this.dropdownHeight } }, this.filtered.length === 0 ? (index.h("div", { class: "search-no-results" }, "Sin resultados")) : (this.filtered.map((opt, i) => (index.h("div", { class: { 'search-option': true, 'search-option--selected': this.isSelected(opt) }, key: i, onMouseDown: (e) => { e.preventDefault(); this.selectOption(opt); } }, this.multiSelect && index.h("dropi-checkbox", { checked: this.isSelected(opt) }), index.h("span", { class: "search-option__label" }, opt[this.labelKey])))))))));
101
+ }
102
+ static get watchers() { return {
103
+ "options": [{
104
+ "optionsChanged": 0
105
+ }]
106
+ }; }
107
+ };
108
+ DropiSearch.style = dropiSearchCss();
109
+
110
+ exports.dropi_search = DropiSearch;
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B6R6Ojma.js');
3
+ var index = require('./index-DcOH2ZjX.js');
4
4
 
5
5
  const dropiSelectCss = () => `:host{display:block;width:100%;text-align:left}*,*::before,*::after{box-sizing:border-box}.custom-select{position:relative;width:100%}.custom-select label{display:block;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066)}.disabled-label{color:var(--Gray-Gray-400, #858ea6) !important}.asterisk{color:var(--Error-Error-500, #f46a6b)}.dropdown-container{display:flex;align-items:center;gap:4px}.left-label{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-m, 14px);white-space:nowrap}.select-button{box-sizing:border-box;width:100%;height:40px;padding:0 0.75rem;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #fff);color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-s, 12px);font-family:inherit;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer;transition:border-color 0.2s ease;gap:8px}.select-button:focus{outline:none;border-color:var(--Info-Info-500, #50a5f1)}.select-button:disabled{border-color:var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6);background-color:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed}.select-completed{border-color:var(--Gray-Gray-400, #858ea6);color:var(--Gray-Gray-600, #475066)}.select-button-error{border-color:var(--Error-Error-500, #f46a6b) !important}.no-border{border:none !important;color:var(--Gray-Gray-600, #475066);padding:var(--Size-4, 16px);background-color:transparent !important;gap:var(--Size-2, 8px)}.no-border:disabled{background-color:transparent !important}.button-content{display:flex;align-items:center;gap:8px;overflow:hidden;flex:1;min-width:0}.elipsis{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-dropdown-overlay{position:fixed;max-height:250px;overflow-y:auto;list-style:none;padding:var(--Size-4, 16px) var(--Size-4, 16px) var(--Size-3, 12px);margin:0;border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #fff);box-shadow:0px 8px 24px rgba(0, 0, 0, 0.12);z-index:9999;animation:dropdown-open 120ms ease-out}@keyframes dropdown-open{from{opacity:0;transform:scaleY(0.95);transform-origin:top}to{opacity:1;transform:scaleY(1);transform-origin:top}}.option{box-sizing:border-box;width:100%;min-height:40px;border-radius:var(--Border-2, 8px);padding:var(--Size-3, 12px) var(--Size-4, 16px);border:none;background:transparent;text-align:left;color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-s, 12px);font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:var(--Size-2, 8px);transition:background 0.15s ease}.option:hover:not(:disabled){background:var(--Gray-Gray-50, #f7f8fa)}.option:disabled,.disabled-option{opacity:0.5;cursor:not-allowed}.option.selected-option:not(.option-radio){background:var(--Primary-Primary-50, #fef8f2);color:var(--Primary-Primary-500, #f49a3d)}.option-group-title{padding:var(--Size-3, 12px) var(--Size-4, 16px);font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-medium, 500);color:var(--Gray-Gray-500, #69738c);list-style:none}.option-group{padding-left:var(--Size-6, 32px)}.sticky-search{position:sticky;top:calc(-1 * var(--Size-4, 16px));background:var(--Neutral-White, #fff);z-index:10;margin:calc(-1 * var(--Size-4, 16px)) calc(-1 * var(--Size-4, 16px)) 0;padding:var(--Size-2, 8px) var(--Size-4, 16px);border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2);list-style:none}.search-wrapper{display:flex;align-items:center;gap:8px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);padding:6px 10px;background:var(--Neutral-White, #fff)}.search-input{flex:1;border:none;outline:none;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);background:transparent}.search-input::placeholder{color:var(--Gray-Gray-400, #858ea6)}.search-clear{background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center}.multi-checkbox{width:18px;height:18px;min-width:18px;border-radius:var(--Border-1, 4px);border:2px solid var(--Gray-Gray-200, #c3c9d9);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background 0.15s, border-color 0.15s}.multi-checkbox.checked{background:var(--Primary-Primary-500, #f49a3d);border-color:var(--Primary-Primary-500, #f49a3d)}.option-radio{display:flex;align-items:center;gap:12px}.option-radio.selected-option{border-radius:var(--Border-2, 8px);background:var(--Primary-Primary-50, #fef8f2);color:var(--Primary-Primary-500, #f49a3d)}.option-radio.selected-option .option-second-label{color:var(--Primary-Primary-500, #f49a3d)}.radio{width:20px;height:20px;min-width:20px;border-radius:50%;border:2px solid var(--Gray-Gray-200, #c3c9d9);display:flex;align-items:center;justify-content:center;flex-shrink:0}.radio.selected{border-color:var(--Primary-Primary-500, #f49a3d)}.circle{width:12px;height:12px;border-radius:50%;background:var(--Primary-Primary-500, #f49a3d)}.labels-container{display:flex;justify-content:space-between;width:100%;min-width:0}.option-image{width:24px;height:24px;border-radius:60px;object-fit:cover;flex-shrink:0}.small-image{width:20px;height:20px}.option-image-fallback{width:24px;height:24px;border-radius:60px;background:var(--Primary-Primary-500, #f49a3d);color:white;font-size:13px;font-weight:bold;display:flex;justify-content:center;align-items:center;flex-shrink:0}.small-image.option-image-fallback{width:20px;height:20px}.option-second-label{color:var(--Gray-Gray-700, #32394d);font-weight:700;white-space:nowrap}.flag-placeholder{font-size:11px;font-weight:600;color:var(--Gray-Gray-500, #69738c);flex-shrink:0}.select-helper,.select-helper-error{display:flex;gap:var(--Size-1, 4px);align-items:center;margin-top:var(--Size-1, 4px)}.select-helper span{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-xs, 10px)}.select-helper-error span{color:var(--Error-Error-500, #f46a6b);font-size:var(--font-size-xs, 10px)}.no-results{padding:var(--Size-3, 12px) var(--Size-4, 16px);color:var(--Gray-Gray-400, #858ea6);font-size:var(--font-size-s, 12px);list-style:none;text-align:center}`;
6
6
 
7
7
  const DropiSelect = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
- this.dropiChange = index.createEvent(this, "dropiChange");
11
- this.dropiClear = index.createEvent(this, "dropiClear");
12
- this.dropiSearch = index.createEvent(this, "dropiSearch");
13
- this.dropiScrollEnd = index.createEvent(this, "dropiScrollEnd");
14
- this.dropiKeyEnter = index.createEvent(this, "dropiKeyEnter");
10
+ this.dropiChange = index.createEvent(this, "dropiChange", 7);
11
+ this.dropiClear = index.createEvent(this, "dropiClear", 7);
12
+ this.dropiSearch = index.createEvent(this, "dropiSearch", 7);
13
+ this.dropiScrollEnd = index.createEvent(this, "dropiScrollEnd", 7);
14
+ this.dropiKeyEnter = index.createEvent(this, "dropiKeyEnter", 7);
15
15
  if (hostRef.$hostElement$["s-ei"]) {
16
16
  this.internals = hostRef.$hostElement$["s-ei"];
17
17
  }
@@ -315,7 +315,7 @@ const DropiSelect = class {
315
315
  ]), !this.isGrouped && this.filteredOptions.map(opt => this.renderOption(opt)), this.filteredOptions.length === 0 && (index.h("li", { class: "no-results" }, "Sin resultados"))));
316
316
  }
317
317
  render() {
318
- return (index.h("div", { key: '0062ad3d0ca25d9126dff2f8130c9159a6b356f6', class: "custom-select" }, !this.dropdownType && this.label && (index.h("label", { key: 'ad5db5fa4fe19ee2200ab65fd1f3fcdf65bd851f', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && index.h("span", { key: '27e474c585d345168d01e156acf8fdaa9c70dbfc', class: "asterisk" }, " *"))), index.h("div", { key: '2cc4da6a0109022a7bdb21b4b7410cf1ea2a6c01', class: "dropdown-container" }, this.dropdownType && this.label && (index.h("div", { key: 'c60838f5ce7a250bb36164a989b68c93973aa661', class: "left-label" }, this.label)), this.renderTrigger()), this.helperText && !this.invalid && (index.h("div", { key: 'a30c3cb4f8abf4b820c1e1d73005547398c8ff12', class: "select-helper" }, index.h("span", { key: '239dffdcdc8bceca6c21b0160a78078acf96eb09' }, this.helperText))), this.invalid && this.errorText && (index.h("div", { key: '76fced13295c9dff83389920caf128430c2fd35c', class: "select-helper-error" }, index.h("dropi-icon", { key: 'f1c5798ee5f504387ba80a4ddeca817a6416b770', name: "Warning-circle", width: "12px", height: "12px", color: "Error-Error-500" }), index.h("span", { key: '84a93d1b293b2abe0027316c6fd9824410f20efd' }, this.errorText))), this.renderDropdown()));
318
+ return (index.h("div", { key: '65b15f83612bdb8b11eb321b2c92321b4c621862', class: "custom-select" }, !this.dropdownType && this.label && (index.h("label", { key: '10688d90de470bdc4cdd70c21fd62cc820475c9b', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && index.h("span", { key: 'c8c7e5d8fcc9e029bfd944b4a061289affe39c58', class: "asterisk" }, " *"))), index.h("div", { key: '6a5d1230282ec67dcaed51d9ecda4570f155a895', class: "dropdown-container" }, this.dropdownType && this.label && (index.h("div", { key: '83842d69f63c2738cc3bd7b0fbb1232cb4bc7adf', class: "left-label" }, this.label)), this.renderTrigger()), this.helperText && !this.invalid && (index.h("div", { key: 'a3c1b7552bac043d3d32bfe703f44961bf95df3d', class: "select-helper" }, index.h("span", { key: '060c5a578be91210aec96d8bdb08eddd9446ea41' }, this.helperText))), this.invalid && this.errorText && (index.h("div", { key: '97c6348abd628bb5def8b3a2a667e90f7f27d951', class: "select-helper-error" }, index.h("dropi-icon", { key: '08ab2f0397605bfe0c82ef5ba8ae4b623f98bdb3', name: "Warning-circle", width: "12px", height: "12px", color: "Error-Error-500" }), index.h("span", { key: '97e1d844b586c2da1518bc9a7c0b69aa856515e7' }, this.errorText))), this.renderDropdown()));
319
319
  }
320
320
  static get formAssociated() { return true; }
321
321
  static get watchers() { return {
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiSidebarCss = () => `:host{display:block;height:100%}*,*::before,*::after{box-sizing:border-box}.sidebar{display:flex;flex-direction:column;height:100%;background:var(--Neutral-White, #fff);border-right:1px solid var(--Gray-Gray-100, #eceef4);transition:width 0.25s ease;overflow:hidden;flex-shrink:0}.sidebar__logo-wrap{display:flex;align-items:center;justify-content:center;padding:var(--Size-4, 16px) var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #eceef4)}.sidebar__logo{height:28px;object-fit:contain;max-width:100%}.sidebar__toggle{align-self:flex-end;margin:var(--Size-2, 8px);background:none;border:1px solid var(--Gray-Gray-100, #eceef4);border-radius:var(--Border-1, 4px);width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background 0.15s;flex-shrink:0}.sidebar__toggle:hover{background:var(--Gray-Gray-50, #f7f8fa)}.sidebar__nav{flex:1;overflow-y:auto;padding:var(--Size-2, 8px) 0}.sidebar__list,.sidebar__sub{list-style:none;margin:0;padding:0}.sidebar__item{width:100%;display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);background:none;border:none;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-600, #475066);cursor:pointer;text-align:left;transition:background 0.15s, color 0.15s;white-space:nowrap;overflow:hidden}.sidebar__item:hover{background:var(--Gray-Gray-50, #f7f8fa)}.sidebar__item--active{background:var(--Primary-Primary-50, #fff5eb);color:var(--Primary-Primary-500, #f49a3d);font-weight:var(--font-weight-bold, 700)}.sidebar__item--depth1{font-size:var(--font-size-xs, 10px)}.sidebar__item-label{flex:1;overflow:hidden;text-overflow:ellipsis}.sidebar__badge{background:var(--Error-Error-500, #f46a6b);color:var(--Neutral-White, #fff);font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:100px;display:flex;align-items:center;justify-content:center;padding:0 4px;flex-shrink:0}.sidebar__sub{padding-left:0}.sidebar__footer{padding:var(--Size-3, 12px);border-top:1px solid var(--Gray-Gray-100, #eceef4);flex-shrink:0}.sidebar__footer:empty{display:none}.sidebar--collapsed .sidebar__item{justify-content:center;padding:var(--Size-2, 8px)}`;
6
+
7
+ const DropiSidebar = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.dropiSidebarItemClick = index.createEvent(this, "dropiSidebarItemClick", 7);
11
+ this.dropiCollapse = index.createEvent(this, "dropiCollapse", 7);
12
+ }
13
+ /** Navigation items (array or JSON string) */
14
+ items = [];
15
+ /** Active item ID */
16
+ activeId = '';
17
+ /** Collapsed state (icon-only) */
18
+ collapsed = false;
19
+ /** Show collapse toggle button */
20
+ showToggle = true;
21
+ /** Logo URL (shown at top) */
22
+ logoUrl = '';
23
+ /** Sidebar width when expanded */
24
+ width = '240px';
25
+ expandedIds = new Set();
26
+ /** Emitted when an item is clicked. e.detail = item id */
27
+ dropiSidebarItemClick;
28
+ /** Emitted when collapse state changes. e.detail = collapsed */
29
+ dropiCollapse;
30
+ get parsedItems() {
31
+ const val = this.items;
32
+ return typeof val === 'string' ? JSON.parse(val) : (val || []);
33
+ }
34
+ toggleExpand(id) {
35
+ if (this.expandedIds.has(id))
36
+ this.expandedIds.delete(id);
37
+ else
38
+ this.expandedIds.add(id);
39
+ // Force re-render
40
+ this.expandedIds = new Set(this.expandedIds);
41
+ }
42
+ renderItem(item, depth = 0) {
43
+ const hasChildren = item.children && item.children.length > 0;
44
+ const isExpanded = this.expandedIds.has(item.id);
45
+ const isActive = item.id === this.activeId;
46
+ return (index.h("li", null, index.h("button", { class: {
47
+ 'sidebar__item': true,
48
+ 'sidebar__item--active': isActive,
49
+ 'sidebar__item--depth1': depth === 1,
50
+ }, style: { paddingLeft: depth > 0 ? `${12 + depth * 12}px` : undefined }, onClick: () => {
51
+ if (hasChildren)
52
+ this.toggleExpand(item.id);
53
+ else
54
+ this.dropiSidebarItemClick.emit(item.id);
55
+ }, type: "button", title: this.collapsed ? item.label : undefined }, item.icon && (index.h("dropi-icon", { name: item.icon, width: "18px", height: "18px", color: isActive ? 'Primary-Primary-500' : 'Gray-Gray-600' })), !this.collapsed && (index.h("span", { class: "sidebar__item-label" }, item.label)), !this.collapsed && item.badge != null && String(item.badge) !== '0' && (index.h("span", { class: "sidebar__badge" }, item.badge)), !this.collapsed && hasChildren && (index.h("dropi-icon", { name: isExpanded ? 'Arrow-Up-2' : 'Arrow-Down-2', width: "12px", height: "12px", color: "Gray-Gray-400" }))), hasChildren && isExpanded && !this.collapsed && (index.h("ul", { class: "sidebar__sub" }, item.children.map(child => this.renderItem(child, depth + 1))))));
56
+ }
57
+ render() {
58
+ const items = this.parsedItems;
59
+ return (index.h("aside", { key: '97c46e8c84a9e389fb67b34364321c35b0c5ebf2', class: { 'sidebar': true, 'sidebar--collapsed': this.collapsed }, style: { width: this.collapsed ? '56px' : this.width } }, this.logoUrl && (index.h("div", { key: '211e43514bcdd6b613aa1001ef630e5b9629091a', class: "sidebar__logo-wrap" }, index.h("img", { key: 'ce6b7a3b9ce26f4caa1eafd4821f5a2fa70e4dda', class: "sidebar__logo", src: this.logoUrl, alt: "Logo" }))), this.showToggle && (index.h("button", { key: 'ba66d7664b76ecdea519f9d128e998331106da8f', class: "sidebar__toggle", onClick: () => {
60
+ this.collapsed = !this.collapsed;
61
+ this.dropiCollapse.emit(this.collapsed);
62
+ }, "aria-label": this.collapsed ? 'Expandir' : 'Colapsar', type: "button" }, index.h("dropi-icon", { key: '3a362cb657dfa881523ae29c1e677e6cc16afb61', name: this.collapsed ? 'Arrow-Right-2' : 'Arrow-Left-2', width: "16px", height: "16px", color: "Gray-Gray-400" }))), index.h("nav", { key: '02152d2e92f7802daa1192bd9d00d21c13619de4', class: "sidebar__nav" }, index.h("ul", { key: '9e90a7d2d25a63885713b881c6d091528027ec57', class: "sidebar__list" }, items.map(item => this.renderItem(item)))), index.h("div", { key: 'b70d89a324de1b56e022ec66b52ecb2b01031d34', class: "sidebar__footer" }, index.h("slot", { key: '6ead0e515e6a59194cd3495bd691ae9acdb0dd05', name: "footer" }))));
63
+ }
64
+ };
65
+ DropiSidebar.style = dropiSidebarCss();
66
+
67
+ exports.dropi_sidebar = DropiSidebar;
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiSimpleStepperCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.stepper{display:flex;align-items:flex-start;width:100%}.stepper__item{display:flex;flex-direction:column;align-items:center;flex:1}.stepper__circle-row{display:flex;align-items:center;width:100%}.stepper__circle{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background 0.2s, border-color 0.2s}.stepper__circle--pending{background:var(--Gray-Gray-100, #e6eaf2);border:2px solid var(--Gray-Gray-200, #c3c9d9)}.stepper__circle--active{background:var(--Primary-Primary-500, #f49a3d);border:2px solid var(--Primary-Primary-500, #f49a3d)}.stepper__circle--completed{background:var(--Primary-Primary-500, #f49a3d);border:2px solid var(--Primary-Primary-500, #f49a3d)}.stepper__dot{width:8px;height:8px;border-radius:50%;background:var(--Neutral-White, #fff);display:block}.stepper__circle--pending .stepper__dot{background:var(--Gray-Gray-400, #858ea6)}.stepper__number{font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-bold, 700);color:var(--Neutral-White, #fff)}.stepper__circle--pending .stepper__number{color:var(--Gray-Gray-500, #69738c)}.stepper__line{flex:1;height:2px;background:var(--Gray-Gray-200, #c3c9d9);transition:background 0.2s}.stepper__line--done{background:var(--Primary-Primary-500, #f49a3d)}.stepper__label{margin-top:6px;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-600, #475066);text-align:center}`;
6
+
7
+ const DropiSimpleStepper = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ /** Total steps */
12
+ stepsCount = 3;
13
+ /** Circle content: 'point' (dot) | 'number' */
14
+ typeStep = 'number';
15
+ /** Current active step (1-based) */
16
+ currentStep = 1;
17
+ /** Labels shown below each step. Pass as JSON string or array */
18
+ labelStepper = [];
19
+ /** Flow mode (visual only) */
20
+ flowMode = 'Sequential';
21
+ get parsedLabels() {
22
+ if (typeof this.labelStepper === 'string') {
23
+ try {
24
+ return JSON.parse(this.labelStepper);
25
+ }
26
+ catch {
27
+ return [];
28
+ }
29
+ }
30
+ return this.labelStepper || [];
31
+ }
32
+ render() {
33
+ const labels = this.parsedLabels;
34
+ const steps = Array.from({ length: this.stepsCount }, (_, i) => i + 1);
35
+ return (index.h("div", { key: '9991a928ba08a7720d8ded5aea01b3bc77372e71', class: "stepper" }, steps.map((step, i) => {
36
+ const isCompleted = step < this.currentStep;
37
+ const isActive = step === this.currentStep;
38
+ const isLast = i === steps.length - 1;
39
+ const label = labels[i];
40
+ return (index.h("div", { class: "stepper__item", key: step }, index.h("div", { class: "stepper__circle-row" }, index.h("div", { class: {
41
+ 'stepper__circle': true,
42
+ 'stepper__circle--active': isActive,
43
+ 'stepper__circle--completed': isCompleted,
44
+ 'stepper__circle--pending': !isActive && !isCompleted,
45
+ } }, this.typeStep === 'point' ? (index.h("span", { class: "stepper__dot" })) : (index.h("span", { class: "stepper__number" }, step))), !isLast && index.h("div", { class: { 'stepper__line': true, 'stepper__line--done': isCompleted } })), label && index.h("span", { class: "stepper__label" }, label)));
46
+ })));
47
+ }
48
+ };
49
+ DropiSimpleStepper.style = dropiSimpleStepperCss();
50
+
51
+ exports.dropi_simple_stepper = DropiSimpleStepper;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B6R6Ojma.js');
3
+ var index = require('./index-DcOH2ZjX.js');
4
4
 
5
5
  const dropiSkeletonCss = () => `:host{display:block}*,*::before,*::after{box-sizing:border-box}.skeleton-lines{display:flex;flex-direction:column;gap:8px}.skeleton{background:linear-gradient( 90deg, var(--Gray-Gray-100, #e6eaf2) 25%, var(--Gray-Gray-50, #f7f8fa) 50%, var(--Gray-Gray-100, #e6eaf2) 75% );background-size:200% 100%;animation:shimmer 1.6s ease-in-out infinite}@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}`;
6
6
 
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiStepsCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.stepper{display:flex;align-items:flex-start;width:100%}.stepper__step{display:flex;flex-direction:column;align-items:center;flex:1;position:relative}.stepper__circle-wrap{display:flex;align-items:center;width:100%;position:relative}.stepper__circle{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-bold, 700);flex-shrink:0;z-index:1;transition:background 0.2s, border-color 0.2s}.stepper__circle--pending{background:var(--Neutral-White, #fff);border:2px solid var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6)}.stepper__circle--focus{background:var(--Neutral-White, #fff);border:2px solid var(--Primary-Primary-500, #f49a3d);color:var(--Primary-Primary-500, #f49a3d)}.stepper__circle--completed{background:var(--Primary-Primary-500, #f49a3d);border:2px solid var(--Primary-Primary-500, #f49a3d);color:var(--Neutral-White, #fff)}.stepper__line{flex:1;height:2px;background:var(--Gray-Gray-200, #c3c9d9);transition:background 0.2s}.stepper__line--done{background:var(--Primary-Primary-500, #f49a3d)}.stepper__label{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:var(--Size-2, 8px);text-align:center;padding:0 4px}.stepper__title{font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d)}.stepper__desc{font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-500, #69738c)}`;
6
+
7
+ const DropiSteps = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ /** Total number of steps */
12
+ stepsCount = 3;
13
+ /** Show step number inside the circle */
14
+ showNumberOfStep = true;
15
+ /** Active/current step index (1-based) */
16
+ currentStep = 1;
17
+ /** Labels for each step. Pass as JSON string or array */
18
+ stepLabels = [];
19
+ get parsedLabels() {
20
+ if (typeof this.stepLabels === 'string') {
21
+ try {
22
+ return JSON.parse(this.stepLabels);
23
+ }
24
+ catch {
25
+ return [];
26
+ }
27
+ }
28
+ return this.stepLabels || [];
29
+ }
30
+ stepState(index) {
31
+ if (index < this.currentStep)
32
+ return 'completed';
33
+ if (index === this.currentStep)
34
+ return 'focus';
35
+ return 'pending';
36
+ }
37
+ render() {
38
+ const labels = this.parsedLabels;
39
+ const steps = Array.from({ length: this.stepsCount }, (_, i) => i + 1);
40
+ return (index.h("div", { key: '95573c2ac185f7fc63fa804a03873499ba296e5c', class: "stepper" }, steps.map((step) => {
41
+ const state = this.stepState(step);
42
+ const label = labels[step - 1];
43
+ const isLast = step === this.stepsCount;
44
+ return (index.h("div", { class: "stepper__step", key: step }, index.h("div", { class: "stepper__circle-wrap" }, index.h("div", { class: { 'stepper__circle': true, [`stepper__circle--${state}`]: true } }, state === 'completed' ? (index.h("dropi-icon", { name: "Check", width: "12px", height: "12px", color: "Neutral-White" })) : (this.showNumberOfStep ? index.h("span", null, step) : null)), !isLast && index.h("div", { class: { 'stepper__line': true, 'stepper__line--done': state === 'completed' } })), label && (index.h("div", { class: "stepper__label" }, label.title && index.h("span", { class: "stepper__title" }, label.title), label.description && index.h("span", { class: "stepper__desc" }, label.description)))));
45
+ })));
46
+ }
47
+ };
48
+ DropiSteps.style = dropiStepsCss();
49
+
50
+ exports.dropi_steps = DropiSteps;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B6R6Ojma.js');
3
+ var index = require('./index-DcOH2ZjX.js');
4
4
 
5
5
  const dropiSwitchCss = () => `:host{display:inline-block}*,*::before,*::after{box-sizing:border-box}.toggle-switch{position:relative;display:inline-block;width:40px;height:21px;margin-bottom:0;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--Gray-Gray-200, #c3c9d9);transition:0.4s;border-radius:34px}.slider::before{position:absolute;content:'';height:17px;width:17px;left:3px;bottom:2px;background-color:var(--Neutral-White, #ffffff);transition:0.4s;border-radius:50%}input:checked+.slider{background-color:var(--Primary-Primary-500, #f49a3d)}input:checked+.slider::before{transform:translateX(17px)}:host([disabled]) .toggle-switch{cursor:not-allowed;opacity:0.5}`;
6
6
 
7
7
  const DropiSwitch = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
- this.dropiChange = index.createEvent(this, "dropiChange");
10
+ this.dropiChange = index.createEvent(this, "dropiChange", 7);
11
11
  }
12
12
  /** Whether the switch is on */
13
13
  isChecked = false;
@@ -21,7 +21,7 @@ const DropiSwitch = class {
21
21
  this.dropiChange.emit(this.isChecked);
22
22
  }
23
23
  render() {
24
- return (index.h("label", { key: '790db7283a976472fd3f8de502f73ece29134878', class: "toggle-switch" }, index.h("input", { key: '7199dcfb1a4f81eb30d7510966d56fd0111d648f', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), index.h("span", { key: '2c62e927e77e58993ab44f2b4fafefcea556b71e', class: "slider" })));
24
+ return (index.h("label", { key: 'f02520c1b71af187ddfb766e4bac4e16482bb5cc', class: "toggle-switch" }, index.h("input", { key: '13b41ec9b7f69512be6d556f1946a3506d9557a3', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), index.h("span", { key: '0bb19ad9767c1e7c5956ef834228a6a2406c225c', class: "slider" })));
25
25
  }
26
26
  static get formAssociated() { return true; }
27
27
  };
@@ -0,0 +1,124 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiTableCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.table-wrap{width:100%;overflow-x:auto;border:1px solid var(--Gray-Gray-100, #eceef4);border-radius:var(--Border-2, 8px)}.table{width:100%;border-collapse:collapse;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);background:var(--Neutral-White, #fff)}.table__th{padding:var(--Size-3, 12px) var(--Size-3, 12px);background:var(--Gray-Gray-50, #f7f8fa);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-xs, 10px);text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap;border-bottom:1px solid var(--Gray-Gray-100, #eceef4);user-select:none}.table__th--check{width:40px}.table__th--sortable{cursor:pointer}.table__th--sortable:hover{background:var(--Gray-Gray-100, #eceef4)}.table__th-inner{display:inline-flex;align-items:center;gap:4px}.table__tr{cursor:pointer;transition:background 0.15s}.table__tr:hover{background:var(--Gray-Gray-50, #f7f8fa)}.table__tr--selected{background:var(--Primary-Primary-50, #fff5eb)}.table--striped .table__tr:nth-child(even){background:var(--Gray-Gray-50, #f7f8fa)}.table--striped .table__tr:nth-child(even):hover{background:var(--Gray-Gray-100, #eceef4)}.table__td{padding:var(--Size-3, 12px);border-bottom:1px solid var(--Gray-Gray-100, #eceef4);vertical-align:middle}.table__td--check{width:40px}.table__td--empty{text-align:center;padding:var(--Size-8, 48px) var(--Size-4, 16px);color:var(--Gray-Gray-400, #858ea6)}.table__td--empty p{margin:var(--Size-2, 8px) 0 0}.skeleton{height:14px;background:linear-gradient(90deg, var(--Gray-Gray-100, #eceef4) 25%, var(--Gray-Gray-50, #f7f8fa) 50%, var(--Gray-Gray-100, #eceef4) 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:var(--Border-1, 4px)}.skeleton--sm{width:20px}@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}`;
6
+
7
+ const DropiTable = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.dropiSort = index.createEvent(this, "dropiSort", 7);
11
+ this.dropiSelection = index.createEvent(this, "dropiSelection", 7);
12
+ this.dropiRowClick = index.createEvent(this, "dropiRowClick", 7);
13
+ }
14
+ /** Column definitions (array or JSON string) */
15
+ columns = [];
16
+ /** Row data (array or JSON string) */
17
+ rows = [];
18
+ /** Enable row selection (checkboxes) */
19
+ selectable = false;
20
+ /** Show loading skeleton */
21
+ loading = false;
22
+ /** Text shown when no rows */
23
+ emptyMessage = 'No hay datos disponibles';
24
+ /** Stripe alternate rows */
25
+ striped = false;
26
+ parsedColumns = [];
27
+ parsedRows = [];
28
+ sortKey = '';
29
+ sortDir = null;
30
+ selectedKeys = new Set();
31
+ /** Emitted when sort changes. e.detail = { key, dir } */
32
+ dropiSort;
33
+ /** Emitted when selection changes. e.detail = selected row indices */
34
+ dropiSelection;
35
+ /** Emitted when a row is clicked. e.detail = { row, index } */
36
+ dropiRowClick;
37
+ columnsChanged(val) {
38
+ this.parsedColumns = typeof val === 'string' ? JSON.parse(val) : (val || []);
39
+ }
40
+ rowsChanged(val) {
41
+ this.parsedRows = typeof val === 'string' ? JSON.parse(val) : (val || []);
42
+ this.selectedKeys = new Set();
43
+ }
44
+ componentWillLoad() {
45
+ this.columnsChanged(this.columns);
46
+ this.rowsChanged(this.rows);
47
+ }
48
+ get sortedRows() {
49
+ if (!this.sortKey || !this.sortDir)
50
+ return this.parsedRows;
51
+ const key = this.sortKey;
52
+ const dir = this.sortDir === 'asc' ? 1 : -1;
53
+ return [...this.parsedRows].sort((a, b) => {
54
+ const av = a[key] ?? '';
55
+ const bv = b[key] ?? '';
56
+ if (av < bv)
57
+ return -dir;
58
+ if (av > bv)
59
+ return dir;
60
+ return 0;
61
+ });
62
+ }
63
+ handleSort(col) {
64
+ if (!col.sortable)
65
+ return;
66
+ if (this.sortKey === col.key) {
67
+ this.sortDir = this.sortDir === 'asc' ? 'desc' : this.sortDir === 'desc' ? null : 'asc';
68
+ if (this.sortDir === null)
69
+ this.sortKey = '';
70
+ }
71
+ else {
72
+ this.sortKey = col.key;
73
+ this.sortDir = 'asc';
74
+ }
75
+ this.dropiSort.emit({ key: this.sortKey, dir: this.sortDir });
76
+ }
77
+ toggleRow(idx) {
78
+ const next = new Set(this.selectedKeys);
79
+ if (next.has(idx))
80
+ next.delete(idx);
81
+ else
82
+ next.add(idx);
83
+ this.selectedKeys = next;
84
+ this.dropiSelection.emit(Array.from(next));
85
+ }
86
+ toggleAll(checked) {
87
+ this.selectedKeys = checked
88
+ ? new Set(this.sortedRows.map((_, i) => i))
89
+ : new Set();
90
+ this.dropiSelection.emit(Array.from(this.selectedKeys));
91
+ }
92
+ sortIcon(col) {
93
+ if (!col.sortable)
94
+ return null;
95
+ if (this.sortKey !== col.key) {
96
+ return index.h("dropi-icon", { name: "Sort", width: "12px", height: "12px", color: "Gray-Gray-300" });
97
+ }
98
+ return this.sortDir === 'asc'
99
+ ? index.h("dropi-icon", { name: "Arrow-Up-2", width: "12px", height: "12px", color: "Primary-Primary-500" })
100
+ : index.h("dropi-icon", { name: "Arrow-Down-2", width: "12px", height: "12px", color: "Primary-Primary-500" });
101
+ }
102
+ render() {
103
+ const rows = this.sortedRows;
104
+ const allSelected = rows.length > 0 && this.selectedKeys.size === rows.length;
105
+ return (index.h("div", { key: '3e06da209d1f71b8a4a250f4bcd8a8213f34781d', class: "table-wrap" }, index.h("table", { key: '20056c30e2652f2a405eeb00954dd7b9c9b5924b', class: { 'table': true, 'table--striped': this.striped } }, index.h("thead", { key: '1a1ea1914f81d1ef8814f202de4d60308801dc1d' }, index.h("tr", { key: '22447d7fef0cf22c27c6249570c454d44b0865d3' }, this.selectable && (index.h("th", { key: 'd51aa876d97e01840a5adc34a5ec53f30fc2cac6', class: "table__th table__th--check" }, index.h("dropi-checkbox", { key: '192639cf8599dc5f3b095092a403509050e43efa', checked: allSelected, onDropiChange: (e) => this.toggleAll(e.detail) }))), this.parsedColumns.map(col => (index.h("th", { class: {
106
+ 'table__th': true,
107
+ 'table__th--sortable': !!col.sortable,
108
+ }, style: { width: col.width, textAlign: col.align || 'left' }, onClick: () => this.handleSort(col) }, index.h("span", { class: "table__th-inner" }, col.label, this.sortIcon(col))))))), index.h("tbody", { key: '93f65647369b59f913b381f541a18a215e8e0e9a' }, this.loading ? (Array.from({ length: 5 }).map(() => (index.h("tr", { class: "table__tr--skeleton" }, this.selectable && index.h("td", { class: "table__td" }, index.h("div", { class: "skeleton skeleton--sm" })), this.parsedColumns.map(() => (index.h("td", { class: "table__td" }, index.h("div", { class: "skeleton" })))))))) : rows.length === 0 ? (index.h("tr", null, index.h("td", { class: "table__td table__td--empty", colSpan: this.parsedColumns.length + (this.selectable ? 1 : 0) }, index.h("dropi-icon", { name: "Document", width: "24px", height: "24px", color: "Gray-Gray-300" }), index.h("p", null, this.emptyMessage)))) : (rows.map((row, i) => (index.h("tr", { class: {
109
+ 'table__tr': true,
110
+ 'table__tr--selected': this.selectedKeys.has(i),
111
+ }, onClick: () => this.dropiRowClick.emit({ row, index: i }) }, this.selectable && (index.h("td", { class: "table__td table__td--check", onClick: (e) => e.stopPropagation() }, index.h("dropi-checkbox", { checked: this.selectedKeys.has(i), onDropiChange: () => this.toggleRow(i) }))), this.parsedColumns.map(col => (index.h("td", { class: "table__td", style: { textAlign: col.align || 'left' } }, row[col.key] ?? '—')))))))))));
112
+ }
113
+ static get watchers() { return {
114
+ "columns": [{
115
+ "columnsChanged": 0
116
+ }],
117
+ "rows": [{
118
+ "rowsChanged": 0
119
+ }]
120
+ }; }
121
+ };
122
+ DropiTable.style = dropiTableCss();
123
+
124
+ exports.dropi_table = DropiTable;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B6R6Ojma.js');
3
+ var index = require('./index-DcOH2ZjX.js');
4
4
 
5
5
  const dropiTabsCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.tabs-container{display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;height:52px;scrollbar-width:none}.tabs-container::-webkit-scrollbar{width:0;height:0}.tab-item{padding:var(--Size-4,16px) var(--Size-5,20px);background:var(--Neutral-White,#fff);border-bottom:2px solid var(--Gray-Gray-100,#e6eaf2);cursor:pointer;display:flex;gap:16px;align-items:center;white-space:nowrap;flex-shrink:0;transition:border-color 0.15s ease;user-select:none}.tab-item:hover:not(.tab-item--disabled):not(.tab-item--active){border-color:var(--Gray-Gray-300,#a3abbf)}.tab-item--active{border-bottom:2px solid var(--Primary-Primary-500,#f49a3d)}.tab-item--disabled{background:rgba(223,228,237,0.22);cursor:not-allowed;opacity:0.7;pointer-events:none}.tab-label-row{display:flex;align-items:center;gap:8px}.tab-label{font-size:var(--font-size-m,14px);font-weight:var(--font-weight-bold,700);color:var(--Gray-Gray-400,#858ea6);line-height:20px}.tab-item--active .tab-label{color:var(--Gray-Gray-600,#475066)}.tab-item--disabled .tab-label{font-weight:300;color:var(--Gray-Gray-300,#a3abbf)}.tab-counter{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:20px;font-size:var(--font-size-xs,10px);font-weight:var(--font-weight-medium,500);background:var(--Gray-Gray-100,#e6eaf2);color:var(--Gray-Gray-500,#69738c)}.tab-counter--active{background:var(--Primary-Primary-100,#fde8d0);color:var(--Primary-Primary-500,#f49a3d)}.tab-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background-color:var(--Primary-Primary-500, #f49a3d);flex-shrink:0}`;
6
6
 
7
7
  const DropiTabs = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
- this.dropiTabChange = index.createEvent(this, "dropiTabChange");
10
+ this.dropiTabChange = index.createEvent(this, "dropiTabChange", 7);
11
11
  }
12
12
  /** Array of TabItem or JSON string */
13
13
  tabs = [];
@@ -31,7 +31,7 @@ const DropiTabs = class {
31
31
  this.dropiTabChange.emit(tab);
32
32
  }
33
33
  render() {
34
- return (index.h("div", { key: '5b28faac5789a5e29aa68fe2892854cdebccda75', class: "tabs-container", role: "tablist" }, this.parsedTabs.map(tab => {
34
+ return (index.h("div", { key: '9db1e2f4fdd15fc4ea4407d83fe33c562270acec', class: "tabs-container", role: "tablist" }, this.parsedTabs.map(tab => {
35
35
  const isActive = tab.id === this.activeTab;
36
36
  return (index.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) }, index.h("span", { class: "tab-label-row" }, index.h("span", { class: "tab-label" }, tab.label), tab.counter !== undefined && tab.counter !== null && (index.h("span", { class: { 'tab-counter': true, 'tab-counter--active': isActive } }, tab.counter))), this.showIcon && (tab.completed
37
37
  ? index.h("dropi-icon", { name: "Check-circle", width: "12px", height: "12px", color: "Success-Success-500" })
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DcOH2ZjX.js');
4
+
5
+ const dropiTagTypeProductCss = () => `:host{display:inline-block}.type-variation{border-radius:4px;background:#f1b44c;padding:2px 6px;font-size:12px;color:#fff;text-transform:capitalize;font-weight:400;width:fit-content}`;
6
+
7
+ const DropiTagTypeProduct = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ /** Label text. Default: VARIABLE */
12
+ label = 'VARIABLE';
13
+ render() {
14
+ return index.h("div", { key: '7002748963348a2361665d0d307f4d8eb3a24e3a', class: "type-variation" }, this.label);
15
+ }
16
+ };
17
+ DropiTagTypeProduct.style = dropiTagTypeProductCss();
18
+
19
+ exports.dropi_tag_type_product = DropiTagTypeProduct;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B6R6Ojma.js');
3
+ var index = require('./index-DcOH2ZjX.js');
4
4
 
5
- const dropiTagCss = () => `:host{display:inline-block}*,*::before,*::after{box-sizing:border-box}.container-chips{display:inline-block}.tags{display:inline-flex;padding:4px 8px;justify-content:center;align-items:center;gap:4px;border-radius:var(--Border-5, 9999px);overflow:hidden;text-align:center;text-overflow:ellipsis;font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-medium, 500);line-height:var(--Size-5, 24px);animation:fade-in 200ms ease-out}.tags.icon-only{gap:0}.file-icon{display:flex;margin-right:4px}@keyframes fade-in{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}`;
5
+ const dropiTagCss = () => `:host{display:inline-flex}*,*::before,*::after{box-sizing:border-box}.container-chips{display:inline-block}.tags{display:inline-flex;padding:4px 8px;justify-content:center;align-items:center;gap:4px;border-radius:var(--Border-5, 9999px);overflow:hidden;text-align:center;text-overflow:ellipsis;font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-medium, 500);line-height:var(--Size-5, 24px);animation:fade-in 200ms ease-out}.tags.icon-only{gap:0}.file-icon{display:flex}@keyframes fade-in{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}`;
6
6
 
7
7
  const DropiTag = class {
8
8
  constructor(hostRef) {
@@ -52,7 +52,7 @@ const DropiTag = class {
52
52
  return typeof this.text === 'string' && this.text.trim().length > 0;
53
53
  }
54
54
  render() {
55
- return (index.h("div", { key: 'd559f6c2ed27d543f018d3533d8d972bc47ceb9d', class: "container-chips" }, index.h("div", { key: 'd131a4626ead2d3d53d5c77875f8ebb19acc3b52', class: { tags: true, 'icon-only': this.showIcon && !this.hasContent }, style: { backgroundColor: this.bgColor, color: this.textColor } }, this.showIcon && this.icon && (index.h("dropi-icon", { key: '54775a2ca1bd87be3293b3d6417f4a26c6da0c85', class: "file-icon", name: this.icon, width: "16px", height: "16px", color: this.iconColor })), this.hasContent && index.h("span", { key: 'bce897f4094c33fd53dc98571cae60cd456e0706' }, this.text))));
55
+ return (index.h("div", { key: 'ca7fdd40b3d059abe34a6c4ccfba5cbfbdb5c786', class: "container-chips" }, index.h("div", { key: '897f4ab4a9d2d5ecb7088c6732f59c6cc3138c43', class: { tags: true, 'icon-only': this.showIcon && !this.hasContent }, style: { backgroundColor: this.bgColor, color: this.textColor } }, this.showIcon && this.icon && (index.h("dropi-icon", { key: '77b9315e4d1d4bd257331a4ce4cb3b82480430c0', class: "file-icon", name: this.icon, width: "16px", height: "16px", color: this.iconColor })), this.hasContent && index.h("span", { key: 'c55aede3070168989b8ebefa85480968f71eb08a' }, this.text))));
56
56
  }
57
57
  static get watchers() { return {
58
58
  "type": [{