globuswebcomponents 0.3.9 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (450) hide show
  1. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  3. package/dist/cjs/{gb-avatar_30.cjs.entry.js → gb-avatar_32.cjs.entry.js} +118 -53
  4. package/dist/cjs/gb-avatar_32.cjs.entry.js.map +1 -0
  5. package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-checkbox.cjs.entry.js +2 -2
  7. package/dist/cjs/gb-checkbox.cjs.entry.js.map +1 -1
  8. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +2 -2
  9. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
  10. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-file-upload.cjs.entry.js +9 -9
  12. package/dist/cjs/gb-help-dropdown.cjs.entry.js +2 -2
  13. package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
  14. package/dist/cjs/gb-input-dropdown-menu-item.cjs.entry.js +2 -2
  15. package/dist/cjs/gb-megainput-field.cjs.entry.js +21 -2
  16. package/dist/cjs/gb-megainput-field.cjs.entry.js.map +1 -1
  17. package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
  18. package/dist/cjs/gb-notification-content.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gb-notification-panel.cjs.entry.js +2 -2
  20. package/dist/cjs/gb-notification-panel.cjs.entry.js.map +1 -1
  21. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  22. package/dist/cjs/gb-pagination-number-base.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  25. package/dist/cjs/gb-rich-text.cjs.entry.js +34 -0
  26. package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -0
  27. package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
  28. package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
  29. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
  30. package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +1 -1
  31. package/dist/cjs/gb-slider.cjs.entry.js +2 -2
  32. package/dist/cjs/gb-slider.cjs.entry.js.map +1 -1
  33. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +11 -8
  34. package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +1 -1
  35. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  36. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  37. package/dist/cjs/{gb-input-field.cjs.entry.js → gb-token-field.cjs.entry.js} +12 -26
  38. package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -0
  39. package/dist/cjs/gb-verification-code-field.cjs.entry.js +32 -0
  40. package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +1 -0
  41. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +9 -5
  42. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
  43. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +33 -0
  44. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -0
  45. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +28 -0
  46. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js.map +1 -0
  47. package/dist/cjs/globuscomponents.cjs.js +1 -1
  48. package/dist/cjs/loader.cjs.js +1 -1
  49. package/dist/collection/assets/cancel-button.svg +3 -0
  50. package/dist/collection/assets/copy.svg +3 -0
  51. package/dist/collection/assets/minus_sign.svg +3 -0
  52. package/dist/collection/assets/plus_sign.svg +3 -0
  53. package/dist/collection/collection-manifest.json +8 -2
  54. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +52 -1
  55. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js +65 -3
  56. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js.map +1 -1
  57. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2149 -0
  58. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js +223 -0
  59. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js.map +1 -0
  60. package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js +65 -0
  61. package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js.map +1 -0
  62. package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.tsx +43 -0
  63. package/dist/collection/components/gb-avatar/gb-avatar.js +1 -1
  64. package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js +1 -1
  65. package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js +1 -1
  66. package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +1 -1
  67. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +1 -1
  68. package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js +1 -1
  69. package/dist/collection/components/gb-badge-close/gb-badge-close.js +1 -1
  70. package/dist/collection/components/gb-badges/gb-badges.js +1 -1
  71. package/dist/collection/components/gb-btn/gb-btn.js +1 -1
  72. package/dist/collection/components/gb-button/gb-button.js +1 -1
  73. package/dist/collection/components/gb-button/readme.md +6 -4
  74. package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
  75. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
  76. package/dist/collection/components/gb-checkbox/gb-checkbox.css +1 -1
  77. package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
  78. package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
  79. package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
  80. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +1 -2
  81. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js.map +1 -1
  82. package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
  83. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +1 -1
  84. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  85. package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
  86. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  87. package/dist/collection/components/gb-header/gb-header.js +4 -2
  88. package/dist/collection/components/gb-header/gb-header.js.map +1 -1
  89. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  90. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +5 -1
  91. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  92. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +13 -3
  93. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
  94. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +2 -2
  95. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu.js +2 -2
  96. package/dist/collection/components/gb-input-field/gb-input-field.css +1193 -430
  97. package/dist/collection/components/gb-input-field/gb-input-field.js +161 -33
  98. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  99. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +82 -38
  100. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +42 -1
  101. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js.map +1 -1
  102. package/dist/collection/components/gb-notification-content/gb-notification-content.css +1 -1
  103. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  104. package/dist/collection/components/gb-notification-panel/gb-notification-panel.css +1 -1
  105. package/dist/collection/components/gb-notification-panel/gb-notification-panel.js +1 -1
  106. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  107. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  108. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  109. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  110. package/dist/collection/components/gb-password-button/gb-password-button.css +2159 -0
  111. package/dist/collection/components/gb-password-button/gb-password-button.js +58 -0
  112. package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -0
  113. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  114. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  115. package/dist/collection/components/gb-rich-text/gb-rich-text.css +2149 -0
  116. package/dist/collection/components/gb-rich-text/gb-rich-text.js +173 -0
  117. package/dist/collection/components/gb-rich-text/gb-rich-text.js.map +1 -0
  118. package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +1 -1
  119. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  120. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +3 -1
  121. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js.map +1 -1
  122. package/dist/collection/components/gb-sidebar/gb-sidebar.css +1 -1
  123. package/dist/collection/components/gb-sidebar/gb-sidebar.js +6 -1
  124. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  125. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +1 -1
  126. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  127. package/dist/collection/components/gb-sliders/slider.css +1 -1
  128. package/dist/collection/components/gb-sliders/slider.js +1 -1
  129. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  130. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -10
  131. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +1 -1
  132. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +1 -1
  133. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  134. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  135. package/dist/collection/components/{gb-tagcount → gb-tag-count}/gb-tag-count.css +1 -1
  136. package/dist/collection/components/{gb-tagcount → gb-tag-count}/gb-tag-count.js +1 -1
  137. package/dist/collection/components/gb-tag-count/gb-tag-count.js.map +1 -0
  138. package/dist/collection/components/gb-tags/gb-tags.css +1 -1
  139. package/dist/collection/components/gb-tags/gb-tags.js +1 -1
  140. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +97 -9
  141. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +1 -1
  142. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  143. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  144. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  145. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  146. package/dist/collection/components/gb-token-field/gb-token-field.css +2149 -0
  147. package/dist/collection/components/gb-token-field/gb-token-field.js +141 -0
  148. package/dist/collection/components/gb-token-field/gb-token-field.js.map +1 -0
  149. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  150. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2174 -0
  151. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +145 -0
  152. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js.map +1 -0
  153. package/dist/collection/global/typo.css +1 -1
  154. package/dist/components/gb-avatar-add-button.js +1 -1
  155. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  156. package/dist/components/gb-avatar-dropdown.js +7 -7
  157. package/dist/components/gb-avatar-group.js +6 -6
  158. package/dist/components/gb-avatar-label-group.js +1 -1
  159. package/dist/components/gb-avatar-profile-photo.js +4 -4
  160. package/dist/components/gb-avatar.js +1 -1
  161. package/dist/components/gb-badge-close.js +1 -1
  162. package/dist/components/gb-badge.js +1 -1
  163. package/dist/components/gb-btn.js +1 -112
  164. package/dist/components/gb-btn.js.map +1 -1
  165. package/dist/components/gb-button-close.js +1 -1
  166. package/dist/components/gb-button.js +1 -1
  167. package/dist/components/gb-carousel-arrow.js +1 -1
  168. package/dist/components/gb-checkbox-base.js +1 -1
  169. package/dist/components/gb-checkbox-group-item.js +6 -7
  170. package/dist/components/gb-checkbox-group-item.js.map +1 -1
  171. package/dist/components/gb-checkbox-group.js +1 -1
  172. package/dist/components/gb-checkbox.js +1 -1
  173. package/dist/components/gb-collapse-button.js +1 -1
  174. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  175. package/dist/components/gb-file-upload-item-base.js +1 -1
  176. package/dist/components/gb-file-upload.js +14 -14
  177. package/dist/components/gb-header-icon.js +1 -1
  178. package/dist/components/gb-header.js +8 -6
  179. package/dist/components/gb-header.js.map +1 -1
  180. package/dist/components/gb-help-dropdown.js +5 -5
  181. package/dist/components/gb-help-dropdown.js.map +1 -1
  182. package/dist/components/gb-horizontal-tabs.js +19 -9
  183. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  184. package/dist/components/gb-input-dropdown-menu-item.js +7 -7
  185. package/dist/components/gb-input-dropdown.js +1 -87
  186. package/dist/components/gb-input-dropdown.js.map +1 -1
  187. package/dist/components/gb-input-field.js +51 -24
  188. package/dist/components/gb-input-field.js.map +1 -1
  189. package/dist/components/gb-megainput-field.js +1 -33
  190. package/dist/components/gb-megainput-field.js.map +1 -1
  191. package/dist/components/gb-notification-content.js +2 -2
  192. package/dist/components/gb-notification-content.js.map +1 -1
  193. package/dist/components/gb-notification-panel.js +2 -2
  194. package/dist/components/gb-notification-panel.js.map +1 -1
  195. package/dist/components/gb-pagination-button-group-base.js +1 -1
  196. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  197. package/dist/components/gb-pagination-number-base.js +1 -1
  198. package/dist/components/gb-pagination.js +2 -2
  199. package/dist/components/gb-password-button.d.ts +11 -0
  200. package/dist/components/gb-password-button.js +8 -0
  201. package/dist/components/gb-password-button.js.map +1 -0
  202. package/dist/components/gb-progress-bar.js +1 -1
  203. package/dist/components/gb-progress-circle.js +1 -1
  204. package/dist/components/gb-rich-text.d.ts +11 -0
  205. package/dist/components/gb-rich-text.js +94 -0
  206. package/dist/components/gb-rich-text.js.map +1 -0
  207. package/dist/components/gb-scrollbar.js +2 -2
  208. package/dist/components/gb-scrollbar.js.map +1 -1
  209. package/dist/components/gb-side-bar-item.js +1 -1
  210. package/dist/components/gb-sidebar.js +15 -10
  211. package/dist/components/gb-sidebar.js.map +1 -1
  212. package/dist/components/gb-slider-control-handle.js +1 -1
  213. package/dist/components/gb-slider.js +4 -4
  214. package/dist/components/gb-slider.js.map +1 -1
  215. package/dist/components/gb-status-indicator.js +1 -1
  216. package/dist/components/gb-tab-button-base.js +1 -1
  217. package/dist/components/gb-tag-checkbox.js +1 -1
  218. package/dist/components/gb-tag-close.js +1 -1
  219. package/dist/components/gb-tag-count.js +1 -1
  220. package/dist/components/gb-tag.js +8 -8
  221. package/dist/components/gb-tag.js.map +1 -1
  222. package/dist/components/gb-textarea-input-field.js +17 -9
  223. package/dist/components/gb-textarea-input-field.js.map +1 -1
  224. package/dist/components/gb-toast-button.js +1 -1
  225. package/dist/components/gb-toast.js +4 -4
  226. package/dist/components/gb-toggle-base.js +1 -1
  227. package/dist/components/gb-toggle.js +2 -2
  228. package/dist/components/gb-token-field.d.ts +11 -0
  229. package/dist/components/gb-token-field.js +56 -0
  230. package/dist/components/gb-token-field.js.map +1 -0
  231. package/dist/components/gb-tooltip.js +1 -1
  232. package/dist/components/gb-verification-code-field.d.ts +11 -0
  233. package/dist/components/gb-verification-code-field.js +60 -0
  234. package/dist/components/gb-verification-code-field.js.map +1 -0
  235. package/dist/components/gb-wysiwyg-editor-icon.js +1 -33
  236. package/dist/components/gb-wysiwyg-editor-icon.js.map +1 -1
  237. package/dist/components/gb-wysiwyg-toolbar.d.ts +11 -0
  238. package/dist/components/gb-wysiwyg-toolbar.js +8 -0
  239. package/dist/components/gb-wysiwyg-toolbar.js.map +1 -0
  240. package/dist/components/gb-wysiwyg-tooltip.d.ts +11 -0
  241. package/dist/components/gb-wysiwyg-tooltip.js +52 -0
  242. package/dist/components/gb-wysiwyg-tooltip.js.map +1 -0
  243. package/dist/components/{p-12322f66.js → p-01a43936.js} +5 -5
  244. package/dist/components/{p-12322f66.js.map → p-01a43936.js.map} +1 -1
  245. package/dist/components/{p-f8571b98.js → p-1ba1c138.js} +5 -5
  246. package/dist/components/{p-f8571b98.js.map → p-1ba1c138.js.map} +1 -1
  247. package/dist/components/p-24c9f72a.js +58 -0
  248. package/dist/components/p-24c9f72a.js.map +1 -0
  249. package/dist/components/{p-837365c7.js → p-2522e0e6.js} +4 -4
  250. package/dist/components/{p-837365c7.js.map → p-2522e0e6.js.map} +1 -1
  251. package/dist/components/p-2729bc71.js +91 -0
  252. package/dist/components/p-2729bc71.js.map +1 -0
  253. package/dist/components/{p-b641c4fb.js → p-2764bda5.js} +3 -3
  254. package/dist/components/{p-b641c4fb.js.map → p-2764bda5.js.map} +1 -1
  255. package/dist/components/{p-3d701766.js → p-31e9f7cb.js} +2 -2
  256. package/dist/components/{p-3d701766.js.map → p-31e9f7cb.js.map} +1 -1
  257. package/dist/components/{p-c4acf10a.js → p-4979942e.js} +6 -6
  258. package/dist/components/{p-c4acf10a.js.map → p-4979942e.js.map} +1 -1
  259. package/dist/components/{p-9a07bbad.js → p-4c21ca28.js} +2 -2
  260. package/dist/components/{p-9a07bbad.js.map → p-4c21ca28.js.map} +1 -1
  261. package/dist/components/{p-5f271172.js → p-53e70aeb.js} +9 -16
  262. package/dist/components/p-53e70aeb.js.map +1 -0
  263. package/dist/components/{p-51e2668d.js → p-57b94005.js} +3 -3
  264. package/dist/components/{p-51e2668d.js.map → p-57b94005.js.map} +1 -1
  265. package/dist/components/{p-21fecbde.js → p-5fbe4056.js} +2 -2
  266. package/dist/components/{p-21fecbde.js.map → p-5fbe4056.js.map} +1 -1
  267. package/dist/components/{p-883f5915.js → p-61d2acff.js} +5 -5
  268. package/dist/components/{p-883f5915.js.map → p-61d2acff.js.map} +1 -1
  269. package/dist/components/{p-cdd31473.js → p-6b9ae561.js} +4 -4
  270. package/dist/components/{p-cdd31473.js.map → p-6b9ae561.js.map} +1 -1
  271. package/dist/components/{p-1827cb1a.js → p-763387fe.js} +5 -5
  272. package/dist/components/{p-1827cb1a.js.map → p-763387fe.js.map} +1 -1
  273. package/dist/components/{p-aab9eb10.js → p-7df674ca.js} +3 -3
  274. package/dist/components/{p-aab9eb10.js.map → p-7df674ca.js.map} +1 -1
  275. package/dist/components/p-824a17f3.js +45 -0
  276. package/dist/components/p-824a17f3.js.map +1 -0
  277. package/dist/components/{p-5ca81eb7.js → p-84661af1.js} +6 -6
  278. package/dist/components/{p-5ca81eb7.js.map → p-84661af1.js.map} +1 -1
  279. package/dist/components/{p-6bc16ba5.js → p-88687162.js} +2 -2
  280. package/dist/components/{p-6bc16ba5.js.map → p-88687162.js.map} +1 -1
  281. package/dist/components/{p-7c00ed41.js → p-8963e7ee.js} +10 -8
  282. package/dist/components/p-8963e7ee.js.map +1 -0
  283. package/dist/components/{p-578443b7.js → p-9317b000.js} +3 -3
  284. package/dist/components/p-9317b000.js.map +1 -0
  285. package/dist/components/p-95d013c6.js +116 -0
  286. package/dist/components/p-95d013c6.js.map +1 -0
  287. package/dist/components/{p-ad0c1ea8.js → p-9b867eac.js} +3 -3
  288. package/dist/components/{p-ad0c1ea8.js.map → p-9b867eac.js.map} +1 -1
  289. package/dist/components/{p-30b12163.js → p-a5850f8c.js} +2 -2
  290. package/dist/components/{p-30b12163.js.map → p-a5850f8c.js.map} +1 -1
  291. package/dist/components/{p-fdf0b922.js → p-b0d34887.js} +2 -2
  292. package/dist/components/{p-fdf0b922.js.map → p-b0d34887.js.map} +1 -1
  293. package/dist/components/p-c0ec5975.js +87 -0
  294. package/dist/components/p-c0ec5975.js.map +1 -0
  295. package/dist/components/{p-8a964b82.js → p-d9de678f.js} +2 -2
  296. package/dist/components/{p-8a964b82.js.map → p-d9de678f.js.map} +1 -1
  297. package/dist/components/p-e1f1a988.js +54 -0
  298. package/dist/components/p-e1f1a988.js.map +1 -0
  299. package/dist/components/{p-925f37a4.js → p-e42cad12.js} +4 -4
  300. package/dist/components/{p-925f37a4.js.map → p-e42cad12.js.map} +1 -1
  301. package/dist/components/{p-337ee2c8.js → p-e7e9af72.js} +2 -2
  302. package/dist/components/{p-337ee2c8.js.map → p-e7e9af72.js.map} +1 -1
  303. package/dist/components/{p-63fbf5d6.js → p-fc8afe63.js} +2 -2
  304. package/dist/components/{p-63fbf5d6.js.map → p-fc8afe63.js.map} +1 -1
  305. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  306. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  307. package/dist/esm/{gb-avatar_30.entry.js → gb-avatar_32.entry.js} +117 -54
  308. package/dist/esm/gb-avatar_32.entry.js.map +1 -0
  309. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  310. package/dist/esm/gb-checkbox.entry.js +2 -2
  311. package/dist/esm/gb-checkbox.entry.js.map +1 -1
  312. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +2 -2
  313. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
  314. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  315. package/dist/esm/gb-file-upload.entry.js +9 -9
  316. package/dist/esm/gb-help-dropdown.entry.js +2 -2
  317. package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
  318. package/dist/esm/gb-input-dropdown-menu-item.entry.js +2 -2
  319. package/dist/esm/gb-megainput-field.entry.js +22 -3
  320. package/dist/esm/gb-megainput-field.entry.js.map +1 -1
  321. package/dist/esm/gb-notification-content.entry.js +2 -2
  322. package/dist/esm/gb-notification-content.entry.js.map +1 -1
  323. package/dist/esm/gb-notification-panel.entry.js +2 -2
  324. package/dist/esm/gb-notification-panel.entry.js.map +1 -1
  325. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  326. package/dist/esm/gb-pagination-number-base.entry.js +1 -1
  327. package/dist/esm/gb-progress-bar.entry.js +1 -1
  328. package/dist/esm/gb-progress-circle.entry.js +1 -1
  329. package/dist/esm/gb-rich-text.entry.js +30 -0
  330. package/dist/esm/gb-rich-text.entry.js.map +1 -0
  331. package/dist/esm/gb-scrollbar.entry.js +2 -2
  332. package/dist/esm/gb-scrollbar.entry.js.map +1 -1
  333. package/dist/esm/gb-slider-control-handle.entry.js +2 -2
  334. package/dist/esm/gb-slider-control-handle.entry.js.map +1 -1
  335. package/dist/esm/gb-slider.entry.js +2 -2
  336. package/dist/esm/gb-slider.entry.js.map +1 -1
  337. package/dist/esm/gb-textarea-input-field.entry.js +11 -8
  338. package/dist/esm/gb-textarea-input-field.entry.js.map +1 -1
  339. package/dist/esm/gb-toggle-base.entry.js +2 -2
  340. package/dist/esm/gb-toggle.entry.js +1 -1
  341. package/dist/esm/{gb-input-field.entry.js → gb-token-field.entry.js} +13 -27
  342. package/dist/esm/gb-token-field.entry.js.map +1 -0
  343. package/dist/esm/gb-verification-code-field.entry.js +28 -0
  344. package/dist/esm/gb-verification-code-field.entry.js.map +1 -0
  345. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +9 -5
  346. package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
  347. package/dist/esm/gb-wysiwyg-toolbar.entry.js +29 -0
  348. package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -0
  349. package/dist/esm/gb-wysiwyg-tooltip.entry.js +24 -0
  350. package/dist/esm/gb-wysiwyg-tooltip.entry.js.map +1 -0
  351. package/dist/esm/globuscomponents.js +1 -1
  352. package/dist/esm/loader.js +1 -1
  353. package/dist/globuscomponents/assets/cancel-button.svg +3 -0
  354. package/dist/globuscomponents/assets/copy.svg +3 -0
  355. package/dist/globuscomponents/assets/minus_sign.svg +3 -0
  356. package/dist/globuscomponents/assets/plus_sign.svg +3 -0
  357. package/dist/globuscomponents/global/typo.css +1 -1
  358. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  359. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  360. package/dist/globuscomponents/{p-3ea96652.entry.js → p-01b163c6.entry.js} +2 -2
  361. package/dist/globuscomponents/{p-35adb7dc.entry.js → p-04ca94bb.entry.js} +2 -2
  362. package/dist/globuscomponents/p-04ca94bb.entry.js.map +1 -0
  363. package/dist/globuscomponents/{p-bd5d5134.entry.js → p-04d04d5a.entry.js} +2 -2
  364. package/dist/globuscomponents/p-0638166b.entry.js +2 -0
  365. package/dist/globuscomponents/{p-9e4b037a.entry.js.map → p-0638166b.entry.js.map} +1 -1
  366. package/dist/globuscomponents/p-173cf34c.entry.js +2 -0
  367. package/dist/globuscomponents/p-173cf34c.entry.js.map +1 -0
  368. package/dist/globuscomponents/{p-d5d413ce.entry.js → p-18daffd5.entry.js} +2 -2
  369. package/dist/globuscomponents/{p-b8fb116a.entry.js → p-19d2f500.entry.js} +2 -2
  370. package/dist/globuscomponents/{p-50462ff8.entry.js → p-342531d5.entry.js} +2 -2
  371. package/dist/globuscomponents/{p-d120830e.entry.js → p-355ee2b7.entry.js} +2 -2
  372. package/dist/globuscomponents/p-38ddb08d.entry.js +2 -0
  373. package/dist/globuscomponents/{p-fc232e79.entry.js.map → p-38ddb08d.entry.js.map} +1 -1
  374. package/dist/globuscomponents/{p-03237e7b.entry.js → p-3bfd70d1.entry.js} +2 -2
  375. package/dist/globuscomponents/p-435d5445.entry.js +2 -0
  376. package/dist/globuscomponents/p-435d5445.entry.js.map +1 -0
  377. package/dist/globuscomponents/{p-9d48138c.entry.js → p-4e99fdd9.entry.js} +2 -2
  378. package/dist/globuscomponents/{p-c61a9239.entry.js → p-4f6eebab.entry.js} +2 -2
  379. package/dist/globuscomponents/p-4f6eebab.entry.js.map +1 -0
  380. package/dist/globuscomponents/{p-db1ff54c.entry.js → p-5479adcd.entry.js} +2 -2
  381. package/dist/globuscomponents/{p-9e99ab9c.entry.js → p-61836d01.entry.js} +2 -2
  382. package/dist/globuscomponents/{p-9e99ab9c.entry.js.map → p-61836d01.entry.js.map} +1 -1
  383. package/dist/globuscomponents/{p-71499239.entry.js → p-64588b88.entry.js} +2 -2
  384. package/dist/globuscomponents/{p-5a2196b5.entry.js → p-6be1f290.entry.js} +2 -2
  385. package/dist/globuscomponents/{p-5a2196b5.entry.js.map → p-6be1f290.entry.js.map} +1 -1
  386. package/dist/globuscomponents/{p-9e4b037a.entry.js → p-87664bb3.entry.js} +2 -2
  387. package/dist/globuscomponents/p-87664bb3.entry.js.map +1 -0
  388. package/dist/globuscomponents/p-8b29407e.entry.js +2 -0
  389. package/dist/globuscomponents/{p-7226b570.entry.js → p-9d5dfa56.entry.js} +2 -2
  390. package/dist/globuscomponents/{p-7226b570.entry.js.map → p-9d5dfa56.entry.js.map} +1 -1
  391. package/dist/globuscomponents/p-a8cbbe95.entry.js +2 -0
  392. package/dist/globuscomponents/p-a8cbbe95.entry.js.map +1 -0
  393. package/dist/globuscomponents/{p-58e27fb1.entry.js → p-a947e6f1.entry.js} +2 -2
  394. package/dist/globuscomponents/{p-21430c20.entry.js → p-cd91a716.entry.js} +2 -2
  395. package/dist/globuscomponents/p-cd91a716.entry.js.map +1 -0
  396. package/dist/globuscomponents/p-e42029f1.entry.js +2 -0
  397. package/dist/globuscomponents/p-e42029f1.entry.js.map +1 -0
  398. package/dist/globuscomponents/{p-7a831b7e.entry.js → p-e6412bc1.entry.js} +2 -2
  399. package/dist/globuscomponents/p-e6412bc1.entry.js.map +1 -0
  400. package/dist/globuscomponents/{p-168d0d14.entry.js → p-e8c4960e.entry.js} +2 -2
  401. package/dist/globuscomponents/{p-168d0d14.entry.js.map → p-e8c4960e.entry.js.map} +1 -1
  402. package/dist/globuscomponents/{p-9ce274b1.entry.js → p-ea10b389.entry.js} +2 -2
  403. package/dist/globuscomponents/{p-9ce274b1.entry.js.map → p-ea10b389.entry.js.map} +1 -1
  404. package/dist/globuscomponents/p-f9619e08.entry.js +2 -0
  405. package/dist/globuscomponents/p-f9619e08.entry.js.map +1 -0
  406. package/dist/globuscomponents/readme.md +6 -4
  407. package/dist/types/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.d.ts +3 -1
  408. package/dist/types/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.d.ts +14 -0
  409. package/dist/types/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.d.ts +5 -0
  410. package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +1 -1
  411. package/dist/types/components/gb-input-field/gb-input-field.d.ts +13 -6
  412. package/dist/types/components/gb-megainput-field-base/gb-megainput-field.d.ts +4 -0
  413. package/dist/types/components/gb-password-button/gb-password-button.d.ts +7 -0
  414. package/dist/types/components/gb-rich-text/gb-rich-text.d.ts +11 -0
  415. package/dist/types/components/gb-textarea-input-field/gb-textarea-input-field.d.ts +7 -2
  416. package/dist/types/components/gb-token-field/gb-token-field.d.ts +10 -0
  417. package/dist/types/components/gb-verification-code-field/gb-verification-code-field.d.ts +10 -0
  418. package/dist/types/components.d.ts +191 -11
  419. package/package.json +1 -1
  420. package/dist/cjs/gb-avatar_30.cjs.entry.js.map +0 -1
  421. package/dist/cjs/gb-input-field.cjs.entry.js.map +0 -1
  422. package/dist/collection/components/gb-tagcount/gb-tag-count.js.map +0 -1
  423. package/dist/components/p-578443b7.js.map +0 -1
  424. package/dist/components/p-5f271172.js.map +0 -1
  425. package/dist/components/p-7c00ed41.js.map +0 -1
  426. package/dist/esm/gb-avatar_30.entry.js.map +0 -1
  427. package/dist/esm/gb-input-field.entry.js.map +0 -1
  428. package/dist/globuscomponents/p-21430c20.entry.js.map +0 -1
  429. package/dist/globuscomponents/p-2daeb329.entry.js +0 -2
  430. package/dist/globuscomponents/p-2daeb329.entry.js.map +0 -1
  431. package/dist/globuscomponents/p-30ab7cd5.entry.js +0 -2
  432. package/dist/globuscomponents/p-35adb7dc.entry.js.map +0 -1
  433. package/dist/globuscomponents/p-7a831b7e.entry.js.map +0 -1
  434. package/dist/globuscomponents/p-c61a9239.entry.js.map +0 -1
  435. package/dist/globuscomponents/p-f2556695.entry.js +0 -2
  436. package/dist/globuscomponents/p-f2556695.entry.js.map +0 -1
  437. package/dist/globuscomponents/p-fc232e79.entry.js +0 -2
  438. /package/dist/globuscomponents/{p-3ea96652.entry.js.map → p-01b163c6.entry.js.map} +0 -0
  439. /package/dist/globuscomponents/{p-bd5d5134.entry.js.map → p-04d04d5a.entry.js.map} +0 -0
  440. /package/dist/globuscomponents/{p-d5d413ce.entry.js.map → p-18daffd5.entry.js.map} +0 -0
  441. /package/dist/globuscomponents/{p-b8fb116a.entry.js.map → p-19d2f500.entry.js.map} +0 -0
  442. /package/dist/globuscomponents/{p-50462ff8.entry.js.map → p-342531d5.entry.js.map} +0 -0
  443. /package/dist/globuscomponents/{p-d120830e.entry.js.map → p-355ee2b7.entry.js.map} +0 -0
  444. /package/dist/globuscomponents/{p-03237e7b.entry.js.map → p-3bfd70d1.entry.js.map} +0 -0
  445. /package/dist/globuscomponents/{p-9d48138c.entry.js.map → p-4e99fdd9.entry.js.map} +0 -0
  446. /package/dist/globuscomponents/{p-db1ff54c.entry.js.map → p-5479adcd.entry.js.map} +0 -0
  447. /package/dist/globuscomponents/{p-71499239.entry.js.map → p-64588b88.entry.js.map} +0 -0
  448. /package/dist/globuscomponents/{p-30ab7cd5.entry.js.map → p-8b29407e.entry.js.map} +0 -0
  449. /package/dist/globuscomponents/{p-58e27fb1.entry.js.map → p-a947e6f1.entry.js.map} +0 -0
  450. /package/dist/types/components/{gb-tagcount → gb-tag-count}/gb-tag-count.d.ts +0 -0
@@ -1,29 +1,31 @@
1
- import { getAssetPath, h } from "@stencil/core";
1
+ import { getAssetPath, h, Fragment } from "@stencil/core";
2
+ import { StateEnum } from "../../models/reusableModels";
2
3
  export class GbInputField {
3
4
  constructor() {
4
5
  this.size = undefined;
5
- this.inputType = undefined;
6
- this.destructive = undefined;
7
- this.helpIcon = false;
8
- this.icon = undefined;
9
- this.placeholder = '';
6
+ this.type = undefined;
7
+ this.destructive = false;
8
+ this.state = undefined;
9
+ this.showLabel = false;
10
10
  this.label = '';
11
+ this.showHintText = false;
12
+ this.hintText = '';
13
+ this.showPlaceholder = false;
14
+ this.placeholderText = '';
15
+ this.showHelpIcon = false;
16
+ this.showValidation = false;
17
+ this.iconSwap = undefined;
18
+ this.showCloseButton = false;
11
19
  }
12
- /*getIconPath(iconName: string) {
13
- if (!iconName) return null;
14
- return getAssetPath(`./assets/${iconName}`);
15
- }
16
-
17
- renderIcon(iconName: string) {
18
- const iconPath = this.getIconPath(iconName);
19
- return iconPath ? <span><img class="icon" src={iconPath} alt="icon" /></span> : null;
20
- }*/
21
20
  render() {
22
- const icon = this.icon ? getAssetPath(`assets/${this.icon}.svg`) : '';
21
+ const iconSwap = this.iconSwap ? getAssetPath(`assets/${this.iconSwap}.svg`) : '';
23
22
  const classes = {
24
23
  [this.size]: true,
24
+ [this.type]: true,
25
+ destructive: this.destructive,
26
+ disabled: this.state === 'disabled',
25
27
  };
26
- return (h("div", { key: '8026653848ecffeaf4654fe74bd29f3cb8e6d72d', class: classes }, h("label", { key: '7f3666cc49f0b558e7eafefebed051e3800aa2a7' }, this.label), this.inputType === 'default' && (h("div", { key: '968a78ea4eb864e8a69a14f66ae9b2ef9fd2026e', class: "input-wrapper" }, h("input", { key: 'ffb846eb853471fa5d3ff82b5d6297171c00340f', placeholder: this.placeholder }), this.helpIcon && (h("div", { key: '68c7d9603e266f9675028f8d9dafff024270b110', class: "help-icon" }, h("svg", { key: '959b99adc93b63b628b41bad511da10dba4661fd', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '139e54f5f21dc15ce9e7787c6e7620580c69ad08', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.inputType === 'icon_leading' && (h("div", { key: '424606008f97066aecf7cecdbcd932f3779429fb', class: "input-wrapper" }, this.icon && (h("div", { key: 'ed79200731c7c5ad4293fb61a25acc105975e948', class: "icon" }, h("img", { key: 'bfa0f2fe948e4ffe0f99b6b0918c6f188b3a1cba', src: icon, alt: "Icon" }))), h("input", { key: '41fe602eff191cbd26ba7807b04f55a9f71757de', placeholder: this.placeholder, type: 'email' }), this.helpIcon && (h("div", { key: 'b4b712b614b697cd9aa7b691cc39bb8a43d1ea84', class: "help-icon" }, h("svg", { key: 'fc55109e4be904597c104b73b57346d205447c7e', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '65a1e21db0b51c0283766c2ce9cf6be25bcca8d0', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.inputType === 'leading_dropdown' && (h("div", { key: '76670c7e1cc2bb896f0122469255d10bbc001031', class: "input-wrapper" }, this.icon && (h("div", { key: '93c7decf068cfb3b228f4682e8f1408b2afed44d', class: "icon" }, h("img", { key: '5d8fc47aa1d7b45e2d31d1478f0b08ed877d6d76', src: icon, alt: "Icon" }))), h("select", { key: 'c62c98bafc65a8cd0744aaf34040ac2074e02e7f' }), h("input", { key: '0b3edc2caff00183efa84aeb9c4d4e188cfbcb4f', placeholder: this.placeholder }, this.helpIcon && (h("svg", { key: 'a23336464536a6f9f15a2097ce00650faa28c049', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '83f0231436fcb22d608bfc9c66016a650bdb931a', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.inputType === 'payment_input' && (h("div", { key: 'aeee6a6ed4452bf188f7ecabaa8c117c7c83f805', class: "input-wrapper" }, h("span", { key: '3bd71fa7bbd1831012f51738466e8e9d9f76a7d4', class: 'payment-icon' }, "$"), h("input", { key: 'ff1263c4e6e1a95b1f8eec8323cb5cc9c36741ca', placeholder: this.placeholder }, this.helpIcon && (h("svg", { key: 'c3e4cf4bafe741c5501896875ab17a5d30b75da8', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'b82e7b66ab86a27a42b2c1f5548902db2fa1cbd3', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.inputType === 'tags' && (h("input", { key: 'cbc41b334265427f05dc4cf17424ec6a8597ed3a', placeholder: this.placeholder }, h("slot", { key: 'c339411e93456c6cfc9de63e45a2be3e9fe6d4e8' }), this.helpIcon && (h("svg", { key: 'ddca8bdc4b302a62b24499363279441b22a35a6d', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '1343f6f354d2347df7d2c39c769b1f10fc4dbd66', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.inputType === 'password' && (h("input", { key: 'c47e0dc24df30edcc7f31534d942d5e411515b37', placeholder: this.placeholder }, this.helpIcon && (h("svg", { key: '260d60e9ea242c9ca2f010e239e487a3f398361c', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '929cb1f7585838934bb1846549c40c9edc14d27b', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.inputType === 'password_icon_leading' && (h("input", { key: '0b0127f7655ba07e9d5e746c510594e901fad9b8', placeholder: this.placeholder }, this.icon && (h("div", { key: '97165a0085d276c416d5068f561c90d420eabe20', class: "icon" }, h("img", { key: 'dafa6da53e18547f1284610034e0c289f056f949', src: icon, alt: "Icon" }))), this.helpIcon && (h("svg", { key: '0eafb11624d4333ca28bc84ab0220c601c8e3ad4', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '6afaa8322963dd7e727e8baa2acf6e16c5031c92', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.inputType === 'count' && (h("input", { key: '5b64dae701c9e9ec18e13834e2b55012efb06ed0', placeholder: this.placeholder }, this.icon && (h("div", { key: 'f3ae48484a956d1ded606dff2eb9e5597d2fdf57', class: "icon" }, h("img", { key: 'c534d50610c5891db120319b154d01c60b6f7558', src: icon, alt: "Icon" }))), this.helpIcon && (h("svg", { key: 'c3b9da8a7f883b35d35a8eca81922f2122c51f34', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'f3fe8562ffd148f3c9b5fea3d660e1663f114a85', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("span", { key: 'be3ec915ec1e53449f95a1c5a1aabc4401c8ef23' }, h("button", { key: 'a3f79124b2e140a1c8260a72be8f7b605e36f814', class: "decrease-btn" }, h("svg", { key: '16f622d958d8aea7d3f7a2c86bf7bef4aeeaa1a5', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0af58a32828d8b96d4691f4bd6b061e7c17cda1d', d: "M16.6666 10L3.33329 10", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("button", { key: '08fb89b8f174a2d17848a8b84ae16c6506192b15', class: "increase-btn" }, h("svg", { key: '644e01fa9df2e838b543391c6b863267f863d561', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e06a09fa65717c20ecf237c44d3768471ad21d7c', d: "M10 3.33334L10 16.6667M16.6667 10L3.33337 10", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("p", { key: '16770472182cca2d059936a0a7a0f08679937d0b', class: "help-text" }, "This is a hint to help the user")));
28
+ return (h("div", { key: 'b477039734f8e296ff8d0862f3fc0cf7cb0ba6f1', class: classes }, h("div", { key: '01c9d87700c2c17e85c9c1f98fac0e5dcf63f409', class: "input-with-label" }, this.showLabel && (h("label", { key: '26c23cbf808fddaa6f86632e7e2f555e20c2c342', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: '144328a7ad6e9c9786400527dffd39f38d200a5a', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '9203f7c89aca5d562f069808c7ab6003ce4d86d8', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '' }), this.showValidation && h("span", { key: 'e4d756e214f597f90d7f882f5d9d5308241027eb' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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 === 'icon_leading' && (h("div", { key: '6f6bf87206d5fc970c53b430bdeaa862992a7f14', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '74f10591d3821248a784973223cb28e344889382', class: "content" }, h("div", { key: '1468bc9eb0bf8bdcee9856b40819450e4623a1e3', class: "icon" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M5.83342 7.08334L8.2851 8.53286C9.71443 9.37794 10.2857 9.37794 11.7151 8.53286L14.1668 7.08334M7.58243 2.94713C9.1995 2.9065 10.8007 2.9065 12.4177 2.94713C15.0415 3.01305 16.3534 3.04602 17.296 3.99221C18.2386 4.9384 18.2658 6.21571 18.3203 8.77032C18.3378 9.59172 18.3378 10.4083 18.3203 11.2297C18.2658 13.7843 18.2386 15.0616 17.296 16.0078C16.3533 16.954 15.0415 16.9869 12.4177 17.0529C10.8007 17.0935 9.19951 17.0935 7.58244 17.0529C4.95869 16.9869 3.64682 16.954 2.70421 16.0078C1.76161 15.0616 1.73437 13.7843 1.67989 11.2297C1.66237 10.4083 1.66237 9.59171 1.67989 8.77031C1.73436 6.21569 1.7616 4.93839 2.70421 3.9922C3.64682 3.046 4.95869 3.01304 7.58243 2.94713Z", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("input", { key: '2ae863e645337565e0b93e77a54c4608b9ee9dac', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email" })), this.showValidation && h("span", { key: 'e67b7f297a2b6fc45ec05ab186b55af97a06f5f5' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: '87edd16dafc5c5c96870ca4163923e5f4920491c', size: "sm", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/cancel-button.svg" })))), this.type === 'leading_dropdown' && (h("div", { key: '658b79e703a7b5ac0afdcc17c25bd52e2e312618', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7b57ba59df0d0a215088a3e32582b98631b38cbb', class: "dropdown" }, h("div", { key: '73725aad54daaa3bb965265075d17eb698a6da8b', class: "country-icon" }, h("svg", { key: '575d2d033013608538fe69033c379c62fa58fa4d', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'da72201a1c4cd6c88b56247eba1b2afff885b9fb', d: "M-0.000488281 12.0002C-0.000488281 17.1599 3.25601 21.5583 7.82562 23.2539V0.746674C3.25601 2.44214 -0.000488281 6.84071 -0.000488281 12.0002Z", fill: "#6DA544" }), h("path", { key: '39fd5fa3601a3e47f21bbad909cbeecae0edbf95', d: "M23.9999 12.0002C23.9999 6.8407 20.7434 2.44214 16.1738 0.746674V23.2539C20.7434 21.5583 23.9999 17.1599 23.9999 12.0002Z", fill: "#6DA544" }))), h("select", { key: 'dd0624496ecfc671e0b985d15b693cab71254d2c', class: "text-md-regular" }, h("option", { key: '80dda77fb9e776eaf347c2dae73d317d80a40711', value: "option 1", selected: true }, "+234"), h("slot", { key: '1c7eff53ec67671b20535345e5d66264ee11a0e8', name: "country-option" }))), h("div", { key: '040feb58ecb7453e29d53e2302ef9d7d0a5a786b', class: "text-input" }, h("input", { key: '644162d3c00694b5000680afcfb815d8f12d6561', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' }), this.showValidation && h("span", { key: 'a1f85a604aa95b018848366e206d1c0fe6233c22' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: 'd093cf0596cad6e31009736bdaed355dad6e9a08', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '9339ed2287efe3d6c0cc8826cc526fec969469d9', class: "content" }, h("div", { key: 'ca542def1b74d51330f2031e9f8d606afc3d3985', class: "text-input" }, h("p", { key: '8e5bec6000a5457a19cdfe42a45c6c1e66abe463', class: "text-md-regular" }, "$"), h("input", { key: '35a3e3ee13407aa2dfcdc284e43f46cb1db71ae0', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' })), this.showValidation && h("span", { key: '243ecfc932789875bbc498b606d40885ec391f91' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: '238a8478db24c024ab4a908788d829a73aeb56b7', class: "dropdown" }, h("select", { key: '6ab0252bd50c4efbec7cb39ed674504dbbc09bf8', class: "text-md-regular" }, h("option", { key: '13e631eb6c4351ba8b25329ccb83d433c64ceff8', value: "option 1", selected: true }, "USD"), h("slot", { key: '24bb974717f90a8708d0ee7583c69eead2335b93', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: '5ab3f61320886a981b5ef8a7f09e17dda3dd606b', class: "leading_text_wrapper" }, h("div", { key: '7d696bd1d1afaf3f4280c742c011a90f6927efe5', class: "add-on" }, h("p", { key: '72036c1b30ff732852a37544d8646cbf30a670a5', class: "text-md-regular" }, "http://")), h("div", { key: '5a0cabde28c398d6e0a3bd297be862384069d182', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e64418443b3c1810863e2e1ac33338babcc11b70', class: "text-input" }, h("input", { key: 'd108a1e841e939e5a06a95eb7c1a7ee9b7019372', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' }), this.showValidation && h("span", { key: '3923ba21706276f380751bc60cced3c05a71f6ee' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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 === 'payment_input' && (h("div", { key: '23010c874af4d7673c5eee57a32355fcdcd8d6f0', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '48c1ecd6d9e37ccfe54112f2a4c690d26b4d7935', class: "content" }, h("div", { key: 'e1104790f41d969f027730e35fc302c4bbcdee53', class: "payment-method" }, h("svg", { key: '263bb58ea91c989f9492412cdbd5151c0d6c48bf', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '9b7663b4252e7c389e158b2720eae8d9ee16f3a1', "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: '50aca787a439eb039c8bd21cd169dcda8ba4073b', "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: 'cedd8d6986d26bd80690ecc7f71803d0464e7099', "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: 'bb6c2d9940f5c835015f79eebbe5a77bfef9e0e9', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' })), this.showValidation && h("span", { key: '1c1fac2bce4c0047d3c0f232c1c0d2bf6dc68f35' }), this.showHelpIcon && (h("div", { key: 'cf2a780a4c415046ec28b11ab7ae1ac244554781', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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 === 'tags' && (h("div", { key: 'eee7caa2a71b1ab995e0795ff6842f42a7df97eb', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '26b8543f99361d3e33871dbcde43420ad81be044', class: "content" }, h("div", { key: '52363a025c5c1f0e5c719b68fabb5af400241469', class: "tags-box" }, h("slot", { key: '2cb7c29ab811d65611b128b88b63cb1769d5f1e0', name: "tag-option" })), h("input", { key: '2d0b9625b2b638ad2b330f353b116557e364222e', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' })), this.showValidation && h("span", { key: '35fa1d757dbb0d79524e13db7a66dacb5273320a' }), this.showHelpIcon && (h("div", { key: '2c1cf86ba621c00c15d4bbb515949784875a110c', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: '8d3a95c5d9b6235e6ce6071fb5520c4020a43101', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a02e62ed9a9e50f2e15b7fefcde47ebf2b54d6a5', class: "text-input" }, h("input", { key: '5420478ea4f3b8d8b62b3b55aeb347d7e8ece795', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' }), this.showValidation && h("span", { key: '29fcb5d0094a14cdb66ade6b4fb9bb41bd9a4766' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: 'c6f4ec19d3e54fe8e672fde18d701f99b8ca0ef5', class: "trailing-btn" }, h("gb-button", { key: '765899d74b76dbbc62070c2df10f0475ecb5ee5a', size: "md", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/copy.svg" })))), this.type === 'password' && (h("div", { key: '579dfd4a9823a39e3ea34c67a03d7fde90f004bd', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'b2e79dd5e90167076c346852e4f3482428d1ce51', class: "content" }, h("div", { key: '3201f7881b0248405325b9ceedacf2d78312f1d4', class: "text-input" }, h("input", { key: '35e8ca4a866c8057a91e332ca533280c5d85e833', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', type: "password" })), this.showValidation && h("span", { key: '6077f9e9a214c96d57258a0fb80b4dbfc37a9283' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: '45c5bad0765db320ac924607873aa403481d890b', class: "dropdown" }, h("gb-password-button", { key: 'c8714e82c72a23195a88579e3adb6917ffdecd3c', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default })))), this.type === 'password_icon_leading' && (h("div", { key: '7a31e5453063fc4aef88c9c5e3a6de0ad7ee18db', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'dfbf2e9dc8d5f0cfec3ce080e690189a85000fa9', class: "content" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5024 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.5024 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5024 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.5024 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58257L13.7347 6.83336L13.7003 7.58257ZM13.7003 18.2507L13.7347 19L13.7003 18.2507ZM16.4435 15.7039L15.7002 15.6039L16.4435 15.7039ZM6.29973 7.58257L6.33417 8.33178L6.29973 7.58257ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2507L6.33417 17.5015L6.29973 18.2507ZM3.55652 15.7039L4.29981 15.6039L3.55652 15.7039ZM5.50001 7.49999C5.50001 7.9142 5.8358 8.24999 6.25001 8.24999C6.66422 8.24999 7.00001 7.9142 7.00001 7.49999H5.50001ZM13 7.49999C13 7.9142 13.3358 8.24999 13.75 8.24999C14.1642 8.24999 14.5 7.9142 14.5 7.49999H13ZM12.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.8141 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.2294C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.24999C11.3095 8.24999 12.4972 8.27805 13.6659 8.33178L13.7347 6.83336C12.5424 6.77855 11.3317 6.74999 10 6.74999V8.24999ZM6.33417 8.33178C7.50287 8.27805 8.69057 8.24999 10 8.24999V6.74999C8.66829 6.74999 7.45761 6.77855 6.26528 6.83336L6.33417 8.33178ZM2.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.2294L2.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.8141 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29065 15.5122 6.91507 13.7347 6.83336L13.6659 8.33178C14.6943 8.37906 15.5595 9.18436 15.7002 10.2294L17.1868 10.0293ZM13.7347 19C15.5122 18.9182 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.83336C4.48781 6.91507 3.04732 8.29065 2.81323 10.0293L4.29981 10.2294C4.44052 9.18436 5.30576 8.37906 6.33417 8.33178L6.26528 6.83336ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9182 6.26528 19L6.33417 17.5015ZM7.00001 7.49999V5.41666H5.50001V7.49999H7.00001ZM13 5.41666V7.49999H14.5V5.41666H13ZM10 2.41666C11.6569 2.41666 13 3.7598 13 5.41666H14.5C14.5 2.93138 12.4853 0.916656 10 0.916656V2.41666ZM7.00001 5.41666C7.00001 3.7598 8.34316 2.41666 10 2.41666V0.916656C7.51473 0.916656 5.50001 2.93138 5.50001 5.41666H7.00001Z", fill: "#4B5565" }))), h("input", { key: 'afd83b561fea2fa0cc14d3591ab26370efd3c96f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' })), this.showValidation && h("span", { key: '00c1d94eb347138afb1773ef25c0194edaaf9f10' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (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: '3194e6e506e88679dbe8ebc291cc88146e930ed6', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default }))), this.type === 'count' && (h("div", { key: 'b1aadcf42b22c7c8f6a86a295185fee0338eb100', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'dd5e8f2213f830710a5cc8bb2268bbfb9f695078', class: "text-input" }, h("input", { key: 'c7fc864f7cf3c72fc39b4c4d9bdc6f46f8467c6b', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '' }), this.showHelpIcon && (h("svg", { key: 'd76328e8dc5baa9053a9a799602195cf04b37f26', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'abc8ea3c972a6f56a42a314012a9610e63b16344', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '1b96be78e3191fe14c4949c9ba45a704465be785', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: '483fdb092fca68873925c798b3a52ebee179bc16', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '5bdefcbcefaae43ec3c8791232a20fb39647c9b4', class: "increase-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/plus_sign.svg" }))))), this.showHintText && h("p", { key: 'a929baaefa9e44e7e1031375f68d8ddf917aac95', class: `text-sm-regular hint_text ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
27
29
  }
28
30
  static get is() { return "gb-input-field"; }
29
31
  static get encapsulation() { return "shadow"; }
@@ -62,11 +64,11 @@ export class GbInputField {
62
64
  "attribute": "size",
63
65
  "reflect": false
64
66
  },
65
- "inputType": {
67
+ "type": {
66
68
  "type": "string",
67
69
  "mutable": false,
68
70
  "complexType": {
69
- "original": "'default' | 'icon_leading' | 'leading_dropdown' | 'trailing_dropdown'|'leading_text'|'payment_input'| 'tags' | 'trailing_button' |'password' | 'password_icon_leading' | 'count'",
71
+ "original": "'default' | 'icon_leading' | 'leading_dropdown' | 'trailing_dropdown' | 'leading_text'|'payment_input'| 'tags' | 'trailing_button' |'password' | 'password_icon_leading' | 'count'",
70
72
  "resolved": "\"count\" | \"default\" | \"icon_leading\" | \"leading_dropdown\" | \"leading_text\" | \"password\" | \"password_icon_leading\" | \"payment_input\" | \"tags\" | \"trailing_button\" | \"trailing_dropdown\"",
71
73
  "references": {}
72
74
  },
@@ -76,7 +78,7 @@ export class GbInputField {
76
78
  "tags": [],
77
79
  "text": ""
78
80
  },
79
- "attribute": "input-type",
81
+ "attribute": "type",
80
82
  "reflect": false
81
83
  },
82
84
  "destructive": {
@@ -88,15 +90,33 @@ export class GbInputField {
88
90
  "references": {}
89
91
  },
90
92
  "required": false,
91
- "optional": true,
93
+ "optional": false,
92
94
  "docs": {
93
95
  "tags": [],
94
96
  "text": ""
95
97
  },
96
98
  "attribute": "destructive",
99
+ "reflect": false,
100
+ "defaultValue": "false"
101
+ },
102
+ "state": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "'placeholder' | 'filled' | 'active' | 'disabled'",
107
+ "resolved": "\"active\" | \"disabled\" | \"filled\" | \"placeholder\"",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": ""
115
+ },
116
+ "attribute": "state",
97
117
  "reflect": false
98
118
  },
99
- "helpIcon": {
119
+ "showLabel": {
100
120
  "type": "boolean",
101
121
  "mutable": false,
102
122
  "complexType": {
@@ -105,16 +125,16 @@ export class GbInputField {
105
125
  "references": {}
106
126
  },
107
127
  "required": false,
108
- "optional": true,
128
+ "optional": false,
109
129
  "docs": {
110
130
  "tags": [],
111
131
  "text": ""
112
132
  },
113
- "attribute": "help-icon",
133
+ "attribute": "show-label",
114
134
  "reflect": false,
115
135
  "defaultValue": "false"
116
136
  },
117
- "icon": {
137
+ "label": {
118
138
  "type": "string",
119
139
  "mutable": false,
120
140
  "complexType": {
@@ -123,15 +143,34 @@ export class GbInputField {
123
143
  "references": {}
124
144
  },
125
145
  "required": false,
126
- "optional": true,
146
+ "optional": false,
127
147
  "docs": {
128
148
  "tags": [],
129
149
  "text": ""
130
150
  },
131
- "attribute": "icon",
132
- "reflect": false
151
+ "attribute": "label",
152
+ "reflect": false,
153
+ "defaultValue": "''"
133
154
  },
134
- "placeholder": {
155
+ "showHintText": {
156
+ "type": "boolean",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "boolean",
160
+ "resolved": "boolean",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": false,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": ""
168
+ },
169
+ "attribute": "show-hint-text",
170
+ "reflect": false,
171
+ "defaultValue": "false"
172
+ },
173
+ "hintText": {
135
174
  "type": "string",
136
175
  "mutable": false,
137
176
  "complexType": {
@@ -145,11 +184,29 @@ export class GbInputField {
145
184
  "tags": [],
146
185
  "text": ""
147
186
  },
148
- "attribute": "placeholder",
187
+ "attribute": "hint-text",
149
188
  "reflect": false,
150
189
  "defaultValue": "''"
151
190
  },
152
- "label": {
191
+ "showPlaceholder": {
192
+ "type": "boolean",
193
+ "mutable": false,
194
+ "complexType": {
195
+ "original": "boolean",
196
+ "resolved": "boolean",
197
+ "references": {}
198
+ },
199
+ "required": false,
200
+ "optional": false,
201
+ "docs": {
202
+ "tags": [],
203
+ "text": ""
204
+ },
205
+ "attribute": "show-placeholder",
206
+ "reflect": false,
207
+ "defaultValue": "false"
208
+ },
209
+ "placeholderText": {
153
210
  "type": "string",
154
211
  "mutable": false,
155
212
  "complexType": {
@@ -158,14 +215,85 @@ export class GbInputField {
158
215
  "references": {}
159
216
  },
160
217
  "required": false,
161
- "optional": true,
218
+ "optional": false,
162
219
  "docs": {
163
220
  "tags": [],
164
221
  "text": ""
165
222
  },
166
- "attribute": "label",
223
+ "attribute": "placeholder-text",
167
224
  "reflect": false,
168
225
  "defaultValue": "''"
226
+ },
227
+ "showHelpIcon": {
228
+ "type": "boolean",
229
+ "mutable": false,
230
+ "complexType": {
231
+ "original": "boolean",
232
+ "resolved": "boolean",
233
+ "references": {}
234
+ },
235
+ "required": false,
236
+ "optional": false,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": ""
240
+ },
241
+ "attribute": "show-help-icon",
242
+ "reflect": false,
243
+ "defaultValue": "false"
244
+ },
245
+ "showValidation": {
246
+ "type": "boolean",
247
+ "mutable": false,
248
+ "complexType": {
249
+ "original": "boolean",
250
+ "resolved": "boolean",
251
+ "references": {}
252
+ },
253
+ "required": false,
254
+ "optional": false,
255
+ "docs": {
256
+ "tags": [],
257
+ "text": ""
258
+ },
259
+ "attribute": "show-validation",
260
+ "reflect": false,
261
+ "defaultValue": "false"
262
+ },
263
+ "iconSwap": {
264
+ "type": "string",
265
+ "mutable": false,
266
+ "complexType": {
267
+ "original": "string",
268
+ "resolved": "string",
269
+ "references": {}
270
+ },
271
+ "required": false,
272
+ "optional": true,
273
+ "docs": {
274
+ "tags": [],
275
+ "text": ""
276
+ },
277
+ "attribute": "icon-swap",
278
+ "reflect": false
279
+ },
280
+ "showCloseButton": {
281
+ "type": "boolean",
282
+ "mutable": false,
283
+ "complexType": {
284
+ "original": "boolean",
285
+ "resolved": "boolean",
286
+ "references": {}
287
+ },
288
+ "required": false,
289
+ "optional": true,
290
+ "docs": {
291
+ "tags": [],
292
+ "text": ""
293
+ },
294
+ "attribute": "show-close-button",
295
+ "reflect": false,
296
+ "defaultValue": "false"
169
297
  }
170
298
  };
171
299
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-field.js","sourceRoot":"","sources":["../../../src/components/gb-input-field/gb-input-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AAShE,MAAM,OAAO,YAAY;;;;;wBAIM,KAAK;;2BAEJ,EAAE;qBACP,EAAE;;IAE3B;;;;;;;;OAQG;IAIH,MAAM;QAEJ,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,IAAI,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAEtE,MAAM,OAAO,GAAG;YACd,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI;SAClB,CAAA;QAED,OAAO,CACL,4DAAK,KAAK,EAAE,OAAO;YACjB,gEAAQ,IAAI,CAAC,KAAK,CAAS;YAC1B,IAAI,CAAC,SAAS,KAAK,SAAS,IAAI,CAC/B,4DAAK,KAAK,EAAC,eAAe;gBACxB,8DAAO,WAAW,EAAE,IAAI,CAAC,WAAW,GAC5B;gBACP,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,WAAW;oBACpB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,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AA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;4BAC5F,6DAAM,CAAC,EAAC,wBAAwB,EAAC,MAAM,EAAC,SAAS,kBAAc,KAAK,oBAAgB,OAAO,qBAAiB,OAAO,GAAE,CACjH,CACG;oBACT,+DAAQ,KAAK,EAAC,cAAc;wBAC5B,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;4BAC5F,6DAAM,CAAC,EAAC,8CAA8C,EAAC,MAAM,EAAC,SAAS,kBAAc,KAAK,oBAAgB,OAAO,qBAAiB,OAAO,GAAE,CACvI,CACG,CACJ,CACD,CACP;YACD,0DAAG,KAAK,EAAC,WAAW,sCAAoC,CACpD,CACP,CAAA;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, getAssetPath, h } from '@stencil/core'\r\nimport { GeneralSizes } from '../../models/reusableModels'\r\n\r\n@Component({\r\n tag: 'gb-input-field',\r\n styleUrl: 'gb-input-field.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbInputField {\r\n @Prop() size: GeneralSizes;\r\n @Prop() inputType: 'default' | 'icon_leading' | 'leading_dropdown' | 'trailing_dropdown'|'leading_text'|'payment_input'| 'tags' | 'trailing_button' |'password' | 'password_icon_leading' | 'count';\r\n @Prop() destructive?: boolean;\r\n @Prop() helpIcon?: boolean = false;\r\n @Prop() icon?: string;\r\n @Prop() placeholder: string = ''; \r\n @Prop() label?: string = '';\r\n\r\n /*getIconPath(iconName: string) {\r\n if (!iconName) return null;\r\n return getAssetPath(`./assets/${iconName}`);\r\n }\r\n\r\n renderIcon(iconName: string) {\r\n const iconPath = this.getIconPath(iconName);\r\n return iconPath ? <span><img class=\"icon\" src={iconPath} alt=\"icon\" /></span> : null;\r\n }*/\r\n\r\n \r\n\r\n render() {\r\n\r\n const icon = this.icon ? getAssetPath(`assets/${this.icon}.svg`) : '';\r\n\r\n const classes = {\r\n [this.size]: true,\r\n }\r\n\r\n return (\r\n <div class={classes}>\r\n <label>{this.label}</label>\r\n {this.inputType === 'default' && (\r\n <div class=\"input-wrapper\">\r\n <input placeholder={this.placeholder}>\r\n </input>\r\n {this.helpIcon && (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </div> \r\n )}\r\n </div>\r\n )}\r\n {this.inputType === 'icon_leading' && (\r\n <div class=\"input-wrapper\">\r\n {this.icon && (\r\n <div class=\"icon\">\r\n <img src={icon} alt=\"Icon\"></img>\r\n </div>\r\n )}\r\n <input placeholder={this.placeholder} type='email'>\r\n </input>\r\n {this.helpIcon && (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </div> \r\n )}\r\n </div>\r\n )}\r\n {this.inputType === 'leading_dropdown' && (\r\n <div class=\"input-wrapper\">\r\n {this.icon && (\r\n <div class=\"icon\">\r\n <img src={icon} alt=\"Icon\"></img>\r\n </div>\r\n )}\r\n <select></select>\r\n <input placeholder={this.placeholder}>\r\n {this.helpIcon && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n )}\r\n </input>\r\n </div>\r\n )}\r\n {this.inputType === 'payment_input' && (\r\n <div class=\"input-wrapper\">\r\n <span class='payment-icon'>$</span>\r\n <input placeholder={this.placeholder}>\r\n {this.helpIcon && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n )}\r\n </input>\r\n </div>\r\n )}\r\n {this.inputType === 'tags' && (\r\n <input placeholder={this.placeholder}>\r\n <slot></slot>\r\n {this.helpIcon && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n )}\r\n </input>\r\n )}\r\n {this.inputType === 'password' && (\r\n <input placeholder={this.placeholder}>\r\n {this.helpIcon && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n )}\r\n </input>\r\n )}\r\n {this.inputType === 'password_icon_leading' && (\r\n <input placeholder={this.placeholder}>\r\n {this.icon && (\r\n <div class=\"icon\">\r\n <img src={icon} alt=\"Icon\"></img>\r\n </div>\r\n )}\r\n {this.helpIcon && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n )}\r\n </input>\r\n )}\r\n {this.inputType === 'count' && (\r\n <input placeholder={this.placeholder}>\r\n {this.icon && (\r\n <div class=\"icon\">\r\n <img src={icon} alt=\"Icon\"></img>\r\n </div>\r\n )}\r\n {this.helpIcon && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\" stroke=\"#697586\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n )}\r\n <span>\r\n <button class=\"decrease-btn\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path d=\"M16.6666 10L3.33329 10\" stroke=\"#4B5565\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </button>\r\n <button class=\"increase-btn\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path d=\"M10 3.33334L10 16.6667M16.6667 10L3.33337 10\" stroke=\"#4B5565\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg> \r\n </button>\r\n </span>\r\n </input>\r\n )}\r\n <p class=\"help-text\">This is a hint to help the user</p>\r\n </div>\r\n )\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-input-field.js","sourceRoot":"","sources":["../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I,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;4BAC7G,6DACE,CAAC,EAAC,gcAAgc,EAClc,MAAM,EAAC,SAAS,kBACH,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CACG;oBACN,4DAAK,KAAK,EAAC,cAAc;wBACtB,IAAI,CAAC,eAAe,IAAI,CACvB,kEAAW,KAAK,EAAC,cAAc,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,kBAAe,IAAI,uBAAoB,uBAAuB,GAAa,CAC3J;wBACD,kEAAW,KAAK,EAAC,cAAc,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,kBAAe,IAAI,uBAAoB,sBAAsB,GAAa,CACrJ,CACF,CACP,CACG;YACL,IAAI,CAAC,YAAY,IAAI,0DAAG,KAAK,EAAE,6BAA6B,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,IAAG,IAAI,CAAC,QAAQ,CAAK,CACrH,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, getAssetPath, h, Fragment } from '@stencil/core'\r\nimport { GeneralSizes, StateEnum } from '../../models/reusableModels'\r\n\r\n@Component({\r\n tag: 'gb-input-field',\r\n styleUrl: 'gb-input-field.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbInputField {\r\n @Prop() size: GeneralSizes;\r\n @Prop() type: 'default' | 'icon_leading' | 'leading_dropdown' | 'trailing_dropdown' | 'leading_text'|'payment_input'| 'tags' | 'trailing_button' |'password' | 'password_icon_leading' | 'count';\r\n @Prop() destructive: boolean = false;\r\n @Prop() state: 'placeholder' | 'filled' | 'active' | 'disabled' ;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() showHintText: boolean = false;\r\n @Prop() hintText: string = '';\r\n @Prop() showPlaceholder: boolean = false;\r\n @Prop() placeholderText: string = ''; \r\n @Prop() showHelpIcon: boolean = false;\r\n @Prop() showValidation: boolean = false;\r\n @Prop() iconSwap?: string;\r\n @Prop() showCloseButton?: boolean = false;\r\n\r\n render() {\r\n const iconSwap = this.iconSwap ? getAssetPath(`assets/${this.iconSwap}.svg`) : '';\r\n\r\n const classes = {\r\n [this.size]: true,\r\n [this.type]: true,\r\n destructive: this.destructive,\r\n disabled: this.state === 'disabled',\r\n }\r\n\r\n return (\r\n <div class={classes}>\r\n <div class=\"input-with-label\">\r\n {this.showLabel && (\r\n <label htmlFor=\"input\" class=\"text-sm-medium\">\r\n {this.label}\r\n </label>\r\n )}\r\n {this.type === 'default' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input class={`text-md-regular`} placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n {this.type === 'icon_leading' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"content\">\r\n <div class=\"icon\">\r\n {this.iconSwap ? (\r\n <img src={iconSwap} alt=\"Icon\" />\r\n ) : (\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.83342 7.08334L8.2851 8.53286C9.71443 9.37794 10.2857 9.37794 11.7151 8.53286L14.1668 7.08334M7.58243 2.94713C9.1995 2.9065 10.8007 2.9065 12.4177 2.94713C15.0415 3.01305 16.3534 3.04602 17.296 3.99221C18.2386 4.9384 18.2658 6.21571 18.3203 8.77032C18.3378 9.59172 18.3378 10.4083 18.3203 11.2297C18.2658 13.7843 18.2386 15.0616 17.296 16.0078C16.3533 16.954 15.0415 16.9869 12.4177 17.0529C10.8007 17.0935 9.19951 17.0935 7.58244 17.0529C4.95869 16.9869 3.64682 16.954 2.70421 16.0078C1.76161 15.0616 1.73437 13.7843 1.67989 11.2297C1.66237 10.4083 1.66237 9.59171 1.67989 8.77031C1.73436 6.21569 1.7616 4.93839 2.70421 3.9922C3.64682 3.046 4.95869 3.01304 7.58243 2.94713Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n <input class={`text-md-regular`} placeholder={this.showPlaceholder ? this.placeholderText : ''} type=\"email\"></input>\r\n </div>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n {this.showCloseButton && !this.destructive && (\r\n <gb-button\r\n size=\"sm\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/cancel-button.svg\"\r\n ></gb-button>\r\n )}\r\n </div>\r\n )}\r\n {this.type === 'leading_dropdown' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"dropdown\">\r\n <div class=\"country-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\r\n <path\r\n d=\"M-0.000488281 12.0002C-0.000488281 17.1599 3.25601 21.5583 7.82562 23.2539V0.746674C3.25601 2.44214 -0.000488281 6.84071 -0.000488281 12.0002Z\"\r\n fill=\"#6DA544\"\r\n />\r\n <path d=\"M23.9999 12.0002C23.9999 6.8407 20.7434 2.44214 16.1738 0.746674V23.2539C20.7434 21.5583 23.9999 17.1599 23.9999 12.0002Z\" fill=\"#6DA544\" />\r\n </svg>\r\n </div>\r\n <select class=\"text-md-regular\">\r\n <option value=\"option 1\" selected>\r\n +234\r\n </option>\r\n <slot name=\"country-option\"></slot>\r\n </select>\r\n </div>\r\n <div class=\"text-input\">\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'trailing_dropdown' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"content\">\r\n <div class=\"text-input\">\r\n <p class=\"text-md-regular\">$</p>\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n </div>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n <div class=\"dropdown\">\r\n <select class=\"text-md-regular\">\r\n <option value=\"option 1\" selected>\r\n USD\r\n </option>\r\n <slot name=\"option\"></slot>\r\n </select>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'leading_text' && (\r\n <div class=\"leading_text_wrapper\">\r\n <div class=\"add-on\">\r\n <p class=\"text-md-regular\">http://</p>\r\n </div>\r\n <div class={`leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"text-input\">\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'payment_input' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"content\">\r\n <div class=\"payment-method\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"23\" height=\"14\" viewBox=\"0 0 23 14\" fill=\"none\">\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n 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\"\r\n fill=\"#ED0006\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n 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\"\r\n fill=\"#F9A000\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n 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\"\r\n fill=\"#FF5E00\"\r\n />\r\n </svg>\r\n </div>\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n </div>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <div class=\"help-icon\">\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n </div>\r\n )}\r\n </div>\r\n )}\r\n {this.type === 'tags' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"content\">\r\n <div class=\"tags-box\">\r\n <slot name=\"tag-option\"></slot>\r\n </div>\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n </div>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <div class=\"help-icon\">\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n </div>\r\n )}\r\n </div>\r\n )}\r\n {this.type === 'trailing_button' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"text-input\">\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n <div class=\"trailing-btn\">\r\n <gb-button\r\n size=\"md\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/copy.svg\"\r\n ></gb-button>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'password' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"content\">\r\n <div class=\"text-input\">\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''} type=\"password\"></input>\r\n </div>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n <div class=\"dropdown\">\r\n <gb-password-button state={this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default}></gb-password-button>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'password_icon_leading' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class=\"content\">\r\n {this.iconSwap ? (\r\n <img src={iconSwap} alt=\"Icon\" />\r\n ) : (\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=\"M12.0759 12.1667C11.6617 12.1667 11.3259 12.5024 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.5024 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5024 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.5024 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58257L13.7347 6.83336L13.7003 7.58257ZM13.7003 18.2507L13.7347 19L13.7003 18.2507ZM16.4435 15.7039L15.7002 15.6039L16.4435 15.7039ZM6.29973 7.58257L6.33417 8.33178L6.29973 7.58257ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2507L6.33417 17.5015L6.29973 18.2507ZM3.55652 15.7039L4.29981 15.6039L3.55652 15.7039ZM5.50001 7.49999C5.50001 7.9142 5.8358 8.24999 6.25001 8.24999C6.66422 8.24999 7.00001 7.9142 7.00001 7.49999H5.50001ZM13 7.49999C13 7.9142 13.3358 8.24999 13.75 8.24999C14.1642 8.24999 14.5 7.9142 14.5 7.49999H13ZM12.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.8141 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.2294C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.24999C11.3095 8.24999 12.4972 8.27805 13.6659 8.33178L13.7347 6.83336C12.5424 6.77855 11.3317 6.74999 10 6.74999V8.24999ZM6.33417 8.33178C7.50287 8.27805 8.69057 8.24999 10 8.24999V6.74999C8.66829 6.74999 7.45761 6.77855 6.26528 6.83336L6.33417 8.33178ZM2.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.2294L2.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.8141 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29065 15.5122 6.91507 13.7347 6.83336L13.6659 8.33178C14.6943 8.37906 15.5595 9.18436 15.7002 10.2294L17.1868 10.0293ZM13.7347 19C15.5122 18.9182 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.83336C4.48781 6.91507 3.04732 8.29065 2.81323 10.0293L4.29981 10.2294C4.44052 9.18436 5.30576 8.37906 6.33417 8.33178L6.26528 6.83336ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9182 6.26528 19L6.33417 17.5015ZM7.00001 7.49999V5.41666H5.50001V7.49999H7.00001ZM13 5.41666V7.49999H14.5V5.41666H13ZM10 2.41666C11.6569 2.41666 13 3.7598 13 5.41666H14.5C14.5 2.93138 12.4853 0.916656 10 0.916656V2.41666ZM7.00001 5.41666C7.00001 3.7598 8.34316 2.41666 10 2.41666V0.916656C7.51473 0.916656 5.50001 2.93138 5.50001 5.41666H7.00001Z\"\r\n fill=\"#4B5565\"\r\n />\r\n </svg>\r\n )}\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n </div>\r\n {this.showValidation && <span></span>}\r\n {this.showHelpIcon && (\r\n <>\r\n {!this.destructive ? (\r\n <div class=\"help-icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n <gb-password-button state={this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default}></gb-password-button>\r\n </div>\r\n )}\r\n {this.type === 'count' && (\r\n <div class={`input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}`}>\r\n <div class=\"text-input\">\r\n <input class=\"text-md-regular\" placeholder={this.showPlaceholder ? this.placeholderText : ''}></input>\r\n {this.showHelpIcon && (\r\n <svg class=\"help-svg\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n <div class=\"count-action\">\r\n {this.showCloseButton && (\r\n <gb-button class=\"decrease-btn\" size=\"md\" hierarchy=\"tertiary_gray\" icon=\"only\" icon-leading={true} icon-leading-swap=\"assets/minus_sign.svg\"></gb-button>\r\n )}\r\n <gb-button class=\"increase-btn\" size=\"md\" hierarchy=\"tertiary_gray\" icon=\"only\" icon-leading={true} icon-leading-swap=\"assets/plus_sign.svg\"></gb-button>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && <p class={`text-sm-regular hint_text ${this.destructive ? 'destructive' : ''}`}>{this.hintText}</p>}\r\n </div>\r\n );\r\n }\r\n}"]}