globuswebcomponents 0.6.6 → 0.6.8

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 (330) hide show
  1. package/dist/cjs/gb-avatar-add-button.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +1 -1
  3. package/dist/cjs/gb-avatar-group.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-avatar_34.cjs.entry.js +150 -77
  7. package/dist/cjs/gb-avatar_34.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gb-button-close_2.cjs.entry.js +2 -2
  9. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-file-type-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-file-upload.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-megainput-field.cjs.entry.js +3 -3
  17. package/dist/cjs/gb-progress-circle.cjs.entry.js +2 -2
  18. package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
  19. package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
  20. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
  21. package/dist/cjs/gb-slider.cjs.entry.js +2 -2
  22. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
  24. package/dist/cjs/gb-toast.cjs.entry.js +2 -2
  25. package/dist/cjs/gb-toggle.cjs.entry.js +2 -2
  26. package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
  27. package/dist/cjs/gb-verification-code-field.cjs.entry.js +3 -3
  28. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
  30. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
  31. package/dist/cjs/globuscomponents.cjs.js +2 -2
  32. package/dist/cjs/{index-804eab7e.js → index-82c030a2.js} +29 -3
  33. package/dist/cjs/index-82c030a2.js.map +1 -0
  34. package/dist/cjs/loader.cjs.js +2 -2
  35. package/dist/collection/components/gb-header/gb-header.js +34 -8
  36. package/dist/collection/components/gb-header/gb-header.js.map +1 -1
  37. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.css +0 -1
  38. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +2 -2
  39. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js.map +1 -1
  40. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +28 -0
  41. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +102 -31
  42. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  43. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +28 -2
  44. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
  45. package/dist/collection/components/gb-input-field/gb-input-field.css +29 -0
  46. package/dist/collection/components/gb-input-field/gb-input-field.js +67 -12
  47. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  48. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  49. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  50. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +4 -4
  51. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  52. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  53. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  54. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  55. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  56. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  57. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  58. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  59. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  60. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -2
  61. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js.map +1 -1
  62. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  63. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  64. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  65. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  66. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  67. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  68. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  69. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  70. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  71. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  72. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  73. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  74. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  75. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  76. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  77. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  78. package/dist/components/gb-avatar-add-button.js +1 -1
  79. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  80. package/dist/components/gb-avatar-dropdown.js +8 -8
  81. package/dist/components/gb-avatar-group.js +6 -6
  82. package/dist/components/gb-avatar-label-group.js +1 -1
  83. package/dist/components/gb-avatar-profile-photo.js +4 -4
  84. package/dist/components/gb-avatar.js +1 -1
  85. package/dist/components/gb-badge-close.js +1 -1
  86. package/dist/components/gb-badge.js +1 -1
  87. package/dist/components/gb-btn.js +1 -1
  88. package/dist/components/gb-button-close.js +1 -1
  89. package/dist/components/gb-button.js +1 -1
  90. package/dist/components/gb-carousel-arrow.js +1 -1
  91. package/dist/components/gb-checkbox-base.js +1 -1
  92. package/dist/components/gb-checkbox-group-item.js +1 -1
  93. package/dist/components/gb-checkbox-group.js +8 -8
  94. package/dist/components/gb-checkbox.js +1 -1
  95. package/dist/components/gb-collapse-button.js +1 -1
  96. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  97. package/dist/components/gb-file-type-icon.js +1 -1
  98. package/dist/components/gb-file-upload-item-base.js +1 -1
  99. package/dist/components/gb-file-upload.js +6 -6
  100. package/dist/components/gb-header-icon.js +1 -1
  101. package/dist/components/gb-header.js +22 -13
  102. package/dist/components/gb-header.js.map +1 -1
  103. package/dist/components/gb-help-dropdown.js +4 -4
  104. package/dist/components/gb-help-tooltip.js +1 -1
  105. package/dist/components/gb-horizontal-tabs.js +7 -7
  106. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  107. package/dist/components/gb-input-dropdown.js +1 -1
  108. package/dist/components/gb-input-field.js +97 -22
  109. package/dist/components/gb-input-field.js.map +1 -1
  110. package/dist/components/gb-megainput-field.js +1 -1
  111. package/dist/components/gb-notification-content.js +1 -1
  112. package/dist/components/gb-notification-pane.js +7 -7
  113. package/dist/components/gb-pagination-button-group-base.js +2 -2
  114. package/dist/components/gb-pagination-dot-indicator.js +2 -2
  115. package/dist/components/gb-pagination-number-base.js +2 -2
  116. package/dist/components/gb-pagination.js +3 -3
  117. package/dist/components/gb-password-button.js +1 -1
  118. package/dist/components/gb-progress-bar.js +1 -1
  119. package/dist/components/gb-progress-circle.js +2 -2
  120. package/dist/components/gb-rich-text.js +17 -17
  121. package/dist/components/gb-scrollbar.js +2 -2
  122. package/dist/components/gb-side-bar-item.js +1 -1
  123. package/dist/components/gb-sidebar.js +10 -10
  124. package/dist/components/gb-slider-control-handle.js +1 -1
  125. package/dist/components/gb-slider.js +4 -4
  126. package/dist/components/gb-status-indicator.js +1 -1
  127. package/dist/components/gb-tab-button-base.js +1 -1
  128. package/dist/components/gb-tag-checkbox.js +1 -1
  129. package/dist/components/gb-tag-close.js +1 -1
  130. package/dist/components/gb-tag-count.js +1 -1
  131. package/dist/components/gb-tag.js +1 -1
  132. package/dist/components/gb-textarea-input-field.js +1 -1
  133. package/dist/components/gb-toast-button.js +1 -1
  134. package/dist/components/gb-toast.js +5 -5
  135. package/dist/components/gb-toggle-base.js +1 -1
  136. package/dist/components/gb-toggle.js +3 -3
  137. package/dist/components/gb-token-field.js +3 -3
  138. package/dist/components/gb-tooltip.js +1 -1
  139. package/dist/components/gb-verification-code-field.js +4 -4
  140. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  141. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  142. package/dist/components/gb-wysiwyg-tooltip.js +2 -2
  143. package/dist/components/index.js +1 -1
  144. package/dist/components/{p-cdd1242d.js → p-00ae5b69.js} +3 -3
  145. package/dist/components/{p-cdd1242d.js.map → p-00ae5b69.js.map} +1 -1
  146. package/dist/components/{p-d13fec4e.js → p-027afbf4.js} +4 -4
  147. package/dist/components/{p-d13fec4e.js.map → p-027afbf4.js.map} +1 -1
  148. package/dist/components/{p-2ac3d8c0.js → p-263891a0.js} +77 -45
  149. package/dist/components/p-263891a0.js.map +1 -0
  150. package/dist/components/{p-3a4d6142.js → p-2d5a9227.js} +3 -3
  151. package/dist/components/{p-3a4d6142.js.map → p-2d5a9227.js.map} +1 -1
  152. package/dist/components/{p-93839d6c.js → p-2eaeb357.js} +6 -6
  153. package/dist/components/{p-93839d6c.js.map → p-2eaeb357.js.map} +1 -1
  154. package/dist/components/{p-b0799e51.js → p-3f76be54.js} +2 -2
  155. package/dist/components/{p-b0799e51.js.map → p-3f76be54.js.map} +1 -1
  156. package/dist/components/{p-a4c5c121.js → p-48056c56.js} +2 -2
  157. package/dist/components/{p-a4c5c121.js.map → p-48056c56.js.map} +1 -1
  158. package/dist/components/{p-7701862d.js → p-484718b7.js} +2 -2
  159. package/dist/components/{p-7701862d.js.map → p-484718b7.js.map} +1 -1
  160. package/dist/components/{p-1fe4daf8.js → p-49de23bb.js} +4 -4
  161. package/dist/components/{p-1fe4daf8.js.map → p-49de23bb.js.map} +1 -1
  162. package/dist/components/{p-c991b6ce.js → p-526d40a2.js} +23 -3
  163. package/dist/components/p-526d40a2.js.map +1 -0
  164. package/dist/components/{p-3ddb9889.js → p-58ddcac0.js} +14 -10
  165. package/dist/components/p-58ddcac0.js.map +1 -0
  166. package/dist/components/{p-619e02da.js → p-599d4c74.js} +3 -3
  167. package/dist/components/{p-619e02da.js.map → p-599d4c74.js.map} +1 -1
  168. package/dist/components/{p-ccd753cc.js → p-79f50dd3.js} +4 -4
  169. package/dist/components/{p-ccd753cc.js.map → p-79f50dd3.js.map} +1 -1
  170. package/dist/components/{p-4092e59a.js → p-7aa86c0a.js} +16 -16
  171. package/dist/components/{p-4092e59a.js.map → p-7aa86c0a.js.map} +1 -1
  172. package/dist/components/{p-72927863.js → p-7b737a93.js} +5 -5
  173. package/dist/components/{p-72927863.js.map → p-7b737a93.js.map} +1 -1
  174. package/dist/components/{p-f9aea40e.js → p-874e38ba.js} +4 -4
  175. package/dist/components/{p-f9aea40e.js.map → p-874e38ba.js.map} +1 -1
  176. package/dist/components/{p-e9176120.js → p-8b92426c.js} +3 -3
  177. package/dist/components/{p-e9176120.js.map → p-8b92426c.js.map} +1 -1
  178. package/dist/components/{p-0456af7b.js → p-8efceb78.js} +3 -3
  179. package/dist/components/{p-0456af7b.js.map → p-8efceb78.js.map} +1 -1
  180. package/dist/components/{p-3ea194b5.js → p-9105c575.js} +10 -10
  181. package/dist/components/{p-3ea194b5.js.map → p-9105c575.js.map} +1 -1
  182. package/dist/components/{p-4bcb105b.js → p-9da5c7ce.js} +2 -2
  183. package/dist/components/{p-4bcb105b.js.map → p-9da5c7ce.js.map} +1 -1
  184. package/dist/components/{p-9497e965.js → p-a158d83f.js} +3 -3
  185. package/dist/components/{p-9497e965.js.map → p-a158d83f.js.map} +1 -1
  186. package/dist/components/{p-d91ecf50.js → p-a47dfb14.js} +4 -4
  187. package/dist/components/{p-d91ecf50.js.map → p-a47dfb14.js.map} +1 -1
  188. package/dist/components/{p-7ef247e0.js → p-a49d1cd0.js} +2 -2
  189. package/dist/components/{p-7ef247e0.js.map → p-a49d1cd0.js.map} +1 -1
  190. package/dist/components/{p-f305b3a4.js → p-a6b53c68.js} +2 -2
  191. package/dist/components/{p-f305b3a4.js.map → p-a6b53c68.js.map} +1 -1
  192. package/dist/components/{p-e408918c.js → p-aab48f11.js} +2 -2
  193. package/dist/components/{p-e408918c.js.map → p-aab48f11.js.map} +1 -1
  194. package/dist/components/{p-b60e6bf3.js → p-b580b149.js} +3 -3
  195. package/dist/components/{p-b60e6bf3.js.map → p-b580b149.js.map} +1 -1
  196. package/dist/components/{p-9177026d.js → p-bf955aaa.js} +6 -6
  197. package/dist/components/p-bf955aaa.js.map +1 -0
  198. package/dist/components/{p-56013fc8.js → p-c3b0fba6.js} +4 -4
  199. package/dist/components/{p-56013fc8.js.map → p-c3b0fba6.js.map} +1 -1
  200. package/dist/components/{p-f7dac30e.js → p-c3eb27e9.js} +3 -3
  201. package/dist/components/{p-f7dac30e.js.map → p-c3eb27e9.js.map} +1 -1
  202. package/dist/components/{p-67323de0.js → p-c7b3f2b7.js} +8 -8
  203. package/dist/components/{p-67323de0.js.map → p-c7b3f2b7.js.map} +1 -1
  204. package/dist/components/{p-d9261ac4.js → p-cacb10e5.js} +5 -5
  205. package/dist/components/{p-d9261ac4.js.map → p-cacb10e5.js.map} +1 -1
  206. package/dist/components/{p-9c84cfb8.js → p-e7017c4e.js} +2 -2
  207. package/dist/components/{p-9c84cfb8.js.map → p-e7017c4e.js.map} +1 -1
  208. package/dist/components/{p-4faa2686.js → p-ebbfa52c.js} +3 -3
  209. package/dist/components/{p-4faa2686.js.map → p-ebbfa52c.js.map} +1 -1
  210. package/dist/components/{p-8b0c130f.js → p-ec6cf1ef.js} +9 -9
  211. package/dist/components/{p-8b0c130f.js.map → p-ec6cf1ef.js.map} +1 -1
  212. package/dist/components/{p-70cc61c1.js → p-eced7b26.js} +6 -6
  213. package/dist/components/{p-70cc61c1.js.map → p-eced7b26.js.map} +1 -1
  214. package/dist/components/{p-e3df7633.js → p-f2074ab5.js} +9 -10
  215. package/dist/components/p-f2074ab5.js.map +1 -0
  216. package/dist/components/{p-ee117fed.js → p-ff40e77c.js} +3 -3
  217. package/dist/components/{p-ee117fed.js.map → p-ff40e77c.js.map} +1 -1
  218. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  219. package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
  220. package/dist/esm/gb-avatar-group.entry.js +1 -1
  221. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  222. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  223. package/dist/esm/gb-avatar_34.entry.js +150 -77
  224. package/dist/esm/gb-avatar_34.entry.js.map +1 -1
  225. package/dist/esm/gb-button-close_2.entry.js +2 -2
  226. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  227. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  228. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  229. package/dist/esm/gb-file-type-icon.entry.js +1 -1
  230. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  231. package/dist/esm/gb-file-upload.entry.js +1 -1
  232. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  233. package/dist/esm/gb-megainput-field.entry.js +3 -3
  234. package/dist/esm/gb-progress-circle.entry.js +2 -2
  235. package/dist/esm/gb-rich-text.entry.js +2 -2
  236. package/dist/esm/gb-scrollbar.entry.js +2 -2
  237. package/dist/esm/gb-slider-control-handle.entry.js +2 -2
  238. package/dist/esm/gb-slider.entry.js +2 -2
  239. package/dist/esm/gb-textarea-input-field.entry.js +1 -1
  240. package/dist/esm/gb-toast-button.entry.js +2 -2
  241. package/dist/esm/gb-toast.entry.js +2 -2
  242. package/dist/esm/gb-toggle.entry.js +2 -2
  243. package/dist/esm/gb-token-field.entry.js +2 -2
  244. package/dist/esm/gb-verification-code-field.entry.js +3 -3
  245. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  246. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  247. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  248. package/dist/esm/globuscomponents.js +3 -3
  249. package/dist/esm/{index-be73e596.js → index-b015e857.js} +29 -3
  250. package/dist/esm/index-b015e857.js.map +1 -0
  251. package/dist/esm/loader.js +3 -3
  252. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  253. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  254. package/dist/globuscomponents/{p-615a7e4e.entry.js → p-05ebe8ce.entry.js} +2 -2
  255. package/dist/globuscomponents/{p-9409a80e.entry.js → p-18860d05.entry.js} +2 -2
  256. package/dist/globuscomponents/{p-205f99af.entry.js → p-261e74e3.entry.js} +2 -2
  257. package/dist/globuscomponents/{p-35eef8c6.entry.js → p-29c2f3bc.entry.js} +2 -2
  258. package/dist/globuscomponents/{p-bfa0476e.entry.js → p-3482a1c9.entry.js} +2 -2
  259. package/dist/globuscomponents/{p-e84fddfb.entry.js → p-3eeec823.entry.js} +2 -2
  260. package/dist/globuscomponents/{p-dbaf2b13.entry.js → p-3f10d8a3.entry.js} +2 -2
  261. package/dist/globuscomponents/{p-c86f4d04.entry.js → p-432cc648.entry.js} +2 -2
  262. package/dist/globuscomponents/{p-0cc29bc9.entry.js → p-478defa4.entry.js} +2 -2
  263. package/dist/globuscomponents/p-621b927c.entry.js +2 -0
  264. package/dist/globuscomponents/{p-bd87639a.entry.js → p-6337af56.entry.js} +2 -2
  265. package/dist/globuscomponents/{p-eee24fd4.entry.js → p-66b214b3.entry.js} +2 -2
  266. package/dist/globuscomponents/{p-593875d5.js → p-6a2960b8.js} +3 -3
  267. package/dist/globuscomponents/p-6a2960b8.js.map +1 -0
  268. package/dist/globuscomponents/{p-a40011a7.entry.js → p-7c76781d.entry.js} +2 -2
  269. package/dist/globuscomponents/{p-ac35cbea.entry.js → p-87cbf02b.entry.js} +2 -2
  270. package/dist/globuscomponents/{p-3ced3015.entry.js → p-8c9ea735.entry.js} +2 -2
  271. package/dist/globuscomponents/{p-89485a6d.entry.js → p-915f1e2d.entry.js} +2 -2
  272. package/dist/globuscomponents/{p-f188fd51.entry.js → p-96341def.entry.js} +2 -2
  273. package/dist/globuscomponents/p-96341def.entry.js.map +1 -0
  274. package/dist/globuscomponents/{p-63af3f30.entry.js → p-9b99abdb.entry.js} +2 -2
  275. package/dist/globuscomponents/{p-c652e197.entry.js → p-9ceb9664.entry.js} +2 -2
  276. package/dist/globuscomponents/{p-70484be9.entry.js → p-9ea6f3d0.entry.js} +2 -2
  277. package/dist/globuscomponents/p-bd848c28.entry.js +2 -0
  278. package/dist/globuscomponents/{p-4eebea94.entry.js → p-c93db781.entry.js} +2 -2
  279. package/dist/globuscomponents/{p-50bf5e16.entry.js → p-cf4fa95a.entry.js} +2 -2
  280. package/dist/globuscomponents/{p-ab529741.entry.js → p-d9a2a502.entry.js} +2 -2
  281. package/dist/globuscomponents/{p-798ec804.entry.js → p-e000dd43.entry.js} +2 -2
  282. package/dist/globuscomponents/{p-e3e0a65e.entry.js → p-e70534d1.entry.js} +2 -2
  283. package/dist/globuscomponents/{p-a66137f5.entry.js → p-eca4d589.entry.js} +2 -2
  284. package/dist/globuscomponents/{p-908d4964.entry.js → p-ef70935e.entry.js} +2 -2
  285. package/dist/globuscomponents/{p-8f6a956b.entry.js → p-fccc25e4.entry.js} +2 -2
  286. package/dist/types/components/gb-header/gb-header.d.ts +1 -0
  287. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +6 -3
  288. package/dist/types/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.d.ts +2 -1
  289. package/dist/types/components/gb-input-field/gb-input-field.d.ts +7 -1
  290. package/dist/types/components.d.ts +14 -4
  291. package/package.json +1 -1
  292. package/dist/cjs/index-804eab7e.js.map +0 -1
  293. package/dist/components/p-2ac3d8c0.js.map +0 -1
  294. package/dist/components/p-3ddb9889.js.map +0 -1
  295. package/dist/components/p-9177026d.js.map +0 -1
  296. package/dist/components/p-c991b6ce.js.map +0 -1
  297. package/dist/components/p-e3df7633.js.map +0 -1
  298. package/dist/esm/index-be73e596.js.map +0 -1
  299. package/dist/globuscomponents/p-593875d5.js.map +0 -1
  300. package/dist/globuscomponents/p-81eb4639.entry.js +0 -2
  301. package/dist/globuscomponents/p-a09b2304.entry.js +0 -2
  302. package/dist/globuscomponents/p-f188fd51.entry.js.map +0 -1
  303. /package/dist/globuscomponents/{p-615a7e4e.entry.js.map → p-05ebe8ce.entry.js.map} +0 -0
  304. /package/dist/globuscomponents/{p-9409a80e.entry.js.map → p-18860d05.entry.js.map} +0 -0
  305. /package/dist/globuscomponents/{p-205f99af.entry.js.map → p-261e74e3.entry.js.map} +0 -0
  306. /package/dist/globuscomponents/{p-35eef8c6.entry.js.map → p-29c2f3bc.entry.js.map} +0 -0
  307. /package/dist/globuscomponents/{p-bfa0476e.entry.js.map → p-3482a1c9.entry.js.map} +0 -0
  308. /package/dist/globuscomponents/{p-e84fddfb.entry.js.map → p-3eeec823.entry.js.map} +0 -0
  309. /package/dist/globuscomponents/{p-dbaf2b13.entry.js.map → p-3f10d8a3.entry.js.map} +0 -0
  310. /package/dist/globuscomponents/{p-c86f4d04.entry.js.map → p-432cc648.entry.js.map} +0 -0
  311. /package/dist/globuscomponents/{p-0cc29bc9.entry.js.map → p-478defa4.entry.js.map} +0 -0
  312. /package/dist/globuscomponents/{p-81eb4639.entry.js.map → p-621b927c.entry.js.map} +0 -0
  313. /package/dist/globuscomponents/{p-bd87639a.entry.js.map → p-6337af56.entry.js.map} +0 -0
  314. /package/dist/globuscomponents/{p-eee24fd4.entry.js.map → p-66b214b3.entry.js.map} +0 -0
  315. /package/dist/globuscomponents/{p-a40011a7.entry.js.map → p-7c76781d.entry.js.map} +0 -0
  316. /package/dist/globuscomponents/{p-ac35cbea.entry.js.map → p-87cbf02b.entry.js.map} +0 -0
  317. /package/dist/globuscomponents/{p-3ced3015.entry.js.map → p-8c9ea735.entry.js.map} +0 -0
  318. /package/dist/globuscomponents/{p-89485a6d.entry.js.map → p-915f1e2d.entry.js.map} +0 -0
  319. /package/dist/globuscomponents/{p-63af3f30.entry.js.map → p-9b99abdb.entry.js.map} +0 -0
  320. /package/dist/globuscomponents/{p-c652e197.entry.js.map → p-9ceb9664.entry.js.map} +0 -0
  321. /package/dist/globuscomponents/{p-70484be9.entry.js.map → p-9ea6f3d0.entry.js.map} +0 -0
  322. /package/dist/globuscomponents/{p-a09b2304.entry.js.map → p-bd848c28.entry.js.map} +0 -0
  323. /package/dist/globuscomponents/{p-4eebea94.entry.js.map → p-c93db781.entry.js.map} +0 -0
  324. /package/dist/globuscomponents/{p-50bf5e16.entry.js.map → p-cf4fa95a.entry.js.map} +0 -0
  325. /package/dist/globuscomponents/{p-ab529741.entry.js.map → p-d9a2a502.entry.js.map} +0 -0
  326. /package/dist/globuscomponents/{p-798ec804.entry.js.map → p-e000dd43.entry.js.map} +0 -0
  327. /package/dist/globuscomponents/{p-e3e0a65e.entry.js.map → p-e70534d1.entry.js.map} +0 -0
  328. /package/dist/globuscomponents/{p-a66137f5.entry.js.map → p-eca4d589.entry.js.map} +0 -0
  329. /package/dist/globuscomponents/{p-908d4964.entry.js.map → p-ef70935e.entry.js.map} +0 -0
  330. /package/dist/globuscomponents/{p-8f6a956b.entry.js.map → p-fccc25e4.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-dropdown-menu-item.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, Prop, h } from \"@stencil/core\";\r\nimport { DropdownTypes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown-menu-item',\r\n styleUrl: 'gb-input-dropdown-menu-item.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdownMenuItem {\r\n @Prop() type: DropdownTypes;\r\n @Prop() supportingText: boolean = false;\r\n @Prop({ mutable: true }) selected: boolean = false;\r\n @Prop() state: StateEnum;\r\n @Element() el: HTMLElement;\r\n\r\n componentDidLoad() {\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n\r\n nameSlot.classList.add('text-md-medium');\r\n\r\n if(supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-sm-regular');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n // <div class=\"dropdown-container\" onClick={() => (this.selected = !this.selected)}>\r\n <div class=\"dropdown-container\">\r\n <div\r\n class={{\r\n 'dropdown-item': true,\r\n 'dropdown-item--selected': this.selected,\r\n 'dropdown-item--disabled': this.state === 'disabled',\r\n [this.type]: true,\r\n }}\r\n role=\"option\"\r\n aria-selected={this.selected ? 'true' : 'false'}\r\n aria-disabled={this.state === 'disabled' ? 'true' : 'false'}\r\n >\r\n <div class=\"content\">\r\n {this.type === 'icon_leading' && (\r\n <svg id=\"icon\" 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.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xs\" status-icon=\"false\">\r\n <slot name=\"image\" slot=\"image\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 10 10\" fill=\"none\">\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n {this.type === 'checkbox' && <gb-checkbox class=\"checkbox\" size=\"md\" type=\"checkbox\" state={this.state} checked={this.selected}></gb-checkbox>}\r\n <slot name=\"name\"></slot>\r\n {this.supportingText && (\r\n <span>\r\n <slot name=\"supporting_text\"></slot>\r\n </span>\r\n )}\r\n </div>\r\n {this.selected && this.type !== 'checkbox' && (\r\n <div class={`tick`}>\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=\"M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337\"\r\n stroke=\"#075DB2\"\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 );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-input-dropdown-menu-item.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, Prop, h } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownTypes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown-menu-item',\r\n styleUrl: 'gb-input-dropdown-menu-item.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdownMenuItem {\r\n @Prop() type: DropdownTypes;\r\n @Prop() supportingText: boolean = false;\r\n @Prop({ mutable: true }) selected: boolean = false;\r\n @Prop() state: StateEnum;\r\n @Prop() color: AvatarColorTypes;\r\n @Element() el: HTMLElement;\r\n\r\n componentDidLoad() {\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n const initialsSlot = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n nameSlot.classList.add('text-md-medium');\r\n initialsSlot.classList.add('text-xs-semi-bold');\r\n\r\n if(supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-sm-regular');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n // <div class=\"dropdown-container\" onClick={() => (this.selected = !this.selected)}>\r\n <div class=\"dropdown-container\">\r\n <div\r\n class={{\r\n 'dropdown-item': true,\r\n 'dropdown-item--selected': this.selected,\r\n 'dropdown-item--disabled': this.state === 'disabled',\r\n [this.type]: true,\r\n }}\r\n role=\"option\"\r\n aria-selected={this.selected ? 'true' : 'false'}\r\n aria-disabled={this.state === 'disabled' ? 'true' : 'false'}\r\n >\r\n <div class=\"content\">\r\n {this.type === 'icon_leading' && (\r\n <svg id=\"icon\" 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.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xs\" color={this.color} text={true}>\r\n <slot name=\"initials\" slot=\"initials\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 10 10\" fill=\"none\">\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n {this.type === 'checkbox' && <gb-checkbox class=\"checkbox\" size=\"md\" type=\"checkbox\" state={this.state} checked={this.selected}></gb-checkbox>}\r\n <slot name=\"name\"></slot>\r\n {this.supportingText && (\r\n <span>\r\n <slot name=\"supporting_text\"></slot>\r\n </span>\r\n )}\r\n </div>\r\n {this.selected && this.type !== 'checkbox' && (\r\n <div class={`tick`}>\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=\"M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337\"\r\n stroke=\"#075DB2\"\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 );\r\n }\r\n}"]}
@@ -2658,6 +2658,9 @@
2658
2658
  .text-xxs-regular::after{
2659
2659
  margin-top: -0.416em;
2660
2660
  }
2661
+ :host{
2662
+ position: relative;
2663
+ }
2661
2664
 
2662
2665
  .input_container,
2663
2666
  .input_with_label{
@@ -2880,4 +2883,30 @@ hr{
2880
2883
  align-items: center;
2881
2884
  flex-grow: 1;
2882
2885
  gap: var(--spacing-2);
2886
+ }
2887
+
2888
+ .dropdown_menu{
2889
+ display: flex;
2890
+ width: fit-content;
2891
+ padding: var(--spacing-none);
2892
+ flex-direction: column;
2893
+ align-items: flex-start;
2894
+ align-items: stretch;
2895
+ border-radius: var(--rounded-sm);
2896
+ border: 1px solid var(--color-border-subtler, #E3E8EF);
2897
+ background: var(--color-surface, #FFFFFF);
2898
+ box-shadow: var(--shadow-sm);
2899
+ position: absolute;
2900
+ z-index: 10;
2901
+ gap: var(--spacing-none);
2902
+ }
2903
+
2904
+ .dropdown_menu.leading_dropdown{
2905
+ top: 4.5rem;
2906
+ left: 1.5rem;
2907
+ }
2908
+
2909
+ .dropdown_menu.trailing_dropdown{
2910
+ top: 4.5rem;
2911
+ right: 0;
2883
2912
  }
@@ -1,4 +1,5 @@
1
1
  import { h, Fragment, getAssetPath } from "@stencil/core";
2
+ import { StateEnum } from "../../models/reusableModels";
2
3
  export class GbInputField {
3
4
  constructor() {
4
5
  this.size = undefined;
@@ -16,10 +17,13 @@ export class GbInputField {
16
17
  this.showValidation = false;
17
18
  this.iconSwap = undefined;
18
19
  this.showCloseButton = false;
20
+ this.options = [];
19
21
  this.inputValue = '';
20
22
  this.tags = [];
21
23
  this.leadingIconSvg = '';
22
24
  this.isPasswordVisible = false;
25
+ this.showDropdown = false;
26
+ this.selectedItem = '';
23
27
  }
24
28
  async loadIcon(iconName) {
25
29
  const iconPath = getAssetPath(`${iconName}`);
@@ -31,16 +35,37 @@ export class GbInputField {
31
35
  handleInput(event) {
32
36
  const target = event.target;
33
37
  this.inputValue = target.value;
34
- this.valueChanged.emit(this.inputValue);
38
+ this.inputValueChanged.emit(this.inputValue);
35
39
  }
36
40
  /* Function to handle and emit the inputted values */
37
41
  togglePasswordVisibility() {
38
42
  this.isPasswordVisible = !this.isPasswordVisible;
39
43
  }
44
+ optionsChanged(newOptions) {
45
+ // Update selectedItem when options are loaded or change
46
+ if (newOptions.length > 0 && !this.selectedItem) {
47
+ this.selectedItem = newOptions[0];
48
+ }
49
+ }
50
+ isItemSelected(option) {
51
+ return this.selectedItem === option;
52
+ }
53
+ handleItemSelect(option) {
54
+ // For other types, allow only one selection
55
+ this.selectedItem = option;
56
+ console.log(this.selectedItem);
57
+ this.showDropdown = false; // Close the dropdown
58
+ }
40
59
  componentWillLoad() {
60
+ const options = ['NGN', 'USD', 'CAD'];
61
+ if (this.options && this.options.length > 0) {
62
+ this.selectedItem = this.options[0]; // Set the first item as default
63
+ }
64
+ this.options = options;
41
65
  this.loadIcon(this.iconSwap);
42
66
  }
43
67
  componentDidLoad() {
68
+ this.selectedItem = this.options[0];
44
69
  const mainTextSlot = this.el.querySelector('[slot="tooltip_label"]');
45
70
  const supportingTextSlot = this.el.querySelector('[slot="tooltip_supporting_text"]');
46
71
  if (mainTextSlot) {
@@ -51,15 +76,21 @@ export class GbInputField {
51
76
  }
52
77
  }
53
78
  render() {
54
- return (h("div", { key: '99178bdce81a36d046eae9cbb91eafbeb01ecb09', class: `input_container` }, h("div", { key: '33bdabba579ef9c96ff82d41e144ecff593e9e52', class: `input_with_label` }, this.showLabel && h("p", { key: '5de423ad45ecd15cbeb64aa665794d2e4f81af1e', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
55
- h("div", { key: '8823d4d7ebbe73e391ebc11b4ea16c6b8cbdbf67', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '2a04c564ba6def09dd79caebcb16569b304a6c0d', 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: 'e58ab0d984a457adbe162fc8527267e0f86c70d7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '19a971392a39092ddd66e994bc9b872a7f2e7252', 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: '9dbd81de221268bf5e7f3ee9f12a822c17eda547', 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" }))))))),
79
+ return (h("div", { key: '73cf43ed85d7a3621b79a7e50905cda67847bc75', class: `input_container` }, h("div", { key: '8267b6f0269ee86dbd22211f0d4542844d06107b', class: `input_with_label` }, this.showLabel && h("p", { key: '92dcd3d38d63a20b86a7ef8698b087cb464fb905', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
80
+ h("div", { key: 'cab71868ebd77e8740b6f8718337806ace76f14c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '3590086ed297bf7f092a247ab9ef13dba85dfe6c', 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: '25ae35534f73c79de4618a5f715b8caf3db153e7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a431a5f5de415dc89ab3a5535c1f1f291bf9fccd', 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: 'd3d62259834b6430a93a7c103a09b0c885013c39', 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" }))))))),
56
81
  ], this.type === 'icon_leading' && [
57
- h("div", { key: '55cf308347844dec017206e627e0163220382bca', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'fc6934f52e00cd58448c941f50205457873a72c9', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'c0fda6466ea719bf1b9cc929a9d9ae6e783f01ab', 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: '8d67dba3f6e329c43eef8dca6a5beb7ece5ff4ee', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2750918ff9445f1a58e353bd3e176ed4f14e5c9e', 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: 'dd1cbeebf40ba463ea3e1bc3bb6bcf1457bf7fda', 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: 'af889fdf70836570aaa7e338e548d5ea7b91f870', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
58
- ], this.type === 'leading_dropdown' && (h("div", { key: '469fe7758b54fb3c77b010696c8cca2a2e490514', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '73dfc3df236bde4d2a44683366528c7cd5c9f402', class: `leading_dropdown_dropdown` }, h("div", { key: '1caa0295960789f6adddfb66e5bcd44219ba4982', class: `country_icon` }, h("img", { key: 'b1eca51e12a891d97f1c6aec35b7d8bbb0477504', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '4569935d7c80a7c81ba3e028e7dff0d3de5fcbaa', class: `dropdown_text` }, h("p", { key: 'b02642e5e28a4de6380b82949aad8657f1e2d868', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "+234")), h("div", { key: 'f449e67c9f361e06b2840371efa1d905becc1443', class: `dropdown_arrow` }, h("svg", { key: '18b7cf90431d6eae2a9824cf79fcce9093f57b2d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3c7cc624866a1fe93453c0cc1ebfbad29c2a849c', 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: 'ff6cab04f6237b44867bc453bb7159bcbcd63a1a', class: `leading_dropdown_text_input` }, h("input", { key: '2f775099b11ce5e158abe99b02967e8b1d7475e3', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '756219c93c2dfb986fd244b6cbd1083664cf6be9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4b9afbf78325bfe00ec2178ae3d278e131fd126e', 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: 'd9ad3ac8491dece351ee5937072a57482d519c80', 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_dropdown' && (h("div", { key: 'e7548872d184b7e4e834e1ec420a261f3761d93f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e8147c31f3baf37091088e38a3c0a85f96a61659', class: `trailing_dropdown_content` }, h("p", { key: '01e0fa8329711708659f526d0ec9307ee0f7a319', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: 'a4c95a441896715c1bb3148e794ee2e5a9b89324', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showHelpIcon && (h("div", { key: '99799c91c47f6b7f4852043afad60e22b4947203', 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: '8c924c0a2781826fc4359e091dd09c0bc8d208e4', class: `trailing_dropdown_dropdown` }, h("div", { key: 'b74ed99d94628b658e694d25d385a86df0ed1b94', class: `dropdown_text` }, h("p", { key: 'e18d2a63fa90bef10606a61c803dba6f2df5b3a8', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "USD")), h("div", { key: 'c93e880423165a902f1bdb1af0e9e99643458c53', class: `dropdown_arrow` }, h("svg", { key: 'fc701e5988465ce938839db452128ad856b8a327', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '496a1ed25c735c3ec035f00c4bb51bd6d94a8689', 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" })))))), this.type === 'leading_text' && [
59
- h("div", { key: '43b7a9b40ca04239a3c187762e26324ba3b01868', class: "leading_text_input" }, h("div", { key: '2c7a47264c3a7e4691c4cfdd9c32583b56611587', class: `add_on` }, h("p", { key: 'db67befb12613f9bd0138ace448366f93fcc2e2d', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '45e189374110d0796a26f447ed46c72cae2e743f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '8aa6303b9f5c453439fc94d06e8ab8be6bcf31d8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '773bd7bd3093ebf08970b18a932724089b7ebc40', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4b8af1a04f6ec96968208540f88f1f5c04720606', 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: 'fa2da8c3cb1fc7e5d00a287861bf2d7fdd1ecf4b', 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" }))))))),
60
- ], this.type === 'payment_input' && (h("div", { key: 'cf2ea7d7208de105ab80f65a8b58584ccb56207d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'ce864e0ed2f480d920a396cf99f7ea20aea6866f', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '2503f8373e966efd9380ef8bca7d4ab18de4bf7f', "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: '99722bed8e55a7139be913b9b2b7cc1fe111a705', "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: '9090818d988b883d40cf2a76a76b1350092050dc', "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: '2e14ded4f3341ac52a269594968ca1a9cfbcf6a8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '0bd71709179985ea4c60ea8e225481cc987941bb', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b8e611e653b8930bbbbf0601abbe600e6fcba263', 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: '5631cc93e03d46076a241169043b9ab10d2fbe16', 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: '399fe988935723c644fbd864ffaf62449afb2511', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '5ac487dd07405b178d02f3fa4e8a852275b21593', class: `trailing_button_text_input` }, h("input", { key: '36bf1bdd09d39456c5ee51b706269ef829ccc61b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '0d6bb6646dd1e1372295eb963d8d8d458eb6452a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a8f5ebd17c84b22300a3edde5c96b7c217a82099', 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: '52089d01bf2adbb9d1e7387fc6ebe2fbdf3bd14c', 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: '4decc28ef52552a406e4615900bd4397a2edea8b', 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: '12638199feabeb531c62b44b2b684723b102369a', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c076da730431a05a1a7f5052a65d67928546005f', class: `password_content` }, h("input", { key: '91cb2bf476d9bb8215ff0c04f433f454dd4099ed', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '17ca0e5d7040ad234a0119cdeae450cc529507d0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7c45bbf58636b91657b702a38df33c5ed192eac9', 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: '395919cf008b926eeb47e434d9f1b88f74485404', 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: '65bf46b17829350c6f3ae3e1f28f3626a030f593', class: `dropdown` }, h("gb-password-button", { key: 'b84265b5262fe05e12f9d65ee30a51dbc48c83e2', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '3e4001ec57b26d38dcd5c3bc4efcb3646eabc5bc', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'add28606305ec22232ca7034bf0c1a76b638c88a', class: `password_icon_leading_content` }, h("svg", { key: '8bf956f4f95d0597359205f2dab1d56deb9b98ae', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'bc50e87b095faa9c16bfcb497ab2946265a112d7', 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: 'b51d3bd720ffd4c9663c69f566f8de553ff77570', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' })), this.showValidation && !this.destructive && (h("svg", { key: '79bd73cad5e5d24d79b23d9b495c77cc1cc86978', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'db1cc5f5d4b266793a67476340918f6ec1964b82', 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: '222abd2e9a5a659f49ed9e032a5970a2e5424c1c', 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: 'e8b399ae892355092d2187565cf38820fb29190b', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
61
- h("div", { key: 'a53265618b5934297f1fd96f92a7b4a10018e23f', class: `count_input` }, h("div", { key: '017170502a84cec06365ae12cd7ec32634203192', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '7db2866b37dbae83580983df092cf3034a41f3d9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showHelpIcon && (h("div", { key: 'cc1d1c8566d4129ed65cc50e97178c2ee609c703', 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: 'f89ba639b25c0d618fa704889880216535fd6aa8', class: `action ${this.state}` }, h("gb-button", { key: '721a99f5bc6395e3676f4533e883b20b1c81e7a9', 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: 'c8cd1d1b56a62ac90c2ef48e609dcc32868cd508' }), h("gb-button", { key: '19a7e7a19e25b95cd8c97a7b41ba12616fad4203', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
62
- ]), this.showHintText && h("p", { key: 'f47b9ac5f6c519d999839fb5089c6b56f2eed7d0', class: "hint_text text-sm-regular" }, this.hintText)));
82
+ h("div", { key: 'ae7392ad0823ffbab60598d9d39405cda61882ae', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6317869ef015b8de306010a2e95b68d2d22e0858', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'ec29bc5432ffe487bfa2b6b48f2377480a9371ef', 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: 'aa500f40cb1de4407a2a6afcf0e25e06ee4310b0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4117707706b44920f00924a82ce475b3d9599c75', 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: '5783fd1d20c296a19bdad539e2539faf3174eca7', 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: '9942674e168ad2bf3fdeceb59e8a87470ef1902c', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
83
+ ], this.type === 'leading_dropdown' && [
84
+ h("div", { key: 'c468ad2dfc68d1b63eefc78cc9f9e7db70886a63', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a90c95906ff4e85e2e45149f315f4a154f61319e', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '3eb49d8aa7495902300043acd74727ee3c2f43e3', class: `country_icon` }, h("img", { key: '16607377d33de605ddc834e3a8bac13fce91f421', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '3dd2b001dd232e7d8e9581dce76f0c688fc0a1c0', class: `dropdown_text` }, h("p", { key: '6cc2d36dacdf2479a36d5e2f8b0d8a4167eeb45b', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '82ef948826196d43af01700f3533278d5a6cc5a0', class: `dropdown_arrow` }, h("svg", { key: '8ab36c2875838e75febdf6174c6c3e6895865462', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '15df006d18be0fd023ba5f91cc6802359004737b', 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: '7498b7a6a760e4e5a30b8738c870cb3be8e7d1c4', class: `leading_dropdown_text_input` }, h("input", { key: 'd05856591ee8d930065f386a351fe6409a143ee4', 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: '121d248af3b2c3c48d9e72b3b3e94489a5b5c787', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '6cd01542130c24f4be501132fea89f5637ba35a7', 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: '825320996a30f837a2f25a521bc6ebde1396688b', 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: '4c294c5f27cd1dcf08397b1a1e8c214b962b0e0b', 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))))))),
86
+ ], this.type === 'trailing_dropdown' && [
87
+ h("div", { key: '5b824816a7eebe8dd8c156d5a99f184787565f13', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'dea63bf10879ec7ddb1b829300f2195bfbf93917', class: `trailing_dropdown_content` }, h("p", { key: '72643ffe28b2ce820e5cc7c77fbdd6ad2d50558e', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '10d65cc063d8bb43ab33f2a1f687b5dd28cc642a', 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: '94f439ce848e27931615d0c8896c3ff5ecc319d2', 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: '7d64f28092b5af3f2720c37fd80a9416fec30e59', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '8cb2a5762cc8e6bc33035e0fd744cd9c2318dbd7', class: `dropdown_text` }, h("p", { key: '7da89a1705d9762654110b96f48fb4d27e36d2f7', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '0a576f66aa88f5c544efc5bc42db7ad9cfbc2513', class: `dropdown_arrow` }, h("svg", { key: '595c8b922d914fcd080e47733baf8bb0df4a76e0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'be866adfee9dd9839360c4aeebe8422b4f800c72', 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: '76db0531fde99f6ca5beb9eb0784b14963f0c746', 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))))))),
89
+ ], this.type === 'leading_text' && [
90
+ h("div", { key: '143fde212c9e649c10fbcdca13bde7ebeebae977', class: "leading_text_input" }, h("div", { key: '5715043d3d9be52a061440790462712b4bfb4122', class: `add_on` }, h("p", { key: 'd9b2f37c08f24a9e3d8a93581d337685959a2e0b', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: 'abf2f0eab31d1a8643e9b85583101760344b4ddb', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '6bdb9ffc9a4862427ad38d7fc6db359a39008326', 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: '62fece38b5890660e27fcad0545fb54646b9ec75', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '829d550b6fcf3e58ca0c2b8fea67c505c57440d8', 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: 'e9f0cc2c8186d0c5ed3e42d6665d67aff9f82a45', 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: '5d656af11fbe240e62aaa5a93df67d67be57a2d3', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '3b7705c2c7efa1433929fc767c5e276200c719b1', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'ea2c83d0dcf775d09e1f18d800d4d8f260ea1bc5', "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: '140e7bbacfdbb519cda87b8cd6a9fa27a342f365', "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: '10a2c8bb39d2b66f510f0d994a78e5578a324e03', "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: 'a73be62a50b95b34034bb8cc366187cfaa0436f2', 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: 'a670216dbf558144a7315e80fb8e5040c6542232', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '012357ad52a023042ec4f0219f508e9d7d841085', 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: '25b524b03579aeffaeddc843f12f951bfbfaa1a9', 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: '2703c2d1d2501cd8dddc4b9eac534566c834aba7', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '52dc31695327e0cd71230084cffe74f51db392bc', class: `trailing_button_text_input` }, h("input", { key: '12d6c8e4ff0c90cfb3055e9e1283ffd7e79011a4', 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: 'e30a099c5689944b8b333e14fe09c89efe11ea23', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5223a45360b435c6fc6e53c221aa60048fb5a42a', 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: '6cc0d66d69d2e18582e00b90ac88175860adbbe3', 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: 'ad86156f67069ca4cc34ff3765d7b76cd43820f7', 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: '8567b525848a8a2b099dfcf1206a93f0b9c24ec9', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '003aa4ccefccfa015850fd76d509812ea61e1c7c', class: `password_content` }, h("input", { key: '24ab5fc44515c2bbb056c9831f58f052e5981606', 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: '86d8de43b4c7579added2fea377a8b329efd1411', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f074add09a701fc67c2237fd2f3740e98ef3e52f', 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: '8d6d1c9198a9a33613181e5014f02eb011920404', 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: '6714df984ccab9a8703c5ba720bce2bccf25d2df', class: `dropdown` }, h("gb-password-button", { key: 'a9a4673bee88efb92b86ff06bd23a137ca7ac0ee', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'ec32c6b7b361d98c8f4ab9557e810e8cba119b20', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '696b92d694fac1ea15540ef8bbf666200f237524', class: `password_icon_leading_content` }, h("svg", { key: 'cd9bf83e0b4c86c9ed2ec43a4e51484f876b4bfe', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '22de31e5cf23c9b39682d19df3f86b35aca94a34', 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: 'a041d36cc5546393be1a8053bd698a1eb474ec69', 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: 'cafbcc8283c52d55cfb1d87668e7a0df98339787', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '6918fcabefab211d88a20009299b59cad36c0699', 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: '2e5fcdae5ccf849b21328e5a00d573a79f891ee3', 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: '7917d2dedfb3c599410e5b11ca5d9fa709d7b1d3', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
92
+ h("div", { key: '2376e841c601f9f4da755433d9efa74a9ac0f310', class: `count_input` }, h("div", { key: '2df90105ee1b313d8826adcf9d54ce04f284d987', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '6109f0962d4527e71778b605dad315321e6aebb7', 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: '140caa5dbcb4b03d592630778c196dfd9c5b322c', 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: 'cb88e7491ce345246f70c6cca86c215e2b7c3286', class: `action ${this.state}` }, h("gb-button", { key: 'bd66f2719ca99fe8333c27ece90a5b39ab445577', 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: '56b15b939392aa0c77a98eaae9ef19e1914f646b' }), h("gb-button", { key: 'd5b5e600addd6e9e88d7fd254d170e96493c86a5', 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: '702d9be05ee3810d088a8c0ff6f6ceaed9181054', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '880f7f9be74263256e026c5fcaace80a516f163b', 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: '881da223032a9ef428faf2df653e4bddee34e1ef', class: "hint_text text-sm-regular" }, this.hintText)));
63
94
  }
64
95
  static get is() { return "gb-input-field"; }
65
96
  static get encapsulation() { return "shadow"; }
@@ -352,6 +383,22 @@ export class GbInputField {
352
383
  "attribute": "show-close-button",
353
384
  "reflect": false,
354
385
  "defaultValue": "false"
386
+ },
387
+ "options": {
388
+ "type": "unknown",
389
+ "mutable": true,
390
+ "complexType": {
391
+ "original": "string[]",
392
+ "resolved": "string[]",
393
+ "references": {}
394
+ },
395
+ "required": false,
396
+ "optional": false,
397
+ "docs": {
398
+ "tags": [],
399
+ "text": ""
400
+ },
401
+ "defaultValue": "[]"
355
402
  }
356
403
  };
357
404
  }
@@ -360,7 +407,9 @@ export class GbInputField {
360
407
  "inputValue": {},
361
408
  "tags": {},
362
409
  "leadingIconSvg": {},
363
- "isPasswordVisible": {}
410
+ "isPasswordVisible": {},
411
+ "showDropdown": {},
412
+ "selectedItem": {}
364
413
  };
365
414
  }
366
415
  static get events() {
@@ -380,8 +429,8 @@ export class GbInputField {
380
429
  "references": {}
381
430
  }
382
431
  }, {
383
- "method": "valueChanged",
384
- "name": "valueChanged",
432
+ "method": "inputValueChanged",
433
+ "name": "inputValueChanged",
385
434
  "bubbles": true,
386
435
  "cancelable": true,
387
436
  "composed": true,
@@ -397,5 +446,11 @@ export class GbInputField {
397
446
  }];
398
447
  }
399
448
  static get elementRef() { return "el"; }
449
+ static get watchers() {
450
+ return [{
451
+ "propName": "options",
452
+ "methodName": "optionsChanged"
453
+ }];
454
+ }
400
455
  }
401
456
  //# sourceMappingURL=gb-input-field.js.map