globuswebcomponents 0.7.8 → 0.7.9

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 (306) hide show
  1. package/dist/cjs/gb-avatar-add-button.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-add-button.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-avatar-group.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-avatar-group.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +1 -1
  7. package/dist/cjs/{gb-avatar_38.cjs.entry.js → gb-avatar_41.cjs.entry.js} +345 -87
  8. package/dist/cjs/gb-avatar_41.cjs.entry.js.map +1 -0
  9. package/dist/cjs/gb-button-close_2.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +1 -1
  12. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  21. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  22. package/dist/cjs/globuscomponents.cjs.js +1 -1
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  25. package/dist/collection/assets/notification_background_pattern.svg +52 -0
  26. package/dist/collection/assets/notification_illustration.svg +80 -0
  27. package/dist/collection/components/gb-avatar/gb-avatar.css +3 -3
  28. package/dist/collection/components/gb-avatar/gb-avatar.js +2 -2
  29. package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
  30. package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.css +6 -6
  31. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -26
  32. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +27 -38
  33. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
  34. package/dist/collection/components/gb-avatar-group/gb-avatar-group.css +4 -4
  35. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -2
  36. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +1 -1
  37. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
  38. package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +3 -3
  39. package/dist/collection/components/gb-badge-close/gb-badge-close.css +16 -20
  40. package/dist/collection/components/gb-badges/gb-badges.css +4 -4
  41. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +1 -1
  42. package/dist/collection/components/gb-checkbox/gb-checkbox.css +1 -1
  43. package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.css +7 -7
  44. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +5 -10
  45. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +63 -32
  46. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  47. package/dist/collection/components/gb-input-field/gb-input-field.css +69 -11
  48. package/dist/collection/components/gb-input-field/gb-input-field.js +51 -16
  49. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  50. package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +91 -21
  51. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +44 -9
  52. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +1 -1
  53. package/dist/collection/components/gb-pagination/gb-pagination.js +5 -10
  54. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  55. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  56. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  57. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  58. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  59. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  60. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  61. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  62. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  63. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  64. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  65. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  66. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  67. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  68. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  69. package/dist/collection/components/gb-tag/gb-tag.js +11 -5
  70. package/dist/collection/components/gb-tag/gb-tag.js.map +1 -1
  71. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +10 -4
  72. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js.map +1 -1
  73. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  74. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  75. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  76. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  77. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  78. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  79. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  80. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  81. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  82. package/dist/collection/models/reusableModels.js.map +1 -1
  83. package/dist/components/gb-avatar-add-button.js +1 -1
  84. package/dist/components/gb-avatar-dropdown.js +23 -15
  85. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  86. package/dist/components/gb-avatar-group.js +5 -5
  87. package/dist/components/gb-avatar-group.js.map +1 -1
  88. package/dist/components/gb-avatar-label-group.js +1 -1
  89. package/dist/components/gb-avatar-profile-photo.js +3 -3
  90. package/dist/components/gb-avatar-profile-photo.js.map +1 -1
  91. package/dist/components/gb-avatar.js +1 -1
  92. package/dist/components/gb-badge-close.js +1 -1
  93. package/dist/components/gb-badge.js +1 -1
  94. package/dist/components/gb-carousel-arrow.js +1 -1
  95. package/dist/components/gb-carousel-arrow.js.map +1 -1
  96. package/dist/components/gb-checkbox-base.js +1 -1
  97. package/dist/components/gb-checkbox-group-item.js +1 -1
  98. package/dist/components/gb-checkbox-group.js +5 -5
  99. package/dist/components/gb-checkbox.js +1 -1
  100. package/dist/components/gb-collapse-button.js +1 -1
  101. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  102. package/dist/components/gb-file-upload-item-base.js +1 -1
  103. package/dist/components/gb-file-upload.js +3 -3
  104. package/dist/components/gb-header.js +2 -2
  105. package/dist/components/gb-help-dropdown.js +3 -3
  106. package/dist/components/gb-help-tooltip.js +1 -1
  107. package/dist/components/gb-horizontal-tabs.js +5 -5
  108. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  109. package/dist/components/gb-input-dropdown.js +1 -1
  110. package/dist/components/gb-input-field.js +51 -25
  111. package/dist/components/gb-input-field.js.map +1 -1
  112. package/dist/components/gb-notification-pane.js +44 -9
  113. package/dist/components/gb-notification-pane.js.map +1 -1
  114. package/dist/components/gb-pagination-button-group-base.js +1 -1
  115. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  116. package/dist/components/gb-pagination-number-base.js +1 -1
  117. package/dist/components/gb-pagination.js +17 -21
  118. package/dist/components/gb-pagination.js.map +1 -1
  119. package/dist/components/gb-password-button.js +1 -1
  120. package/dist/components/gb-progress-bar.js +1 -1
  121. package/dist/components/gb-progress-circle.js +1 -1
  122. package/dist/components/gb-rich-text.js +14 -14
  123. package/dist/components/gb-scrollbar.js +1 -1
  124. package/dist/components/gb-side-bar-item.js +1 -1
  125. package/dist/components/gb-sidebar.js +8 -8
  126. package/dist/components/gb-slider-control-handle.js +1 -1
  127. package/dist/components/gb-slider.js +3 -3
  128. package/dist/components/gb-status-indicator.js +1 -1
  129. package/dist/components/gb-tab-button-base.js +1 -1
  130. package/dist/components/gb-tag-checkbox.js +1 -1
  131. package/dist/components/gb-tag-close.js +1 -1
  132. package/dist/components/gb-tag-count.js +1 -1
  133. package/dist/components/gb-tag.js +1 -1
  134. package/dist/components/gb-toast-button.js +1 -1
  135. package/dist/components/gb-toast.js +2 -2
  136. package/dist/components/gb-toggle-base.js +1 -1
  137. package/dist/components/gb-toggle.js +2 -2
  138. package/dist/components/gb-token-field.js +1 -1
  139. package/dist/components/gb-tooltip.js +1 -1
  140. package/dist/components/gb-verification-code-field.js +2 -2
  141. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  142. package/dist/components/{p-b88341a9.js → p-0d860daf.js} +3 -3
  143. package/dist/components/{p-b88341a9.js.map → p-0d860daf.js.map} +1 -1
  144. package/dist/components/{p-043d096a.js → p-262e8623.js} +3 -3
  145. package/dist/components/p-262e8623.js.map +1 -0
  146. package/dist/components/{p-94f3a5f7.js → p-2c69dbb5.js} +3 -3
  147. package/dist/components/{p-94f3a5f7.js.map → p-2c69dbb5.js.map} +1 -1
  148. package/dist/components/{p-adc75faf.js → p-350ea090.js} +13 -13
  149. package/dist/components/{p-adc75faf.js.map → p-350ea090.js.map} +1 -1
  150. package/dist/components/{p-9acf67ff.js → p-3a271aa7.js} +3 -3
  151. package/dist/components/p-3a271aa7.js.map +1 -0
  152. package/dist/components/{p-c73b836d.js → p-45899ad1.js} +8 -8
  153. package/dist/components/{p-c73b836d.js.map → p-45899ad1.js.map} +1 -1
  154. package/dist/components/p-47052b60.js.map +1 -1
  155. package/dist/components/{p-81505876.js → p-5294fbdb.js} +5 -5
  156. package/dist/components/p-5294fbdb.js.map +1 -0
  157. package/dist/components/{p-fa64646f.js → p-554828c0.js} +2 -2
  158. package/dist/components/{p-fa64646f.js.map → p-554828c0.js.map} +1 -1
  159. package/dist/components/{p-274214e1.js → p-5e9d940b.js} +2 -2
  160. package/dist/components/{p-274214e1.js.map → p-5e9d940b.js.map} +1 -1
  161. package/dist/components/{p-828f9e43.js → p-886a548b.js} +5 -5
  162. package/dist/components/{p-828f9e43.js.map → p-886a548b.js.map} +1 -1
  163. package/dist/components/{p-9ce53d62.js → p-895e95e1.js} +2 -2
  164. package/dist/components/p-895e95e1.js.map +1 -0
  165. package/dist/components/{p-9942384c.js → p-8b7b3c72.js} +5 -5
  166. package/dist/components/{p-9942384c.js.map → p-8b7b3c72.js.map} +1 -1
  167. package/dist/components/{p-c4d3f82d.js → p-901d16f3.js} +2 -2
  168. package/dist/components/{p-c4d3f82d.js.map → p-901d16f3.js.map} +1 -1
  169. package/dist/components/{p-411109ed.js → p-9588018c.js} +2 -2
  170. package/dist/components/{p-411109ed.js.map → p-9588018c.js.map} +1 -1
  171. package/dist/components/{p-e849c9f1.js → p-975a89fb.js} +5 -5
  172. package/dist/components/p-975a89fb.js.map +1 -0
  173. package/dist/components/{p-8bb1ddab.js → p-9949e4eb.js} +2 -2
  174. package/dist/components/{p-8bb1ddab.js.map → p-9949e4eb.js.map} +1 -1
  175. package/dist/components/{p-94933c0b.js → p-a0e83c89.js} +58 -41
  176. package/dist/components/p-a0e83c89.js.map +1 -0
  177. package/dist/components/{p-e81f592c.js → p-a16c45d8.js} +3 -3
  178. package/dist/components/{p-e81f592c.js.map → p-a16c45d8.js.map} +1 -1
  179. package/dist/components/{p-2099b3fb.js → p-a1b82cdc.js} +2 -2
  180. package/dist/components/{p-2099b3fb.js.map → p-a1b82cdc.js.map} +1 -1
  181. package/dist/components/{p-78549e92.js → p-a3474d0e.js} +2 -2
  182. package/dist/components/{p-78549e92.js.map → p-a3474d0e.js.map} +1 -1
  183. package/dist/components/{p-a71a4f8d.js → p-a81dc38c.js} +6 -6
  184. package/dist/{globuscomponents/p-857087c3.entry.js.map → components/p-a81dc38c.js.map} +1 -1
  185. package/dist/components/{p-07a3b3da.js → p-b26e6a65.js} +2 -2
  186. package/dist/components/{p-07a3b3da.js.map → p-b26e6a65.js.map} +1 -1
  187. package/dist/components/{p-5285dad9.js → p-b67c9fe2.js} +8 -8
  188. package/dist/components/{p-5285dad9.js.map → p-b67c9fe2.js.map} +1 -1
  189. package/dist/components/{p-e9c7d99a.js → p-c84f94e8.js} +2 -2
  190. package/dist/components/{p-e9c7d99a.js.map → p-c84f94e8.js.map} +1 -1
  191. package/dist/components/{p-5bada42f.js → p-c8584920.js} +3 -3
  192. package/dist/components/{p-5bada42f.js.map → p-c8584920.js.map} +1 -1
  193. package/dist/components/{p-c9083653.js → p-d07498b9.js} +2 -2
  194. package/dist/components/{p-c9083653.js.map → p-d07498b9.js.map} +1 -1
  195. package/dist/components/{p-b1070aca.js → p-e86d4e72.js} +2 -2
  196. package/dist/components/p-e86d4e72.js.map +1 -0
  197. package/dist/components/{p-989344e3.js → p-f2dadd25.js} +7 -7
  198. package/dist/components/{p-989344e3.js.map → p-f2dadd25.js.map} +1 -1
  199. package/dist/components/{p-f4306c83.js → p-ffd546a6.js} +3 -3
  200. package/dist/components/{p-f4306c83.js.map → p-ffd546a6.js.map} +1 -1
  201. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  202. package/dist/esm/gb-avatar-add-button.entry.js.map +1 -1
  203. package/dist/esm/gb-avatar-group.entry.js +1 -1
  204. package/dist/esm/gb-avatar-group.entry.js.map +1 -1
  205. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  206. package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -1
  207. package/dist/esm/{gb-avatar_38.entry.js → gb-avatar_41.entry.js} +344 -89
  208. package/dist/esm/gb-avatar_41.entry.js.map +1 -0
  209. package/dist/esm/gb-button-close_2.entry.js +1 -1
  210. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  211. package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -1
  212. package/dist/esm/gb-progress-circle.entry.js +1 -1
  213. package/dist/esm/gb-rich-text.entry.js +1 -1
  214. package/dist/esm/gb-scrollbar.entry.js +1 -1
  215. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  216. package/dist/esm/gb-slider.entry.js +1 -1
  217. package/dist/esm/gb-toast-button.entry.js +1 -1
  218. package/dist/esm/gb-toast.entry.js +1 -1
  219. package/dist/esm/gb-toggle.entry.js +1 -1
  220. package/dist/esm/gb-token-field.entry.js +1 -1
  221. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  222. package/dist/esm/globuscomponents.js +1 -1
  223. package/dist/esm/loader.js +1 -1
  224. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  225. package/dist/globuscomponents/assets/notification_background_pattern.svg +52 -0
  226. package/dist/globuscomponents/assets/notification_illustration.svg +80 -0
  227. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  228. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  229. package/dist/globuscomponents/{p-c37aed22.entry.js → p-0cc11c02.entry.js} +2 -2
  230. package/dist/globuscomponents/{p-a3adce55.entry.js → p-45eef183.entry.js} +2 -2
  231. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  232. package/dist/globuscomponents/{p-857087c3.entry.js → p-472ded9f.entry.js} +2 -2
  233. package/dist/globuscomponents/p-472ded9f.entry.js.map +1 -0
  234. package/dist/globuscomponents/{p-79c12a5f.entry.js → p-4972b741.entry.js} +2 -2
  235. package/dist/globuscomponents/{p-4fb70c85.entry.js → p-4d40f44e.entry.js} +2 -2
  236. package/dist/globuscomponents/p-4d40f44e.entry.js.map +1 -0
  237. package/dist/globuscomponents/{p-39ecea7f.entry.js → p-4f500687.entry.js} +2 -2
  238. package/dist/globuscomponents/p-4f500687.entry.js.map +1 -0
  239. package/dist/globuscomponents/{p-a1eaa17d.entry.js → p-54d70eca.entry.js} +2 -2
  240. package/dist/globuscomponents/{p-5516e43b.entry.js → p-8f96d78c.entry.js} +2 -2
  241. package/dist/globuscomponents/{p-08df6da8.entry.js → p-9565ff1f.entry.js} +2 -2
  242. package/dist/globuscomponents/p-9f957b9d.entry.js +2 -0
  243. package/dist/globuscomponents/p-9f957b9d.entry.js.map +1 -0
  244. package/dist/globuscomponents/{p-e99b678a.entry.js → p-a684fd22.entry.js} +2 -2
  245. package/dist/globuscomponents/{p-e0e0b87b.entry.js → p-bf0c442d.entry.js} +2 -2
  246. package/dist/globuscomponents/{p-bef774b2.entry.js → p-c6a98d26.entry.js} +2 -2
  247. package/dist/globuscomponents/{p-56116cbb.entry.js → p-c6c5abbb.entry.js} +2 -2
  248. package/dist/globuscomponents/{p-ebcc2cdb.entry.js → p-e7db1b60.entry.js} +2 -2
  249. package/dist/globuscomponents/{p-b5185285.entry.js → p-f19f57d4.entry.js} +2 -2
  250. package/dist/globuscomponents/p-f19f57d4.entry.js.map +1 -0
  251. package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +3 -2
  252. package/dist/types/components/gb-avatar-label-group/gb-avatar-label-group.d.ts +1 -1
  253. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +1 -0
  254. package/dist/types/components/gb-input-field/gb-input-field.d.ts +6 -0
  255. package/dist/types/components/gb-notification-pane/gb-notification-pane.d.ts +2 -1
  256. package/dist/types/components/gb-pagination/gb-pagination.d.ts +0 -1
  257. package/dist/types/components/gb-tag/gb-tag.d.ts +2 -1
  258. package/dist/types/components/gb-tag-checkbox/gb-tag-checkbox.d.ts +2 -1
  259. package/dist/types/components/gb-toggle/gb-toggle.d.ts +1 -1
  260. package/dist/types/components.d.ts +22 -6
  261. package/dist/types/models/reusableModels.d.ts +1 -1
  262. package/package.json +1 -1
  263. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -65
  264. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
  265. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -104
  266. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
  267. package/dist/cjs/gb-avatar_38.cjs.entry.js.map +0 -1
  268. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -32
  269. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
  270. package/dist/components/p-043d096a.js.map +0 -1
  271. package/dist/components/p-81505876.js.map +0 -1
  272. package/dist/components/p-94933c0b.js.map +0 -1
  273. package/dist/components/p-9acf67ff.js.map +0 -1
  274. package/dist/components/p-9ce53d62.js.map +0 -1
  275. package/dist/components/p-a71a4f8d.js.map +0 -1
  276. package/dist/components/p-b1070aca.js.map +0 -1
  277. package/dist/components/p-e849c9f1.js.map +0 -1
  278. package/dist/esm/gb-avatar-dropdown.entry.js +0 -61
  279. package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
  280. package/dist/esm/gb-avatar-label-group.entry.js +0 -100
  281. package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
  282. package/dist/esm/gb-avatar_38.entry.js.map +0 -1
  283. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -28
  284. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
  285. package/dist/globuscomponents/p-03805be1.entry.js +0 -2
  286. package/dist/globuscomponents/p-03805be1.entry.js.map +0 -1
  287. package/dist/globuscomponents/p-39ecea7f.entry.js.map +0 -1
  288. package/dist/globuscomponents/p-4b7867b6.entry.js +0 -2
  289. package/dist/globuscomponents/p-4b7867b6.entry.js.map +0 -1
  290. package/dist/globuscomponents/p-4fb70c85.entry.js.map +0 -1
  291. package/dist/globuscomponents/p-6296870d.entry.js +0 -2
  292. package/dist/globuscomponents/p-6296870d.entry.js.map +0 -1
  293. package/dist/globuscomponents/p-b5185285.entry.js.map +0 -1
  294. package/dist/globuscomponents/p-ce5ffe62.entry.js +0 -2
  295. package/dist/globuscomponents/p-ce5ffe62.entry.js.map +0 -1
  296. /package/dist/globuscomponents/{p-c37aed22.entry.js.map → p-0cc11c02.entry.js.map} +0 -0
  297. /package/dist/globuscomponents/{p-a3adce55.entry.js.map → p-45eef183.entry.js.map} +0 -0
  298. /package/dist/globuscomponents/{p-79c12a5f.entry.js.map → p-4972b741.entry.js.map} +0 -0
  299. /package/dist/globuscomponents/{p-a1eaa17d.entry.js.map → p-54d70eca.entry.js.map} +0 -0
  300. /package/dist/globuscomponents/{p-5516e43b.entry.js.map → p-8f96d78c.entry.js.map} +0 -0
  301. /package/dist/globuscomponents/{p-08df6da8.entry.js.map → p-9565ff1f.entry.js.map} +0 -0
  302. /package/dist/globuscomponents/{p-e99b678a.entry.js.map → p-a684fd22.entry.js.map} +0 -0
  303. /package/dist/globuscomponents/{p-e0e0b87b.entry.js.map → p-bf0c442d.entry.js.map} +0 -0
  304. /package/dist/globuscomponents/{p-bef774b2.entry.js.map → p-c6a98d26.entry.js.map} +0 -0
  305. /package/dist/globuscomponents/{p-56116cbb.entry.js.map → p-c6c5abbb.entry.js.map} +0 -0
  306. /package/dist/globuscomponents/{p-ebcc2cdb.entry.js.map → p-e7db1b60.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,EAAoE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAM1H,MAAM,OAAO,eAAe;;;;;y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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath, Event, EventEmitter, Listen } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownItemTypes, DropdownTypes, GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop({ mutable: true }) items: DropdownItemTypes[];\r\n @Prop() supportingText: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @Prop() menuPosition: 'top' | ' bottom';\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @Element() el: HTMLElement;\r\n @Event() dropdownValue: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n @Listen('click', { target: 'document' })\r\n handleClickOutside(event: MouseEvent) {\r\n if (this.dropdownOpen && !this.el.contains(event.target as Node)) {\r\n this.dropdownOpen = false;\r\n }\r\n }\r\n\r\n toggleDropdown() {\r\n if (this.state !== 'disabled') {\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n }\r\n\r\n isItemSelected(selectedItem) {\r\n const found = this.selectedItems.find(item => item.name === selectedItem.name);\r\n return found !== undefined;\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n // item.selected = !item.selected;\r\n\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n } else {\r\n this.selectedItem = item;\r\n item.selected = true;\r\n this.selectedItems.push(this.selectedItem);\r\n if (item.selected) {\r\n this.unselectedItems = this.unselectedItems.filter(unselectedItem => unselectedItem !== item);\r\n } else {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n this.dropdownValue.emit(this.selectedItems);\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n } else {\r\n // For other types, allow only one selection\r\n this.selectedItems = [item]; // Replace with the new item\r\n this.selectedItem = item; // Store the selected item\r\n this.state = 'filled'; // Update state to 'filled'\r\n this.dropdownOpen = false; // Close the dropdown\r\n this.dropdownValue.emit(this.selectedItem);\r\n }\r\n }\r\n\r\n handleTagRemove(item) {\r\n // Remove the item from selectedItems array\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n // For non-tags type, set selectedItem to null if that item is removed\r\n if (this.type !== 'tags' && this.selectedItem === item) {\r\n this.selectedItem = null;\r\n }\r\n\r\n // Update state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n\r\n if (this.type === 'tags') {\r\n // this.unselectedItems = this.items.filter(item => !item.selected);\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const items = [{ name: 'Emmanuel Kadiri', username: 'KD', selected: false }, { name: 'Gideon Ogunkola', username: 'gideon', selected: false }, 45, 64];\r\n\r\n this.items = items;\r\n\r\n if (this.type !== 'tags') {\r\n document.addEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n slottedInitials.classList.add('text-xxs-semi-bold');\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n render() {\r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`} onClick={() => this.toggleDropdown()}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <>\r\n {this.state === 'default' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.state === 'filled' && (\r\n <gb-avatar size=\"xs\" text={this.text} color={this.color} show-border={this.showBorder}>\r\n <h1 slot=\"initials\">{this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </gb-avatar>\r\n )}\r\n </>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map((item, index) => (\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon=\"avatar\" action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name.split(' ').map(part => part.charAt(0).toUpperCase())}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ))\r\n : this.selectedItem.name}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections\r\n : this.selectedItem.username}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\r\n </div>,\r\n <>\r\n {this.dropdownOpen && (\r\n <div class={`dropdown_menu ${this.menuPosition}`} ref={el => (this.dropdownRef = el)}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.selectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n {this.unselectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : (\r\n <>\r\n {this.items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n color={this.color}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </>\r\n ) : (\r\n <p slot=\"name\">{item}</p>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n </>,\r\n ];\r\n }\r\n} \r\n "]}
1
+ {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath, Event, EventEmitter, Listen } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownItemTypes, DropdownTypes, GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop() icon: 'country' | 'avatar' | 'dot';\r\n @Prop({ mutable: true }) items: DropdownItemTypes[] = [\r\n { name: 'Mock Item A', username: 'A', selected: false },\r\n { name: 'Mock Item B', username: 'B', selected: false },\r\n { name: 'Mock Item C', username: 'C', selected: false },\r\n\r\n // 45, 50, 20, 25, 90\r\n\r\n // 'Activated',\r\n // 'Deactivated',\r\n ];\r\n @Prop() supportingText: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @Prop() menuPosition: 'top' | ' bottom';\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @Element() el: HTMLElement;\r\n @Event() dropdownValue: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n @Listen('click', { target: 'document' })\r\n handleClickOutside(event: MouseEvent) {\r\n if (this.dropdownOpen && !this.el.contains(event.target as Node)) {\r\n this.dropdownOpen = false;\r\n }\r\n }\r\n\r\n toggleDropdown() {\r\n if (this.state !== 'disabled') {\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n }\r\n\r\n isItemSelected(selectedItem) {\r\n const found = this.selectedItems.find(item => item.name === selectedItem.name);\r\n return found !== undefined;\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n // Unselect item if it exists\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n } else {\r\n // Select item\r\n item.selected = true;\r\n this.selectedItems = [...this.selectedItems, item];\r\n this.unselectedItems = this.unselectedItems.filter(unselectedItem => unselectedItem.name !== item.name);\r\n }\r\n\r\n // Emit selected items for tags\r\n this.dropdownValue.emit(this.selectedItems);\r\n } else {\r\n // For single selection types (non-tags)\r\n this.selectedItem = item;\r\n this.selectedItems = [item]; // Ensure only one item is selected\r\n this.state = 'filled';\r\n\r\n // Emit the single selected item\r\n this.dropdownValue.emit(this.selectedItem);\r\n\r\n // Close dropdown after selection\r\n this.dropdownOpen = false;\r\n }\r\n\r\n // Update the dropdown state\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n handleTagRemove(item) {\r\n // Remove the item from selectedItems array\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n // For non-tags type, set selectedItem to null if that item is removed\r\n if (this.type !== 'tags' && this.selectedItem === item) {\r\n this.selectedItem = null;\r\n }\r\n\r\n // Update state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n\r\n if (this.items && this.items.every(item => typeof item === 'object')) {\r\n if (this.type === 'tags') {\r\n this.selectedItems = this.items.filter(item => item.selected);\r\n this.unselectedItems = this.items.filter(item => !item.selected);\r\n }\r\n } else if (this.items && this.items.every(item => typeof item === 'string' || 'number')) {\r\n this.selectedItem = this.items.find(item => item) || null;\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n if (this.type !== 'tags') {\r\n document.addEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n if(slottedInitials) {\r\n slottedInitials.classList.add('text-xxs-semi-bold');\r\n }\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n render() {\r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`} onClick={() => this.toggleDropdown()}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <>\r\n {this.state === 'default' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.state === 'filled' && (\r\n <gb-avatar size=\"xs\" text={this.text} color={this.color} show-border={this.showBorder}>\r\n <h1 slot=\"initials\">{this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </gb-avatar>\r\n )}\r\n </>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {/* {this.type === 'tags'\r\n ? this.selectedItems.map((item, index) => (\r\n <>\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon={!this.icon ? 'avatar' : this.icon} action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name.split(' ').map(part => part.charAt(0).toUpperCase())}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n </>\r\n ))\r\n : this.selectedItem} */}\r\n {this.type === 'tags' && (\r\n <>\r\n {this.selectedItems.map((item, index) => {\r\n {\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon={!this.icon ? 'avatar' : this.icon} action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name.split(' ').map(part => part.charAt(0).toUpperCase())}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n (console.log(item),\r\n (\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon=\"avatar\" action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ))\r\n );\r\n }\r\n })}\r\n </>\r\n )}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections\r\n : this.selectedItem.username}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\r\n </div>,\r\n <>\r\n {this.dropdownOpen && (\r\n <div class={`dropdown_menu ${this.menuPosition}`} ref={el => (this.dropdownRef = el)}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.selectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n {this.unselectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : (\r\n <>\r\n {this.items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n color={this.color}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </>\r\n ) : (\r\n typeof item === 'string' && (console.log(item), (<p slot=\"name\">{item}</p>))\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n </>,\r\n ];\r\n }\r\n} \r\n "]}
@@ -2679,8 +2679,10 @@
2679
2679
 
2680
2680
  .content{
2681
2681
  width: 100%;
2682
- /* height: 100%; */
2682
+ height: 100%;
2683
2683
  border: none;
2684
+ overflow: hidden;
2685
+ text-overflow: ellipsis;
2684
2686
  }
2685
2687
 
2686
2688
  .content::placeholder{
@@ -2737,18 +2739,27 @@
2737
2739
  height: 100%;
2738
2740
  }
2739
2741
 
2740
- .trailing_button_text_input,
2741
- .leading_dropdown_text_input{
2742
+ .trailing_button_text_input, .leading_dropdown_text_input{
2742
2743
  display: flex;
2743
2744
  flex-grow: 1;
2744
2745
  gap: var(--spacing-2);
2745
2746
  }
2746
2747
 
2747
- .leading_dropdown_dropdown,
2748
- .trailing_dropdown_dropdown{
2748
+ .trailing_button_text_input.sm,
2749
+ .trailing_button_text_input.md{
2750
+ padding: var(--spacing-none) 0 0 var(--spacing-3);
2751
+ }
2752
+
2753
+ .input.trailing_button.sm.default,
2754
+ .input.trailing_button.md.default{
2755
+ padding: 0;
2756
+ }
2757
+
2758
+ .leading_dropdown_dropdown, .trailing_dropdown_dropdown{
2749
2759
  display: flex;
2750
2760
  align-items: center;
2751
2761
  gap: var(--spacing-1);
2762
+ cursor: pointer;
2752
2763
  }
2753
2764
 
2754
2765
  .dropdown_arrow{
@@ -2756,6 +2767,11 @@
2756
2767
  align-items: center;
2757
2768
  }
2758
2769
 
2770
+ .tick{
2771
+ width: 1.25rem;
2772
+ height: 1.25rem;
2773
+ }
2774
+
2759
2775
  .help_circle{
2760
2776
  display: flex;
2761
2777
  align-items: center;
@@ -2768,14 +2784,41 @@
2768
2784
  /* Size Styles */
2769
2785
  .input.sm{
2770
2786
  min-height: 2.5rem;
2771
- padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--spacing-3);
2772
2787
  }
2773
2788
 
2774
2789
  .input.md{
2775
2790
  min-height: 3rem;
2791
+ }
2792
+
2793
+ .input.sm.default,
2794
+ .input.sm.password_icon_leading{
2795
+ padding: var(--spacing-none) var(--spacing-3);
2796
+ }
2797
+
2798
+ .input.sm.icon_leading{
2799
+ padding: var(--spacing-none) var(--spacing-2) var(--spacing-none) var(--spacing-3);
2800
+ }
2801
+
2802
+ .input.sm.payment_input{
2776
2803
  padding: var(--spacing-none) var(--spacing-3);
2777
2804
  }
2778
2805
 
2806
+ .input.md.default{
2807
+ padding: var(--spacing-none) 0.875rem var(--spacing-none) var(--spacing-3);
2808
+ }
2809
+
2810
+ .input.md.icon_leading{
2811
+ padding: var(--spacing-none) var(--spacing-2) var(--spacing-none) var(--spacing-3);
2812
+ }
2813
+
2814
+ .input.md.password_icon_leading{
2815
+ padding: var(--spacing-none) var(--spacing-2) var(--spacing-none) var(--spacing-3);
2816
+ }
2817
+
2818
+ .input.md.payment_input{
2819
+ padding: 0 0.875rem 0 var(--spacing-3);
2820
+ }
2821
+
2779
2822
  /* State Styles */
2780
2823
  .input:focus-within,
2781
2824
  .password_input:focus-within,
@@ -2889,6 +2932,11 @@ hr{
2889
2932
  gap: var(--spacing-2);
2890
2933
  }
2891
2934
 
2935
+ .country_icon{
2936
+ display: flex;
2937
+ align-items: center;
2938
+ }
2939
+
2892
2940
  .dropdown_menu{
2893
2941
  display: flex;
2894
2942
  width: fit-content;
@@ -2905,12 +2953,22 @@ hr{
2905
2953
  gap: var(--spacing-none);
2906
2954
  }
2907
2955
 
2908
- .dropdown_menu.leading_dropdown{
2909
- top: 4.5rem;
2910
- left: 1.5rem;
2956
+ .dropdown_menu.leading_dropdown.sm{
2957
+ top: 3.8rem;
2958
+ left: 0;
2959
+ }
2960
+
2961
+ .dropdown_menu.leading_dropdown.md{
2962
+ top: 4.3rem;
2963
+ left: 0;
2964
+ }
2965
+
2966
+ .dropdown_menu.trailing_dropdown.sm{
2967
+ top: 3.8rem;
2968
+ right: 0;
2911
2969
  }
2912
2970
 
2913
- .dropdown_menu.trailing_dropdown{
2914
- top: 4.5rem;
2971
+ .dropdown_menu.trailing_dropdown.md{
2972
+ top: 4.3rem;
2915
2973
  right: 0;
2916
2974
  }
@@ -2,6 +2,21 @@ import { h, Fragment, getAssetPath } from "@stencil/core";
2
2
  import { StateEnum } from "../../models/reusableModels";
3
3
  export class GbInputField {
4
4
  constructor() {
5
+ this.copyToClipboard = () => {
6
+ if (this.inputRef) {
7
+ this.inputRef.select();
8
+ document.execCommand('copy'); // Deprecated but works in most browsers
9
+ // For modern browsers:
10
+ navigator.clipboard
11
+ .writeText(this.inputRef.value)
12
+ .then(() => {
13
+ console.log('Copied to clipboard');
14
+ })
15
+ .catch(err => {
16
+ console.error('Failed to copy: ', err);
17
+ });
18
+ }
19
+ };
5
20
  this.size = undefined;
6
21
  this.type = undefined;
7
22
  this.destructive = false;
@@ -17,7 +32,7 @@ export class GbInputField {
17
32
  this.showValidation = false;
18
33
  this.iconSwap = undefined;
19
34
  this.showCloseButton = false;
20
- this.options = [];
35
+ this.options = ['USD', 'NGN', 'CAD'];
21
36
  this.inputValue = '';
22
37
  this.tags = [];
23
38
  this.leadingIconSvg = '';
@@ -31,12 +46,22 @@ export class GbInputField {
31
46
  const svg = await response.text();
32
47
  this.leadingIconSvg = svg;
33
48
  }
49
+ handleClickOutside(event) {
50
+ if (this.showDropdown && !this.el.contains(event.target)) {
51
+ this.showDropdown = false;
52
+ }
53
+ }
34
54
  /* Function to handle and emit the inputted values */
35
55
  handleInput(event) {
36
56
  const target = event.target;
37
57
  this.inputValue = target.value;
38
58
  this.inputValueChanged.emit(this.inputValue);
39
59
  }
60
+ clearInput() {
61
+ if (this.inputRef) {
62
+ this.inputRef.value = '';
63
+ }
64
+ }
40
65
  /* Function to handle and emit the inputted values */
41
66
  togglePasswordVisibility() {
42
67
  this.isPasswordVisible = !this.isPasswordVisible;
@@ -53,15 +78,12 @@ export class GbInputField {
53
78
  handleItemSelect(option) {
54
79
  // For other types, allow only one selection
55
80
  this.selectedItem = option;
56
- console.log(this.selectedItem);
57
81
  this.showDropdown = false; // Close the dropdown
58
82
  }
59
83
  componentWillLoad() {
60
- const options = ['NGN', 'USD', 'CAD'];
61
84
  if (this.options && this.options.length > 0) {
62
85
  this.selectedItem = this.options[0]; // Set the first item as default
63
86
  }
64
- this.options = options;
65
87
  this.loadIcon(this.iconSwap);
66
88
  }
67
89
  componentDidLoad() {
@@ -74,23 +96,27 @@ export class GbInputField {
74
96
  if (supportingTextSlot) {
75
97
  supportingTextSlot.classList.add('text-xs-regular');
76
98
  }
99
+ document.addEventListener('click', this.handleClickOutside);
100
+ }
101
+ disconnectedCallback() {
102
+ document.removeEventListener('click', this.handleClickOutside);
77
103
  }
78
104
  render() {
79
- return (h("div", { key: 'c89f20939df58d05152b94faa472f656f4cb59f6', class: `input_container` }, h("div", { key: '054f817c42a39a6936cf3d4c8cc6565c12550dbe', class: `input_with_label` }, this.showLabel && h("p", { key: 'c991624c50c1a622a4fe7b93f3b064f2cb405e86', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
80
- h("div", { key: '2906d120d51970b724a940d16568cda429c42136', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '7bd29b524631df7816b2671a5d527e8555e00414', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: '5d473164d14f46bdc02b3a8d1c35bedfcbbc5f10', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'df043e1ef67f6f2570bf25bde45b530afa38dea5', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b573f2e2189870e00ec84aa041fd5f345b512562', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
105
+ return (h("div", { key: '589179d7f676c2dc6708d80849e82d49eae06fe7', class: `input_container` }, h("div", { key: '928e39082068c5e28f818915cbde4ecddf8e7f33', class: `input_with_label` }, this.showLabel && h("p", { key: 'e4e58e4770ed5574c8bdd6e31f8abd1b51281158', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
106
+ h("div", { key: '8c89946d7aa50e59c00b4ecc78ed1cca6a676da4', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '71f1406e648e7a1339b6ff2ded9a27c36a427ff4', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: 'ad21ef93384801313f1f3efc24e9c8b8bef72fc4', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '0bae70238418144e38bf4d96ee8eb72dcd58203b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '623ef7f3980d093691eaf486ab6d542ace589097', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
81
107
  ], this.type === 'icon_leading' && [
82
- h("div", { key: 'c96435a1e6e646038776b136ac5e741f974b428e', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bd69680cec0906981e9540859d6087215f9508f5', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '93d657fab94039fc2b4e6d728bd6934d1d84fc63', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '80e733deb4bd389d4ce65d7f310f31637a228695', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a9ac27f34678641be5f953b8eec191e03eeaec85', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '26e9826d5dbefaefa4dace872bc26ddd66823e44', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '7a3fdce2069709db95daaf177ae310a61348ecb5', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
108
+ h("div", { key: 'f3953feaeca307fb388ea110492c1f92680406fa', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6935413cc08468ab7f2796a8b9a3587aabce06cf', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '56a183d4b46ea79cd0f086d5aab159c182217f8a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'b635349aa84d58c106c9994b435755737d705fb7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'e36779668666e2c2ee0429d7cc042e7d522eb679', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '675c1a097e5185bc7f326c2d65c906ed4826560f', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '738c0cdd53d5a9198a5eb06a8390b31db6740fc1', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput() })))),
83
109
  ], this.type === 'leading_dropdown' && [
84
- h("div", { key: 'eeda58f6123cc1096516dc81eb73b4fe32606dd8', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e25d77a1fb3193e71c285184408ac4b6f3784286', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'cb9b34fb6d066654a4ac0eee694b5a20c5808b16', class: `country_icon` }, h("img", { key: '75a68e2b9bcc35ca1bcda368a47e1f6298e5dbbe', src: "build/assets/NG.svg", alt: "" })), h("div", { key: 'd2dd0f2faddd5a15b6ee6c225cd9312d9071a50a', class: `dropdown_text` }, h("p", { key: '7e6ca1034367cc2059d99356279c8d51f1a34da0', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'e667fd76a23a3f0f8c088e28a34157d792a9c99c', class: `dropdown_arrow` }, h("svg", { key: '97f452cefcd0b9718d3199c6b994ebcae808057c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e0cd92511c987d32c89ae9b444e395f38313ae2a', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '66cb50680286ddd09c89d3969575e4ce67cc65e7', class: `leading_dropdown_text_input` }, h("input", { key: 'aa183ddf4153c7aea522c44511fd693996711c7d', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'd3f768974abdf00a1a53edf5acbf838333edb5fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '80c01be985866175eeae3bd51b59cd6498198d2c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '9ee627972100b6e334a5b99f6dbed9bd1abc3893', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
85
- h(Fragment, null, this.showDropdown && (h("div", { key: 'fe510e33a35d6d3bd0a810640816828b82ab55ab', class: `dropdown_menu ${this.type}` }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
110
+ h("div", { key: 'b15f356f3e7e87273687f9c5f065a49ba9db1fc0', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c0c6b0a273daa5419e071d4a6ab954f95964f0d9', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'c55e73adbb4de53cc6ea53d65123fd810a4b63c9', class: `country_icon` }, h("img", { key: '161a848bb41d3864b5c48980ee7790ef00621375', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '7a05b7619c3e9d65ea850ec89a964cdc5d28d8a4', class: `dropdown_text` }, h("p", { key: 'd1c4427423c5003a1acb9ec97a115924c73e1952', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'ce5590652fd2d7bf122ff81cb2a6e11e39b16b73', class: `dropdown_arrow` }, h("svg", { key: '959d1694cc9649aea55a3bd05c07653319e2d588', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f58cda80f7487152532cc722ba623a3d9de5f18b', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '774c825c58659e21455feac964c5b1e7786ee225', class: `leading_dropdown_text_input` }, h("input", { key: '7d1b483b379d960d41e2cbea2d33585c22b2f551', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '520642bd026ea8eadd908a91e93d07e5f45bab83', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b7257c57318cc27945d6382fe910fa207bebd113', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '867f490ab4cdda00c4ecea3c6b1164a6acd9d4e8', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
111
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'fab68e9eb41c1d484d7688829fba8f88269f8881', class: `dropdown_menu ${this.type} ${this.size}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
86
112
  ], this.type === 'trailing_dropdown' && [
87
- h("div", { key: '558f83ee927569c98138a8a7e198d9a22d988652', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a078c0f1bd379d1f986af423066e91f46f694e35', class: `trailing_dropdown_content` }, h("p", { key: 'd53b7e0eba11684f9caa4e8cf969a8266e275fbf', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '5b2e9774ac19f1e9f1b5ea67b965ed4fe2a15828', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: '42a86e653a86cc758c1a22be184d84b5d0b1926a', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'a132811f206e19984f50b8e101404ae89aa7acc3', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '0171c92babed691e214ed48d32656fb0601de171', class: `dropdown_text` }, h("p", { key: '9aafc42776e72c9bb9db9a8a4539c7491b9ea1f3', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'eb475b69a51d1097462f06d3559da4651426d242', class: `dropdown_arrow` }, h("svg", { key: '676a00fdd949d7711575f230be157619b047a801', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'bbdf389ac9d4a59edcf8466f0a02e6e97fa91455', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
88
- h(Fragment, null, this.showDropdown && (h("div", { key: '4e3df8eb11ced41537afcda4c826dcb60df7f02c', class: `dropdown_menu ${this.type}` }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
113
+ h("div", { key: '65103fcba27ff04b6ceb755d6ccba48b94ffa92f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '580c1cea2a77ad3739d9bcdbf8e4e589574d0b57', class: `trailing_dropdown_content` }, h("p", { key: 'e08b5239c25cd55e2fd3894eb3db6d549e903418', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: 'de2c10dc04cfe5eeb02d9bcfc73f3d64d92b593a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: 'c0a1e40469b567c2eac1de19aeb4bb7b50195f34', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '27a16a76ae506fb1206acac9cf694aa638d14065', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'f15426870e4c0b6625ccdf00808de41195c2a7ea', class: `dropdown_text` }, h("p", { key: 'ed5c85c14a443e2bfc633370f7da1b5cab2b52c0', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'a02e22e155ca55aa2229d6b704a0d4815ae7fed1', class: `dropdown_arrow` }, h("svg", { key: '9efdb969557df0efbcb60e05d79263a0a80733a3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0d63e5bad326266fa6cc718293644f13a7eb2039', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
114
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'ea02544608f72f09ec3d92795ecdb1e351712be9', class: `dropdown_menu ${this.type} ${this.size}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
89
115
  ], this.type === 'leading_text' && [
90
- h("div", { key: 'fd3cb48f61ac27baa814a4fcf5ec7ee9fd8ec8ac', class: "leading_text_input" }, h("div", { key: '9f52e0394ad688168d37dc4d07a3505ed142960f', class: `add_on` }, h("p", { key: '77990db1bed3bf7d1721faae9bee70a4438dd266', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '738cf0173e1db0a9b9b008a3e106aeaac367546a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'ffc16492a71dff698840796c3e09db945b749b69', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '6fd5cd646774073b30458b1eb975dd56f5bfccc6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '41e14518504d4c06ccd36e3882d0f34e98f1ef62', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'de251025130fb1f7f0f2a002e3b7252f17979564', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
91
- ], this.type === 'payment_input' && (h("div", { key: 'c87a692b8f2c3ec39150883d2461b008d5e46872', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'bc4476f4e8c2099ee9b2dd188abca38557712bcf', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '30862bef586507647baeda1b5ba2df64ccc5bf96', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '7ba05185b2e77dc9aa50474726ebf5fad248f237', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '14fad6fe6eb60f4efd7fc9a5ebb9f42f4519fa2f', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '9a778abbcd4d38a21834427fd822159d1c80503e', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'ab14ec04738d9badc70cc21d6c8d1c1d8b150240', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3835cffecabf1a4563823928436158e2971156d1', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '1584e86df9e448d30c33bd08f7101f2fdf39b542', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'a2f3e2b515d03876edf879d2e016d755dfa50d6f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '33404037eebc19cb904b2bef87c50c15496d3d04', class: `trailing_button_text_input` }, h("input", { key: '2d1725b551d5514099f4410261cf9492b3c438a6', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '555ea1f4b6a5151e1138a1d66eafb735c37772af', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'c01a036253224c6c7be21d838bfe16e299da5a25', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'bd19f3fdb4c7b58adc5555e3f9be399781ebe93f', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '57d5e77e16a24c9e26bae1ac89cfc571575439de', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg" }))), this.type === 'password' && (h("div", { key: '8d48414c382ae01e3cbae1e73635f5e7b3fd5040', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '66fc3dac4c366c44b1de998c6921a9663facbad5', class: `password_content` }, h("input", { key: 'eb4e25bb10ff35de23343378df41a7fa8575a127', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'fdb4214f005449965458eb495077a99a8b2a6802', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a69a9173d11c5baa07ffdecdd8e32a21ce290b2c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '175b98323beea14d673dc5c088021bb811d51ba2', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '4b113c24457aa76d28d8697abd443f485e09f75e', class: `dropdown` }, h("gb-password-button", { key: 'c1d2114a71558b4bd38fef5477df91af71cd1758', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'ec0709b794a121935a7c22b0a2494d97c754dbda', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '1aa191924bc859594478a466d7f74f4cec0cf735', class: `password_icon_leading_content` }, h("svg", { key: '6d02a0bca4610c65c653c52d0f6df4fb7b36c284', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5d38545b4d452a9e53249a12e49af262ea0fda0f', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'ef6724da7d2487aa62156b3cdb5c181834819b19', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: 'aac4d31340020b7f8a35db7232be65c694357440', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a13858ef8a8fc72ec4f80a873337164134deb2f4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'a718c80994c69bff8fa33d7204240f24415cab07', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'f061802211cf9c7c458efd9fa105d6ab88023458', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
92
- h("div", { key: '325e4020e0aeb9ca2d8b6fe498e882686610ac2c', class: `count_input` }, h("div", { key: '1e0ba3049f902bceda2feefbcd6cd4d42af972e5', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'f8890e5daeb891965ef38821472f6790ce1cf748', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: '29e903728e392f03b3e3d89f97b5d6cb6e68c16e', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '0b8c2a61c40599c690ce80c329cd03333ea038af', class: `action ${this.state}` }, h("gb-button", { key: '40fd4352710f31ee68e3adcab5fda3a45f71081c', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: 'bc6023a601804fab940b79ced4a00f3c5bdc95a3' }), h("gb-button", { key: '5654dfe72233ca2d19277a2742b48d69f0d8abc3', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
93
- ], this.type === 'tags' && (h("div", { key: '9bca6a4e516e1d3781246544ea18c9d52bdd0016', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bc76294ca69cca4921eb0e6d2664e5d9cd8d321f', class: `tags_display` }), h("input", { key: '88bf02755c977b20bee8a6de1f4b8408f68f10fe', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })))), this.showHintText && h("p", { key: '27b7653a414be8bb7412521dbfd13850d1ad1bfd', class: "hint_text text-sm-regular" }, this.hintText)));
116
+ h("div", { key: '55e9e9bf46e730d1035e18b8d61895590dd91c6f', class: "leading_text_input" }, h("div", { key: 'ee9d149cee752a3d04c134d047da7d8dd86fe6ac', class: `add_on` }, h("p", { key: '6b4cb7d937fb3117fe97af0cd12f19fe6c156144', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '2c3554e72ffa664e2f7d1320a3bb217e965cd4f4', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '54deef466eddf5af9e31c2a84758c1befb837b63', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'a676c5dbd329520e01c81f798248aba5f7d1f0d2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ff9469369c15182841b1c3bb2b5ffc08248ecf02', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'fb0dfc46049be5952e6a459c2ddd3feef5152fe9', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
117
+ ], this.type === 'payment_input' && (h("div", { key: '2f0b661a4773feba3c091f7aa213bdc9620837fd', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '58e8e570efbd836c93ee6dc6416c642131cccc69', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'e1460961412a96bcd6bcd4e3ed0bc4b571a04f09', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '6b8b3399b39cac49da24ec502318b0af0b643f51', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'b5a355549db49f3aa1edf9208db77ac8f9c2ef23', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '79d90631bdfdb617848fd06b5a992310d60cbe71', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'e984f7be384bf68c6d9138e0889d2e7a8974d08a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '32c54a7fb8c8df66490ae426eedb191956778121', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '68ab65c1756f3a0e214e46b4d863ad8faa885896', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'ae2b653e37ee157dc0e450eb71a37b47804aaa6a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'fb3273fec17e3d9a2353db26d115d5c231ddcaaf', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '1f3e14066cf4cf496e71d51ade5b51c7e971b264', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el) }), this.showValidation && !this.destructive && (h("svg", { key: 'b45f9479bab1faa36b2632f971b5976f132ec745', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '911c521e5c71e6a6c62fa6bcd07067bf617265b6', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '08f4f5e7f2d6845851f993fc1a3d3e88a7b8c4c3', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '720e6864de64ab70cf41e0024f7b702e4d67cbbc', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: '0230c2cd12de29b98247e5635c098c9555bc93c7', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0b19acd72dc5ec8266345c88f60fb6f82c3275d8', class: `password_content` }, h("input", { key: '0f7bc43490b22ca945de707eaf7d557d2d1680fb', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'b575c00a650958a75266b3d0d03e4097f7ff1116', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ed0721beffb9550481982dec94d6af52ee7b1c0f', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'ec0fbb1cf3022375d52a4a48fb37bea1a3d315d0', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'cddd112503bc5d56fd4e3bef29651f6e9b813d07', class: `dropdown` }, h("gb-password-button", { key: '4d4fa4e15640d0b707af6cd264525830fc54e512', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'fa2e2085d43ab259e3d51413abbf7983078ffe85', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '98763251f5340c3a48272ca79fc406ff03aaaddb', class: `password_icon_leading_content` }, h("svg", { key: 'f07d223980b9cf87f8117870298b9cc4e4ede739', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0b3a47243211ca0d449623ff99f7a99303c2782b', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'f09694d90277a05f5d45470946d390f05ac6db23', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: '5f082c799174412c3c179e91c75a7fbcc3c38db6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'de470d828c4f7f3936b0755eb8f35e3e63e267fc', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'c853fc54646f0259b3274f1c4f4df01a152e0fa2', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '48493479d2eb2eafdb66e40814b74c4da51b111d', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
118
+ h("div", { key: '25754ab18d869a3d55c0eaf840e74d8784bf7b4c', class: `count_input` }, h("div", { key: 'e1b61c17a86f47416e49ee57c35185e23cd041cf', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'cf70897f59eac03bd90266d90623455f310948f0', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: 'e7f956f17dc3195cc0a25e3074ca9e6bcf617729', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'd454f0da78f79ab3ebf5d3bb98edcf68a34ffb14', class: `action ${this.state}` }, h("gb-button", { key: '5edd08fd253cbec7ae151e5f44bebb16f7d628e8', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: 'c27a313c63ec530400ba2cf7514232ab78230dbb' }), h("gb-button", { key: 'f7efe6886ceaed846760511607736efbea6fface', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
119
+ ], this.type === 'tags' && (h("div", { key: 'e8b18752ff0b777b9d807f0256cb0170f79c55c8', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ba9698ae1413ea62ac3f280d6950b9f05c7b71ca', class: `tags_display` }), h("input", { key: '472522d50e8c361b2c82b44c154d7deb485f47f0', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })))), this.showHintText && h("p", { key: '920623153c8508120ec1b015987c1081ca99520c', class: "hint_text text-sm-regular" }, this.hintText)));
94
120
  }
95
121
  static get is() { return "gb-input-field"; }
96
122
  static get encapsulation() { return "shadow"; }
@@ -398,7 +424,7 @@ export class GbInputField {
398
424
  "tags": [],
399
425
  "text": ""
400
426
  },
401
- "defaultValue": "[]"
427
+ "defaultValue": "['USD', 'NGN', 'CAD']"
402
428
  }
403
429
  };
404
430
  }
@@ -452,5 +478,14 @@ export class GbInputField {
452
478
  "methodName": "optionsChanged"
453
479
  }];
454
480
  }
481
+ static get listeners() {
482
+ return [{
483
+ "name": "click",
484
+ "method": "handleClickOutside",
485
+ "target": "document",
486
+ "capture": false,
487
+ "passive": false
488
+ }];
489
+ }
455
490
  }
456
491
  //# sourceMappingURL=gb-input-field.js.map