@dropi/ui 0.1.24 → 0.1.25

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 (490) hide show
  1. package/dist/{esm → dropi-ui}/dropi-accordion-item.entry.js +8 -2
  2. package/dist/dropi-ui/dropi-accordion-item.entry.js.map +1 -0
  3. package/dist/{esm → dropi-ui}/dropi-accordion.entry.js +4 -1
  4. package/dist/dropi-ui/dropi-accordion.entry.js.map +1 -0
  5. package/dist/{esm → dropi-ui}/dropi-alert-legacy.entry.js +4 -1
  6. package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +1 -0
  7. package/dist/{esm → dropi-ui}/dropi-alert-modal.entry.js +4 -1
  8. package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -0
  9. package/dist/{esm → dropi-ui}/dropi-alert.entry.js +4 -1
  10. package/dist/dropi-ui/dropi-alert.entry.js.map +1 -0
  11. package/dist/{esm → dropi-ui}/dropi-avatars.entry.js +4 -1
  12. package/dist/dropi-ui/dropi-avatars.entry.js.map +1 -0
  13. package/dist/{esm → dropi-ui}/dropi-badge-legacy.entry.js +4 -1
  14. package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +1 -0
  15. package/dist/{esm → dropi-ui}/dropi-badge.entry.js +4 -1
  16. package/dist/dropi-ui/dropi-badge.entry.js.map +1 -0
  17. package/dist/{esm → dropi-ui}/dropi-banner-external.entry.js +4 -1
  18. package/dist/dropi-ui/dropi-banner-external.entry.js.map +1 -0
  19. package/dist/{esm → dropi-ui}/dropi-breadcrumb.entry.js +4 -1
  20. package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +1 -0
  21. package/dist/{esm → dropi-ui}/dropi-button.entry.js +4 -1
  22. package/dist/dropi-ui/dropi-button.entry.js.map +1 -0
  23. package/dist/{esm → dropi-ui}/dropi-card-checkbox.entry.js +4 -1
  24. package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -0
  25. package/dist/{esm → dropi-ui}/dropi-card-product.entry.js +4 -1
  26. package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -0
  27. package/dist/{esm → dropi-ui}/dropi-card-section.entry.js +4 -1
  28. package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -0
  29. package/dist/{esm → dropi-ui}/dropi-carousel.entry.js +4 -1
  30. package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -0
  31. package/dist/{esm → dropi-ui}/dropi-checkbox-selection-list.entry.js +4 -1
  32. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -0
  33. package/dist/{esm → dropi-ui}/dropi-checkbox.entry.js +4 -1
  34. package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -0
  35. package/dist/{esm → dropi-ui}/dropi-chips.entry.js +4 -1
  36. package/dist/dropi-ui/dropi-chips.entry.js.map +1 -0
  37. package/dist/{esm → dropi-ui}/dropi-city-selector.entry.js +4 -1
  38. package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -0
  39. package/dist/{esm → dropi-ui}/dropi-color-picker.entry.js +4 -1
  40. package/dist/dropi-ui/dropi-color-picker.entry.js.map +1 -0
  41. package/dist/{esm → dropi-ui}/dropi-country-flags.entry.js +4 -1
  42. package/dist/dropi-ui/dropi-country-flags.entry.js.map +1 -0
  43. package/dist/{esm → dropi-ui}/dropi-country-selector.entry.js +4 -1
  44. package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -0
  45. package/dist/{esm → dropi-ui}/dropi-date-picker-range.entry.js +4 -1
  46. package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +1 -0
  47. package/dist/{esm → dropi-ui}/dropi-date-picker.entry.js +4 -1
  48. package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -0
  49. package/dist/{esm → dropi-ui}/dropi-drawer.entry.js +4 -1
  50. package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -0
  51. package/dist/{esm → dropi-ui}/dropi-dropdown.entry.js +4 -1
  52. package/dist/dropi-ui/dropi-dropdown.entry.js.map +1 -0
  53. package/dist/{esm → dropi-ui}/dropi-empty-state.entry.js +4 -1
  54. package/dist/dropi-ui/dropi-empty-state.entry.js.map +1 -0
  55. package/dist/{esm → dropi-ui}/dropi-favorite-button.entry.js +4 -1
  56. package/dist/dropi-ui/dropi-favorite-button.entry.js.map +1 -0
  57. package/dist/{esm → dropi-ui}/dropi-file-upload-progress-bar.entry.js +4 -1
  58. package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +1 -0
  59. package/dist/{esm → dropi-ui}/dropi-file-upload.entry.js +4 -1
  60. package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -0
  61. package/dist/{esm → dropi-ui}/dropi-icon.entry.js +4 -1
  62. package/dist/dropi-ui/dropi-icon.entry.js.map +1 -0
  63. package/dist/{esm → dropi-ui}/dropi-ilustration-icon.entry.js +4 -1
  64. package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -0
  65. package/dist/{esm → dropi-ui}/dropi-image-miniature.entry.js +4 -1
  66. package/dist/dropi-ui/dropi-image-miniature.entry.js.map +1 -0
  67. package/dist/{esm → dropi-ui}/dropi-image-overlay.entry.js +4 -1
  68. package/dist/dropi-ui/dropi-image-overlay.entry.js.map +1 -0
  69. package/dist/{esm/dropi-input_3.entry.js → dropi-ui/dropi-input.entry.js} +4 -128
  70. package/dist/dropi-ui/dropi-input.entry.js.map +1 -0
  71. package/dist/{esm → dropi-ui}/dropi-languages-selector.entry.js +4 -1
  72. package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -0
  73. package/dist/{esm → dropi-ui}/dropi-logo.entry.js +4 -1
  74. package/dist/dropi-ui/dropi-logo.entry.js.map +1 -0
  75. package/dist/{esm → dropi-ui}/dropi-lottie-loader.entry.js +4 -1
  76. package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +1 -0
  77. package/dist/{esm → dropi-ui}/dropi-media-player.entry.js +4 -1
  78. package/dist/dropi-ui/dropi-media-player.entry.js.map +1 -0
  79. package/dist/{esm → dropi-ui}/dropi-modal.entry.js +4 -1
  80. package/dist/dropi-ui/dropi-modal.entry.js.map +1 -0
  81. package/dist/{esm → dropi-ui}/dropi-navbar.entry.js +4 -1
  82. package/dist/dropi-ui/dropi-navbar.entry.js.map +1 -0
  83. package/dist/{esm → dropi-ui}/dropi-otp-send-code.entry.js +4 -1
  84. package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -0
  85. package/dist/dropi-ui/dropi-paginator.entry.js +70 -0
  86. package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -0
  87. package/dist/{esm → dropi-ui}/dropi-phone-input.entry.js +4 -1
  88. package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -0
  89. package/dist/{esm → dropi-ui}/dropi-radio-button.entry.js +4 -1
  90. package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -0
  91. package/dist/{esm → dropi-ui}/dropi-radio-selection-list.entry.js +4 -1
  92. package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -0
  93. package/dist/{esm → dropi-ui}/dropi-read-more.entry.js +4 -1
  94. package/dist/dropi-ui/dropi-read-more.entry.js.map +1 -0
  95. package/dist/{esm → dropi-ui}/dropi-search.entry.js +4 -1
  96. package/dist/dropi-ui/dropi-search.entry.js.map +1 -0
  97. package/dist/{esm → dropi-ui}/dropi-select.entry.js +4 -1
  98. package/dist/dropi-ui/dropi-select.entry.js.map +1 -0
  99. package/dist/{esm → dropi-ui}/dropi-sidebar.entry.js +4 -1
  100. package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -0
  101. package/dist/{esm → dropi-ui}/dropi-simple-stepper.entry.js +4 -1
  102. package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +1 -0
  103. package/dist/{esm → dropi-ui}/dropi-skeleton.entry.js +4 -1
  104. package/dist/dropi-ui/dropi-skeleton.entry.js.map +1 -0
  105. package/dist/{esm → dropi-ui}/dropi-steps.entry.js +4 -1
  106. package/dist/dropi-ui/dropi-steps.entry.js.map +1 -0
  107. package/dist/{esm → dropi-ui}/dropi-switch.entry.js +4 -1
  108. package/dist/dropi-ui/dropi-switch.entry.js.map +1 -0
  109. package/dist/{esm → dropi-ui}/dropi-table.entry.js +4 -1
  110. package/dist/dropi-ui/dropi-table.entry.js.map +1 -0
  111. package/dist/{esm → dropi-ui}/dropi-tabs.entry.js +4 -1
  112. package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -0
  113. package/dist/{esm → dropi-ui}/dropi-tag-type-product.entry.js +4 -1
  114. package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +1 -0
  115. package/dist/dropi-ui/dropi-tag.entry.js +69 -0
  116. package/dist/dropi-ui/dropi-tag.entry.js.map +1 -0
  117. package/dist/{esm → dropi-ui}/dropi-text-area.entry.js +4 -1
  118. package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -0
  119. package/dist/{esm → dropi-ui}/dropi-time-line.entry.js +4 -1
  120. package/dist/dropi-ui/dropi-time-line.entry.js.map +1 -0
  121. package/dist/{esm → dropi-ui}/dropi-toast.entry.js +4 -1
  122. package/dist/dropi-ui/dropi-toast.entry.js.map +1 -0
  123. package/dist/{esm → dropi-ui}/dropi-tooltip-v2.entry.js +4 -1
  124. package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -0
  125. package/dist/{esm → dropi-ui}/dropi-tooltip.entry.js +4 -1
  126. package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -0
  127. package/dist/dropi-ui/dropi-ui.css +311 -1
  128. package/dist/dropi-ui/dropi-ui.esm.js +50 -1
  129. package/dist/dropi-ui/dropi-ui.esm.js.map +1 -0
  130. package/dist/{esm → dropi-ui}/dropi-vertical-steps.entry.js +4 -1
  131. package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +1 -0
  132. package/dist/{esm → dropi-ui}/dropi-youtube-lazy-video.entry.js +4 -1
  133. package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +1 -0
  134. package/dist/dropi-ui/index-Cvp2LQOM.js +4585 -0
  135. package/dist/dropi-ui/index-Cvp2LQOM.js.map +1 -0
  136. package/dist/dropi-ui/index.esm.js +4 -0
  137. package/dist/dropi-ui/index.esm.js.map +1 -0
  138. package/package.json +1 -1
  139. package/readme.md +112 -58
  140. package/dist/cjs/dropi-accordion-item.cjs.entry.js +0 -54
  141. package/dist/cjs/dropi-accordion.cjs.entry.js +0 -19
  142. package/dist/cjs/dropi-alert-legacy.cjs.entry.js +0 -39
  143. package/dist/cjs/dropi-alert-modal.cjs.entry.js +0 -128
  144. package/dist/cjs/dropi-alert.cjs.entry.js +0 -64
  145. package/dist/cjs/dropi-avatars.cjs.entry.js +0 -31
  146. package/dist/cjs/dropi-badge-legacy.cjs.entry.js +0 -30
  147. package/dist/cjs/dropi-badge.cjs.entry.js +0 -37
  148. package/dist/cjs/dropi-banner-external.cjs.entry.js +0 -63
  149. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +0 -48
  150. package/dist/cjs/dropi-button.cjs.entry.js +0 -87
  151. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +0 -48
  152. package/dist/cjs/dropi-card-product.cjs.entry.js +0 -78
  153. package/dist/cjs/dropi-card-section.cjs.entry.js +0 -38
  154. package/dist/cjs/dropi-carousel.cjs.entry.js +0 -153
  155. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +0 -73
  156. package/dist/cjs/dropi-checkbox.cjs.entry.js +0 -36
  157. package/dist/cjs/dropi-chips.cjs.entry.js +0 -30
  158. package/dist/cjs/dropi-city-selector.cjs.entry.js +0 -104
  159. package/dist/cjs/dropi-color-picker.cjs.entry.js +0 -319
  160. package/dist/cjs/dropi-country-flags.cjs.entry.js +0 -37
  161. package/dist/cjs/dropi-country-selector.cjs.entry.js +0 -197
  162. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +0 -115
  163. package/dist/cjs/dropi-date-picker.cjs.entry.js +0 -223
  164. package/dist/cjs/dropi-drawer.cjs.entry.js +0 -79
  165. package/dist/cjs/dropi-dropdown.cjs.entry.js +0 -65
  166. package/dist/cjs/dropi-empty-state.cjs.entry.js +0 -36
  167. package/dist/cjs/dropi-favorite-button.cjs.entry.js +0 -27
  168. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +0 -77
  169. package/dist/cjs/dropi-file-upload.cjs.entry.js +0 -237
  170. package/dist/cjs/dropi-icon.cjs.entry.js +0 -67
  171. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +0 -39
  172. package/dist/cjs/dropi-image-miniature.cjs.entry.js +0 -44
  173. package/dist/cjs/dropi-image-overlay.cjs.entry.js +0 -63
  174. package/dist/cjs/dropi-input_3.cjs.entry.js +0 -392
  175. package/dist/cjs/dropi-languages-selector.cjs.entry.js +0 -61
  176. package/dist/cjs/dropi-logo.cjs.entry.js +0 -37
  177. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +0 -27
  178. package/dist/cjs/dropi-media-player.cjs.entry.js +0 -192
  179. package/dist/cjs/dropi-modal.cjs.entry.js +0 -142
  180. package/dist/cjs/dropi-navbar.cjs.entry.js +0 -54
  181. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +0 -92
  182. package/dist/cjs/dropi-phone-input.cjs.entry.js +0 -197
  183. package/dist/cjs/dropi-radio-button.cjs.entry.js +0 -47
  184. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +0 -60
  185. package/dist/cjs/dropi-read-more.cjs.entry.js +0 -40
  186. package/dist/cjs/dropi-search.cjs.entry.js +0 -124
  187. package/dist/cjs/dropi-select.cjs.entry.js +0 -382
  188. package/dist/cjs/dropi-sidebar.cjs.entry.js +0 -78
  189. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +0 -53
  190. package/dist/cjs/dropi-skeleton.cjs.entry.js +0 -57
  191. package/dist/cjs/dropi-steps.cjs.entry.js +0 -52
  192. package/dist/cjs/dropi-switch.cjs.entry.js +0 -30
  193. package/dist/cjs/dropi-table.cjs.entry.js +0 -299
  194. package/dist/cjs/dropi-tabs.cjs.entry.js +0 -51
  195. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +0 -19
  196. package/dist/cjs/dropi-text-area.cjs.entry.js +0 -134
  197. package/dist/cjs/dropi-time-line.cjs.entry.js +0 -34
  198. package/dist/cjs/dropi-toast.cjs.entry.js +0 -56
  199. package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +0 -131
  200. package/dist/cjs/dropi-tooltip.cjs.entry.js +0 -21
  201. package/dist/cjs/dropi-ui.cjs.js +0 -24
  202. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +0 -55
  203. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +0 -33
  204. package/dist/cjs/index-C8kwDvpf.js +0 -2773
  205. package/dist/cjs/index.cjs.js +0 -2
  206. package/dist/cjs/loader.cjs.js +0 -12
  207. package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +0 -1
  208. package/dist/collection/collection-manifest.json +0 -77
  209. package/dist/collection/components/dropi-accordion/dropi-accordion-item.css +0 -45
  210. package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +0 -172
  211. package/dist/collection/components/dropi-accordion/dropi-accordion.css +0 -21
  212. package/dist/collection/components/dropi-accordion/dropi-accordion.js +0 -48
  213. package/dist/collection/components/dropi-alert/dropi-alert.css +0 -128
  214. package/dist/collection/components/dropi-alert/dropi-alert.js +0 -371
  215. package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.css +0 -31
  216. package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.js +0 -128
  217. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +0 -105
  218. package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +0 -525
  219. package/dist/collection/components/dropi-avatars/dropi-avatars.css +0 -55
  220. package/dist/collection/components/dropi-avatars/dropi-avatars.js +0 -126
  221. package/dist/collection/components/dropi-badge/dropi-badge.css +0 -41
  222. package/dist/collection/components/dropi-badge/dropi-badge.js +0 -71
  223. package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.css +0 -17
  224. package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +0 -119
  225. package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +0 -56
  226. package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +0 -254
  227. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +0 -69
  228. package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +0 -171
  229. package/dist/collection/components/dropi-button/dropi-button.css +0 -177
  230. package/dist/collection/components/dropi-button/dropi-button.js +0 -323
  231. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +0 -92
  232. package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +0 -222
  233. package/dist/collection/components/dropi-card-product/dropi-card-product.css +0 -235
  234. package/dist/collection/components/dropi-card-product/dropi-card-product.js +0 -386
  235. package/dist/collection/components/dropi-card-section/dropi-card-section.css +0 -42
  236. package/dist/collection/components/dropi-card-section/dropi-card-section.js +0 -178
  237. package/dist/collection/components/dropi-carousel/dropi-carousel.css +0 -148
  238. package/dist/collection/components/dropi-carousel/dropi-carousel.js +0 -379
  239. package/dist/collection/components/dropi-checkbox/dropi-checkbox.css +0 -47
  240. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +0 -103
  241. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +0 -44
  242. package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +0 -267
  243. package/dist/collection/components/dropi-chips/dropi-chips.css +0 -68
  244. package/dist/collection/components/dropi-chips/dropi-chips.js +0 -169
  245. package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +0 -218
  246. package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +0 -242
  247. package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +0 -210
  248. package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +0 -393
  249. package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +0 -30
  250. package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +0 -129
  251. package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +0 -211
  252. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +0 -429
  253. package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +0 -215
  254. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +0 -516
  255. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +0 -143
  256. package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +0 -327
  257. package/dist/collection/components/dropi-drawer/dropi-drawer.css +0 -129
  258. package/dist/collection/components/dropi-drawer/dropi-drawer.js +0 -287
  259. package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +0 -51
  260. package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +0 -209
  261. package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +0 -59
  262. package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +0 -222
  263. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +0 -24
  264. package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +0 -78
  265. package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +0 -464
  266. package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +0 -517
  267. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +0 -115
  268. package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +0 -258
  269. package/dist/collection/components/dropi-icon/dropi-icon.css +0 -26
  270. package/dist/collection/components/dropi-icon/dropi-icon.js +0 -159
  271. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +0 -91
  272. package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +0 -150
  273. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.css +0 -45
  274. package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +0 -150
  275. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +0 -127
  276. package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +0 -156
  277. package/dist/collection/components/dropi-input/dropi-input.css +0 -185
  278. package/dist/collection/components/dropi-input/dropi-input.js +0 -808
  279. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +0 -79
  280. package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +0 -158
  281. package/dist/collection/components/dropi-logo/dropi-logo.css +0 -26
  282. package/dist/collection/components/dropi-logo/dropi-logo.js +0 -107
  283. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +0 -56
  284. package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +0 -116
  285. package/dist/collection/components/dropi-media-player/dropi-media-player.css +0 -320
  286. package/dist/collection/components/dropi-media-player/dropi-media-player.js +0 -394
  287. package/dist/collection/components/dropi-modal/dropi-modal.css +0 -140
  288. package/dist/collection/components/dropi-modal/dropi-modal.js +0 -695
  289. package/dist/collection/components/dropi-navbar/dropi-navbar.css +0 -166
  290. package/dist/collection/components/dropi-navbar/dropi-navbar.js +0 -302
  291. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +0 -67
  292. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +0 -221
  293. package/dist/collection/components/dropi-paginator/dropi-paginator.css +0 -103
  294. package/dist/collection/components/dropi-paginator/dropi-paginator.js +0 -215
  295. package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +0 -209
  296. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +0 -442
  297. package/dist/collection/components/dropi-radio-button/dropi-radio-button.css +0 -62
  298. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +0 -174
  299. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +0 -64
  300. package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +0 -259
  301. package/dist/collection/components/dropi-read-more/dropi-read-more.css +0 -25
  302. package/dist/collection/components/dropi-read-more/dropi-read-more.js +0 -154
  303. package/dist/collection/components/dropi-search/dropi-search.css +0 -112
  304. package/dist/collection/components/dropi-search/dropi-search.js +0 -526
  305. package/dist/collection/components/dropi-select/dropi-select.css +0 -366
  306. package/dist/collection/components/dropi-select/dropi-select.js +0 -1018
  307. package/dist/collection/components/dropi-select/select.types.js +0 -1
  308. package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +0 -76
  309. package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +0 -143
  310. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +0 -94
  311. package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +0 -194
  312. package/dist/collection/components/dropi-skeleton/dropi-skeleton.css +0 -27
  313. package/dist/collection/components/dropi-skeleton/dropi-skeleton.js +0 -192
  314. package/dist/collection/components/dropi-steps/dropi-steps.css +0 -95
  315. package/dist/collection/components/dropi-steps/dropi-steps.js +0 -173
  316. package/dist/collection/components/dropi-switch/dropi-switch.css +0 -57
  317. package/dist/collection/components/dropi-switch/dropi-switch.js +0 -96
  318. package/dist/collection/components/dropi-table/dropi-table.css +0 -540
  319. package/dist/collection/components/dropi-table/dropi-table.js +0 -973
  320. package/dist/collection/components/dropi-tabs/dropi-tabs.css +0 -47
  321. package/dist/collection/components/dropi-tabs/dropi-tabs.js +0 -181
  322. package/dist/collection/components/dropi-tag/dropi-tag.css +0 -39
  323. package/dist/collection/components/dropi-tag/dropi-tag.js +0 -190
  324. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +0 -14
  325. package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +0 -48
  326. package/dist/collection/components/dropi-text-area/dropi-text-area.css +0 -100
  327. package/dist/collection/components/dropi-text-area/dropi-text-area.js +0 -512
  328. package/dist/collection/components/dropi-time-line/dropi-time-line.css +0 -108
  329. package/dist/collection/components/dropi-time-line/dropi-time-line.js +0 -69
  330. package/dist/collection/components/dropi-toast/dropi-toast.css +0 -63
  331. package/dist/collection/components/dropi-toast/dropi-toast.js +0 -165
  332. package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +0 -32
  333. package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +0 -70
  334. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +0 -67
  335. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +0 -468
  336. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +0 -95
  337. package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +0 -167
  338. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +0 -73
  339. package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +0 -110
  340. package/dist/collection/index.js +0 -1
  341. package/dist/collection/utils/utils.js +0 -3
  342. package/dist/collection/utils/utils.unit.test.js +0 -16
  343. package/dist/components/dropi-accordion-item.js +0 -1
  344. package/dist/components/dropi-accordion.js +0 -1
  345. package/dist/components/dropi-alert-legacy.js +0 -1
  346. package/dist/components/dropi-alert-modal.js +0 -1
  347. package/dist/components/dropi-alert.js +0 -1
  348. package/dist/components/dropi-avatars.js +0 -1
  349. package/dist/components/dropi-badge-legacy.js +0 -1
  350. package/dist/components/dropi-badge.js +0 -1
  351. package/dist/components/dropi-banner-external.js +0 -1
  352. package/dist/components/dropi-breadcrumb.js +0 -1
  353. package/dist/components/dropi-button.js +0 -1
  354. package/dist/components/dropi-card-checkbox.js +0 -1
  355. package/dist/components/dropi-card-product.js +0 -1
  356. package/dist/components/dropi-card-section.js +0 -1
  357. package/dist/components/dropi-carousel.js +0 -1
  358. package/dist/components/dropi-checkbox-selection-list.js +0 -1
  359. package/dist/components/dropi-checkbox.js +0 -1
  360. package/dist/components/dropi-chips.js +0 -1
  361. package/dist/components/dropi-city-selector.js +0 -1
  362. package/dist/components/dropi-color-picker.js +0 -1
  363. package/dist/components/dropi-country-flags.js +0 -1
  364. package/dist/components/dropi-country-selector.js +0 -1
  365. package/dist/components/dropi-date-picker-range.js +0 -1
  366. package/dist/components/dropi-date-picker.js +0 -1
  367. package/dist/components/dropi-drawer.js +0 -1
  368. package/dist/components/dropi-dropdown.js +0 -1
  369. package/dist/components/dropi-empty-state.js +0 -1
  370. package/dist/components/dropi-favorite-button.js +0 -1
  371. package/dist/components/dropi-file-upload-progress-bar.js +0 -1
  372. package/dist/components/dropi-file-upload.js +0 -1
  373. package/dist/components/dropi-icon.js +0 -1
  374. package/dist/components/dropi-ilustration-icon.js +0 -1
  375. package/dist/components/dropi-image-miniature.js +0 -1
  376. package/dist/components/dropi-image-overlay.js +0 -1
  377. package/dist/components/dropi-input.js +0 -1
  378. package/dist/components/dropi-languages-selector.js +0 -1
  379. package/dist/components/dropi-logo.js +0 -1
  380. package/dist/components/dropi-lottie-loader.js +0 -1
  381. package/dist/components/dropi-media-player.js +0 -1
  382. package/dist/components/dropi-modal.js +0 -1
  383. package/dist/components/dropi-navbar.js +0 -1
  384. package/dist/components/dropi-otp-send-code.js +0 -1
  385. package/dist/components/dropi-paginator.js +0 -1
  386. package/dist/components/dropi-phone-input.js +0 -1
  387. package/dist/components/dropi-radio-button.js +0 -1
  388. package/dist/components/dropi-radio-selection-list.js +0 -1
  389. package/dist/components/dropi-read-more.js +0 -1
  390. package/dist/components/dropi-search.js +0 -1
  391. package/dist/components/dropi-select.js +0 -1
  392. package/dist/components/dropi-sidebar.js +0 -1
  393. package/dist/components/dropi-simple-stepper.js +0 -1
  394. package/dist/components/dropi-skeleton.js +0 -1
  395. package/dist/components/dropi-steps.js +0 -1
  396. package/dist/components/dropi-switch.js +0 -1
  397. package/dist/components/dropi-table.js +0 -1
  398. package/dist/components/dropi-tabs.js +0 -1
  399. package/dist/components/dropi-tag-type-product.js +0 -1
  400. package/dist/components/dropi-tag.js +0 -1
  401. package/dist/components/dropi-text-area.js +0 -1
  402. package/dist/components/dropi-time-line.js +0 -1
  403. package/dist/components/dropi-toast.js +0 -1
  404. package/dist/components/dropi-tooltip-v2.js +0 -1
  405. package/dist/components/dropi-tooltip.js +0 -1
  406. package/dist/components/dropi-vertical-steps.js +0 -1
  407. package/dist/components/dropi-youtube-lazy-video.js +0 -1
  408. package/dist/components/index.js +0 -1
  409. package/dist/components/p-B9R8Apw7.js +0 -1
  410. package/dist/components/p-B_Ace02i.js +0 -1
  411. package/dist/components/p-BrjO_JXp.js +0 -1
  412. package/dist/components/p-BwhxWL4p.js +0 -1
  413. package/dist/components/p-Bz2jXX3R.js +0 -1
  414. package/dist/components/p-CV_oz45O.js +0 -1
  415. package/dist/components/p-D-vQQQNz.js +0 -1
  416. package/dist/components/p-D13d88W3.js +0 -1
  417. package/dist/components/p-DGUfr98Z.js +0 -1
  418. package/dist/components/p-QOZr7tU8.js +0 -1
  419. package/dist/components/p-a-hGQrJd.js +0 -1
  420. package/dist/components/p-o5gyrbbD.js +0 -1
  421. package/dist/dropi-ui/p-00e5a2de.entry.js +0 -1
  422. package/dist/dropi-ui/p-0188e07a.entry.js +0 -1
  423. package/dist/dropi-ui/p-02710049.entry.js +0 -1
  424. package/dist/dropi-ui/p-17c56074.entry.js +0 -1
  425. package/dist/dropi-ui/p-18adf694.entry.js +0 -1
  426. package/dist/dropi-ui/p-1a3619c3.entry.js +0 -1
  427. package/dist/dropi-ui/p-1d3d6a32.entry.js +0 -1
  428. package/dist/dropi-ui/p-25640777.entry.js +0 -1
  429. package/dist/dropi-ui/p-2674d901.entry.js +0 -1
  430. package/dist/dropi-ui/p-2af538b9.entry.js +0 -1
  431. package/dist/dropi-ui/p-3013f3b8.entry.js +0 -1
  432. package/dist/dropi-ui/p-3321ca70.entry.js +0 -1
  433. package/dist/dropi-ui/p-33d242ec.entry.js +0 -1
  434. package/dist/dropi-ui/p-34b66ca2.entry.js +0 -1
  435. package/dist/dropi-ui/p-39af6478.entry.js +0 -1
  436. package/dist/dropi-ui/p-3e36c8b8.entry.js +0 -1
  437. package/dist/dropi-ui/p-3ebc9b7b.entry.js +0 -1
  438. package/dist/dropi-ui/p-446a481d.entry.js +0 -1
  439. package/dist/dropi-ui/p-50e0d44f.entry.js +0 -1
  440. package/dist/dropi-ui/p-53a7a37d.entry.js +0 -1
  441. package/dist/dropi-ui/p-5c0bd7c2.entry.js +0 -1
  442. package/dist/dropi-ui/p-5cee6721.entry.js +0 -1
  443. package/dist/dropi-ui/p-5fb33ae4.entry.js +0 -1
  444. package/dist/dropi-ui/p-665ef7ba.entry.js +0 -1
  445. package/dist/dropi-ui/p-66b80371.entry.js +0 -1
  446. package/dist/dropi-ui/p-7bfc1c27.entry.js +0 -1
  447. package/dist/dropi-ui/p-7c0d2edf.entry.js +0 -1
  448. package/dist/dropi-ui/p-7eb27836.entry.js +0 -1
  449. package/dist/dropi-ui/p-85444414.entry.js +0 -1
  450. package/dist/dropi-ui/p-86283e99.entry.js +0 -1
  451. package/dist/dropi-ui/p-8bf5d8ee.entry.js +0 -1
  452. package/dist/dropi-ui/p-9032ba00.entry.js +0 -1
  453. package/dist/dropi-ui/p-9212f544.entry.js +0 -1
  454. package/dist/dropi-ui/p-92291873.entry.js +0 -1
  455. package/dist/dropi-ui/p-955e52f8.entry.js +0 -1
  456. package/dist/dropi-ui/p-976a15e3.entry.js +0 -1
  457. package/dist/dropi-ui/p-9b037086.entry.js +0 -1
  458. package/dist/dropi-ui/p-9e0129cc.entry.js +0 -1
  459. package/dist/dropi-ui/p-9ffec3f7.entry.js +0 -1
  460. package/dist/dropi-ui/p-D5SAM1O2.js +0 -2
  461. package/dist/dropi-ui/p-a1c93e55.entry.js +0 -1
  462. package/dist/dropi-ui/p-a232c6a7.entry.js +0 -1
  463. package/dist/dropi-ui/p-a3c4d677.entry.js +0 -1
  464. package/dist/dropi-ui/p-a457e8ca.entry.js +0 -1
  465. package/dist/dropi-ui/p-a4e1df5e.entry.js +0 -1
  466. package/dist/dropi-ui/p-a822a23e.entry.js +0 -1
  467. package/dist/dropi-ui/p-a8f24270.entry.js +0 -1
  468. package/dist/dropi-ui/p-ae35d538.entry.js +0 -1
  469. package/dist/dropi-ui/p-af8e2157.entry.js +0 -1
  470. package/dist/dropi-ui/p-b2623a5c.entry.js +0 -1
  471. package/dist/dropi-ui/p-b3d3c72e.entry.js +0 -1
  472. package/dist/dropi-ui/p-c3614c4a.entry.js +0 -1
  473. package/dist/dropi-ui/p-cbf5367e.entry.js +0 -1
  474. package/dist/dropi-ui/p-cc527d91.entry.js +0 -1
  475. package/dist/dropi-ui/p-cdde481b.entry.js +0 -1
  476. package/dist/dropi-ui/p-d42d4ef7.entry.js +0 -1
  477. package/dist/dropi-ui/p-db38bf16.entry.js +0 -1
  478. package/dist/dropi-ui/p-dd5d8b1b.entry.js +0 -1
  479. package/dist/dropi-ui/p-e3ad21f8.entry.js +0 -1
  480. package/dist/dropi-ui/p-e6e766ed.entry.js +0 -1
  481. package/dist/dropi-ui/p-ec263862.entry.js +0 -1
  482. package/dist/dropi-ui/p-efc2fc35.entry.js +0 -1
  483. package/dist/dropi-ui/p-f41cd9b5.entry.js +0 -1
  484. package/dist/dropi-ui/p-fa3d0267.entry.js +0 -1
  485. package/dist/esm/dropi-ui.js +0 -20
  486. package/dist/esm/index-D5SAM1O2.js +0 -2763
  487. package/dist/esm/index.js +0 -1
  488. package/dist/esm/loader.js +0 -10
  489. package/dist/index.cjs.js +0 -1
  490. package/dist/index.js +0 -1
@@ -1,64 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiAlertCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.alert{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-3, 12px);border-radius:var(--Border-2, 8px);border:1px solid transparent;width:100%}.alert--success{background:var(--Success-Success-50, #e7f8f3);border-color:var(--Success-Success-500, #0abb87)}.alert--error{background:var(--Error-Error-50, #fef0f0);border-color:var(--Error-Error-500, #f46a6b)}.alert--warning{background:var(--Warning-Warning-50, #fef8ed);border-color:var(--Warning-Warning-500, #f1b44c)}.alert--info{background:var(--Info-Info-50, #eef6fe);border-color:var(--Info-Info-500, #50a5f1)}.alert--flag{padding:var(--Size-1, 4px) var(--Size-2, 8px);border-radius:var(--Border-1, 4px);border:none !important;justify-content:center}.alert--flag .alert__body{justify-content:center;text-align:center}.alert--flag .alert__message{font-size:var(--font-size-xs);font-weight:var(--font-weight-regular)}.alert__icon{display:flex;align-items:center;flex-shrink:0;padding-top:1px}.alert__body{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:var(--Size-1, 4px)}.alert__message{font-size:var(--font-size-s);color:var(--Gray-600, #475066);font-weight:var(--font-weight-medium);line-height:1.5}.alert__link{font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-bold, 700);color:var(--Primary-Primary-500, #f49a3d);text-decoration:underline;cursor:pointer}.alert__actions{display:flex;align-items:center;gap:var(--Size-2, 8px);flex-shrink:0}.alert__btn{height:28px;padding:0 var(--Size-3, 12px);border-radius:var(--Border-2, 8px);border:1px solid var(--Primary-Primary-500, #f49a3d);background:transparent;color:var(--Primary-Primary-500, #f49a3d);font-size:var(--font-size-xs, 10px);font-family:inherit;font-weight:var(--font-weight-bold, 700);cursor:pointer;transition:background 0.15s, color 0.15s}.alert__btn:hover{background:var(--Primary-Primary-500, #f49a3d);color:var(--Neutral-White, #ffffff)}.alert__close{display:flex;align-items:center;justify-content:center;background:none;border:none;padding:0;cursor:pointer;opacity:0.6;transition:opacity 0.15s}.alert__close:hover{opacity:1}`;
6
-
7
- const STATE_ICONS = {
8
- success: 'Check-circle',
9
- error: 'Warning-circle',
10
- warning: 'Warning-triangle',
11
- info: 'Info',
12
- };
13
- const STATE_COLORS = {
14
- success: 'Success-Success-500',
15
- error: 'Error-Error-500',
16
- warning: 'Warning-Warning-500',
17
- info: 'Info-Info-500',
18
- };
19
- const DropiAlert = class {
20
- constructor(hostRef) {
21
- index.registerInstance(this, hostRef);
22
- this.onClose = index.createEvent(this, "onClose", 7);
23
- this.onButtonClick = index.createEvent(this, "onButtonClick", 7);
24
- this.onClickLink = index.createEvent(this, "onClickLink", 7);
25
- }
26
- /** Alert message text (supports plain text) */
27
- message = '';
28
- /** Layout type: default (inline) | flag (accented left border) */
29
- type = 'default';
30
- /** Semantic state */
31
- state = 'success';
32
- /** Show the × close button */
33
- dismissable = true;
34
- /** Show action button */
35
- showButton = false;
36
- /** Action button label */
37
- buttonText = 'Close';
38
- /** Anchor/link label */
39
- anchorText = 'none';
40
- /** Anchor href */
41
- anchorUrl = 'none';
42
- /** Whether the alert is visible */
43
- showAlert = true;
44
- /** Link text (alternative to anchorText) */
45
- textLink = '';
46
- /** Link URL (alternative to anchorUrl) */
47
- linkUrl = '';
48
- /** Clicked text tracking */
49
- clickedText = '';
50
- /** Emitted when the alert is dismissed */
51
- onClose;
52
- /** Emitted when the action button is clicked */
53
- onButtonClick;
54
- /** Emitted when the anchor link is clicked */
55
- onClickLink;
56
- render() {
57
- if (!this.showAlert)
58
- return null;
59
- return (index.h("div", { class: { 'alert': true, [`alert--${this.type}`]: true, [`alert--${this.state}`]: true } }, this.type !== 'flag' && (index.h("div", { class: "alert__icon" }, index.h("dropi-icon", { name: STATE_ICONS[this.state], width: "18px", height: "18px", color: STATE_COLORS[this.state] }))), index.h("div", { class: "alert__body" }, index.h("span", { class: "alert__message" }, this.message), this.anchorText && (index.h("a", { class: "alert__link", href: this.anchorUrl || this.linkUrl || '#', onClick: (e) => { e.preventDefault(); this.onClickLink.emit(); } }, this.anchorText))), index.h("div", { class: "alert__actions" }, this.showButton && this.buttonText && this.type !== 'flag' && (index.h("button", { class: "alert__btn", onClick: () => this.onButtonClick.emit() }, this.buttonText)), this.dismissable && (index.h("button", { class: "alert__close", onClick: () => { this.showAlert = false; this.onClose.emit(); }, "aria-label": "Cerrar" }, index.h("dropi-icon", { name: "Close-small", width: "18px", height: "18px", color: "Gray-Gray-500" }))))));
60
- }
61
- };
62
- DropiAlert.style = dropiAlertCss();
63
-
64
- exports.dropi_alert = DropiAlert;
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiAvatarsCss = () => `:host{display:inline-block}.avatar{margin:0;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar--users,.avatar--transport,.avatar--payment{width:35px;height:35px}.avatar--supplier{width:70px;height:70px}.avatar--counter{width:33px;height:33px}.avatar__initials{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;background-color:var(--Primary-Primary-100, #fde9d0);color:var(--Primary-Primary-600, #d4872e);font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-bold, 700);text-transform:uppercase;letter-spacing:0.5px}`;
6
-
7
- const FALLBACK = `data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNiAzNiI+PGNpcmNsZSBjeD0iMTgiIGN5PSIxOCIgcj0iMTgiIGZpbGw9IiNlNmVhZjIiLz48Y2lyY2xlIGN4PSIxOCIgY3k9IjE0IiByPSI2IiBmaWxsPSIjODU4ZWE2Ii8+PHBhdGggZD0iTTYgMzJjMC04IDI0LTggMjQgMCIgZmlsbD0iIzg1OGVhNiIvPjwvc3ZnPg==`;
8
- const DropiAvatars = class {
9
- constructor(hostRef) {
10
- index.registerInstance(this, hostRef);
11
- }
12
- /** Image URL */
13
- image = '';
14
- /** Alt text for the image */
15
- alt = 'Avatar';
16
- /** Size/context variant */
17
- type = 'users';
18
- /** Initials to show when no image (max 2 chars) */
19
- initials = '';
20
- handleError(e) {
21
- e.target.src = FALLBACK;
22
- }
23
- render() {
24
- const displayInitials = this.initials?.slice(0, 2).toUpperCase();
25
- const showInitials = !this.image && displayInitials;
26
- return (index.h("figure", { key: 'db9310b5c789b079fc0f9043a619bd22f9a60151', class: { 'avatar': true, [`avatar--${this.type}`]: true } }, showInitials ? (index.h("div", { class: "avatar__initials" }, displayInitials)) : (index.h("img", { src: this.image || FALLBACK, alt: this.alt, onError: (e) => this.handleError(e) }))));
27
- }
28
- };
29
- DropiAvatars.style = dropiAvatarsCss();
30
-
31
- exports.dropi_avatars = DropiAvatars;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiBadgeLegacyCss = () => `:host{display:inline-block}.badge-legacy{display:flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:10px;font-size:11px;font-weight:600}.badge-legacy--primary{background:var(--Primary-Primary-50);color:var(--Primary-Primary-500)}.badge-legacy--secondary{background:var(--Gray-Gray-100);color:var(--Gray-Gray-600)}.badge-legacy--tertiary{background:var(--Success-Success-50);color:var(--Success-Success-500)}`;
6
-
7
- const DropiBadgeLegacy = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- }
11
- /** Type: state | counter */
12
- type = 'state';
13
- /** State: check | pending */
14
- state = 'check';
15
- /** Variant: primary | secondary | tertiary */
16
- variant = 'primary';
17
- /** Count (for type counterpart) */
18
- count = 0;
19
- render() {
20
- const isCounter = this.type === 'counter';
21
- return (index.h("div", { key: 'f3d7bf7be848acee4077acef4f8e2ab4cfd99d83', class: {
22
- 'badge-legacy': true,
23
- [`badge-legacy--${this.variant}`]: true,
24
- [`badge-legacy--${this.type}`]: true
25
- } }, isCounter ? (index.h("span", { class: "badge-count" }, this.count)) : (index.h("span", { class: { 'badge-state-icon': true, [`badge-state--${this.state}`]: true } }, this.state === 'check' ? '✓' : '...'))));
26
- }
27
- };
28
- DropiBadgeLegacy.style = dropiBadgeLegacyCss();
29
-
30
- exports.dropi_badge_legacy = DropiBadgeLegacy;
@@ -1,37 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiBadgeCss = () => `:host{display:inline-flex}*,*::before,*::after{box-sizing:border-box}.tag-state{border-radius:12px;padding:2px 10px;display:flex;align-items:center;gap:4px}.tag-state svg{width:13px}.tag-state p{font-size:13px;font-weight:var(--font-weight-medium);line-height:20px;margin:0;padding:0}.tag-state.active{background:var(--Success-Success-50, #e7f8f3);color:var(--Success-Success-500, #0abb87)}.tag-state.pending{color:var(--Orange-orange-500, #f49a3d);background:var(--Orange-orange-50, #fef5ec)}.tag-state.canceled,.tag-state.frozen{color:var(--Gray-Gray-500, #69738c);background:var(--Gray-Gray-50, #f7f8fa)}`;
6
-
7
- const DropiBadge = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- }
11
- /** Badge state: pending | active | canceled | frozen */
12
- state;
13
- stateText = {
14
- pending: 'Pendiente',
15
- active: 'Activo',
16
- canceled: 'Cancelado',
17
- frozen: 'Congelado',
18
- };
19
- renderIcon() {
20
- if (this.state === 'active') {
21
- return (index.h("svg", { width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M11.5444 5.87067L12.5389 6.88004L8.43554 10.9225C8.16142 11.1966 7.80087 11.3333 7.43892 11.3333C7.07696 11.3333 6.71287 11.1952 6.43592 10.919L4.46533 9.00929L5.45204 7.99142L7.43042 9.90887L11.5444 5.87067ZM17 8.5C17 13.187 13.187 17 8.5 17C3.81296 17 0 13.187 0 8.5C0 3.81296 3.81296 0 8.5 0C13.187 0 17 3.81296 17 8.5ZM15.5833 8.5C15.5833 4.59425 12.4057 1.41667 8.5 1.41667C4.59425 1.41667 1.41667 4.59425 1.41667 8.5C1.41667 12.4057 4.59425 15.5833 8.5 15.5833C12.4057 15.5833 15.5833 12.4057 15.5833 8.5Z", fill: "currentColor" })));
22
- }
23
- if (this.state === 'pending') {
24
- return (index.h("svg", { width: "17", height: "17", viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M8.5 17C3.81296 17 0 13.187 0 8.5C0 3.81296 3.81296 0 8.5 0C13.187 0 17 3.81296 17 8.5C17 13.187 13.187 17 8.5 17ZM8.5 1.41667C4.59425 1.41667 1.41667 4.59425 1.41667 8.5C1.41667 12.4057 4.59425 15.5833 8.5 15.5833C12.4057 15.5833 15.5833 12.4057 15.5833 8.5C15.5833 4.59425 12.4057 1.41667 8.5 1.41667ZM9.20833 8.5V4.25C9.20833 3.859 8.891 3.54167 8.5 3.54167C8.109 3.54167 7.79167 3.859 7.79167 4.25V7.79167H5.66667C5.27567 7.79167 4.95833 8.109 4.95833 8.5C4.95833 8.891 5.27567 9.20833 5.66667 9.20833H8.5C8.891 9.20833 9.20833 8.891 9.20833 8.5Z", fill: "currentColor" })));
25
- }
26
- if (this.state === 'canceled') {
27
- return (index.h("svg", { width: "12", height: "14", viewBox: "0 0 14 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.5497 4.86859V5.76046C12.1075 6.00391 12.5823 6.40464 12.916 6.91364C13.2497 7.42264 13.4279 8.01785 13.4287 8.62648V12.3844C13.4277 13.2146 13.0974 14.0106 12.5103 14.5976C11.9233 15.1847 11.1273 15.515 10.2971 15.516H4.03392C3.20368 15.515 2.40773 15.1847 1.82066 14.5976C1.23359 14.0106 0.903338 13.2146 0.902344 12.3844V8.62648C0.903144 8.01785 1.08129 7.42264 1.41498 6.91364C1.74868 6.40464 2.22347 6.00391 2.78129 5.76046V4.86859C2.78129 3.70582 3.2432 2.59068 4.0654 1.76848C4.8876 0.946282 6.00274 0.484375 7.1655 0.484375C8.32827 0.484375 9.44341 0.946282 10.2656 1.76848C11.0878 2.59068 11.5497 3.70582 11.5497 4.86859ZM4.95114 2.65422C4.36386 3.24151 4.03392 4.03804 4.03392 4.86859V5.4949H10.2971V4.86859C10.2971 4.03804 9.96715 3.24151 9.37986 2.65422C8.79258 2.06694 7.99605 1.73701 7.1655 1.73701C6.33496 1.73701 5.53843 2.06694 4.95114 2.65422ZM11.6257 13.713C11.9781 13.3606 12.176 12.8827 12.176 12.3844V8.62648C12.176 8.12815 11.9781 7.65023 11.6257 7.29786C11.2733 6.94549 10.7954 6.74753 10.2971 6.74753H4.03392C3.53559 6.74753 3.05768 6.94549 2.70531 7.29786C2.35294 7.65023 2.15498 8.12815 2.15498 8.62648V12.3844C2.15498 12.8827 2.35294 13.3606 2.70531 13.713C3.05768 14.0654 3.53559 14.2633 4.03392 14.2633H10.2971C10.7954 14.2633 11.2733 14.0654 11.6257 13.713ZM6.72263 9.43615C6.84009 9.31869 6.99939 9.25271 7.1655 9.25271C7.33161 9.25271 7.49092 9.31869 7.60837 9.43615C7.72583 9.55361 7.79182 9.71291 7.79182 9.87902V11.1317C7.79182 11.2978 7.72583 11.4571 7.60837 11.5745C7.49092 11.692 7.33161 11.758 7.1655 11.758C6.99939 11.758 6.84009 11.692 6.72263 11.5745C6.60517 11.4571 6.53919 11.2978 6.53919 11.1317V9.87902C6.53919 9.71291 6.60517 9.55361 6.72263 9.43615Z", fill: "currentColor" })));
28
- }
29
- return null;
30
- }
31
- render() {
32
- return (index.h("div", { key: 'b4cae2eac2f963a641ca23e27b33899469b2b370', class: `tag-state ${this.state}` }, this.renderIcon(), index.h("p", { key: '64a2504a1844f2cb9397878ca305aa183b0609a5' }, this.stateText[this.state])));
33
- }
34
- };
35
- DropiBadge.style = dropiBadgeCss();
36
-
37
- exports.dropi_badge = DropiBadge;
@@ -1,63 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiBannerExternalCss = () => `:host{display:block;width:100%}.dropi-banner-external{display:block;width:100%;position:relative;margin-bottom:16px;border-radius:var(--Border-2, 8px)}.dropi-banner-external a{display:block;text-decoration:none}.click-wrapper{cursor:pointer}.inner{position:relative;display:block}.inner img{display:block;width:100%;height:auto;border-radius:var(--Border-2, 8px);max-width:1220px;margin:auto}.close-btn{position:absolute;top:4px;right:4px;background:rgba(255, 255, 255, 0.8);border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background 0.15s ease}.close-btn:hover{background:rgba(255, 255, 255, 1)}`;
6
-
7
- const DropiBannerExternal = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.bannerClick = index.createEvent(this, "bannerClick", 7);
11
- this.isVisible = index.createEvent(this, "isVisible", 7);
12
- }
13
- /** Image URL to display */
14
- imageUrl = '';
15
- /** Optional click-through URL */
16
- link = '';
17
- /** Alt text for the image */
18
- alt = '';
19
- /** Background color behind the image */
20
- backgroundColor = 'transparent';
21
- /** Slug name (matches Angular `slugName`) */
22
- slugName = '';
23
- /** Whether to show on white brand (matches Angular `viewOnWhiteBrand`) */
24
- viewOnWhiteBrand = false;
25
- /** Countries list to show (matches Angular `viewOnlyCountries`) */
26
- viewOnlyCountries = [];
27
- closed = false;
28
- get el() { return index.getElement(this); }
29
- componentWillLoad() {
30
- if (!this.imageUrl) {
31
- this.imageUrl =
32
- this.el.getAttribute('imageUrl') ||
33
- this.el.getAttribute('image-url') ||
34
- this.el.getAttribute('imageurl') ||
35
- '';
36
- }
37
- }
38
- /** Emitted when the banner is clicked (only when no link is set) */
39
- bannerClick;
40
- /** Emitted with false when the close button is clicked (matches Angular `isVisible`) */
41
- isVisible;
42
- handleClick(e) {
43
- if (!this.link) {
44
- e.preventDefault();
45
- this.bannerClick.emit();
46
- }
47
- }
48
- closeBanner(e) {
49
- e.preventDefault();
50
- e.stopPropagation();
51
- this.closed = true;
52
- this.isVisible.emit(false);
53
- }
54
- render() {
55
- if (this.closed || !this.imageUrl)
56
- return null;
57
- const inner = (index.h("div", { class: "inner" }, index.h("img", { src: this.imageUrl, alt: this.alt }), index.h("button", { class: "close-btn", "aria-label": "Cerrar banner", onClick: (e) => this.closeBanner(e) }, index.h("dropi-icon", { name: "Close-small", width: "20px", height: "20px", color: "Gray-Gray-600" }))));
58
- return (index.h("div", { class: "dropi-banner-external", style: { background: this.backgroundColor } }, this.link ? (index.h("a", { href: this.link, target: "_blank", rel: "noopener noreferrer", onClick: (e) => this.handleClick(e) }, inner)) : (index.h("div", { class: "click-wrapper", onClick: (e) => this.handleClick(e) }, inner))));
59
- }
60
- };
61
- DropiBannerExternal.style = dropiBannerExternalCss();
62
-
63
- exports.dropi_banner_external = DropiBannerExternal;
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiBreadcrumbCss = () => `:host{display:block}*,*::before,*::after{box-sizing:border-box}.breadcrumb{margin:0}.crumb-list{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.crumb-home{display:flex;padding-right:4px;align-items:center;gap:4px}.home-link{display:inline-flex;align-items:center;color:var(--Gray-Gray-500, #69738c);text-decoration:none;transition:color 0.2s ease}.home-link:hover{color:var(--Gray-Gray-700, #32394d)}.crumb{display:flex;padding:0 4px;align-items:center;gap:8px}.crumb-link{color:var(--Gray-Gray-500, #69738c);text-align:center;cursor:pointer;text-decoration:none;transition:color 0.2s ease;font-size:var(--font-size-s, 12px)}.crumb-link:hover{color:var(--Gray-Gray-700, #32394d);text-decoration:underline}.crumb-link.disabled{pointer-events:none;color:var(--Gray-Gray-300, #a1a8b8);cursor:not-allowed;text-decoration:none}.current{color:var(--Gray-Gray-700, #32394d);cursor:default;font-size:var(--font-size-s, 12px)}`;
6
-
7
- const DropiBreadcrumb = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.dropiNavigate = index.createEvent(this, "dropiNavigate", 7);
11
- }
12
- /** Breadcrumb items (array or JSON string). Last item is rendered as current. */
13
- items = [];
14
- /** Home link href */
15
- homeRoute = '/';
16
- /** dropi-icon name for home */
17
- homeIconName = 'Home';
18
- /** Whether the last item is also clickable */
19
- lastItemClickable = false;
20
- /** Emitted when any item or home is clicked. Detail is the item or homeRoute string. */
21
- dropiNavigate;
22
- get parsedItems() {
23
- if (typeof this.items === 'string') {
24
- try {
25
- return JSON.parse(this.items);
26
- }
27
- catch {
28
- return [];
29
- }
30
- }
31
- return this.items;
32
- }
33
- render() {
34
- const items = this.parsedItems;
35
- return (index.h("nav", { key: 'c4546d7a0c7852e01f685176b5365f1e0082ad24', class: "breadcrumb", "aria-label": "Breadcrumb" }, index.h("div", { key: '924ab634ae4e71f6bd39a67b4b3889cdca20234d', class: "crumb-list" }, index.h("div", { key: 'e7b1b285bdd497a028a041ada1eb8b34f77384b0', class: "crumb-home" }, index.h("a", { key: '9e288d5f5761daed20b35dbf056c7de9c2e7b8e3', href: this.homeRoute, class: "home-link", "aria-label": "Inicio", onClick: (e) => { e.preventDefault(); this.dropiNavigate.emit(this.homeRoute); } }, index.h("dropi-icon", { key: '15210c5feb41fc5a8dd37f52eba1e5a211834f84', name: this.homeIconName, width: "16px", color: "Gray-Gray-500" })), items.length > 0 && (index.h("dropi-icon", { key: '5acd21133859ec42b078fd323f82b7bc13c7b359', name: "Dropdown-Right", width: "16px", color: "Gray-Gray-500" }))), items.map((item, idx) => {
36
- const isLast = idx === items.length - 1;
37
- const href = item.url || item.routerLink || '#';
38
- return (index.h("div", { class: "crumb", key: idx }, (!isLast || this.lastItemClickable) ? (index.h("a", { class: `crumb-link Body-S-Regular${item.disabled ? ' disabled' : ''}`, href: href, onClick: (e) => {
39
- e.preventDefault();
40
- if (!item.disabled)
41
- this.dropiNavigate.emit(item);
42
- } }, item.label)) : (index.h("span", { class: "current Body-S-Regular", "aria-current": "page" }, item.label)), !isLast && (index.h("dropi-icon", { name: "Dropdown-Right", width: "16px", height: "16px", color: "Gray-Gray-500" }))));
43
- }))));
44
- }
45
- };
46
- DropiBreadcrumb.style = dropiBreadcrumbCss();
47
-
48
- exports.dropi_breadcrumb = DropiBreadcrumb;
@@ -1,87 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiButtonCss = () => `:host{display:inline-block}:host([full-width]){display:flex;width:100%}:host([full-width]) .btn{width:100%}*,*::before,*::after{box-sizing:border-box}.btn{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:var(--Size-1, 4px);border-radius:var(--Border-2, 8px);font-weight:var(--font-weight-bold);min-width:33px;line-height:110%;cursor:pointer;white-space:nowrap;transition:background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease}.btn:active{transition:transform 0.01s ease-out;transform:scale(0.98)}.btn:hover:not(:active){transform:scale(1.01)}.btn.without-text{gap:0}.btn.large{padding:var(--Size-4, 16px);font-size:var(--Size-4, 16px);height:48px}.btn.normal{padding:var(--Size-3, 12px);font-size:var(--font-size-s, 12px);height:40px}.btn.small{padding:var(--Size-2, 8px);font-size:var(--font-size-s, 12px);height:29px}.btn.disabled,.btn.loading{cursor:not-allowed;pointer-events:none}.btn.primary.default{background:var(--Primary-Primary-500, #f49a3d);color:var(--Neutral-White, #ffffff)}.btn.primary.default:hover{background:var(--Primary-Primary-600, #e58017)}.btn.primary.success{background:var(--Success-Success-500, #0abb87);color:var(--Neutral-White, #ffffff)}.btn.primary.success:hover{background:var(--Success-Success-600, #09aa7b)}.btn.primary.info{background:var(--Info-Info-500, #50a5f1);color:var(--Neutral-White, #ffffff)}.btn.primary.info:hover{background:var(--Info-Info-600, #4996db)}.btn.primary.error{background:var(--Error-Error-500, #f46a6b);color:var(--Neutral-White, #ffffff)}.btn.primary.error:hover{background:var(--Error-Error-600, #de6061)}.btn.primary.warning{background:var(--Warning-Warning-500, #f1b44c);color:var(--Neutral-White, #ffffff)}.btn.primary.warning:hover{background:var(--Warning-Warning-600, #dba445)}.btn.primary.legacy{background:var(--Secondary-Secondary-500, #008dbf);color:var(--Neutral-White, #ffffff)}.btn.primary.legacy:hover{background:var(--Secondary-Secondary-600, #007199)}.btn.primary.disabled.default{background:var(--Primary-Primary-300, #f2bc85);color:var(--Neutral-White, #ffffff)}.btn.primary.disabled.success{background:var(--Success-Success-300, #5bd1af);color:var(--Neutral-White, #ffffff)}.btn.primary.disabled.info{background:var(--Info-Info-300, #8ac3f6);color:var(--Neutral-White, #ffffff)}.btn.primary.disabled.error{background:var(--Error-Error-300, #f89b9c);color:var(--Neutral-White, #ffffff)}.btn.primary.disabled.warning{background:var(--Warning-Warning-300, #f6cd87);color:var(--Neutral-White, #ffffff)}.btn.primary.disabled.legacy{background:var(--Secondary-Secondary-300, #62bad9);color:var(--Neutral-White, #ffffff)}.btn.secondary{background:var(--Neutral-White, #ffffff);border:1px solid}.btn.secondary.default{border-color:var(--Primary-Primary-500, #f49a3d);color:var(--Primary-Primary-500, #f49a3d)}.btn.secondary.default:hover{color:var(--Primary-Primary-600, #e58017);border-color:var(--Primary-Primary-600, #e58017)}.btn.secondary.success{border-color:var(--Success-Success-500, #0abb87);color:var(--Success-Success-500, #0abb87)}.btn.secondary.success:hover{color:var(--Success-Success-600, #09aa7b);border-color:var(--Success-Success-600, #09aa7b)}.btn.secondary.info{border-color:var(--Info-Info-500, #50a5f1);color:var(--Info-Info-500, #50a5f1)}.btn.secondary.info:hover{color:var(--Info-Info-600, #4996db);border-color:var(--Info-Info-600, #4996db)}.btn.secondary.error{border-color:var(--Error-Error-500, #f46a6b);color:var(--Error-Error-500, #f46a6b)}.btn.secondary.error:hover{color:var(--Error-Error-600, #de6061);border-color:var(--Error-Error-600, #de6061)}.btn.secondary.warning{border-color:var(--Warning-Warning-500, #f1b44c);color:var(--Warning-Warning-500, #f1b44c)}.btn.secondary.warning:hover{color:var(--Warning-Warning-600, #dba445);border-color:var(--Warning-Warning-600, #dba445)}.btn.secondary.legacy{border-color:var(--Secondary-Secondary-500, #008dbf);color:var(--Secondary-Secondary-500, #008dbf)}.btn.secondary.legacy:hover{color:var(--Secondary-Secondary-600, #007199);border-color:var(--Secondary-Secondary-600, #007199)}.btn.secondary.disabled.default{border-color:var(--Primary-Primary-300, #f2bc85);color:var(--Primary-Primary-300, #f2bc85)}.btn.secondary.disabled.success{border-color:var(--Success-Success-300, #5bd1af);color:var(--Success-Success-300, #5bd1af)}.btn.secondary.disabled.info{border-color:var(--Info-Info-300, #8ac3f6);color:var(--Info-Info-300, #8ac3f6)}.btn.secondary.disabled.error{border-color:var(--Error-Error-300, #f89b9c);color:var(--Error-Error-300, #f89b9c)}.btn.secondary.disabled.warning{border-color:var(--Warning-Warning-300, #f6cd87);color:var(--Warning-Warning-300, #f6cd87)}.btn.secondary.disabled.legacy{border-color:var(--Secondary-Secondary-300, #62bad9);color:var(--Secondary-Secondary-300, #62bad9)}.btn.tertiary{background:none;border:none}.btn.tertiary.default,.btn.tertiary.legacy{border:1px solid var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-500, #69738c)}.btn.tertiary.default:hover,.btn.tertiary.legacy:hover{border-color:var(--Gray-Gray-400, #858ea6);color:var(--Gray-Gray-600, #475066)}.btn.tertiary.success{color:var(--Success-Success-500, #0abb87)}.btn.tertiary.success:hover{background:var(--Success-Success-50, #e7f8f3)}.btn.tertiary.info{color:var(--Info-Info-500, #50a5f1)}.btn.tertiary.info:hover{background:var(--Info-Info-50, #eef6fe)}.btn.tertiary.error{color:var(--Error-Error-500, #f46a6b)}.btn.tertiary.error:hover{background:var(--Error-Error-50, #fef0f0)}.btn.tertiary.warning{color:var(--Warning-Warning-500, #f1b44c)}.btn.tertiary.warning:hover{background:var(--Warning-Warning-50, #fef8ed)}.btn.tertiary.dropdown{color:var(--Gray-Gray-500, #69738c);font-weight:var(--font-weight-regular);font-size:var(--font-size-s);background:transparent}.btn.tertiary.disabled.default,.btn.tertiary.disabled.legacy{border:1px solid var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6)}.btn.tertiary.disabled.success{color:var(--Success-Success-300, #5bd1af)}.btn.tertiary.disabled.info{color:var(--Info-Info-300, #8ac3f6)}.btn.tertiary.disabled.error{color:var(--Error-Error-300, #f89b9c)}.btn.tertiary.disabled.warning{color:var(--Warning-Warning-300, #f6cd87)}.spin{animation:spin 1s linear infinite}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`;
6
-
7
- const DropiButton = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.onClick = index.createEvent(this, "onClick", 7);
11
- }
12
- /** Visual color palette */
13
- type = 'default';
14
- /** Primary (filled) | Secondary (outlined) | Tertiary (ghost) */
15
- severity = 'primary';
16
- /** Button size */
17
- size = 'normal';
18
- /** Button state */
19
- state = 'default';
20
- /** Full width button */
21
- fullWidth = false;
22
- /** Icon name to show before the text */
23
- preIcon = '';
24
- /** Icon name to show after the text */
25
- postIcon = '';
26
- /** Custom icon color override */
27
- customIconColor = '';
28
- /** Button label */
29
- text = '';
30
- /** Emitted on click (not emitted when disabled or loading) */
31
- onClick;
32
- colorMap = {
33
- default: 'Primary-Primary-',
34
- success: 'Success-Success-',
35
- error: 'Error-Error-',
36
- info: 'Info-Info-',
37
- legacy: 'Secondary-Secondary-',
38
- warning: 'Warning-Warning-',
39
- dropdown: 'Gray-Gray-',
40
- 'default-light': 'Gray-Gray-',
41
- };
42
- get iconSize() {
43
- if (this.size === 'large')
44
- return '24px';
45
- if (this.size === 'small')
46
- return '16px';
47
- return '18px';
48
- }
49
- get color() {
50
- const intensity = this.state === 'disabled' ? '300' : '500';
51
- return (this.colorMap[this.type] ?? 'Primary-Primary-') + intensity;
52
- }
53
- get fontColor() {
54
- if (this.severity === 'tertiary') {
55
- return this.type === 'default' || this.type === 'legacy' ? 'Gray-Gray-500' : this.color;
56
- }
57
- if (this.severity === 'secondary')
58
- return this.color;
59
- return 'Neutral-White';
60
- }
61
- handleClick(e) {
62
- if (this.state !== 'disabled' && this.state !== 'loading') {
63
- this.onClick.emit(e);
64
- }
65
- }
66
- renderLoadingSpinner() {
67
- return (index.h("svg", { class: "spin", width: this.iconSize, height: this.iconSize, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M22.8 12C23.4627 12 24.0062 11.4614 23.9401 10.802C23.8232 9.6371 23.5362 8.49339 23.0866 7.4078C22.4835 5.95189 21.5996 4.62902 20.4853 3.51472C19.371 2.40042 18.0481 1.5165 16.5922 0.913445C15.5066 0.463778 14.3629 0.17683 13.198 0.0599502C12.5386 -0.00621439 12 0.537258 12 1.2C12 1.86274 12.5393 2.39227 13.1969 2.4749C14.0463 2.58164 14.8795 2.80176 15.6738 3.13076C16.8385 3.6132 17.8968 4.32033 18.7882 5.21177C19.6797 6.10322 20.3868 7.16151 20.8692 8.32624C21.1982 9.12051 21.4184 9.95367 21.5251 10.8031C21.6077 11.4607 22.1373 12 22.8 12Z", fill: `var(--${this.fontColor})` })));
68
- }
69
- render() {
70
- const isDisabled = this.state === 'disabled' || this.state === 'loading';
71
- const hasText = this.text !== '';
72
- const showPostIcon = this.postIcon !== '' || this.type === 'dropdown';
73
- const dropdownIcon = this.type === 'dropdown' ? 'Dropdown-down' : this.postIcon;
74
- return (index.h("button", { key: '878f01cf2b73d67ad393c46c47dbf71d4589573b', class: {
75
- btn: true,
76
- 'without-text': !hasText,
77
- [this.severity ?? 'primary']: true,
78
- [this.type ?? 'default']: true,
79
- [this.size ?? 'normal']: true,
80
- [this.state ?? 'default']: true,
81
- 'full-width': this.fullWidth,
82
- }, disabled: isDisabled, onClick: (e) => this.handleClick(e) }, this.preIcon && (index.h("dropi-icon", { key: 'd42a3e52d105b985c9cbc72241e363baaaad25a8', name: this.preIcon, width: this.iconSize, height: this.iconSize, color: this.fontColor })), hasText && index.h("span", { key: 'e88b6ef2c3cf63aec13f1fa4bfe289333acdd8b9', class: "text" }, this.text), showPostIcon && (index.h("dropi-icon", { key: '596a8227042757ffe942290a1e776b981bb89136', name: dropdownIcon, width: this.iconSize, height: this.iconSize, color: this.fontColor })), this.state === 'loading' && this.renderLoadingSpinner(), index.h("slot", { key: 'e46a00e52792e690b3b4cb24e6af1b1843f7384f' })));
83
- }
84
- };
85
- DropiButton.style = dropiButtonCss();
86
-
87
- exports.dropi_button = DropiButton;
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiCardCheckboxCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.container-card-check{padding:var(--Size-4, 16px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Size-2, 8px);width:100%;display:flex;align-items:center;gap:var(--Size-3, 12px);cursor:pointer;height:66px;overflow:hidden;transition:background 0.15s ease, border-color 0.15s ease}.container-card-check.disabled{border-radius:var(--Border-2, 8px);border:1px solid var(--Gray-Gray-100, #e6eaf2);background-color:var(--Gray-Gray-50, #f7f8fa);cursor:default}.container-card-check.disabled .title-check,.container-card-check.disabled .description-text,.container-card-check.disabled .extra-info{color:var(--Gray-Gray-400, #858ea6)}.container-text{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:start;overflow:hidden}.title-check{color:var(--Gray-Gray-700, #32394d);font-size:var(--font-size-m, 14px);font-weight:var(--font-weight-regular, 400);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.description-text{color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-s, 12px);margin-top:var(--Size-1, 4px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.extra-info{display:flex;justify-content:space-between;align-items:center;flex-direction:column;gap:4px;flex-shrink:0;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-600, #475066)}.extra-info h4{margin:0;font-weight:var(--font-weight-semibold);color:inherit;line-height:inherit}.default-card{border:none}.is-checked{background:var(--Primary-Primary-50, #fff8f0);border:1px solid var(--Primary-Primary-500, #f49a3d)}`;
6
-
7
- const DropiCardCheckbox = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.onChange = index.createEvent(this, "onChange", 7);
11
- }
12
- /** Visual type — matches Angular: 'default' | 'with card' */
13
- type = 'default';
14
- /** Whether the checkbox is checked — matches Angular 'state' */
15
- state = 'checked';
16
- /** Main title — matches Angular 'title' */
17
- title = 'Tittle';
18
- /** Optional description below title */
19
- description = '';
20
- /** Optional extra info shown on the right */
21
- extraInfo = '';
22
- /** Optional extra info description shown below extraInfo */
23
- extraInfoDescription = '';
24
- /** Disables interaction */
25
- disabled = false;
26
- /** Emitted with the new checked state when clicked */
27
- onChange;
28
- get isChecked() {
29
- return this.state === 'checked';
30
- }
31
- handleClick() {
32
- if (this.disabled)
33
- return;
34
- this.state = this.isChecked ? 'default' : 'checked';
35
- this.onChange.emit(this.isChecked);
36
- }
37
- render() {
38
- return (index.h("div", { key: '238a146e7500efbc01d83a8494ee577fbb600729', class: {
39
- 'container-card-check': true,
40
- 'default-card': this.type === 'default',
41
- 'is-checked': this.isChecked && this.type === 'with card',
42
- 'disabled': this.disabled,
43
- }, onClick: () => this.handleClick() }, index.h("dropi-checkbox", { key: '405d834de33790be58fba7e50b0e579889f04394', checked: this.isChecked, disabled: this.disabled }), index.h("div", { key: '49659771de9ca8ee8c2fa9fbe828a1d94fbd3c9e', class: "container-text" }, index.h("div", { key: '7d39435ef56cd61605e9d9b69d6917e3ec8470fa', class: "title-check" }, this.title), this.description && index.h("div", { key: '00a7723401979d7a9d926ce939eb09430ddb7372', class: "description-text" }, this.description)), (this.extraInfo || this.extraInfoDescription) && (index.h("div", { key: '4d1c9e49f6e397f0433827960167ff88bcd669db', class: "extra-info" }, this.extraInfo && index.h("div", { key: 'b9da8514c2013cd6cab9cf6005dad8d3ae30b930' }, this.extraInfo), this.extraInfoDescription && index.h("h4", { key: 'ac2fcbc6359ea173911f181b2a145de59af10c9d' }, this.extraInfoDescription)))));
44
- }
45
- };
46
- DropiCardCheckbox.style = dropiCardCheckboxCss();
47
-
48
- exports.dropi_card_checkbox = DropiCardCheckbox;
@@ -1,78 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiCardProductCss = () => `:host{display:block;font-family:'Inter', sans-serif}*,*::before,*::after{box-sizing:border-box}.dropi-card-product{position:relative;background:#ffffff;border-radius:8px;overflow:hidden;transition:all 0.2s ease-in-out;cursor:pointer;display:flex;flex-direction:column;height:100%;box-sizing:border-box;width:100%;max-width:450px;box-shadow:none}.product-image-container{padding:4px;flex-shrink:0}.product-image{position:relative;width:100%;aspect-ratio:1;border-radius:8px;border:1px solid #c3c9d9;overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#f8f9fa}.product-image img{width:100%;height:100%;object-fit:cover;border-radius:8px}.product-image img.error-img{object-fit:contain}.favorite-button{position:absolute;bottom:5px;right:6px;border-radius:8px;padding:12px;cursor:pointer;transition:all 0.2s ease-in-out;z-index:2;display:flex;align-items:center;justify-content:center;width:42px;height:40px;background:#ffffff;border:1px solid #858ea6}.favorite-button.favorite-active{background:var(--Primary-Primary-500, #f49a3d);border:1px solid var(--Primary-Primary-500, #f49a3d)}.product-info{position:relative;padding:8px;display:flex;flex-direction:column;gap:4px;flex:1;justify-content:space-between}.supplier-insignia{position:absolute;top:-24px;left:0px}.product-header{display:flex;justify-content:space-between;align-items:center;width:100%;height:26px}.category{color:#69738c;font-family:'Inter', sans-serif;font-size:12px;font-weight:400;line-height:1.5;flex:1}.stock-info{display:flex;align-items:center;gap:2px;font-family:'Inter', sans-serif;font-size:12px;font-weight:400;line-height:1.5}.stock-label{color:#69738c}.stock-value{font-weight:500}.product-name{color:#32394d;font-family:'Inter', sans-serif;font-size:16px;font-weight:500;line-height:1.5;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.supplier-info{font-family:'Inter', sans-serif;font-size:12px;line-height:1.2}.supplier-label{color:#69738c;font-weight:400}.supplier-name{color:#50a5f1;font-weight:400;margin-left:4px;cursor:pointer}.price-container{display:flex;gap:8px;margin-top:4px}.price-item{flex:1;display:flex;flex-direction:column}.price-label{color:#69738c;font-family:'Inter', sans-serif;font-size:12px;font-weight:400;line-height:1.5;height:18px;min-width:max-content}.price-value{color:#32394d;font-family:'Inter', sans-serif;font-size:14px;font-weight:700;line-height:1.1;margin-top:2px}.separator{height:1px;background:#e6eaf2;margin:0;flex-shrink:0}.action-button{background:#ffffff;border:none;border-top:1px solid #e6eaf2;padding:12px;cursor:pointer;transition:all 0.2s ease-in-out;display:flex;align-items:center;justify-content:center;gap:8px;height:40px;flex-shrink:0}.action-button--disabled{opacity:0.3;cursor:not-allowed}.button-text{font-family:'Inter', sans-serif;font-size:14px;font-weight:700;line-height:1.1;color:#f49a3d;text-align:center;white-space:nowrap}`;
6
-
7
- const DropiCardProduct = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.onProductClick = index.createEvent(this, "onProductClick", 7);
11
- this.changeFavorite = index.createEvent(this, "changeFavorite", 7);
12
- this.dropiAddProduct = index.createEvent(this, "dropiAddProduct", 7);
13
- this.dropiSupplierClick = index.createEvent(this, "dropiSupplierClick", 7);
14
- }
15
- /** Product image URL */
16
- image = '';
17
- /** Product name */
18
- productName = '';
19
- /** Sale / supplier price (Precio proveedor) */
20
- salePrice = 0;
21
- /** Suggested price for the dropshipper (Precio sugerido) */
22
- suggestedPrice = 0;
23
- /** Price currency symbol */
24
- currency = '$';
25
- /** Supplier / store name */
26
- supplier = '';
27
- /** Category label */
28
- category = '';
29
- /** Stock quantity (0 = Agotado) */
30
- stock = 0;
31
- /** Supplier category for insignia: 'verified' | 'premium' | 'exclusive' | '' */
32
- supplierCategory = '';
33
- /** Show favorite button */
34
- showFavorite = true;
35
- /** Is marked as favorite */
36
- isFavorite = false;
37
- /** Show "Enviar a cliente" button */
38
- showAddButton = true;
39
- /** Emitted when card is clicked — matches Angular 'onProductClick' */
40
- onProductClick;
41
- /** Emitted when favorite toggled — matches Angular 'changeFavorite' */
42
- changeFavorite;
43
- /** Emitted when "Enviar a cliente" button clicked */
44
- dropiAddProduct;
45
- /** Emitted when supplier name clicked */
46
- dropiSupplierClick;
47
- formatPrice(val) {
48
- if (val == null)
49
- return '0';
50
- return val.toLocaleString('es-CO');
51
- }
52
- get inStock() {
53
- return this.stock > 0;
54
- }
55
- getStockColor() {
56
- if (this.stock === 0)
57
- return 'var(--Error-Error-500, #f46a6b)';
58
- if (this.stock <= 10)
59
- return 'var(--Warning-Warning-500, #f59e0b)';
60
- return 'var(--Success-Success-500, #0abb87)';
61
- }
62
- render() {
63
- return (index.h("div", { key: '42990ea883dcd6cc72e1f62771f7b9554c36bdba', class: "dropi-card-product", onClick: () => this.onProductClick.emit() }, index.h("div", { key: '59295427ddc350ec3c70d7d1bd4803ffa6bf26b0', class: "product-image-container" }, index.h("div", { key: '9d10e18f2eadf16f0c0b1b7cb7860d08f2ca778f', class: "product-image" }, index.h("img", { key: '19f7af8eddcbea880d32ef30603d55bfe9337f17', src: this.image || '', alt: this.productName, onError: (e) => {
64
- e.target.src = './assets/utils/no-image.jpg';
65
- }, class: !this.image ? 'error-img' : '' }), this.showFavorite && (index.h("button", { key: 'a6e13eea7c211fd772fe5ee7c13c7d475d54986c', class: { 'favorite-button': true, 'favorite-active': this.isFavorite }, onClick: (e) => {
66
- e.stopPropagation();
67
- this.isFavorite = !this.isFavorite;
68
- this.changeFavorite.emit(this.isFavorite);
69
- }, "aria-label": "Favorito" }, index.h("dropi-icon", { key: '0020aaa1beffedd0243c62f616dfeb6428ec63e5', name: this.isFavorite ? 'Heart-solid' : 'Heart', width: "18px", height: "18px", color: this.isFavorite ? '#fff' : '#858ea6' }))))), index.h("div", { key: '390a04f46d8394deb0591969a04525f3687509a0', class: "product-info" }, this.supplierCategory && (index.h("dropi-ilustration-icon", { key: '7fa320fcc36f6d4929197a2d88e59deb76d34ab0', class: "supplier-insignia", type: "insignia", stateInsignia: this.supplierCategory, tagProduct: true })), index.h("div", { key: '67e922b0afc44b3f376db3b20a33d7cc0ae8e987', class: "product-header" }, this.category && (index.h("span", { key: '421f39afc07922579610fe57abdfa37b4fa68586', class: "category" }, this.category)), index.h("div", { key: 'e4ad1d38535bd876298efb6d819d3355ac6b7446', class: "stock-info" }, index.h("span", { key: '5dbdabc282dbfaee4adec81668d38a909e04227d', class: "stock-label" }, "Stock:"), index.h("span", { key: 'f14a47956953779f4527404930b4a988ac5c5737', class: "stock-value", style: { color: this.getStockColor() } }, this.stock === 0 ? 'Agotado' : this.stock))), index.h("h3", { key: '4403e622316112df4075fafbbbbc17151d2e1b39', class: "product-name" }, this.productName), this.supplier && (index.h("div", { key: '28554238023a313e1698847a5faccd17e9bbd750', class: "supplier-info" }, index.h("span", { key: 'e34245925f659f232050ad835cf83690b112d7d0', class: "supplier-label" }, "Proveedor:"), index.h("span", { key: 'cabf8743951095acf0c05dd6e48ee74140984773', class: "supplier-name", onClick: (e) => { e.stopPropagation(); this.dropiSupplierClick.emit(); } }, this.supplier))), index.h("div", { key: '193982dc4aea14f337f64c9156d97f7c23d02db7', class: "price-container" }, index.h("div", { key: 'f2925c29fe4d5f9be2f92c501b92351e9a4f60e0', class: "price-item" }, index.h("span", { key: 'd0a8f99140d6ced64e19a69a2f198ba861cca017', class: "price-label" }, "Precio proveedor"), index.h("span", { key: '6fa5b8b5cd1f6d6e7b2551bdceedf65e3cb0029d', class: "price-value" }, this.currency, " ", this.formatPrice(this.salePrice))), index.h("div", { key: '0a37ead7f660608ed6303c97893fdd9156b5bfad', class: "price-item" }, index.h("span", { key: '8bb33b1b418fdbb79c31ed69ddfa2598f6450efd', class: "price-label" }, "Precio sugerido"), index.h("span", { key: '2df4c30b299190461f0032a66cc8d281ce9c9dab', class: "price-value" }, this.currency, " ", this.formatPrice(this.suggestedPrice))))), index.h("div", { key: '91a8306e386ac8d0422a02d3b4bac2d96ba7bebc', class: "separator" }), this.showAddButton && (index.h("div", { key: '69fd0267e5388770f5067a23d4ddf2636867b030', class: { 'action-button': true, 'action-button--disabled': !this.inStock }, onClick: (e) => {
70
- e.stopPropagation();
71
- if (this.inStock)
72
- this.dropiAddProduct.emit();
73
- } }, index.h("dropi-icon", { key: '6e9a7333778b5a4e75bca612f7900909e9b52c80', name: "Shopping-cart-arrow-rigth", width: "20px", height: "20px", color: "#f49a3d" }), index.h("span", { key: '1f3eb20049a94cb74bef8c89f8773a831667dc7b', class: "button-text" }, "Enviar a cliente")))));
74
- }
75
- };
76
- DropiCardProduct.style = dropiCardProductCss();
77
-
78
- exports.dropi_card_product = DropiCardProduct;
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8kwDvpf.js');
4
-
5
- const dropiCardSectionCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.card-section{display:flex;align-items:center;justify-content:space-between;gap:var(--Size-4, 16px);padding:var(--Size-3, 12px) var(--Size-4, 16px);background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-100, #e6eaf2);border-radius:var(--Border-2, 8px)}.card-section__text{flex:1}.card-section__title{margin:0 0 4px;font-family:inherit;font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-800, #1f2433)}h5.card-section__title{font-size:var(--font-size-m, 14px)}h6.card-section__title{font-size:var(--font-size-s, 12px)}.card-section__desc{margin:0;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-500, #69738c)}.card-section__control{flex-shrink:0}.card-section__dropdown-btn{display:flex;align-items:center;background:none;border:none;padding:0;cursor:pointer}`;
6
-
7
- const DropiCardSection = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.onChange = index.createEvent(this, "onChange", 7);
11
- this.onClick = index.createEvent(this, "onClick", 7);
12
- }
13
- /** Section title — matches Angular 'title' */
14
- title = 'title';
15
- /** Section description */
16
- description = 'Description';
17
- /** Control type on the right */
18
- typeElement = 'dropdown';
19
- /** Title size variant */
20
- type = 'important';
21
- /** Switch checked state */
22
- isChecked = false;
23
- /** Emitted when switch changes */
24
- onChange;
25
- /** Emitted when dropdown icon is clicked */
26
- onClick;
27
- render() {
28
- return (index.h("div", { key: 'aa7548c223bf3238b7af10e52821e3ffd19fefca', class: "card-section" }, index.h("div", { key: '6b0ed1e7f7c282b0f67277567a2fa1ffbab9d04e', class: "card-section__text" }, this.type === 'important'
29
- ? index.h("h5", { class: "card-section__title card-section__title--important" }, this.title)
30
- : index.h("h6", { class: "card-section__title" }, this.title), this.description && index.h("p", { key: 'f0c83d631d541d95c19e4a246634da56413a3de9', class: "card-section__desc" }, this.description)), index.h("div", { key: '976d78401ab26872df88115ae0f0449bcd2faae9', class: "card-section__control" }, this.typeElement === 'switch' ? (index.h("dropi-switch", { isChecked: this.isChecked, onOnChange: (e) => {
31
- this.isChecked = e.detail;
32
- this.onChange.emit(e.detail);
33
- } })) : (index.h("button", { class: "card-section__dropdown-btn", onClick: () => this.onClick.emit(), "aria-label": "Expandir" }, index.h("dropi-icon", { name: "Dropdown-down", width: "20px", height: "20px", color: "Gray-Gray-500" }))))));
34
- }
35
- };
36
- DropiCardSection.style = dropiCardSectionCss();
37
-
38
- exports.dropi_card_section = DropiCardSection;