@dropi/ui 0.1.42 → 0.1.44

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 (403) hide show
  1. package/dist/cjs/dropi-accordion-item.cjs.entry.js +1 -1
  2. package/dist/cjs/dropi-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/dropi-alert-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/dropi-alert-modal.cjs.entry.js +1 -1
  5. package/dist/cjs/dropi-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/dropi-avatars.cjs.entry.js +1 -1
  7. package/dist/cjs/dropi-badge-legacy.cjs.entry.js +1 -1
  8. package/dist/cjs/dropi-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/dropi-banner-external.cjs.entry.js +1 -1
  10. package/dist/cjs/dropi-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/dropi-button.cjs.entry.js +20 -3
  12. package/dist/cjs/dropi-card-checkbox.cjs.entry.js +1 -1
  13. package/dist/cjs/dropi-card-product.cjs.entry.js +1 -1
  14. package/dist/cjs/dropi-card-section.cjs.entry.js +1 -1
  15. package/dist/cjs/dropi-carousel.cjs.entry.js +1 -1
  16. package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +1 -1
  17. package/dist/cjs/dropi-checkbox.cjs.entry.js +24 -3
  18. package/dist/cjs/dropi-chips.cjs.entry.js +1 -1
  19. package/dist/cjs/dropi-city-selector.cjs.entry.js +2 -2
  20. package/dist/cjs/dropi-color-picker.cjs.entry.js +1 -1
  21. package/dist/cjs/dropi-country-flags.cjs.entry.js +1 -1
  22. package/dist/cjs/dropi-country-selector.cjs.entry.js +108 -7
  23. package/dist/cjs/dropi-date-picker-range.cjs.entry.js +1 -1
  24. package/dist/cjs/dropi-date-picker.cjs.entry.js +41 -5
  25. package/dist/cjs/dropi-drawer.cjs.entry.js +2 -2
  26. package/dist/cjs/dropi-dropdown.cjs.entry.js +1 -1
  27. package/dist/cjs/dropi-empty-state.cjs.entry.js +1 -1
  28. package/dist/cjs/dropi-favorite-button.cjs.entry.js +1 -1
  29. package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/dropi-file-upload.cjs.entry.js +1 -1
  31. package/dist/cjs/dropi-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +1 -1
  33. package/dist/cjs/dropi-image-miniature.cjs.entry.js +1 -1
  34. package/dist/cjs/dropi-image-overlay.cjs.entry.js +1 -1
  35. package/dist/cjs/dropi-input_3.cjs.entry.js +4 -4
  36. package/dist/cjs/dropi-languages-selector.cjs.entry.js +1 -1
  37. package/dist/cjs/dropi-logo.cjs.entry.js +1 -1
  38. package/dist/cjs/dropi-lottie-loader.cjs.entry.js +1 -1
  39. package/dist/cjs/dropi-media-player.cjs.entry.js +1 -1
  40. package/dist/cjs/dropi-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/dropi-navbar.cjs.entry.js +1 -1
  42. package/dist/cjs/dropi-otp-send-code.cjs.entry.js +23 -3
  43. package/dist/cjs/dropi-phone-input.cjs.entry.js +27 -4
  44. package/dist/cjs/dropi-progress-bar.cjs.entry.js +1 -1
  45. package/dist/cjs/dropi-radio-button.cjs.entry.js +19 -2
  46. package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +1 -1
  47. package/dist/cjs/dropi-read-more.cjs.entry.js +1 -1
  48. package/dist/cjs/dropi-search.cjs.entry.js +1 -1
  49. package/dist/cjs/dropi-select.cjs.entry.js +3 -3
  50. package/dist/cjs/dropi-sidebar.cjs.entry.js +1 -1
  51. package/dist/cjs/dropi-simple-stepper.cjs.entry.js +1 -1
  52. package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
  53. package/dist/cjs/dropi-steps.cjs.entry.js +1 -1
  54. package/dist/cjs/dropi-switch.cjs.entry.js +23 -2
  55. package/dist/cjs/dropi-table.cjs.entry.js +1 -1
  56. package/dist/cjs/dropi-tabs.cjs.entry.js +1 -1
  57. package/dist/cjs/dropi-tag-type-product.cjs.entry.js +1 -1
  58. package/dist/cjs/dropi-text-area.cjs.entry.js +4 -4
  59. package/dist/cjs/dropi-time-line.cjs.entry.js +1 -1
  60. package/dist/cjs/dropi-toast.cjs.entry.js +2 -2
  61. package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +2 -2
  62. package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
  63. package/dist/cjs/dropi-ui.cjs.js +2 -2
  64. package/dist/cjs/dropi-vertical-steps.cjs.entry.js +1 -1
  65. package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +1 -1
  66. package/dist/cjs/index-DydfpGMc.js +2773 -0
  67. package/dist/cjs/loader.cjs.js +2 -2
  68. package/dist/collection/components/dropi-button/dropi-button.js +39 -2
  69. package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +38 -2
  70. package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +1 -1
  71. package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +1 -1
  72. package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +140 -5
  73. package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +55 -4
  74. package/dist/collection/components/dropi-drawer/dropi-drawer.css +1 -1
  75. package/dist/collection/components/dropi-input/dropi-input.js +4 -4
  76. package/dist/collection/components/dropi-modal/dropi-modal.css +1 -1
  77. package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +36 -2
  78. package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +1 -1
  79. package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +39 -2
  80. package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +13 -2
  81. package/dist/collection/components/dropi-select/dropi-select.css +1 -1
  82. package/dist/collection/components/dropi-select/dropi-select.js +2 -2
  83. package/dist/collection/components/dropi-switch/dropi-switch.js +37 -1
  84. package/dist/collection/components/dropi-text-area/dropi-text-area.js +4 -4
  85. package/dist/collection/components/dropi-toast/dropi-toast.css +1 -1
  86. package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +1 -1
  87. package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +1 -1
  88. package/dist/components/dropi-alert-modal.js +1 -1
  89. package/dist/components/dropi-button.js +1 -1
  90. package/dist/components/dropi-card-checkbox.js +1 -1
  91. package/dist/components/dropi-card-section.js +1 -1
  92. package/dist/components/dropi-checkbox-selection-list.js +1 -1
  93. package/dist/components/dropi-checkbox.js +1 -1
  94. package/dist/components/dropi-city-selector.js +1 -1
  95. package/dist/components/dropi-country-selector.js +1 -1
  96. package/dist/components/dropi-date-picker.js +1 -1
  97. package/dist/components/dropi-drawer.js +1 -1
  98. package/dist/components/dropi-dropdown.js +1 -1
  99. package/dist/components/dropi-empty-state.js +1 -1
  100. package/dist/components/dropi-file-upload.js +1 -1
  101. package/dist/components/dropi-input.js +1 -1
  102. package/dist/components/dropi-modal.js +1 -1
  103. package/dist/components/dropi-otp-send-code.js +1 -1
  104. package/dist/components/dropi-phone-input.js +1 -1
  105. package/dist/components/dropi-radio-button.js +1 -1
  106. package/dist/components/dropi-search.js +1 -1
  107. package/dist/components/dropi-select.js +1 -1
  108. package/dist/components/dropi-switch.js +1 -1
  109. package/dist/components/dropi-table.js +1 -1
  110. package/dist/components/dropi-text-area.js +1 -1
  111. package/dist/components/dropi-toast.js +1 -1
  112. package/dist/components/dropi-tooltip-v2.js +1 -1
  113. package/dist/components/dropi-tooltip.js +1 -1
  114. package/dist/components/index.js +1 -1
  115. package/dist/components/p-BGb7xtJN.js +1 -1
  116. package/dist/components/p-Bimspdte.js +1 -1
  117. package/dist/components/p-BmuWhHN-.js +1 -1
  118. package/dist/components/p-Bw8zPxUl.js +1 -0
  119. package/dist/components/p-C44-ijf2.js +1 -1
  120. package/dist/components/p-CCZ6rIo5.js +1 -0
  121. package/dist/components/p-CKflT57p.js +1 -1
  122. package/dist/components/p-DFNI0UID.js +1 -1
  123. package/dist/components/p-Dd1g1gjR.js +1 -0
  124. package/dist/components/p-Dnx3uXgo.js +1 -0
  125. package/dist/components/p-HCtk4_Dq.js +1 -1
  126. package/dist/components/p-Qrac2GRu.js +1 -0
  127. package/dist/components/p-emzVHCws.js +1 -1
  128. package/dist/dropi-ui/dropi-accordion-item.entry.js +1 -1
  129. package/dist/dropi-ui/dropi-accordion.entry.js +1 -1
  130. package/dist/dropi-ui/dropi-alert-legacy.entry.js +1 -1
  131. package/dist/dropi-ui/dropi-alert-modal.entry.js +1 -1
  132. package/dist/dropi-ui/dropi-alert.entry.js +1 -1
  133. package/dist/dropi-ui/dropi-avatars.entry.js +1 -1
  134. package/dist/dropi-ui/dropi-badge-legacy.entry.js +1 -1
  135. package/dist/dropi-ui/dropi-badge.entry.js +1 -1
  136. package/dist/dropi-ui/dropi-banner-external.entry.js +1 -1
  137. package/dist/dropi-ui/dropi-breadcrumb.entry.js +1 -1
  138. package/dist/dropi-ui/dropi-button.entry.js +20 -3
  139. package/dist/dropi-ui/dropi-button.entry.js.map +1 -1
  140. package/dist/dropi-ui/dropi-card-checkbox.entry.js +1 -1
  141. package/dist/dropi-ui/dropi-card-product.entry.js +1 -1
  142. package/dist/dropi-ui/dropi-card-section.entry.js +1 -1
  143. package/dist/dropi-ui/dropi-carousel.entry.js +1 -1
  144. package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +1 -1
  145. package/dist/dropi-ui/dropi-checkbox.entry.js +24 -3
  146. package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -1
  147. package/dist/dropi-ui/dropi-chips.entry.js +1 -1
  148. package/dist/dropi-ui/dropi-city-selector.entry.js +2 -2
  149. package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -1
  150. package/dist/dropi-ui/dropi-color-picker.entry.js +1 -1
  151. package/dist/dropi-ui/dropi-country-flags.entry.js +1 -1
  152. package/dist/dropi-ui/dropi-country-selector.entry.js +108 -7
  153. package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -1
  154. package/dist/dropi-ui/dropi-date-picker-range.entry.js +1 -1
  155. package/dist/dropi-ui/dropi-date-picker.entry.js +41 -5
  156. package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -1
  157. package/dist/dropi-ui/dropi-drawer.entry.js +2 -2
  158. package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -1
  159. package/dist/dropi-ui/dropi-dropdown.entry.js +1 -1
  160. package/dist/dropi-ui/dropi-empty-state.entry.js +1 -1
  161. package/dist/dropi-ui/dropi-favorite-button.entry.js +1 -1
  162. package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +1 -1
  163. package/dist/dropi-ui/dropi-file-upload.entry.js +1 -1
  164. package/dist/dropi-ui/dropi-icon.entry.js +1 -1
  165. package/dist/dropi-ui/dropi-ilustration-icon.entry.js +1 -1
  166. package/dist/dropi-ui/dropi-image-miniature.entry.js +1 -1
  167. package/dist/dropi-ui/dropi-image-overlay.entry.js +1 -1
  168. package/dist/dropi-ui/dropi-input.entry.js +4 -4
  169. package/dist/dropi-ui/dropi-input.entry.js.map +1 -1
  170. package/dist/dropi-ui/dropi-languages-selector.entry.js +1 -1
  171. package/dist/dropi-ui/dropi-logo.entry.js +1 -1
  172. package/dist/dropi-ui/dropi-lottie-loader.entry.js +1 -1
  173. package/dist/dropi-ui/dropi-media-player.entry.js +1 -1
  174. package/dist/dropi-ui/dropi-modal.entry.js +2 -2
  175. package/dist/dropi-ui/dropi-modal.entry.js.map +1 -1
  176. package/dist/dropi-ui/dropi-navbar.entry.js +1 -1
  177. package/dist/dropi-ui/dropi-otp-send-code.entry.js +23 -3
  178. package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -1
  179. package/dist/dropi-ui/dropi-paginator.entry.js +1 -1
  180. package/dist/dropi-ui/dropi-phone-input.entry.js +27 -4
  181. package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -1
  182. package/dist/dropi-ui/dropi-progress-bar.entry.js +1 -1
  183. package/dist/dropi-ui/dropi-radio-button.entry.js +19 -2
  184. package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -1
  185. package/dist/dropi-ui/dropi-radio-selection-list.entry.js +1 -1
  186. package/dist/dropi-ui/dropi-read-more.entry.js +1 -1
  187. package/dist/dropi-ui/dropi-search.entry.js +1 -1
  188. package/dist/dropi-ui/dropi-select.entry.js +3 -3
  189. package/dist/dropi-ui/dropi-select.entry.js.map +1 -1
  190. package/dist/dropi-ui/dropi-sidebar.entry.js +1 -1
  191. package/dist/dropi-ui/dropi-simple-stepper.entry.js +1 -1
  192. package/dist/dropi-ui/dropi-skeleton.entry.js +1 -1
  193. package/dist/dropi-ui/dropi-steps.entry.js +1 -1
  194. package/dist/dropi-ui/dropi-switch.entry.js +23 -2
  195. package/dist/dropi-ui/dropi-switch.entry.js.map +1 -1
  196. package/dist/dropi-ui/dropi-table.entry.js +1 -1
  197. package/dist/dropi-ui/dropi-tabs.entry.js +1 -1
  198. package/dist/dropi-ui/dropi-tag-type-product.entry.js +1 -1
  199. package/dist/dropi-ui/dropi-tag.entry.js +1 -1
  200. package/dist/dropi-ui/dropi-text-area.entry.js +4 -4
  201. package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -1
  202. package/dist/dropi-ui/dropi-time-line.entry.js +1 -1
  203. package/dist/dropi-ui/dropi-toast.entry.js +2 -2
  204. package/dist/dropi-ui/dropi-toast.entry.js.map +1 -1
  205. package/dist/dropi-ui/dropi-tooltip-v2.entry.js +2 -2
  206. package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -1
  207. package/dist/dropi-ui/dropi-tooltip.entry.js +2 -2
  208. package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -1
  209. package/dist/dropi-ui/dropi-ui.css +320 -1
  210. package/dist/dropi-ui/dropi-ui.esm.js +50 -1
  211. package/dist/dropi-ui/dropi-vertical-steps.entry.js +1 -1
  212. package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +1 -1
  213. package/dist/dropi-ui/index-D0Z06C2b.js +4585 -0
  214. package/dist/dropi-ui/index-D0Z06C2b.js.map +1 -0
  215. package/dist/dropi-ui/index.esm.js +4 -0
  216. package/dist/dropi-ui/p-06bdd006.entry.js +1 -1
  217. package/dist/dropi-ui/p-09462f7b.entry.js +1 -0
  218. package/dist/dropi-ui/p-0946a1f7.entry.js +1 -1
  219. package/dist/dropi-ui/p-09cf560a.entry.js +1 -0
  220. package/dist/dropi-ui/p-0d188f2c.entry.js +1 -1
  221. package/dist/dropi-ui/p-0f1b13e5.entry.js +1 -1
  222. package/dist/dropi-ui/p-19031bf8.entry.js +1 -0
  223. package/dist/dropi-ui/p-1a07b3a6.entry.js +1 -1
  224. package/dist/dropi-ui/p-1d3d6a32.entry.js +1 -1
  225. package/dist/dropi-ui/p-2ad8d3c1.entry.js +1 -0
  226. package/dist/dropi-ui/p-2b5ce062.entry.js +1 -0
  227. package/dist/dropi-ui/p-369a069e.entry.js +1 -0
  228. package/dist/dropi-ui/p-372a5023.entry.js +1 -0
  229. package/dist/dropi-ui/p-378b165b.entry.js +1 -0
  230. package/dist/dropi-ui/p-393867c2.entry.js +1 -1
  231. package/dist/dropi-ui/p-3ec6620c.entry.js +1 -0
  232. package/dist/dropi-ui/p-42a85ce5.entry.js +1 -0
  233. package/dist/dropi-ui/p-43e21ed8.entry.js +1 -0
  234. package/dist/dropi-ui/p-51028e22.entry.js +1 -0
  235. package/dist/dropi-ui/p-510ad065.entry.js +1 -0
  236. package/dist/dropi-ui/p-532136cc.entry.js +1 -0
  237. package/dist/dropi-ui/p-5e0da387.entry.js +1 -1
  238. package/dist/dropi-ui/p-5f5c0a5c.entry.js +1 -0
  239. package/dist/dropi-ui/p-60901aa7.entry.js +1 -0
  240. package/dist/dropi-ui/p-62847b6f.entry.js +1 -0
  241. package/dist/dropi-ui/p-647bab57.entry.js +1 -0
  242. package/dist/dropi-ui/p-650a7679.entry.js +1 -1
  243. package/dist/dropi-ui/p-68cae74b.entry.js +1 -0
  244. package/dist/dropi-ui/p-6a51f80c.entry.js +1 -0
  245. package/dist/dropi-ui/p-6c45c910.entry.js +1 -0
  246. package/dist/dropi-ui/p-6ef4affd.entry.js +1 -0
  247. package/dist/dropi-ui/p-721ef2b1.entry.js +1 -0
  248. package/dist/dropi-ui/p-72c6e0c4.entry.js +1 -0
  249. package/dist/dropi-ui/p-7664b8f9.entry.js +1 -0
  250. package/dist/dropi-ui/p-774aab1a.entry.js +1 -0
  251. package/dist/dropi-ui/p-7a25f595.entry.js +1 -1
  252. package/dist/dropi-ui/p-7bc18f39.entry.js +1 -0
  253. package/dist/dropi-ui/p-7c0f959f.entry.js +1 -1
  254. package/dist/dropi-ui/p-7c3aa4bc.entry.js +1 -0
  255. package/dist/dropi-ui/p-7e526178.entry.js +1 -0
  256. package/dist/dropi-ui/p-7e99d4c4.entry.js +1 -0
  257. package/dist/dropi-ui/p-7f0f828d.entry.js +1 -1
  258. package/dist/dropi-ui/p-7fc195ee.entry.js +1 -0
  259. package/dist/dropi-ui/p-80f0f6e6.entry.js +1 -1
  260. package/dist/dropi-ui/p-82909f07.entry.js +1 -0
  261. package/dist/dropi-ui/p-84c63ece.entry.js +1 -0
  262. package/dist/dropi-ui/p-850b92f0.entry.js +1 -0
  263. package/dist/dropi-ui/p-85ee6d6a.entry.js +1 -0
  264. package/dist/dropi-ui/p-8c0ff5e6.entry.js +1 -0
  265. package/dist/dropi-ui/p-8fc3dbcb.entry.js +1 -1
  266. package/dist/dropi-ui/p-95808559.entry.js +1 -0
  267. package/dist/dropi-ui/p-95b7abf3.entry.js +1 -0
  268. package/dist/dropi-ui/p-96f72e50.entry.js +1 -1
  269. package/dist/dropi-ui/p-9a569a4e.entry.js +1 -0
  270. package/dist/dropi-ui/p-9c734a8f.entry.js +1 -0
  271. package/dist/dropi-ui/p-9c7698ef.entry.js +1 -0
  272. package/dist/dropi-ui/p-9e62ff06.entry.js +1 -0
  273. package/dist/dropi-ui/p-B-h7fjQz.js +2 -0
  274. package/dist/dropi-ui/p-a3b729fe.entry.js +1 -1
  275. package/dist/dropi-ui/p-a3c3e479.entry.js +1 -0
  276. package/dist/dropi-ui/p-a470a24a.entry.js +1 -1
  277. package/dist/dropi-ui/p-aa48e5cb.entry.js +1 -0
  278. package/dist/dropi-ui/p-af1e778b.entry.js +1 -0
  279. package/dist/dropi-ui/p-b14f6889.entry.js +1 -0
  280. package/dist/dropi-ui/p-b2e8c0e2.entry.js +1 -0
  281. package/dist/dropi-ui/p-b320ca5a.entry.js +1 -0
  282. package/dist/dropi-ui/p-b605d3d9.entry.js +1 -1
  283. package/dist/dropi-ui/p-baac546d.entry.js +1 -0
  284. package/dist/dropi-ui/p-bb6a2bdd.entry.js +1 -0
  285. package/dist/dropi-ui/p-bbf374d6.entry.js +1 -0
  286. package/dist/dropi-ui/p-bc6bb893.entry.js +1 -0
  287. package/dist/dropi-ui/p-bd06eb80.entry.js +1 -0
  288. package/dist/dropi-ui/p-c08b8995.entry.js +1 -0
  289. package/dist/dropi-ui/p-c1d5d4ab.entry.js +1 -0
  290. package/dist/dropi-ui/p-c4e24d47.entry.js +1 -0
  291. package/dist/dropi-ui/p-c51fcf75.entry.js +1 -1
  292. package/dist/dropi-ui/p-c6926604.entry.js +1 -0
  293. package/dist/dropi-ui/p-c8d0727a.entry.js +1 -0
  294. package/dist/dropi-ui/p-ca90e108.entry.js +1 -1
  295. package/dist/dropi-ui/p-caa6ba65.entry.js +1 -0
  296. package/dist/dropi-ui/p-cb4ad8d2.entry.js +1 -0
  297. package/dist/dropi-ui/p-d1aeb373.entry.js +1 -1
  298. package/dist/dropi-ui/p-d384f4e9.entry.js +1 -0
  299. package/dist/dropi-ui/p-d3f3bb91.entry.js +1 -0
  300. package/dist/dropi-ui/p-d6b3784b.entry.js +1 -0
  301. package/dist/dropi-ui/p-d886b045.entry.js +1 -0
  302. package/dist/dropi-ui/p-db71d065.entry.js +1 -0
  303. package/dist/dropi-ui/p-e1b40bda.entry.js +1 -1
  304. package/dist/dropi-ui/p-e36d5e9f.entry.js +1 -0
  305. package/dist/dropi-ui/p-e40db21a.entry.js +1 -0
  306. package/dist/dropi-ui/p-e53b23dd.entry.js +1 -1
  307. package/dist/dropi-ui/p-e629fdc7.entry.js +1 -1
  308. package/dist/dropi-ui/p-e97d3704.entry.js +1 -1
  309. package/dist/dropi-ui/p-e9a64ecc.entry.js +1 -1
  310. package/dist/dropi-ui/p-eaa10fe8.entry.js +1 -0
  311. package/dist/dropi-ui/p-ebaa1574.entry.js +1 -0
  312. package/dist/dropi-ui/p-ebb81172.entry.js +1 -0
  313. package/dist/dropi-ui/p-edcf5623.entry.js +1 -1
  314. package/dist/dropi-ui/p-f1e08f03.entry.js +1 -0
  315. package/dist/dropi-ui/p-f3f27534.entry.js +1 -0
  316. package/dist/dropi-ui/p-f426e0fc.entry.js +1 -0
  317. package/dist/dropi-ui/p-f6ed3cbb.entry.js +1 -0
  318. package/dist/dropi-ui/p-f9888cea.entry.js +1 -1
  319. package/dist/dropi-ui/p-fb39dfdc.entry.js +1 -1
  320. package/dist/dropi-ui/p-fb4856ea.entry.js +1 -0
  321. package/dist/dropi-ui/p-fea1be78.entry.js +1 -0
  322. package/dist/dropi-ui/p-ff084c1c.entry.js +1 -0
  323. package/dist/esm/dropi-accordion-item.entry.js +1 -1
  324. package/dist/esm/dropi-accordion.entry.js +1 -1
  325. package/dist/esm/dropi-alert-legacy.entry.js +1 -1
  326. package/dist/esm/dropi-alert-modal.entry.js +1 -1
  327. package/dist/esm/dropi-alert.entry.js +1 -1
  328. package/dist/esm/dropi-avatars.entry.js +1 -1
  329. package/dist/esm/dropi-badge-legacy.entry.js +1 -1
  330. package/dist/esm/dropi-badge.entry.js +1 -1
  331. package/dist/esm/dropi-banner-external.entry.js +1 -1
  332. package/dist/esm/dropi-breadcrumb.entry.js +1 -1
  333. package/dist/esm/dropi-button.entry.js +20 -3
  334. package/dist/esm/dropi-card-checkbox.entry.js +1 -1
  335. package/dist/esm/dropi-card-product.entry.js +1 -1
  336. package/dist/esm/dropi-card-section.entry.js +1 -1
  337. package/dist/esm/dropi-carousel.entry.js +1 -1
  338. package/dist/esm/dropi-checkbox-selection-list.entry.js +1 -1
  339. package/dist/esm/dropi-checkbox.entry.js +24 -3
  340. package/dist/esm/dropi-chips.entry.js +1 -1
  341. package/dist/esm/dropi-city-selector.entry.js +2 -2
  342. package/dist/esm/dropi-color-picker.entry.js +1 -1
  343. package/dist/esm/dropi-country-flags.entry.js +1 -1
  344. package/dist/esm/dropi-country-selector.entry.js +108 -7
  345. package/dist/esm/dropi-date-picker-range.entry.js +1 -1
  346. package/dist/esm/dropi-date-picker.entry.js +41 -5
  347. package/dist/esm/dropi-drawer.entry.js +2 -2
  348. package/dist/esm/dropi-dropdown.entry.js +1 -1
  349. package/dist/esm/dropi-empty-state.entry.js +1 -1
  350. package/dist/esm/dropi-favorite-button.entry.js +1 -1
  351. package/dist/esm/dropi-file-upload-progress-bar.entry.js +1 -1
  352. package/dist/esm/dropi-file-upload.entry.js +1 -1
  353. package/dist/esm/dropi-icon.entry.js +1 -1
  354. package/dist/esm/dropi-ilustration-icon.entry.js +1 -1
  355. package/dist/esm/dropi-image-miniature.entry.js +1 -1
  356. package/dist/esm/dropi-image-overlay.entry.js +1 -1
  357. package/dist/esm/dropi-input_3.entry.js +4 -4
  358. package/dist/esm/dropi-languages-selector.entry.js +1 -1
  359. package/dist/esm/dropi-logo.entry.js +1 -1
  360. package/dist/esm/dropi-lottie-loader.entry.js +1 -1
  361. package/dist/esm/dropi-media-player.entry.js +1 -1
  362. package/dist/esm/dropi-modal.entry.js +2 -2
  363. package/dist/esm/dropi-navbar.entry.js +1 -1
  364. package/dist/esm/dropi-otp-send-code.entry.js +23 -3
  365. package/dist/esm/dropi-phone-input.entry.js +27 -4
  366. package/dist/esm/dropi-progress-bar.entry.js +1 -1
  367. package/dist/esm/dropi-radio-button.entry.js +19 -2
  368. package/dist/esm/dropi-radio-selection-list.entry.js +1 -1
  369. package/dist/esm/dropi-read-more.entry.js +1 -1
  370. package/dist/esm/dropi-search.entry.js +1 -1
  371. package/dist/esm/dropi-select.entry.js +3 -3
  372. package/dist/esm/dropi-sidebar.entry.js +1 -1
  373. package/dist/esm/dropi-simple-stepper.entry.js +1 -1
  374. package/dist/esm/dropi-skeleton.entry.js +1 -1
  375. package/dist/esm/dropi-steps.entry.js +1 -1
  376. package/dist/esm/dropi-switch.entry.js +23 -2
  377. package/dist/esm/dropi-table.entry.js +1 -1
  378. package/dist/esm/dropi-tabs.entry.js +1 -1
  379. package/dist/esm/dropi-tag-type-product.entry.js +1 -1
  380. package/dist/esm/dropi-text-area.entry.js +4 -4
  381. package/dist/esm/dropi-time-line.entry.js +1 -1
  382. package/dist/esm/dropi-toast.entry.js +2 -2
  383. package/dist/esm/dropi-tooltip-v2.entry.js +2 -2
  384. package/dist/esm/dropi-tooltip.entry.js +2 -2
  385. package/dist/esm/dropi-ui.js +3 -3
  386. package/dist/esm/dropi-vertical-steps.entry.js +1 -1
  387. package/dist/esm/dropi-youtube-lazy-video.entry.js +1 -1
  388. package/dist/esm/index-B-h7fjQz.js +2763 -0
  389. package/dist/esm/loader.js +3 -3
  390. package/dist/types/components/dropi-button/dropi-button.d.ts +4 -0
  391. package/dist/types/components/dropi-checkbox/dropi-checkbox.d.ts +5 -0
  392. package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +13 -0
  393. package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +6 -0
  394. package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +3 -0
  395. package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +5 -0
  396. package/dist/types/components/dropi-radio-button/dropi-radio-button.d.ts +3 -0
  397. package/dist/types/components/dropi-switch/dropi-switch.d.ts +5 -0
  398. package/dist/types/components.d.ts +120 -4
  399. package/hydrate/index.js +320 -56
  400. package/hydrate/index.mjs +320 -56
  401. package/package.json +3 -2
  402. package/readme.md +36 -0
  403. package/scripts/postinstall.js +1 -1
@@ -10,12 +10,18 @@ const DAYS_ES = ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'];
10
10
  * Emits ISO date strings (YYYY-MM-DD).
11
11
  */
12
12
  export class DropiDatePicker {
13
+ internals;
14
+ /** Name for native form submission */
15
+ name = '';
13
16
  /** Selected date (ISO string, single mode) - matches Angular 'selectedDate' */
14
17
  selectedDate = '';
15
18
  /** Range start date (ISO string, range mode) */
16
19
  startDate = '';
17
20
  /** Range end date (ISO string, range mode) */
18
21
  endDate = '';
22
+ valueChanged() {
23
+ this.updateFormValue();
24
+ }
19
25
  /** Enable range selection - matches Angular selectionMode */
20
26
  selectionMode = 'single';
21
27
  /** Min selectable date (ISO string) */
@@ -48,6 +54,17 @@ export class DropiDatePicker {
48
54
  dropiClosePanel;
49
55
  /** Emitted when range selected */
50
56
  dropiRangeChange;
57
+ componentWillLoad() {
58
+ this.updateFormValue();
59
+ }
60
+ updateFormValue() {
61
+ if (this.selectionMode === 'range') {
62
+ this.internals.setFormValue(this.startDate && this.endDate ? `${this.startDate},${this.endDate}` : '');
63
+ }
64
+ else {
65
+ this.internals.setFormValue(this.selectedDate || '');
66
+ }
67
+ }
51
68
  get displayValue() {
52
69
  if (this.selectionMode === 'range') {
53
70
  if (this.startDate && this.endDate)
@@ -167,12 +184,12 @@ export class DropiDatePicker {
167
184
  render() {
168
185
  const days = this.buildDays();
169
186
  const today = new Date().toISOString().slice(0, 10);
170
- return (h("div", { key: '0c3cb89d77d6d8e7d3f955354d6be4b7a1f507fb', class: "dp-wrap" }, this.label && h("label", { key: '672ad3d08337ed0df7c7e7d582ba8fe5af8d2b23', class: "dp-label" }, this.label), h("button", { key: '848428a5ce236b37e8e988223c9ef8bd91ea16b3', class: {
187
+ return (h("div", { key: '97a96b56b0e8ae551f747bad4a3459a1f4945411', class: "dp-wrap" }, this.label && h("label", { key: 'a1792032ab9ae2dbe574f50b7a537df687eae40c', class: "dp-label" }, this.label), h("button", { key: '4237c2b988f1e9fbaa77dc2a989964216e3fe902', class: {
171
188
  'dp-trigger': true,
172
189
  'dp-trigger--disabled': this.disabled,
173
190
  'dp-trigger--invalid': this.isInvalid,
174
191
  'dp-trigger--loading': this.loading
175
- }, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled || this.loading, type: "button" }, h("dropi-icon", { key: 'c51b9238996ec454f64f53d4e9ede35bf494fd95', name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("span", { key: 'b34ed963710695296a2986b0e790457b90a3ee60', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder), h("dropi-icon", { key: '8cbefce39dab39a5cba941f4538f46cf97db1c06', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })), this.open && (h("div", { key: '36a5db42655b136cee1abf31bb5e206a6d118beb', class: "dp-popup" }, h("div", { key: '456c2778f035fae19450841baa20df5092f6dca4', class: "dp-nav" }, h("button", { key: '8f05a6aa4e1f4e0dda08ee9dad89f189c130eef0', class: "dp-nav__btn", onClick: () => this.prevMonth(), type: "button" }, h("dropi-icon", { key: '41f4e9b157e56669fa179cfed62d960ff1eadfd6', name: "Arrow-Left-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), h("span", { key: '53556f3a356e1d2b63b59d4edda40ddf5fda9e5f', class: "dp-nav__title" }, h("span", { key: '4bad1d735d4235b2ddaac33f3fa8f6335e753984' }, MONTHS_ES[this.viewMonth]), h("span", { key: 'c7af6bb7edc5dead7751c65ee024485aa2a6cf65' }, this.viewYear)), h("button", { key: '5ff7b70b69732c01ae7a45c7b65336982ea6eed8', class: "dp-nav__btn", onClick: () => this.nextMonth(), type: "button" }, h("dropi-icon", { key: '718725e17a530de4e8081c97e639342ff7fd9a96', name: "Arrow-Right-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), h("div", { key: 'd3d899342a15a9a0f2b508dbd39945831ebbad0d', class: "dp-grid" }, DAYS_ES.map(d => (h("div", { class: "dp-day-header" }, d))), days.map(({ iso, day, currentMonth }) => {
192
+ }, onClick: () => this.open ? this.open = false : this.open_(), disabled: this.disabled || this.loading, type: "button" }, h("dropi-icon", { key: '39591fedb92b92e6507b564fc8c145711f1a21b1', name: "Calendar", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), h("span", { key: '305e3f81d64c01603687d53edc59e1d19ef06c3c', class: { 'dp-trigger__value': true, 'dp-trigger__placeholder': !this.displayValue } }, this.displayValue || this.placeholder), h("dropi-icon", { key: '13feb346ad7b07a7e2f208e299f62a8261a97655', name: "Arrow-Down-2", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-400" })), this.open && (h("div", { key: '4cdf8a69422a0b54d0f7c1a6711a683dab7d1f34', class: "dp-popup" }, h("div", { key: '0c6fb31094003c66c5b471e738dd75e7b865401f', class: "dp-nav" }, h("button", { key: '4fa24f9450cf6c5e888cea374619e14245c0c005', class: "dp-nav__btn", onClick: () => this.prevMonth(), type: "button" }, h("dropi-icon", { key: '2196f85700b252d4f83536f11ed197c083fc45ec', name: "Arrow-Left-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" })), h("span", { key: '01619de7c5218b506f75234745f3184af813a491', class: "dp-nav__title" }, h("span", { key: '8074e7deeb6c102bad7f1911739e785187783a7c' }, MONTHS_ES[this.viewMonth]), h("span", { key: '69e9c3b41361e293a843f911b5bcf4690995d2b4' }, this.viewYear)), h("button", { key: '51c0ad3da96835736170fbf94338fd70c942c3d2', class: "dp-nav__btn", onClick: () => this.nextMonth(), type: "button" }, h("dropi-icon", { key: '24eb4385639c9a71f5312f32b33b36593c2b0259', name: "Arrow-Right-2", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-600" }))), h("div", { key: 'c18cecd81af38b3a6f23402501011c09b8b453d7', class: "dp-grid" }, DAYS_ES.map(d => (h("div", { class: "dp-day-header" }, d))), days.map(({ iso, day, currentMonth }) => {
176
193
  const isSelected = this.selectionMode !== 'range'
177
194
  ? iso === this.selectedDate
178
195
  : iso === this.startDate || iso === this.endDate;
@@ -194,12 +211,12 @@ export class DropiDatePicker {
194
211
  if (this.selectionMode === 'range' && this.startDate && !this.endDate)
195
212
  this.hoverDate = iso;
196
213
  }, onMouseLeave: () => this.hoverDate = '' }, day));
197
- })), h("div", { key: '84c799762393b9de0161795f20188a680490d4d8', class: "dp-footer" }, h("button", { key: '4696558b1be6bf8abe8461f341c129c640af46ce', class: "dp-footer__clear", type: "button", onClick: () => {
214
+ })), h("div", { key: '594f280cb269c32ac3a129401e13b710af1a7c7e', class: "dp-footer" }, h("button", { key: '6028ef84bc17f0d1bb0fd587a991698a8fc69338', class: "dp-footer__clear", type: "button", onClick: () => {
198
215
  this.selectedDate = '';
199
216
  this.startDate = '';
200
217
  this.endDate = '';
201
218
  this.open = false;
202
- } }, "Limpiar"), h("button", { key: 'a87f6f92fa10829560d223835e70fd2951edc482', class: "dp-footer__today", type: "button", onClick: () => {
219
+ } }, "Limpiar"), h("button", { key: 'ab01840a18d657621205d4fba69cc53feb474d11', class: "dp-footer__today", type: "button", onClick: () => {
203
220
  if (this.selectionMode !== 'range') {
204
221
  this.selectedDate = today;
205
222
  this.open = false;
@@ -213,6 +230,7 @@ export class DropiDatePicker {
213
230
  }
214
231
  static get is() { return "dropi-date-picker"; }
215
232
  static get encapsulation() { return "shadow"; }
233
+ static get formAssociated() { return true; }
216
234
  static get originalStyleUrls() {
217
235
  return {
218
236
  "$": ["dropi-date-picker.css"]
@@ -225,6 +243,26 @@ export class DropiDatePicker {
225
243
  }
226
244
  static get properties() {
227
245
  return {
246
+ "name": {
247
+ "type": "string",
248
+ "mutable": false,
249
+ "complexType": {
250
+ "original": "string",
251
+ "resolved": "string",
252
+ "references": {}
253
+ },
254
+ "required": false,
255
+ "optional": false,
256
+ "docs": {
257
+ "tags": [],
258
+ "text": "Name for native form submission"
259
+ },
260
+ "getter": false,
261
+ "setter": false,
262
+ "reflect": true,
263
+ "attribute": "name",
264
+ "defaultValue": "''"
265
+ },
228
266
  "selectedDate": {
229
267
  "type": "string",
230
268
  "mutable": true,
@@ -504,6 +542,18 @@ export class DropiDatePicker {
504
542
  }];
505
543
  }
506
544
  static get elementRef() { return "el"; }
545
+ static get watchers() {
546
+ return [{
547
+ "propName": "selectedDate",
548
+ "methodName": "valueChanged"
549
+ }, {
550
+ "propName": "startDate",
551
+ "methodName": "valueChanged"
552
+ }, {
553
+ "propName": "endDate",
554
+ "methodName": "valueChanged"
555
+ }];
556
+ }
507
557
  static get listeners() {
508
558
  return [{
509
559
  "name": "click",
@@ -513,4 +563,5 @@ export class DropiDatePicker {
513
563
  "passive": false
514
564
  }];
515
565
  }
566
+ static get attachInternalsMemberName() { return "internals"; }
516
567
  }
@@ -4,7 +4,7 @@
4
4
  .drawer-host {
5
5
  position: fixed;
6
6
  inset: 0;
7
- z-index: 1000;
7
+ z-index: var(--dropi-z-index-drawer, 9999);
8
8
  pointer-events: none;
9
9
  visibility: hidden;
10
10
  }
@@ -151,6 +151,7 @@ export class DropiInput {
151
151
  this.value = val;
152
152
  this.internals.setFormValue(val);
153
153
  this.dropiInput.emit(val);
154
+ this.dropiChange.emit(val);
154
155
  }
155
156
  handleKeyDown(e) {
156
157
  if ((this.isNumericInput || this.isMoneyInput || this.isThousandSeparator) && !this.isAllowedNumberKey(e)) {
@@ -165,7 +166,6 @@ export class DropiInput {
165
166
  }
166
167
  handleBlur() {
167
168
  this.touched = true;
168
- this.dropiChange.emit(this.value);
169
169
  this.dropiBlur.emit();
170
170
  }
171
171
  togglePassword() {
@@ -231,14 +231,14 @@ export class DropiInput {
231
231
  render() {
232
232
  const showObligatoryAsterisk = this.required && this.showObligatoryAsterisk && !this.disabled;
233
233
  const showIconInline = !!this.icon;
234
- return (h("div", { key: '36a33fdb7048e3ba43dae3c2d3d71c9f69643cac', class: { 'fixed-label-container': this.fixedLabel } }, this.fixedLabel && (h("div", { key: '699adfe37d662ed328cd13fdad428e857b70f01d', class: "input-label Body-S-Regular" }, this.label, showObligatoryAsterisk && h("span", { key: 'b2d6f4757cdb50eacfb7879e4a878e30adf5235d', class: "asterisk" }, " *"))), h("div", { key: 'dc080fc5d0ab12f0eadf7e1bb30cae5539f76640', class: "form-group" }, h("div", { key: 'cf228d5e4c7e0a04735d38ba239a2b989f5247ca', class: { 'input-container': true, 'input-container--has-icon': showIconInline } }, showIconInline && (h("dropi-icon", { key: '049e396ea1f2f11625de73bc074c0e0aecea96ab', class: "icon-input", name: this.icon, color: this.iconColor, iconWidth: "20px", iconHeight: "20px", style: { width: '20px', height: '20px' } })), this.passwordInput && (h("dropi-icon", { key: '544316f6e7a284acf65d3a2b7fb3a2654c80d95b', class: "icon-input-password", name: this.showPassword ? 'Eye' : 'Eye-crossed', iconWidth: "20px", iconHeight: "20px", style: { width: '20px', height: '20px' }, color: "Gray-Gray-500", onClick: () => this.togglePassword() })), h("input", { key: '6d23ac748d0768d6eea0eb347bde7b13d8f20321', id: this.resolvedId, class: {
234
+ return (h("div", { key: '6af757e1d86bfe96d471e9cbed258a50727ae190', class: { 'fixed-label-container': this.fixedLabel } }, this.fixedLabel && (h("div", { key: 'e88bf81fd2b79933e386c2e5fa38f57d85cfe836', class: "input-label Body-S-Regular" }, this.label, showObligatoryAsterisk && h("span", { key: 'be8ec1b0d3ef624ca22e58ae072917ad2ecc79fb', class: "asterisk" }, " *"))), h("div", { key: '4806c0d250f00bb08788d9d6aa935ca15f2aa826', class: "form-group" }, h("div", { key: 'b9fa243d299bcd165458947d6695fcc845764276', class: { 'input-container': true, 'input-container--has-icon': showIconInline } }, showIconInline && (h("dropi-icon", { key: '92b3cf11803745784f13e908ea88992f76c74473', class: "icon-input", name: this.icon, color: this.iconColor, iconWidth: "20px", iconHeight: "20px", style: { width: '20px', height: '20px' } })), this.passwordInput && (h("dropi-icon", { key: 'c7dc725d577a6d4afb7f87c8b53b16c621de9e86', class: "icon-input-password", name: this.showPassword ? 'Eye' : 'Eye-crossed', iconWidth: "20px", iconHeight: "20px", style: { width: '20px', height: '20px' }, color: "Gray-Gray-500", onClick: () => this.togglePassword() })), h("input", { key: '8146ae1794cbe1f200bb681358c7319f10faab3c', id: this.resolvedId, class: {
235
235
  'form-control': true,
236
236
  'form-control-valid': !this.isInvalid && this.touched && !!this.value,
237
237
  'form-control-invalid': this.isInvalid,
238
238
  'padding-icon': showIconInline,
239
239
  'text-password': this.passwordInput && !this.showPassword,
240
240
  'fixed-label-input': this.fixedLabel,
241
- }, type: this.inputType, value: this.value, placeholder: this.fixedLabel ? this.placeholder : ' ', disabled: this.disabled, required: this.required, maxLength: this.maxLength, inputMode: this.inputMode, "data-cy": undefined, onInput: e => this.handleInput(e), onKeyDown: e => this.handleKeyDown(e), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur() }), !this.fixedLabel && (h("label", { key: '8f26c9430cbc1c6b55286d62c2a350724dd0101f', class: "Body-S-Regular label-bottom", htmlFor: this.resolvedId }, this.label, showObligatoryAsterisk && h("span", { key: '95d953c160cf22457b0e1d6265b8137a24d4092b', class: "asterisk" }, " *"))), this.showHelper && (h("div", { key: 'ad3d4b5230fd32e97c661c64deadf97830caa550', class: "form-control-helper" }, this.isInvalid && h("dropi-icon", { key: '7c28120d1cc46ccd288948b1d2d9e5cc24521af7', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), h("span", { key: '40eb1eedd2a204975aed61fcd24ccadd26d8aaef', class: {
241
+ }, type: this.inputType, value: this.value, placeholder: this.fixedLabel ? this.placeholder : ' ', disabled: this.disabled, required: this.required, maxLength: this.maxLength, inputMode: this.inputMode, "data-cy": undefined, onInput: e => this.handleInput(e), onKeyDown: e => this.handleKeyDown(e), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur() }), !this.fixedLabel && (h("label", { key: '005d15af6b50b2cb2d47ac8381a722794eb273e5', class: "Body-S-Regular label-bottom", htmlFor: this.resolvedId }, this.label, showObligatoryAsterisk && h("span", { key: 'ad56df877cff3df8a801cdfcb607d9af02f7465a', class: "asterisk" }, " *"))), this.showHelper && (h("div", { key: '76e858c13a798f69b2d20ee9908f17531568dad1', class: "form-control-helper" }, this.isInvalid && h("dropi-icon", { key: '3e42ffb4db7444ebfb49cc9c6720d5a9d02b2860', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), h("span", { key: '5e970903eb51ca6b72a43bef0edf6ef149443247', class: {
242
242
  'disabled-helper': this.disabled,
243
243
  'invalid-color': this.isInvalid,
244
244
  } }, this.textHelper)))))));
@@ -294,7 +294,7 @@ export class DropiInput {
294
294
  },
295
295
  "getter": false,
296
296
  "setter": false,
297
- "reflect": false,
297
+ "reflect": true,
298
298
  "attribute": "name",
299
299
  "defaultValue": "''"
300
300
  },
@@ -5,7 +5,7 @@
5
5
  position: fixed; inset: 0;
6
6
  display: flex; align-items: center; justify-content: center;
7
7
  pointer-events: none; opacity: 0;
8
- transition: opacity 0.18s ease; z-index: 9999;
8
+ transition: opacity 0.18s ease; z-index: var(--dropi-z-index-modal, 9999);
9
9
  visibility: hidden;
10
10
  }
11
11
  .modal-root--open { opacity: 1; pointer-events: auto; visibility: visible; }
@@ -5,6 +5,9 @@ const RESEND_SECONDS = 30;
5
5
  * OTP input with configurable length, countdown timer and resend capability.
6
6
  */
7
7
  export class DropiOtpSendCode {
8
+ internals;
9
+ /** Name for native form submission */
10
+ name = '';
8
11
  /** Delivery method label */
9
12
  engine = 'email';
10
13
  /** Contact info (email/phone to show in label) */
@@ -36,6 +39,7 @@ export class DropiOtpSendCode {
36
39
  componentWillLoad() {
37
40
  this.digits = Array(this.digitsCount).fill('');
38
41
  this.digitStates = Array(this.digitsCount).fill('idle');
42
+ this.internals.setFormValue('');
39
43
  }
40
44
  componentDidLoad() { this.startCountdown(); }
41
45
  disconnectedCallback() { clearInterval(this.timer); }
@@ -63,9 +67,13 @@ export class DropiOtpSendCode {
63
67
  this.inputs[index + 1]?.focus();
64
68
  if (newDigits.every(d => d !== '')) {
65
69
  const finalCode = newDigits.join('');
70
+ this.internals.setFormValue(finalCode);
66
71
  this.codeCompleted.emit(finalCode);
67
72
  this.codeAccepted.emit(finalCode);
68
73
  }
74
+ else {
75
+ this.internals.setFormValue(newDigits.join(''));
76
+ }
69
77
  }
70
78
  handleKeyDown(e, index) {
71
79
  if (e.key === 'Backspace' && !this.digits[index] && index > 0) {
@@ -82,23 +90,28 @@ export class DropiOtpSendCode {
82
90
  this.inputs[Math.min(text.length, this.digitsCount - 1)]?.focus();
83
91
  if (newDigits.every(d => d !== '')) {
84
92
  const finalCode = newDigits.join('');
93
+ this.internals.setFormValue(finalCode);
85
94
  this.codeCompleted.emit(finalCode);
86
95
  this.codeAccepted.emit(finalCode);
87
96
  }
97
+ else {
98
+ this.internals.setFormValue(newDigits.join(''));
99
+ }
88
100
  }
89
101
  render() {
90
102
  const engineLabel = this.engine === 'sms' ? 'SMS' : this.engine === '2fa' ? 'autenticador' : 'correo';
91
- return (h("div", { key: 'c9c6c3387cec2371049c547d87742563268bf28d', class: "otp" }, this.showLabelContact && (h("p", { key: 'c3f36c62d7502eff8f86ef8202c3dfc65d846ba1', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '25c05d8f0773bf6f2af83f6154ac76638499e4d7' }, " ", this.labelContact))), h("div", { key: '3ca2687723735b3eb6ada997f622a4a50c2d7ee9', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, this.digits.map((_, i) => (h("input", { key: i, ref: (el) => {
103
+ return (h("div", { key: 'ee2e6766c4b220a1a12b8734747138cf2351a0d8', class: "otp" }, this.showLabelContact && (h("p", { key: '87f34e3b13c0e16e584cc03ea8c5a35e462784b1', class: "otp__label" }, "Ingresa el c\u00F3digo enviado a tu ", engineLabel, this.labelContact && h("strong", { key: '6c9d0c73340ff8dab1730b5d6c9cc0431f3ff21c' }, " ", this.labelContact))), h("div", { key: 'd82904db02da1da5f863bb86cef65b0da166ff0c', class: "otp__inputs", onPaste: (e) => this.handlePaste(e) }, this.digits.map((_, i) => (h("input", { key: i, ref: (el) => {
92
104
  if (el)
93
105
  this.inputs[i] = el;
94
106
  }, class: {
95
107
  'otp__digit': true,
96
108
  'otp__digit--filled': this.digitStates[i] === 'filled',
97
109
  'otp__digit--error': this.error,
98
- }, type: "text", inputMode: "numeric", maxLength: 1, value: this.digits[i] ?? '', onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i) })))), this.error && this.errorMessage && (h("p", { key: 'ddcdd5dacc533b73e6353c2670f762168c2803d3', class: "otp__error" }, this.errorMessage)), h("div", { key: 'a21650c43d7a62f9e187bd9f4eb307d275ff37be', class: "otp__resend" }, this.canResend ? (h("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (h("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
110
+ }, type: "text", inputMode: "numeric", maxLength: 1, value: this.digits[i] ?? '', onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i) })))), this.error && this.errorMessage && (h("p", { key: '7629619d5b2c4e8f38e2c2bc93ab134242b8e079', class: "otp__error" }, this.errorMessage)), h("div", { key: 'ea5472d4c55f1cdc30304e9e9bcaacf303ba4501', class: "otp__resend" }, this.canResend ? (h("button", { class: "otp__resend-btn", onClick: () => { this.startCountdown(); this.dropiResend.emit(); } }, "Reenviar c\u00F3digo")) : (h("span", { class: "otp__countdown" }, "Reenviar en ", this.countdown, "s")))));
99
111
  }
100
112
  static get is() { return "dropi-otp-send-code"; }
101
113
  static get encapsulation() { return "shadow"; }
114
+ static get formAssociated() { return true; }
102
115
  static get originalStyleUrls() {
103
116
  return {
104
117
  "$": ["dropi-otp-send-code.css"]
@@ -111,6 +124,26 @@ export class DropiOtpSendCode {
111
124
  }
112
125
  static get properties() {
113
126
  return {
127
+ "name": {
128
+ "type": "string",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "string",
132
+ "resolved": "string",
133
+ "references": {}
134
+ },
135
+ "required": false,
136
+ "optional": false,
137
+ "docs": {
138
+ "tags": [],
139
+ "text": "Name for native form submission"
140
+ },
141
+ "getter": false,
142
+ "setter": false,
143
+ "reflect": true,
144
+ "attribute": "name",
145
+ "defaultValue": "''"
146
+ },
114
147
  "engine": {
115
148
  "type": "string",
116
149
  "mutable": false,
@@ -276,4 +309,5 @@ export class DropiOtpSendCode {
276
309
  "methodName": "handleDigitsCountChange"
277
310
  }];
278
311
  }
312
+ static get attachInternalsMemberName() { return "internals"; }
279
313
  }
@@ -130,7 +130,7 @@ input[type='number'] {
130
130
  border: 1px solid transparent;
131
131
  border-radius: var(--Border-2, 8px);
132
132
  overflow-y: scroll;
133
- z-index: 100;
133
+ z-index: var(--dropi-z-index-overlay, 11000);
134
134
  }
135
135
 
136
136
  /* Scrollbar */
@@ -100,6 +100,9 @@ const COUNTRIES = [
100
100
  */
101
101
  export class DropiPhoneInput {
102
102
  el;
103
+ internals;
104
+ /** Name for native form submission */
105
+ name = '';
103
106
  /** Initial country dial code (e.g. "57") — matches Angular 'CodArea' setter */
104
107
  codArea = '57';
105
108
  /** Phone number value — matches Angular 'ngModelPhone' */
@@ -134,6 +137,10 @@ export class DropiPhoneInput {
134
137
  dropiChangeSelect;
135
138
  codAreaChanged() {
136
139
  this.ngModelPhone = '';
140
+ this.updateFormValue();
141
+ }
142
+ ngModelPhoneChanged() {
143
+ this.updateFormValue();
137
144
  }
138
145
  selectedOptionChanged(val) {
139
146
  if (!val)
@@ -145,6 +152,11 @@ export class DropiPhoneInput {
145
152
  componentWillLoad() {
146
153
  if (this.selectedOption)
147
154
  this.selectedOptionChanged(this.selectedOption);
155
+ this.updateFormValue();
156
+ }
157
+ updateFormValue() {
158
+ const fullValue = this.ngModelPhone ? `+${this.codArea}${this.ngModelPhone}` : '';
159
+ this.internals.setFormValue(fullValue);
148
160
  }
149
161
  get selectedCountry() {
150
162
  const cleanCodArea = (this.codArea ?? '57').replace('+', '');
@@ -171,13 +183,14 @@ export class DropiPhoneInput {
171
183
  render() {
172
184
  const country = this.selectedCountry;
173
185
  const isInvalid = this.isValidPhone === false;
174
- return (h("div", { key: 'a377fcfcfdb239d79f319f0e058f5d54cbcfac02', class: "phone-wrap" }, h("div", { key: '83719d2b76b491f1f7a9f3e202eb61c61abb2c31', class: "phone-input-container" }, h("div", { key: 'c92ff5d9f260b80ad4e7b8f7e290b7b4e1f595f0', class: "custom-select" }, h("button", { key: '35c56642c1828d86b7f211face2845dc79878fd4', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
186
+ return (h("div", { key: '1634a703f734cd5db7b5d7acf83f403ea07962a3', class: "phone-wrap" }, h("div", { key: 'a9ed4a17b4a01893fc22d051241dcd494fa2e66d', class: "phone-input-container" }, h("div", { key: '6a50121fbb8939eac54035a314c340137aae63d5', class: "custom-select" }, h("button", { key: '0157b468dab13e23f83b9528ec235bc61be91733', type: "button", class: { 'select-button': true, 'select-invalid': isInvalid }, disabled: this.disabledInput, onClick: () => {
175
187
  if (!this.disabledInput)
176
188
  this.open = !this.open;
177
- } }, h("span", { key: 'e39cdac451df1c9a47c6552e7f133cb7662cae7f', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: '620c8efc2695ee26fed0c2bcd7f6132af05cdbed', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: 'cf57cc1ef06e12b0112fdbbb063fb8f045c17e39', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), h("ul", { key: '1009d2e4212267bbfaf4aa26c0c2152606a8d092', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (h("li", null, h("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, h("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), h("input", { key: '87be58fc820c63741b076b04d807b7410e292344', id: "phone-input", type: "tel", inputmode: "numeric", class: { 'form-control': true, 'is-invalid': isInvalid }, placeholder: this.phoneNumberPlaceholder, value: this.ngModelPhone, disabled: this.disabledInput, maxLength: country.maxLength, onInput: (e) => this.handleInput(e) }))));
189
+ } }, h("span", { key: 'b174ec714c415964d09f4661f58a1a62e8c80653', style: { display: 'flex', gap: '0.5rem', alignItems: 'center' } }, h("img", { key: 'f4c62db877a54bd395b756926918b8ff16511a2a', src: `https://flagsapi.com/${country.flag}/flat/24.png`, alt: "flag" }), country.code), h("dropi-icon", { key: '809f64bed4cccd911110c9e8e52752554b0d8a86', name: this.open ? 'Dropdown-up' : 'Dropdown-down', iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-500" })), h("ul", { key: 'b4dea28807780b086ba15161cee3e417efb2f2a1', class: { 'select-dropdown': true, 'expanded-select': this.open, 'collapsed-select': !this.open } }, COUNTRIES.map(option => (h("li", null, h("button", { type: "button", class: "option", onMouseDown: (e) => { e.preventDefault(); this.selectCountry(option); } }, h("img", { src: `https://flagsapi.com/${option.flag}/flat/24.png`, alt: option.flag }), option.code)))))), h("input", { key: '4e1113fedf25b9c91d2aff815d6c862a7d47d072', id: "phone-input", type: "tel", inputmode: "numeric", class: { 'form-control': true, 'is-invalid': isInvalid }, placeholder: this.phoneNumberPlaceholder, value: this.ngModelPhone, disabled: this.disabledInput, maxLength: country.maxLength, onInput: (e) => this.handleInput(e) }))));
178
190
  }
179
191
  static get is() { return "dropi-phone-input"; }
180
192
  static get encapsulation() { return "shadow"; }
193
+ static get formAssociated() { return true; }
181
194
  static get originalStyleUrls() {
182
195
  return {
183
196
  "$": ["dropi-phone-input.css"]
@@ -190,6 +203,26 @@ export class DropiPhoneInput {
190
203
  }
191
204
  static get properties() {
192
205
  return {
206
+ "name": {
207
+ "type": "string",
208
+ "mutable": false,
209
+ "complexType": {
210
+ "original": "string",
211
+ "resolved": "string",
212
+ "references": {}
213
+ },
214
+ "required": false,
215
+ "optional": false,
216
+ "docs": {
217
+ "tags": [],
218
+ "text": "Name for native form submission"
219
+ },
220
+ "getter": false,
221
+ "setter": false,
222
+ "reflect": true,
223
+ "attribute": "name",
224
+ "defaultValue": "''"
225
+ },
193
226
  "codArea": {
194
227
  "type": "string",
195
228
  "mutable": true,
@@ -425,6 +458,9 @@ export class DropiPhoneInput {
425
458
  return [{
426
459
  "propName": "codArea",
427
460
  "methodName": "codAreaChanged"
461
+ }, {
462
+ "propName": "ngModelPhone",
463
+ "methodName": "ngModelPhoneChanged"
428
464
  }, {
429
465
  "propName": "selectedOption",
430
466
  "methodName": "selectedOptionChanged"
@@ -439,4 +475,5 @@ export class DropiPhoneInput {
439
475
  "passive": false
440
476
  }];
441
477
  }
478
+ static get attachInternalsMemberName() { return "internals"; }
442
479
  }
@@ -4,6 +4,7 @@ import { h } from "@stencil/core";
4
4
  * Styled radio button with label.
5
5
  */
6
6
  export class DropiRadioButton {
7
+ internals;
7
8
  /** Label text displayed next to the radio */
8
9
  label = '';
9
10
  /** Input name (for grouping radio buttons) */
@@ -23,12 +24,18 @@ export class DropiRadioButton {
23
24
  if (val)
24
25
  this.checked = false;
25
26
  }
27
+ checkedChanged(val) {
28
+ this.internals.setFormValue(val ? 'on' : null);
29
+ }
30
+ componentWillLoad() {
31
+ this.internals.setFormValue(this.checked ? 'on' : null);
32
+ }
26
33
  handleChange(e) {
27
34
  this.checked = e.target.checked;
28
35
  this.dropiChange.emit(e);
29
36
  }
30
37
  render() {
31
- return (h("div", { key: '9f4c4f3be63c0aa0bcd1c48dacb97cec903db98d', class: "dropi-radio-button" }, h("label", { key: 'c29bd1ccc6c468b57fdcb4dd6c15cf541255cb71', htmlFor: this.id }, h("input", { key: '19533ffd5e5eb1b43d7e0f42971aa81652c8c926', id: this.id, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
38
+ return (h("div", { key: 'e4b54d9bda299b9150ebf9791925e0e7c3b9fb38', class: "dropi-radio-button" }, h("label", { key: '0a4c6443668477a2cb6b2d5a3d8bc1744a0fcffd', htmlFor: this.id }, h("input", { key: '6ba6b5af4bc061664dee0b6554c769613080dbb8', id: this.id, type: "radio", name: this.name, checked: this.checked, onChange: (e) => this.handleChange(e) }), this.label)));
32
39
  }
33
40
  static get is() { return "dropi-radio-button"; }
34
41
  static get encapsulation() { return "shadow"; }
@@ -81,7 +88,7 @@ export class DropiRadioButton {
81
88
  },
82
89
  "getter": false,
83
90
  "setter": false,
84
- "reflect": false,
91
+ "reflect": true,
85
92
  "attribute": "name",
86
93
  "defaultValue": "'name'"
87
94
  },
@@ -169,6 +176,10 @@ export class DropiRadioButton {
169
176
  return [{
170
177
  "propName": "resetTrigger",
171
178
  "methodName": "onResetTrigger"
179
+ }, {
180
+ "propName": "checked",
181
+ "methodName": "checkedChanged"
172
182
  }];
173
183
  }
184
+ static get attachInternalsMemberName() { return "internals"; }
174
185
  }
@@ -123,7 +123,7 @@
123
123
  border-radius: var(--Border-2, 8px);
124
124
  background: var(--Neutral-White, #ffffff);
125
125
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
126
- z-index: 9999;
126
+ z-index: var(--dropi-z-index-overlay, 11000);
127
127
  animation: dropdown-open 120ms ease-out;
128
128
  }
129
129
 
@@ -387,7 +387,7 @@ export class DropiSelect {
387
387
  ]), !this.isGrouped && this.filteredOptions.map(opt => this.renderOption(opt)), this.filteredOptions.length === 0 && (h("li", { class: "no-results" }, "Sin resultados"))));
388
388
  }
389
389
  render() {
390
- return (h("div", { key: '4f34c329d9993926758230f0e9ca0f8d0e57ef6e', class: "custom-select" }, !this.dropdownType && this.label && (h("label", { key: '743013592658ee415d4a9e3db8ec648472a3428e', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && h("span", { key: '56183248733eb18956664c859c8f7d4057f3fa11', class: "asterisk" }, " *"))), h("div", { key: 'c93f45456478ac5419d542512092e877a04f28b7', class: "dropdown-container" }, this.dropdownType && this.label && (h("div", { key: '0632779b9ba71f1fb91944b54b477999f607a3f5', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (h("div", { key: '3e57fc2b53715abb9800db573119cf77b0333d37', class: "select-helper" }, h("span", { key: 'baf3d1f0ae4d535acae2a08df8d2079996afdcff' }, this.textHelper))), this.hasError && this.errorText && (h("div", { key: '8b25aae92b9370a02fcfd81f50b98df145d3cb0e', class: "select-helper-error" }, h("dropi-icon", { key: '60643f0b7e54f8533dc9fd7dd17715aec59d851c', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), h("span", { key: '35bcdfd3c9825cbac269b1085d4c552df694f33a' }, this.errorText))), this.renderDropdown()));
390
+ return (h("div", { key: 'f09113a288d45bb5519503bb78c41e236913c1eb', class: "custom-select" }, !this.dropdownType && this.label && (h("label", { key: 'c0b59763dc3529d7f9bb5597a2bea0d38070a07b', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && h("span", { key: '6c8a47bdfc216231ba72420298b3bc8deeeae435', class: "asterisk" }, " *"))), h("div", { key: '8ec45010af1252effe34bb69d3f40ea277459511', class: "dropdown-container" }, this.dropdownType && this.label && (h("div", { key: 'b3f7f9adacd57b091baac662fc7be6fcd847c3a4', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (h("div", { key: 'a4cce833b50b2bc62cb7142da420f81c0647e97e', class: "select-helper" }, h("span", { key: 'f69375abc2f66b5b1278895b8f313adabfa0f938' }, this.textHelper))), this.hasError && this.errorText && (h("div", { key: '6681bdbb705633d393adab09a889f3f1fb6fbe8a', class: "select-helper-error" }, h("dropi-icon", { key: '09521eeef2cf2a58cb74bea5bfae8a6d58d17682', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), h("span", { key: '807820bb0a474079627bf12c20f4a034896785cd' }, this.errorText))), this.renderDropdown()));
391
391
  }
392
392
  static get is() { return "dropi-select"; }
393
393
  static get encapsulation() { return "shadow"; }
@@ -491,7 +491,7 @@ export class DropiSelect {
491
491
  },
492
492
  "getter": false,
493
493
  "setter": false,
494
- "reflect": false,
494
+ "reflect": true,
495
495
  "attribute": "name",
496
496
  "defaultValue": "''"
497
497
  },
@@ -4,19 +4,28 @@ import { h } from "@stencil/core";
4
4
  * Toggle switch component. Emits dropiChange on toggle.
5
5
  */
6
6
  export class DropiSwitch {
7
+ internals;
8
+ /** Name for native form submission */
9
+ name = '';
7
10
  /** Whether the switch is on */
8
11
  isChecked = false;
9
12
  /** Whether the switch is disabled */
10
13
  disabled = false;
11
14
  /** Emitted when the toggle state changes */
12
15
  dropiChange;
16
+ checkedChanged(val) {
17
+ this.internals.setFormValue(val ? 'on' : null);
18
+ }
19
+ componentWillLoad() {
20
+ this.internals.setFormValue(this.isChecked ? 'on' : null);
21
+ }
13
22
  onToggleChange(event) {
14
23
  const input = event.target;
15
24
  this.isChecked = input.checked;
16
25
  this.dropiChange.emit(this.isChecked);
17
26
  }
18
27
  render() {
19
- return (h("label", { key: '977f209e9d6411bf386637c1073dca0f5d1c72f3', class: "toggle-switch" }, h("input", { key: '8deef7c0c079d8d5662bd05372eb74d5cc68429f', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), h("span", { key: '2f6dd3b87996271d0c6abddc86697791de4da9b1', class: "slider" })));
28
+ return (h("label", { key: 'b3321fd96a1487210a920f5494708dc2eb05f10c', class: "toggle-switch" }, h("input", { key: 'ee7cfecf443a1c839ce145ade18cc3ff15924816', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), h("span", { key: 'c0800bd9a7f52cf666b3e475265da223b852be9a', class: "slider" })));
20
29
  }
21
30
  static get is() { return "dropi-switch"; }
22
31
  static get encapsulation() { return "shadow"; }
@@ -33,6 +42,26 @@ export class DropiSwitch {
33
42
  }
34
43
  static get properties() {
35
44
  return {
45
+ "name": {
46
+ "type": "string",
47
+ "mutable": false,
48
+ "complexType": {
49
+ "original": "string",
50
+ "resolved": "string",
51
+ "references": {}
52
+ },
53
+ "required": false,
54
+ "optional": false,
55
+ "docs": {
56
+ "tags": [],
57
+ "text": "Name for native form submission"
58
+ },
59
+ "getter": false,
60
+ "setter": false,
61
+ "reflect": true,
62
+ "attribute": "name",
63
+ "defaultValue": "''"
64
+ },
36
65
  "isChecked": {
37
66
  "type": "boolean",
38
67
  "mutable": true,
@@ -93,4 +122,11 @@ export class DropiSwitch {
93
122
  }
94
123
  }];
95
124
  }
125
+ static get watchers() {
126
+ return [{
127
+ "propName": "isChecked",
128
+ "methodName": "checkedChanged"
129
+ }];
130
+ }
131
+ static get attachInternalsMemberName() { return "internals"; }
96
132
  }
@@ -80,10 +80,10 @@ export class DropiTextArea {
80
80
  this.value = val;
81
81
  this.internals.setFormValue(val);
82
82
  this.dropiInput.emit(val);
83
+ this.dropiChange.emit(val);
83
84
  }
84
85
  handleBlur() {
85
86
  this.touched = true;
86
- this.dropiChange.emit(this.value);
87
87
  this.dropiBlur.emit();
88
88
  }
89
89
  get resolvedId() {
@@ -98,12 +98,12 @@ export class DropiTextArea {
98
98
  render() {
99
99
  const showAsterisk = this.required && this.showObligatoryAsterisk && !this.disabled;
100
100
  const showHelper = this.textHelper || this.isInvalid;
101
- return (h("div", { key: 'cd317dd0e813d6ce6ae659b56ddac00fa822e68e', class: "textarea-wrapper" }, this.label && (h("label", { key: '220344751b55843a6d1ee3a8188b53e8d0fc5d34', htmlFor: this.resolvedId, style: { color: this.disabled ? 'var(--Gray-Gray-400)' : 'var(--Gray-Gray-600)' } }, this.label, showAsterisk && h("span", { key: '3ddb9f3adac61fa8990f81e16ae6334de8552849', class: "asterisk" }, " *"))), h("div", { key: '1a6d603bd7cfe7e6b37fd20c4dad6c7bc2bf0278', class: "textarea-container" }, h("textarea", { key: '3eb838fece4e03cc68be9e01eeb1e02709a926f9', id: this.resolvedId, class: {
101
+ return (h("div", { key: '8c25826a54d1f0bec06d8f70211d2bcd873d59a6', class: "textarea-wrapper" }, this.label && (h("label", { key: '58a578753a1248b185d2763aedf50eaaa152c791', htmlFor: this.resolvedId, style: { color: this.disabled ? 'var(--Gray-Gray-400)' : 'var(--Gray-Gray-600)' } }, this.label, showAsterisk && h("span", { key: 'cf31923103a7594f552df4ec86885f78d0c31779', class: "asterisk" }, " *"))), h("div", { key: '6ea60b6286fd4438389cfda0580379d8fe013adc', class: "textarea-container" }, h("textarea", { key: 'fc5e495d80bfd665e55480668b9fa7ed62651984', id: this.resolvedId, class: {
102
102
  'form-control': true,
103
103
  'Body-M-Regular': true,
104
104
  'form-control-valid': !this.isInvalid && this.touched && !!this.value,
105
105
  'form-control-invalid': this.isInvalid,
106
- }, rows: this.rows, placeholder: this.placeholder, maxLength: this.maxLength, minLength: this.minLength, disabled: this.disabled, required: this.required, style: { resize: this.resize }, onInput: (e) => this.handleInput(e), onFocus: () => this.dropiFocus.emit(), onBlur: () => this.handleBlur() }, this.value), this.maxLength > 0 && (h("div", { key: '49dfd2cb7fe373769a945c405e58e7716e9489f2', class: "char-counter" }, this.charCount, "/", this.maxLength))), showHelper && (h("div", { key: 'e1388e815c35baab42466029ae17914da28c9294', class: "form-control-helper" }, this.isInvalid && (h("dropi-icon", { key: '39aebce7cca327e9c535ce918d053eb5f106f734', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" })), h("span", { key: 'ae255ca0db1e35e0069ef8b68fa901bced14ba8a', class: { 'invalid-color': this.isInvalid }, style: { color: this.disabled ? 'var(--Gray-Gray-400)' : undefined } }, this.textHelper)))));
106
+ }, rows: this.rows, placeholder: this.placeholder, maxLength: this.maxLength, minLength: this.minLength, disabled: this.disabled, required: this.required, style: { resize: this.resize }, onInput: (e) => this.handleInput(e), onFocus: () => this.dropiFocus.emit(), onBlur: () => this.handleBlur() }, this.value), this.maxLength > 0 && (h("div", { key: '07c350ce7a2e56b466229450645e6faece3d284b', class: "char-counter" }, this.charCount, "/", this.maxLength))), showHelper && (h("div", { key: 'c9fbd9a21b7e26fbd9571fc524b6f706404145d3', class: "form-control-helper" }, this.isInvalid && (h("dropi-icon", { key: '8fc6e34849f9e3175097597280a3bea9defb6bb0', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" })), h("span", { key: '68bf62627efb3de92afe54f7803e322f5a0462e4', class: { 'invalid-color': this.isInvalid }, style: { color: this.disabled ? 'var(--Gray-Gray-400)' : undefined } }, this.textHelper)))));
107
107
  }
108
108
  static get is() { return "dropi-text-area"; }
109
109
  static get encapsulation() { return "shadow"; }
@@ -156,7 +156,7 @@ export class DropiTextArea {
156
156
  },
157
157
  "getter": false,
158
158
  "setter": false,
159
- "reflect": false,
159
+ "reflect": true,
160
160
  "attribute": "name",
161
161
  "defaultValue": "''"
162
162
  },
@@ -1,7 +1,7 @@
1
1
  :host { display: contents; }
2
2
  *, *::before, *::after { box-sizing: border-box; }
3
3
 
4
- .toast-container { position: fixed; z-index: 9999; display: flex; flex-direction: column; gap: 8px; max-width: 380px; width: 100%; pointer-events: none; }
4
+ .toast-container { position: fixed; z-index: var(--dropi-z-index-toast, 12000); display: flex; flex-direction: column; gap: 8px; max-width: 380px; width: 100%; pointer-events: none; }
5
5
  .toast-container--top-right { top: 80px; right: 0; padding: var(--Size-2, 8px); }
6
6
  .toast-container--top-left { top: 80px; left: 0; padding: var(--Size-2, 8px); }
7
7
  .toast-container--bottom-right { bottom: 24px; right: 0; padding: var(--Size-2, 8px); flex-direction: column-reverse; }
@@ -18,7 +18,7 @@
18
18
  pointer-events: none;
19
19
  opacity: 0;
20
20
  transition: opacity 0.2s;
21
- z-index: 1000;
21
+ z-index: var(--dropi-z-index-overlay, 11000);
22
22
  }
23
23
 
24
24
  :host(:hover) .tooltip-simple-bubble {
@@ -4,7 +4,7 @@
4
4
  .tooltip-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; }
5
5
 
6
6
  .tooltip-bubble {
7
- position: absolute; z-index: 9999;
7
+ position: absolute; z-index: var(--dropi-z-index-overlay, 11000);
8
8
  background: var(--Gray-Gray-800); color: var(--Neutral-White, #ffffff);
9
9
  font-size: var(--font-size-s,14px); line-height: 1.5;
10
10
  padding: 8px 12px; border-radius: 8px;