@dropi/ui 0.1.19 → 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 (450) 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 +7 -7
  19. package/dist/cjs/dropi-avatars.cjs.entry.js +2 -2
  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 +5 -5
  27. package/dist/cjs/dropi-carousel.cjs.entry.js +83 -0
  28. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +5 -5
  29. package/dist/cjs/dropi-checkbox.cjs.entry.js +4 -4
  30. package/dist/cjs/dropi-chips.cjs.entry.js +4 -4
  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 +3 -3
  39. package/dist/cjs/dropi-empty-state.cjs.entry.js +9 -5
  40. package/dist/cjs/dropi-favorite-button.cjs.entry.js +3 -3
  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 +3 -3
  46. package/dist/cjs/dropi-image-overlay.cjs.entry.js +4 -4
  47. package/dist/cjs/dropi-input.cjs.entry.js +7 -7
  48. package/dist/cjs/dropi-languages-selector.cjs.entry.js +57 -0
  49. package/dist/cjs/dropi-logo.cjs.entry.js +3 -3
  50. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +5 -5
  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 +6 -6
  55. package/dist/cjs/dropi-paginator.cjs.entry.js +4 -4
  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 +5 -5
  59. package/dist/cjs/dropi-read-more.cjs.entry.js +2 -2
  60. package/dist/cjs/dropi-search.cjs.entry.js +8 -8
  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 +2 -2
  64. package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/dropi-steps.cjs.entry.js +2 -2
  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 +2 -2
  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 +3 -3
  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 +25 -1
  81. package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
  82. package/dist/collection/components/dropi-alert/dropi-alert.css +25 -14
  83. package/dist/collection/components/dropi-alert/dropi-alert.js +2 -2
  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.js +1 -1
  87. package/dist/collection/components/dropi-badge/dropi-badge.js +1 -1
  88. package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +56 -0
  89. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +179 -0
  90. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +69 -0
  91. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +171 -0
  92. package/dist/collection/components/dropi-button/dropi-button.css +4 -2
  93. package/dist/collection/components/dropi-button/dropi-button.js +24 -2
  94. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +90 -0
  95. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +219 -0
  96. package/dist/collection/components/dropi-card-product/dropi-card-product.css +158 -0
  97. package/dist/collection/components/dropi-card-product/dropi-card-product.js +353 -0
  98. package/dist/collection/components/dropi-card-section/dropi-card-section.js +2 -2
  99. package/dist/collection/components/dropi-carousel/dropi-carousel.css +103 -0
  100. package/dist/collection/components/dropi-carousel/dropi-carousel.js +277 -0
  101. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +2 -2
  102. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +2 -2
  103. package/dist/collection/components/dropi-chips/dropi-chips.css +2 -0
  104. package/dist/collection/components/dropi-chips/dropi-chips.js +1 -1
  105. package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +156 -0
  106. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +213 -0
  107. package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +183 -0
  108. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +235 -0
  109. package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +30 -0
  110. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +129 -0
  111. package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +164 -0
  112. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +327 -0
  113. package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +150 -0
  114. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +434 -0
  115. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +143 -0
  116. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +327 -0
  117. package/dist/collection/components/dropi-drawer/dropi-drawer.css +107 -0
  118. package/dist/collection/components/dropi-drawer/dropi-drawer.js +198 -0
  119. package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +1 -1
  120. package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +1 -0
  121. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +45 -1
  122. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
  123. package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +66 -0
  124. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +257 -0
  125. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +111 -0
  126. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +198 -0
  127. package/dist/collection/components/dropi-icon/dropi-icon.js +1 -1
  128. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +91 -0
  129. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +150 -0
  130. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
  131. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +83 -42
  132. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +1 -1
  133. package/dist/collection/components/dropi-input/dropi-input.js +2 -2
  134. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +79 -0
  135. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +154 -0
  136. package/dist/collection/components/dropi-logo/dropi-logo.js +2 -2
  137. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +7 -7
  138. package/dist/collection/components/dropi-media-player/dropi-media-player.css +127 -0
  139. package/dist/collection/components/dropi-media-player/dropi-media-player.js +294 -0
  140. package/dist/collection/components/dropi-modal/dropi-modal.css +9 -3
  141. package/dist/collection/components/dropi-modal/dropi-modal.js +10 -7
  142. package/dist/collection/components/dropi-navbar/dropi-navbar.css +166 -0
  143. package/dist/collection/components/dropi-navbar/dropi-navbar.js +286 -0
  144. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +16 -9
  145. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +2 -2
  146. package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
  147. package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +152 -0
  148. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +272 -0
  149. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +1 -1
  150. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +2 -2
  151. package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
  152. package/dist/collection/components/dropi-search/dropi-search.js +2 -2
  153. package/dist/collection/components/dropi-select/dropi-select.js +1 -1
  154. package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +117 -0
  155. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +233 -0
  156. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +1 -1
  157. package/dist/collection/components/dropi-steps/dropi-steps.js +1 -1
  158. package/dist/collection/components/dropi-switch/dropi-switch.js +1 -1
  159. package/dist/collection/components/dropi-table/dropi-table.css +80 -0
  160. package/dist/collection/components/dropi-table/dropi-table.js +333 -0
  161. package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
  162. package/dist/collection/components/dropi-tag/dropi-tag.css +1 -2
  163. package/dist/collection/components/dropi-tag/dropi-tag.js +1 -1
  164. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +14 -0
  165. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +48 -0
  166. package/dist/collection/components/dropi-text-area/dropi-text-area.css +2 -1
  167. package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
  168. package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
  169. package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
  170. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
  171. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +1 -1
  172. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +73 -0
  173. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +110 -0
  174. package/dist/components/dropi-accordion.js +1 -1
  175. package/dist/components/dropi-alert-modal.d.ts +11 -0
  176. package/dist/components/dropi-alert-modal.js +1 -0
  177. package/dist/components/dropi-alert.js +1 -1
  178. package/dist/components/dropi-avatars.js +1 -1
  179. package/dist/components/dropi-badge.js +1 -1
  180. package/dist/components/dropi-banner-external.d.ts +11 -0
  181. package/dist/components/dropi-banner-external.js +1 -0
  182. package/dist/components/dropi-breadcrumb.d.ts +11 -0
  183. package/dist/components/dropi-breadcrumb.js +1 -0
  184. package/dist/components/dropi-button.js +1 -1
  185. package/dist/components/dropi-card-checkbox.d.ts +11 -0
  186. package/dist/components/dropi-card-checkbox.js +1 -0
  187. package/dist/components/dropi-card-product.d.ts +11 -0
  188. package/dist/components/dropi-card-product.js +1 -0
  189. package/dist/components/dropi-card-section.js +1 -1
  190. package/dist/components/dropi-carousel.d.ts +11 -0
  191. package/dist/components/dropi-carousel.js +1 -0
  192. package/dist/components/dropi-checkbox-selection-list.js +1 -1
  193. package/dist/components/dropi-checkbox.js +1 -1
  194. package/dist/components/dropi-chips.js +1 -1
  195. package/dist/components/dropi-city-selector.d.ts +11 -0
  196. package/dist/components/dropi-city-selector.js +1 -0
  197. package/dist/components/dropi-color-picker.d.ts +11 -0
  198. package/dist/components/dropi-color-picker.js +1 -0
  199. package/dist/components/dropi-country-flags.d.ts +11 -0
  200. package/dist/components/dropi-country-flags.js +1 -0
  201. package/dist/components/dropi-country-selector.d.ts +11 -0
  202. package/dist/components/dropi-country-selector.js +1 -0
  203. package/dist/components/dropi-date-picker-range.d.ts +11 -0
  204. package/dist/components/dropi-date-picker-range.js +1 -0
  205. package/dist/components/dropi-date-picker.d.ts +11 -0
  206. package/dist/components/dropi-date-picker.js +1 -0
  207. package/dist/components/dropi-drawer.d.ts +11 -0
  208. package/dist/components/dropi-drawer.js +1 -0
  209. package/dist/components/dropi-dropdown.js +1 -1
  210. package/dist/components/dropi-empty-state.js +1 -1
  211. package/dist/components/dropi-favorite-button.js +1 -1
  212. package/dist/components/dropi-file-upload-progress-bar.d.ts +11 -0
  213. package/dist/components/dropi-file-upload-progress-bar.js +1 -0
  214. package/dist/components/dropi-file-upload.d.ts +11 -0
  215. package/dist/components/dropi-file-upload.js +1 -0
  216. package/dist/components/dropi-icon.js +1 -1
  217. package/dist/components/dropi-ilustration-icon.d.ts +11 -0
  218. package/dist/components/dropi-ilustration-icon.js +1 -0
  219. package/dist/components/dropi-image-miniature.js +1 -1
  220. package/dist/components/dropi-image-overlay.js +1 -1
  221. package/dist/components/dropi-input.js +1 -1
  222. package/dist/components/dropi-languages-selector.d.ts +11 -0
  223. package/dist/components/dropi-languages-selector.js +1 -0
  224. package/dist/components/dropi-logo.js +1 -1
  225. package/dist/components/dropi-lottie-loader.js +1 -1
  226. package/dist/components/dropi-media-player.d.ts +11 -0
  227. package/dist/components/dropi-media-player.js +1 -0
  228. package/dist/components/dropi-modal.js +1 -1
  229. package/dist/components/dropi-navbar.d.ts +11 -0
  230. package/dist/components/dropi-navbar.js +1 -0
  231. package/dist/components/dropi-otp-send-code.js +1 -1
  232. package/dist/components/dropi-paginator.js +1 -1
  233. package/dist/components/dropi-phone-input.d.ts +11 -0
  234. package/dist/components/dropi-phone-input.js +1 -0
  235. package/dist/components/dropi-radio-button.js +1 -1
  236. package/dist/components/dropi-radio-selection-list.js +1 -1
  237. package/dist/components/dropi-read-more.js +1 -1
  238. package/dist/components/dropi-search.js +1 -1
  239. package/dist/components/dropi-select.js +1 -1
  240. package/dist/components/dropi-sidebar.d.ts +11 -0
  241. package/dist/components/dropi-sidebar.js +1 -0
  242. package/dist/components/dropi-simple-stepper.js +1 -1
  243. package/dist/components/dropi-steps.js +1 -1
  244. package/dist/components/dropi-switch.js +1 -1
  245. package/dist/components/dropi-table.d.ts +11 -0
  246. package/dist/components/dropi-table.js +1 -0
  247. package/dist/components/dropi-tabs.js +1 -1
  248. package/dist/components/dropi-tag-type-product.d.ts +11 -0
  249. package/dist/components/dropi-tag-type-product.js +1 -0
  250. package/dist/components/dropi-tag.js +1 -1
  251. package/dist/components/dropi-text-area.js +1 -1
  252. package/dist/components/dropi-time-line.js +1 -1
  253. package/dist/components/dropi-toast.js +1 -1
  254. package/dist/components/dropi-tooltip.js +1 -1
  255. package/dist/components/dropi-vertical-steps.js +1 -1
  256. package/dist/components/dropi-youtube-lazy-video.d.ts +11 -0
  257. package/dist/components/dropi-youtube-lazy-video.js +1 -0
  258. package/dist/components/index.js +1 -1
  259. package/dist/components/p-BY_J-4Sm.js +1 -0
  260. package/dist/components/p-CYCV-5qV.js +1 -0
  261. package/dist/components/p-D0ZJcRZn.js +1 -0
  262. package/dist/components/p-DUPOnSiL.js +1 -0
  263. package/dist/components/p-DUX_WvqW.js +1 -0
  264. package/dist/components/{p-CPs3fHRc.js → p-wO1yy0Zr.js} +1 -1
  265. package/dist/dropi-ui/dropi-ui.esm.js +1 -1
  266. package/dist/dropi-ui/p-053ebb91.entry.js +1 -0
  267. package/dist/dropi-ui/p-0acd32e6.entry.js +1 -0
  268. package/dist/dropi-ui/{p-ebfd4665.entry.js → p-0e88a543.entry.js} +1 -1
  269. package/dist/dropi-ui/p-0f2f5f75.entry.js +1 -0
  270. package/dist/dropi-ui/{p-2cee44f9.entry.js → p-131d87ac.entry.js} +1 -1
  271. package/dist/dropi-ui/p-1af4719d.entry.js +1 -0
  272. package/dist/dropi-ui/p-1e8f6d4a.entry.js +1 -0
  273. package/dist/dropi-ui/p-22132b1a.entry.js +1 -0
  274. package/dist/dropi-ui/p-2c1aaf6f.entry.js +1 -0
  275. package/dist/dropi-ui/p-2e9b87a9.entry.js +1 -0
  276. package/dist/dropi-ui/p-3414a414.entry.js +1 -0
  277. package/dist/dropi-ui/p-34ad54a1.entry.js +1 -0
  278. package/dist/dropi-ui/p-3531378b.entry.js +1 -0
  279. package/dist/dropi-ui/p-3983a7aa.entry.js +1 -0
  280. package/dist/dropi-ui/p-40e91337.entry.js +1 -0
  281. package/dist/dropi-ui/{p-c2316d4d.entry.js → p-4a8646e5.entry.js} +1 -1
  282. package/dist/dropi-ui/p-4be64bf0.entry.js +1 -0
  283. package/dist/dropi-ui/p-4ec17510.entry.js +1 -0
  284. package/dist/dropi-ui/p-5023eef0.entry.js +1 -0
  285. package/dist/dropi-ui/p-51a97b1a.entry.js +1 -0
  286. package/dist/dropi-ui/p-52796d84.entry.js +1 -0
  287. package/dist/dropi-ui/p-53a5bd7b.entry.js +1 -0
  288. package/dist/dropi-ui/p-5425f941.entry.js +1 -0
  289. package/dist/dropi-ui/p-58d0bf7a.entry.js +1 -0
  290. package/dist/dropi-ui/p-59d3bd9b.entry.js +1 -0
  291. package/dist/dropi-ui/p-5e957631.entry.js +1 -0
  292. package/dist/dropi-ui/p-64cbf4ea.entry.js +1 -0
  293. package/dist/dropi-ui/{p-c10cbb8d.entry.js → p-68080534.entry.js} +1 -1
  294. package/dist/dropi-ui/{p-cb5fd7a9.entry.js → p-6da6b97e.entry.js} +1 -1
  295. package/dist/dropi-ui/p-6df57f25.entry.js +1 -0
  296. package/dist/dropi-ui/p-7c916570.entry.js +1 -0
  297. package/dist/dropi-ui/p-7e95462a.entry.js +1 -0
  298. package/dist/dropi-ui/{p-30fdd316.entry.js → p-80089042.entry.js} +1 -1
  299. package/dist/dropi-ui/p-8768bb11.entry.js +1 -0
  300. package/dist/dropi-ui/p-896f2900.entry.js +1 -0
  301. package/dist/dropi-ui/p-89ac1ff2.entry.js +1 -0
  302. package/dist/dropi-ui/p-8ce79c69.entry.js +1 -0
  303. package/dist/dropi-ui/p-8e809670.entry.js +1 -0
  304. package/dist/dropi-ui/p-93b207b7.entry.js +1 -0
  305. package/dist/dropi-ui/p-983f72ad.entry.js +1 -0
  306. package/dist/dropi-ui/p-98babb78.entry.js +1 -0
  307. package/dist/dropi-ui/p-9fc53d50.entry.js +1 -0
  308. package/dist/dropi-ui/p-Tbza12Gt.js +2 -0
  309. package/dist/dropi-ui/p-a20705fe.entry.js +1 -0
  310. package/dist/dropi-ui/p-a72da98f.entry.js +1 -0
  311. package/dist/dropi-ui/p-a876d57c.entry.js +1 -0
  312. package/dist/dropi-ui/p-b1b0f938.entry.js +1 -0
  313. package/dist/dropi-ui/p-b2e176b1.entry.js +1 -0
  314. package/dist/dropi-ui/p-b41c8a6c.entry.js +1 -0
  315. package/dist/dropi-ui/p-b890fd5b.entry.js +1 -0
  316. package/dist/dropi-ui/p-bf5a53ef.entry.js +1 -0
  317. package/dist/dropi-ui/{p-e721127d.entry.js → p-c0677661.entry.js} +1 -1
  318. package/dist/dropi-ui/{p-a9116dbe.entry.js → p-c2562a1c.entry.js} +1 -1
  319. package/dist/dropi-ui/p-c2b5d0fb.entry.js +1 -0
  320. package/dist/dropi-ui/{p-061e1ad4.entry.js → p-c4d4396b.entry.js} +1 -1
  321. package/dist/dropi-ui/{p-724a2aea.entry.js → p-c9ebd31b.entry.js} +1 -1
  322. package/dist/dropi-ui/p-cecfb68e.entry.js +1 -0
  323. package/dist/dropi-ui/p-d0b47e2e.entry.js +1 -0
  324. package/dist/dropi-ui/p-dcefef51.entry.js +1 -0
  325. package/dist/dropi-ui/p-e4b7e15f.entry.js +1 -0
  326. package/dist/dropi-ui/{p-b0d3442e.entry.js → p-e7f4ed25.entry.js} +1 -1
  327. package/dist/dropi-ui/p-f1d69b15.entry.js +1 -0
  328. package/dist/esm/dropi-accordion.entry.js +3 -3
  329. package/dist/esm/dropi-alert-modal.entry.js +70 -0
  330. package/dist/esm/dropi-alert.entry.js +7 -7
  331. package/dist/esm/dropi-avatars.entry.js +2 -2
  332. package/dist/esm/dropi-badge.entry.js +2 -2
  333. package/dist/esm/dropi-banner-external.entry.js +45 -0
  334. package/dist/esm/dropi-breadcrumb.entry.js +46 -0
  335. package/dist/esm/dropi-button.entry.js +7 -5
  336. package/dist/esm/dropi-card-checkbox.entry.js +43 -0
  337. package/dist/esm/dropi-card-product.entry.js +57 -0
  338. package/dist/esm/dropi-card-section.entry.js +5 -5
  339. package/dist/esm/dropi-carousel.entry.js +81 -0
  340. package/dist/esm/dropi-checkbox-selection-list.entry.js +5 -5
  341. package/dist/esm/dropi-checkbox.entry.js +4 -4
  342. package/dist/esm/dropi-chips.entry.js +4 -4
  343. package/dist/esm/dropi-city-selector.entry.js +83 -0
  344. package/dist/esm/dropi-color-picker.entry.js +67 -0
  345. package/dist/esm/dropi-country-flags.entry.js +35 -0
  346. package/dist/esm/dropi-country-selector.entry.js +162 -0
  347. package/dist/esm/dropi-date-picker-range.entry.js +113 -0
  348. package/dist/esm/dropi-date-picker.entry.js +203 -0
  349. package/dist/esm/dropi-drawer.entry.js +48 -0
  350. package/dist/esm/dropi-dropdown.entry.js +3 -3
  351. package/dist/esm/dropi-empty-state.entry.js +9 -5
  352. package/dist/esm/dropi-favorite-button.entry.js +3 -3
  353. package/dist/esm/dropi-file-upload-progress-bar.entry.js +50 -0
  354. package/dist/esm/dropi-file-upload.entry.js +82 -0
  355. package/dist/esm/dropi-icon.entry.js +2 -2
  356. package/dist/esm/dropi-ilustration-icon.entry.js +37 -0
  357. package/dist/esm/dropi-image-miniature.entry.js +3 -3
  358. package/dist/esm/dropi-image-overlay.entry.js +4 -4
  359. package/dist/esm/dropi-input.entry.js +7 -7
  360. package/dist/esm/dropi-languages-selector.entry.js +55 -0
  361. package/dist/esm/dropi-logo.entry.js +3 -3
  362. package/dist/esm/dropi-lottie-loader.entry.js +5 -5
  363. package/dist/esm/dropi-media-player.entry.js +100 -0
  364. package/dist/esm/dropi-modal.entry.js +12 -9
  365. package/dist/esm/dropi-navbar.entry.js +50 -0
  366. package/dist/esm/dropi-otp-send-code.entry.js +6 -6
  367. package/dist/esm/dropi-paginator.entry.js +4 -4
  368. package/dist/esm/dropi-phone-input.entry.js +82 -0
  369. package/dist/esm/dropi-radio-button.entry.js +3 -3
  370. package/dist/esm/dropi-radio-selection-list.entry.js +5 -5
  371. package/dist/esm/dropi-read-more.entry.js +2 -2
  372. package/dist/esm/dropi-search.entry.js +8 -8
  373. package/dist/esm/dropi-select.entry.js +7 -7
  374. package/dist/esm/dropi-sidebar.entry.js +65 -0
  375. package/dist/esm/dropi-simple-stepper.entry.js +2 -2
  376. package/dist/esm/dropi-skeleton.entry.js +1 -1
  377. package/dist/esm/dropi-steps.entry.js +2 -2
  378. package/dist/esm/dropi-switch.entry.js +3 -3
  379. package/dist/esm/dropi-table.entry.js +122 -0
  380. package/dist/esm/dropi-tabs.entry.js +3 -3
  381. package/dist/esm/dropi-tag-type-product.entry.js +17 -0
  382. package/dist/esm/dropi-tag.entry.js +3 -3
  383. package/dist/esm/dropi-text-area.entry.js +8 -8
  384. package/dist/esm/dropi-time-line.entry.js +2 -2
  385. package/dist/esm/dropi-toast.entry.js +2 -2
  386. package/dist/esm/dropi-tooltip.entry.js +2 -2
  387. package/dist/esm/dropi-ui.js +3 -3
  388. package/dist/esm/dropi-vertical-steps.entry.js +3 -3
  389. package/dist/esm/dropi-youtube-lazy-video.entry.js +31 -0
  390. package/dist/esm/{index-Twbb5MNM.js → index-Tbza12Gt.js} +3 -3
  391. package/dist/esm/loader.js +3 -3
  392. package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +48 -0
  393. package/dist/types/components/dropi-banner-external/dropi-banner-external.d.ts +30 -0
  394. package/dist/types/components/dropi-breadcrumb/dropi-breadcrumb.d.ts +31 -0
  395. package/dist/types/components/dropi-button/dropi-button.d.ts +2 -0
  396. package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +33 -0
  397. package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +39 -0
  398. package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +40 -0
  399. package/dist/types/components/dropi-city-selector/dropi-city-selector.d.ts +46 -0
  400. package/dist/types/components/dropi-color-picker/dropi-color-picker.d.ts +31 -0
  401. package/dist/types/components/dropi-country-flags/dropi-country-flags.d.ts +19 -0
  402. package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +39 -0
  403. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +47 -0
  404. package/dist/types/components/dropi-date-picker-range/dropi-date-picker-range.d.ts +50 -0
  405. package/dist/types/components/dropi-drawer/dropi-drawer.d.ts +25 -0
  406. package/dist/types/components/dropi-empty-state/dropi-empty-state.d.ts +4 -0
  407. package/dist/types/components/dropi-file-upload/dropi-file-upload.d.ts +37 -0
  408. package/dist/types/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.d.ts +25 -0
  409. package/dist/types/components/dropi-ilustration-icon/dropi-ilustration-icon.d.ts +24 -0
  410. package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +31 -0
  411. package/dist/types/components/dropi-media-player/dropi-media-player.d.ts +44 -0
  412. package/dist/types/components/dropi-navbar/dropi-navbar.d.ts +40 -0
  413. package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +34 -0
  414. package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +35 -0
  415. package/dist/types/components/dropi-table/dropi-table.d.ts +57 -0
  416. package/dist/types/components/dropi-tag-type-product/dropi-tag-type-product.d.ts +9 -0
  417. package/dist/types/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.d.ts +19 -0
  418. package/dist/types/components.d.ts +4047 -1043
  419. package/package.json +1 -1
  420. package/scripts/setup.js +2 -0
  421. package/dist/components/p-DKXrREI4.js +0 -1
  422. package/dist/components/p-Ds74ZOlC.js +0 -1
  423. package/dist/components/p-WZTFyFH2.js +0 -1
  424. package/dist/dropi-ui/p-0c13dded.entry.js +0 -1
  425. package/dist/dropi-ui/p-121c8a09.entry.js +0 -1
  426. package/dist/dropi-ui/p-291a1416.entry.js +0 -1
  427. package/dist/dropi-ui/p-3537ee5a.entry.js +0 -1
  428. package/dist/dropi-ui/p-3d859657.entry.js +0 -1
  429. package/dist/dropi-ui/p-433d161d.entry.js +0 -1
  430. package/dist/dropi-ui/p-4bdfad16.entry.js +0 -1
  431. package/dist/dropi-ui/p-4ea7d3a7.entry.js +0 -1
  432. package/dist/dropi-ui/p-51c8ef68.entry.js +0 -1
  433. package/dist/dropi-ui/p-54780c90.entry.js +0 -1
  434. package/dist/dropi-ui/p-66deb85e.entry.js +0 -1
  435. package/dist/dropi-ui/p-68f81080.entry.js +0 -1
  436. package/dist/dropi-ui/p-74c37688.entry.js +0 -1
  437. package/dist/dropi-ui/p-7cec1cea.entry.js +0 -1
  438. package/dist/dropi-ui/p-7daa2677.entry.js +0 -1
  439. package/dist/dropi-ui/p-8906a68d.entry.js +0 -1
  440. package/dist/dropi-ui/p-Twbb5MNM.js +0 -2
  441. package/dist/dropi-ui/p-a4204ece.entry.js +0 -1
  442. package/dist/dropi-ui/p-a5650d8f.entry.js +0 -1
  443. package/dist/dropi-ui/p-b36b819f.entry.js +0 -1
  444. package/dist/dropi-ui/p-d1e1b716.entry.js +0 -1
  445. package/dist/dropi-ui/p-d5ecc394.entry.js +0 -1
  446. package/dist/dropi-ui/p-db6c9828.entry.js +0 -1
  447. package/dist/dropi-ui/p-e8557da0.entry.js +0 -1
  448. package/dist/dropi-ui/p-f3cef35a.entry.js +0 -1
  449. package/dist/dropi-ui/p-f6a69c4e.entry.js +0 -1
  450. package/dist/dropi-ui/p-ff45e7c8.entry.js +0 -1
@@ -0,0 +1,111 @@
1
+ :host { display: block; width: 100%; }
2
+ *, *::before, *::after { box-sizing: border-box; }
3
+
4
+ .upload-item {
5
+ display: flex;
6
+ align-items: flex-start;
7
+ gap: var(--Size-3, 12px);
8
+ padding: var(--Size-3, 12px);
9
+ border: 1px solid var(--Gray-Gray-100, #eceef4);
10
+ border-radius: var(--Border-2, 8px);
11
+ background: var(--Neutral-White, #fff);
12
+ }
13
+
14
+ .upload-item--success { border-color: var(--Success-Success-200, #a7edbb); }
15
+ .upload-item--error { border-color: var(--Error-Error-200, #f9b4b4); }
16
+
17
+ .upload-item__icon {
18
+ flex-shrink: 0;
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ width: 40px;
23
+ height: 40px;
24
+ background: var(--Gray-Gray-50, #f7f8fa);
25
+ border-radius: var(--Border-1, 4px);
26
+ }
27
+
28
+ .upload-item__content {
29
+ flex: 1;
30
+ min-width: 0;
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: var(--Size-1, 4px);
34
+ }
35
+
36
+ .upload-item__header {
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: space-between;
40
+ gap: var(--Size-2, 8px);
41
+ }
42
+
43
+ .upload-item__name {
44
+ font-size: var(--font-size-s, 12px);
45
+ font-weight: var(--font-weight-bold, 700);
46
+ color: var(--Gray-Gray-800, #1a2033);
47
+ overflow: hidden;
48
+ text-overflow: ellipsis;
49
+ white-space: nowrap;
50
+ flex: 1;
51
+ }
52
+
53
+ .upload-item__size {
54
+ font-size: var(--font-size-xs, 10px);
55
+ color: var(--Gray-Gray-400, #858ea6);
56
+ flex-shrink: 0;
57
+ }
58
+
59
+ /* Progress bar */
60
+ .upload-item__bar-wrap {
61
+ display: flex;
62
+ align-items: center;
63
+ gap: var(--Size-2, 8px);
64
+ }
65
+
66
+ .upload-item__bar {
67
+ flex: 1;
68
+ height: 6px;
69
+ background: var(--Gray-Gray-100, #eceef4);
70
+ border-radius: 100px;
71
+ overflow: hidden;
72
+ }
73
+
74
+ .upload-item__bar-fill {
75
+ height: 100%;
76
+ background: var(--Primary-Primary-500, #f49a3d);
77
+ border-radius: 100px;
78
+ transition: width 0.3s ease;
79
+ }
80
+
81
+ .upload-item--success .upload-item__bar-fill { background: var(--Success-Success-500, #34c55a); }
82
+ .upload-item--error .upload-item__bar-fill { background: var(--Error-Error-500, #f46a6b); }
83
+ .upload-item--paused .upload-item__bar-fill { background: var(--Warning-Warning-500, #f49a3d); }
84
+
85
+ .upload-item__pct {
86
+ font-size: var(--font-size-xs, 10px);
87
+ color: var(--Gray-Gray-400, #858ea6);
88
+ width: 32px;
89
+ text-align: right;
90
+ flex-shrink: 0;
91
+ }
92
+
93
+ .upload-item__error {
94
+ margin: 0;
95
+ font-size: var(--font-size-xs, 10px);
96
+ color: var(--Error-Error-500, #f46a6b);
97
+ }
98
+
99
+ /* Cancel */
100
+ .upload-item__cancel {
101
+ background: none;
102
+ border: none;
103
+ padding: 2px;
104
+ cursor: pointer;
105
+ display: flex;
106
+ align-items: center;
107
+ flex-shrink: 0;
108
+ border-radius: var(--Border-1, 4px);
109
+ transition: background 0.15s;
110
+ }
111
+ .upload-item__cancel:hover { background: var(--Gray-Gray-50, #f7f8fa); }
@@ -0,0 +1,198 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * @component dropi-file-upload-progress-bar
4
+ * Shows upload progress for a single file with name, size, progress bar, and status.
5
+ */
6
+ export class DropiFileUploadProgressBar {
7
+ /** File name */
8
+ fileName = '';
9
+ /** File size label (e.g. "1.2 MB") */
10
+ fileSize = '';
11
+ /** Upload progress 0–100 */
12
+ progress = 0;
13
+ /** Current status */
14
+ status = 'uploading';
15
+ /** Error message shown when status is "error" */
16
+ errorMessage = 'Error al cargar el archivo';
17
+ /** Show cancel/remove button */
18
+ showCancel = true;
19
+ /** Emitted when cancel/remove clicked */
20
+ dropiCancel;
21
+ get clampedProgress() {
22
+ return Math.min(100, Math.max(0, this.progress));
23
+ }
24
+ get iconName() {
25
+ switch (this.status) {
26
+ case 'success': return 'Check-circle';
27
+ case 'error': return 'Close-circle';
28
+ case 'paused': return 'Pause-circle';
29
+ default: return 'Document';
30
+ }
31
+ }
32
+ get iconColor() {
33
+ switch (this.status) {
34
+ case 'success': return 'Success-Success-500';
35
+ case 'error': return 'Error-Error-500';
36
+ case 'paused': return 'Warning-Warning-500';
37
+ default: return 'Primary-Primary-500';
38
+ }
39
+ }
40
+ render() {
41
+ const pct = this.clampedProgress;
42
+ return (h("div", { key: '1a7e98a56a7f60be4f9934f6e124ed9b78d815a2', class: `upload-item upload-item--${this.status}` }, h("div", { key: 'a3bd11ec50244ba045361e015202bf895e74ef54', class: "upload-item__icon" }, h("dropi-icon", { key: '0cbd181eb3cebab1feff8bc21748a62c66a4a38f', name: this.iconName, width: "24px", height: "24px", color: this.iconColor })), h("div", { key: 'fde507232d8105da36820a2dcd5e555ef28da37e', class: "upload-item__content" }, h("div", { key: '6d800c22fe3c659bfe39bf8b75f62668cfda6195', class: "upload-item__header" }, h("span", { key: 'cec4dc4b7c0658bf2f086742cc53caea655ef493', class: "upload-item__name" }, this.fileName), this.fileSize && h("span", { key: '9c523619ef47586b4236de2f21f9e483c6c100fc', class: "upload-item__size" }, this.fileSize)), this.status === 'error' ? (h("p", { class: "upload-item__error" }, this.errorMessage)) : (h("div", { class: "upload-item__bar-wrap" }, h("div", { class: "upload-item__bar" }, h("div", { class: "upload-item__bar-fill", style: { width: `${pct}%` } })), h("span", { class: "upload-item__pct" }, pct, "%")))), this.showCancel && (h("button", { key: '375c0fb876e6d2073ae55a96a2fe9654f399870e', class: "upload-item__cancel", onClick: () => this.dropiCancel.emit(), "aria-label": "Cancelar" }, h("dropi-icon", { key: '84dc8576cabe8846b7759411ad57fe7bab218ec2', name: "Close-small", width: "16px", height: "16px", color: "Gray-Gray-400" })))));
43
+ }
44
+ static get is() { return "dropi-file-upload-progress-bar"; }
45
+ static get encapsulation() { return "shadow"; }
46
+ static get originalStyleUrls() {
47
+ return {
48
+ "$": ["dropi-file-upload-progress-bar.css"]
49
+ };
50
+ }
51
+ static get styleUrls() {
52
+ return {
53
+ "$": ["dropi-file-upload-progress-bar.css"]
54
+ };
55
+ }
56
+ static get properties() {
57
+ return {
58
+ "fileName": {
59
+ "type": "string",
60
+ "mutable": false,
61
+ "complexType": {
62
+ "original": "string",
63
+ "resolved": "string",
64
+ "references": {}
65
+ },
66
+ "required": false,
67
+ "optional": false,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": "File name"
71
+ },
72
+ "getter": false,
73
+ "setter": false,
74
+ "reflect": false,
75
+ "attribute": "file-name",
76
+ "defaultValue": "''"
77
+ },
78
+ "fileSize": {
79
+ "type": "string",
80
+ "mutable": false,
81
+ "complexType": {
82
+ "original": "string",
83
+ "resolved": "string",
84
+ "references": {}
85
+ },
86
+ "required": false,
87
+ "optional": false,
88
+ "docs": {
89
+ "tags": [],
90
+ "text": "File size label (e.g. \"1.2 MB\")"
91
+ },
92
+ "getter": false,
93
+ "setter": false,
94
+ "reflect": false,
95
+ "attribute": "file-size",
96
+ "defaultValue": "''"
97
+ },
98
+ "progress": {
99
+ "type": "number",
100
+ "mutable": false,
101
+ "complexType": {
102
+ "original": "number",
103
+ "resolved": "number",
104
+ "references": {}
105
+ },
106
+ "required": false,
107
+ "optional": false,
108
+ "docs": {
109
+ "tags": [],
110
+ "text": "Upload progress 0\u2013100"
111
+ },
112
+ "getter": false,
113
+ "setter": false,
114
+ "reflect": false,
115
+ "attribute": "progress",
116
+ "defaultValue": "0"
117
+ },
118
+ "status": {
119
+ "type": "string",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "'uploading' | 'success' | 'error' | 'paused'",
123
+ "resolved": "\"error\" | \"paused\" | \"success\" | \"uploading\"",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": "Current status"
131
+ },
132
+ "getter": false,
133
+ "setter": false,
134
+ "reflect": false,
135
+ "attribute": "status",
136
+ "defaultValue": "'uploading'"
137
+ },
138
+ "errorMessage": {
139
+ "type": "string",
140
+ "mutable": false,
141
+ "complexType": {
142
+ "original": "string",
143
+ "resolved": "string",
144
+ "references": {}
145
+ },
146
+ "required": false,
147
+ "optional": false,
148
+ "docs": {
149
+ "tags": [],
150
+ "text": "Error message shown when status is \"error\""
151
+ },
152
+ "getter": false,
153
+ "setter": false,
154
+ "reflect": false,
155
+ "attribute": "error-message",
156
+ "defaultValue": "'Error al cargar el archivo'"
157
+ },
158
+ "showCancel": {
159
+ "type": "boolean",
160
+ "mutable": false,
161
+ "complexType": {
162
+ "original": "boolean",
163
+ "resolved": "boolean",
164
+ "references": {}
165
+ },
166
+ "required": false,
167
+ "optional": false,
168
+ "docs": {
169
+ "tags": [],
170
+ "text": "Show cancel/remove button"
171
+ },
172
+ "getter": false,
173
+ "setter": false,
174
+ "reflect": false,
175
+ "attribute": "show-cancel",
176
+ "defaultValue": "true"
177
+ }
178
+ };
179
+ }
180
+ static get events() {
181
+ return [{
182
+ "method": "dropiCancel",
183
+ "name": "dropiCancel",
184
+ "bubbles": true,
185
+ "cancelable": true,
186
+ "composed": true,
187
+ "docs": {
188
+ "tags": [],
189
+ "text": "Emitted when cancel/remove clicked"
190
+ },
191
+ "complexType": {
192
+ "original": "void",
193
+ "resolved": "void",
194
+ "references": {}
195
+ }
196
+ }];
197
+ }
198
+ }
@@ -34,7 +34,7 @@ export class DropiIcon {
34
34
  this.el.style.setProperty('--icon-fill', fill);
35
35
  }
36
36
  render() {
37
- return (h("svg", { key: 'd92e0c9deb01962dfb172ae25af4f1236647e24c', width: this.width, height: this.height, class: { spin: this.name === 'Spinner' }, "aria-hidden": "true" }, h("use", { key: '76be21d4bcbb2a5409e0c784cd17c6ca3cd243f6', href: `/assets/icons/symbol/svg/sprite.css.svg#${this.name}` })));
37
+ return (h("svg", { key: '2ddcab388d4a4aa5eeb4068160210581977f270d', width: this.width, height: this.height, class: { spin: this.name === 'Spinner' }, "aria-hidden": "true" }, h("use", { key: 'cf485e8fb45231b2ad43b069f3d0d69047f7bc9c', href: `/assets/icons/symbol/svg/sprite.css.svg#${this.name}` })));
38
38
  }
39
39
  static get is() { return "dropi-icon"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,91 @@
1
+ :host {
2
+ display: inline-flex;
3
+ }
4
+
5
+ .dropi-ilustration {
6
+ display: inline-flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ }
10
+
11
+ .dropi-ilustration__image,
12
+ .dropi-ilustration-insignia {
13
+ margin: 0;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ }
18
+
19
+ .dropi-ilustration__image img {
20
+ max-width: 100%;
21
+ height: auto;
22
+ }
23
+
24
+ .dropi-ilustration__image-mb {
25
+ width: 60px;
26
+ height: 60px;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ border-radius: 50%;
31
+ margin: 0;
32
+ }
33
+
34
+ .dropi-ilustration__image-mb.success {
35
+ background: var(--Success-Success-500, #22c55e);
36
+ }
37
+
38
+ .dropi-ilustration__image-mb.error {
39
+ background: var(--Error-Error-500, #ef4444);
40
+ }
41
+
42
+ .dropi-ilustration__image-mb.info {
43
+ background: var(--Info-Info-500, #3b82f6);
44
+ }
45
+
46
+ .dropi-ilustration__image-mb.warning {
47
+ background: url('assets/icons/ilustration/bg-warning.svg') no-repeat center;
48
+ background-size: contain;
49
+ border-radius: 0;
50
+ }
51
+
52
+ .dropi-ilustration-insignia-tag {
53
+ display: flex;
54
+ align-items: center;
55
+ margin: 0;
56
+ }
57
+
58
+ .dropi-ilustration-insignia-tag img {
59
+ position: relative;
60
+ z-index: 2;
61
+ height: 32px;
62
+ width: auto;
63
+ }
64
+
65
+ .tag {
66
+ border-radius: 32px;
67
+ color: var(--Neutral-White, #fff);
68
+ text-transform: capitalize;
69
+ margin: 0 0 0 -20px;
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: flex-start;
73
+ }
74
+
75
+ .tag span {
76
+ color: var(--Neutral-White, #fff);
77
+ padding: 4px 8px 4px 18px;
78
+ font-size: 10px;
79
+ }
80
+
81
+ .tag--verified {
82
+ background: linear-gradient(90deg, #ffc10d 41.3%, #ff6102 112.32%);
83
+ }
84
+
85
+ .tag--premium {
86
+ background: linear-gradient(90deg, #ff6102 56.52%, #ffc10d 107.25%);
87
+ }
88
+
89
+ .tag--exclusive {
90
+ background: linear-gradient(90deg, var(--Gray-900, #0e111a) 26.09%, #ff6102 116.67%);
91
+ }
@@ -0,0 +1,150 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * @component dropi-ilustration-icon
4
+ * Illustration icon with three modes: dropi (SVG asset), mb (colored circle), insignia (badge).
5
+ *
6
+ * @example
7
+ * <dropi-ilustration-icon type="dropi" state="success"></dropi-ilustration-icon>
8
+ * <dropi-ilustration-icon type="insignia" state-insignia="premium" tag-product></dropi-ilustration-icon>
9
+ */
10
+ export class DropiIlustrationIcon {
11
+ /** Display mode */
12
+ type = 'dropi';
13
+ /** State for dropi/mb types */
14
+ state = 'default';
15
+ /** Insignia variant */
16
+ stateInsignia = 'verified';
17
+ /** Show insignia as tag with label (for product cards) */
18
+ tagProduct = false;
19
+ insigniaIcons = {
20
+ verified: 'assets/icons/ilustration/verified-new.svg',
21
+ premium: 'assets/icons/ilustration/premium-new.svg',
22
+ exclusive: 'assets/icons/ilustration/exclusive.svg',
23
+ };
24
+ getIconName(state) {
25
+ const map = {
26
+ success: 'Check-circle',
27
+ error: 'Cross-circle',
28
+ info: 'Info',
29
+ warning: 'Info',
30
+ };
31
+ return map[state] || 'Info';
32
+ }
33
+ render() {
34
+ return (h("div", { key: '1acaca4fb04f69aa08d582f77912daf20bc810a0', class: "dropi-ilustration" }, this.type === 'dropi' && (h("figure", { key: '926b2097628ed235167c996440cf1324ad915f10', class: "dropi-ilustration__image" }, h("img", { key: 'ca44d2ac9abf55255554d0f332f93e5663125307', src: `assets/icons/ilustration/${this.state}.svg`, alt: this.state, onError: (e) => { e.target.src = 'assets/icons/ilustration/default.svg'; } }))), this.type === 'mb' && (h("figure", { key: 'f47a3b50f13c75d9637482120df85c8a7654a0d5', class: `dropi-ilustration__image-mb ${this.state}` }, ['success', 'error', 'info', 'warning'].includes(this.state) && (h("dropi-icon", { key: 'ccd33ef7664a7474333e3af1bfe8b4718d714268', name: this.getIconName(this.state), width: "24px", height: "24px", color: "Neutral-White" })))), this.type === 'insignia' && (h("figure", { key: '24d7552d743a7fc5abbb1fc85e37c46025cd6860', class: this.tagProduct ? 'dropi-ilustration-insignia-tag' : 'dropi-ilustration-insignia' }, h("img", { key: 'bbc80f0b9ae663dc0f01600d338ad5297ab3f6ce', src: this.insigniaIcons[this.stateInsignia], alt: this.stateInsignia }), this.tagProduct && (h("p", { key: 'b5efd7dc951609a478524e0861f26a0dd6780d7c', class: `tag tag--${this.stateInsignia}` }, h("span", { key: '09dbe7100e081804eff89f7e45cd4770be434d7b', class: "Caption-S" }, this.stateInsignia.charAt(0).toUpperCase() + this.stateInsignia.slice(1))))))));
35
+ }
36
+ static get is() { return "dropi-ilustration-icon"; }
37
+ static get encapsulation() { return "shadow"; }
38
+ static get originalStyleUrls() {
39
+ return {
40
+ "$": ["dropi-ilustration-icon.css"]
41
+ };
42
+ }
43
+ static get styleUrls() {
44
+ return {
45
+ "$": ["dropi-ilustration-icon.css"]
46
+ };
47
+ }
48
+ static get properties() {
49
+ return {
50
+ "type": {
51
+ "type": "string",
52
+ "mutable": false,
53
+ "complexType": {
54
+ "original": "IlustrationType",
55
+ "resolved": "\"dropi\" | \"insignia\" | \"mb\"",
56
+ "references": {
57
+ "IlustrationType": {
58
+ "location": "local",
59
+ "path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-ilustration-icon/dropi-ilustration-icon.tsx",
60
+ "id": "src/components/dropi-ilustration-icon/dropi-ilustration-icon.tsx::IlustrationType"
61
+ }
62
+ }
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": "Display mode"
69
+ },
70
+ "getter": false,
71
+ "setter": false,
72
+ "reflect": false,
73
+ "attribute": "type",
74
+ "defaultValue": "'dropi'"
75
+ },
76
+ "state": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "IlustrationState",
81
+ "resolved": "\"default\" | \"error\" | \"info\" | \"loading\" | \"love\" | \"sorry\" | \"success\" | \"warning\"",
82
+ "references": {
83
+ "IlustrationState": {
84
+ "location": "local",
85
+ "path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-ilustration-icon/dropi-ilustration-icon.tsx",
86
+ "id": "src/components/dropi-ilustration-icon/dropi-ilustration-icon.tsx::IlustrationState"
87
+ }
88
+ }
89
+ },
90
+ "required": false,
91
+ "optional": false,
92
+ "docs": {
93
+ "tags": [],
94
+ "text": "State for dropi/mb types"
95
+ },
96
+ "getter": false,
97
+ "setter": false,
98
+ "reflect": false,
99
+ "attribute": "state",
100
+ "defaultValue": "'default'"
101
+ },
102
+ "stateInsignia": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "InsigniaState",
107
+ "resolved": "\"exclusive\" | \"premium\" | \"verified\"",
108
+ "references": {
109
+ "InsigniaState": {
110
+ "location": "local",
111
+ "path": "/Users/mac-ti/Documents/dropi/dropi-ui/src/components/dropi-ilustration-icon/dropi-ilustration-icon.tsx",
112
+ "id": "src/components/dropi-ilustration-icon/dropi-ilustration-icon.tsx::InsigniaState"
113
+ }
114
+ }
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "Insignia variant"
121
+ },
122
+ "getter": false,
123
+ "setter": false,
124
+ "reflect": false,
125
+ "attribute": "state-insignia",
126
+ "defaultValue": "'verified'"
127
+ },
128
+ "tagProduct": {
129
+ "type": "boolean",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "boolean",
133
+ "resolved": "boolean",
134
+ "references": {}
135
+ },
136
+ "required": false,
137
+ "optional": false,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": "Show insignia as tag with label (for product cards)"
141
+ },
142
+ "getter": false,
143
+ "setter": false,
144
+ "reflect": false,
145
+ "attribute": "tag-product",
146
+ "defaultValue": "false"
147
+ }
148
+ };
149
+ }
150
+ }
@@ -31,7 +31,7 @@ export class DropiImageMiniature {
31
31
  }
32
32
  render() {
33
33
  const imgs = this.parsedImages;
34
- return (h("div", { key: '5182a02b3f7da5b1440230c87c8661f5f33bb7be', class: "miniature" }, this.label && h("span", { key: 'bf649e5c27972799d600df583c0953938a1cacad', class: "miniature__label" }, this.label), h("div", { key: '7197ca2d4bbf5d65db4ca71addcf352045734d94', class: "miniature__grid" }, imgs.map((src, i) => (h("div", { class: "miniature__item", style: { width: this.width, height: this.height }, key: i, onClick: () => this.dropiImageClick.emit({ images: imgs, index: i }) }, h("img", { src: src, alt: `imagen ${i + 1}`, loading: "lazy", onError: (e) => this.handleError(e) }), h("div", { class: "miniature__zoom" }, h("dropi-icon", { name: "Search", width: "16px", height: "16px", color: "Neutral-White" }))))))));
34
+ return (h("div", { key: '158c35ef76539561c66eaeb2f825752cd94c8cc6', class: "miniature" }, this.label && h("span", { key: '7817f19c245b61a0b3730cc353a6e0f9fd30d41e', class: "miniature__label" }, this.label), h("div", { key: 'ca1ecbbeb3134fe46e83ae89a1cc4e36836188a3', class: "miniature__grid" }, imgs.map((src, i) => (h("div", { class: "miniature__item", style: { width: this.width, height: this.height }, key: i, onClick: () => this.dropiImageClick.emit({ images: imgs, index: i }) }, h("img", { src: src, alt: `imagen ${i + 1}`, loading: "lazy", onError: (e) => this.handleError(e) }), h("div", { class: "miniature__zoom" }, h("dropi-icon", { name: "Search", width: "16px", height: "16px", color: "Neutral-White" }))))))));
35
35
  }
36
36
  static get is() { return "dropi-image-miniature"; }
37
37
  static get encapsulation() { return "shadow"; }