globuswebcomponents 0.5.3 → 0.5.5

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 (402) hide show
  1. package/dist/cjs/gb-avatar-add-button.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-group.cjs.entry.js +1 -1
  3. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  4. package/dist/cjs/{gb-avatar_28.cjs.entry.js → gb-avatar_34.cjs.entry.js} +370 -83
  5. package/dist/cjs/gb-avatar_34.cjs.entry.js.map +1 -0
  6. package/dist/cjs/gb-button-close_2.cjs.entry.js +2 -2
  7. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-file-type-icon.cjs.entry.js +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 +1 -1
  12. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-megainput-field.cjs.entry.js +3 -3
  14. package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
  15. package/dist/cjs/gb-password-button.cjs.entry.js +27 -0
  16. package/dist/{components/p-eed6f80c.js.map → cjs/gb-password-button.cjs.entry.js.map} +1 -1
  17. package/dist/cjs/gb-progress-circle.cjs.entry.js +2 -2
  18. package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
  19. package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
  20. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
  21. package/dist/cjs/gb-slider.cjs.entry.js +2 -2
  22. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
  24. package/dist/cjs/gb-toast.cjs.entry.js +2 -2
  25. package/dist/cjs/gb-toggle-base.cjs.entry.js +3 -3
  26. package/dist/cjs/gb-toggle.cjs.entry.js +2 -2
  27. package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
  28. package/dist/cjs/gb-verification-code-field.cjs.entry.js +3 -3
  29. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  30. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
  31. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
  32. package/dist/cjs/globuscomponents.cjs.js +2 -2
  33. package/dist/cjs/{index-76d06259.js → index-804eab7e.js} +9 -4
  34. package/dist/cjs/index-804eab7e.js.map +1 -0
  35. package/dist/cjs/loader.cjs.js +2 -2
  36. package/dist/collection/assets/user-group.svg +10 -0
  37. package/dist/collection/collection-manifest.json +1 -0
  38. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +38 -2
  39. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
  40. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +49 -7
  41. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
  42. package/dist/collection/components/gb-btn/gb-btn.css +1 -0
  43. package/dist/collection/components/gb-button/gb-button.css +1 -0
  44. package/dist/collection/components/gb-button/gb-button.js +4 -4
  45. package/dist/collection/components/gb-button/gb-button.js.map +1 -1
  46. package/dist/collection/components/gb-button/gb-button.tsx +3 -3
  47. package/dist/collection/components/gb-checkbox/gb-checkbox.css +6 -2
  48. package/dist/collection/components/gb-checkbox/gb-checkbox.js +20 -1
  49. package/dist/collection/components/gb-checkbox/gb-checkbox.js.map +1 -1
  50. package/dist/collection/components/gb-header/gb-header.js +37 -1
  51. package/dist/collection/components/gb-header/gb-header.js.map +1 -1
  52. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.css +2686 -0
  53. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +80 -0
  54. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js.map +1 -0
  55. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  56. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +17 -0
  57. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +37 -40
  58. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  59. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +5 -5
  60. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +4 -2
  61. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
  62. package/dist/collection/components/gb-input-field/gb-input-field.css +10 -315
  63. package/dist/collection/components/gb-input-field/gb-input-field.js +8 -14
  64. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  65. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  66. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  67. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +1 -1
  68. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  69. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  70. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  71. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  72. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  73. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  74. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  75. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  76. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  77. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +25 -1
  78. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  79. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  80. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  81. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  82. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  83. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  84. package/dist/collection/components/gb-tag/gb-tag.css +1 -0
  85. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  86. package/dist/collection/components/gb-tag/gb-tag.js.map +1 -1
  87. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  88. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  89. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  90. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  91. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  92. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  93. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  94. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  95. package/dist/collection/components/gb-tooltip/gb-tooltip.css +2 -2
  96. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  97. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  98. package/dist/components/gb-avatar-add-button.js +1 -1
  99. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  100. package/dist/components/gb-avatar-dropdown.js +24 -10
  101. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  102. package/dist/components/gb-avatar-group.js +6 -6
  103. package/dist/components/gb-avatar-label-group.js +1 -1
  104. package/dist/components/gb-avatar-profile-photo.js +4 -4
  105. package/dist/components/gb-avatar.js +1 -1
  106. package/dist/components/gb-badge-close.js +1 -1
  107. package/dist/components/gb-badge.js +1 -1
  108. package/dist/components/gb-btn.js +1 -1
  109. package/dist/components/gb-button-close.js +1 -1
  110. package/dist/components/gb-button.js +1 -1
  111. package/dist/components/gb-carousel-arrow.js +1 -1
  112. package/dist/components/gb-checkbox-base.js +1 -1
  113. package/dist/components/gb-checkbox-group-item.js +1 -1
  114. package/dist/components/gb-checkbox-group.js +8 -8
  115. package/dist/components/gb-checkbox.js +1 -1
  116. package/dist/components/gb-collapse-button.js +1 -1
  117. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  118. package/dist/components/gb-file-type-icon.js +1 -1
  119. package/dist/components/gb-file-upload-item-base.js +1 -1
  120. package/dist/components/gb-file-upload.js +6 -6
  121. package/dist/components/gb-header-icon.js +1 -1
  122. package/dist/components/gb-header.js +20 -6
  123. package/dist/components/gb-header.js.map +1 -1
  124. package/dist/components/gb-help-dropdown.js +4 -4
  125. package/dist/components/gb-help-tooltip.d.ts +11 -0
  126. package/dist/components/gb-help-tooltip.js +8 -0
  127. package/dist/components/gb-help-tooltip.js.map +1 -0
  128. package/dist/components/gb-horizontal-tabs.js +8 -8
  129. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  130. package/dist/components/gb-input-dropdown.js +1 -1
  131. package/dist/components/gb-input-field.js +9 -33
  132. package/dist/components/gb-input-field.js.map +1 -1
  133. package/dist/components/gb-megainput-field.js +1 -1
  134. package/dist/components/gb-notification-content.js +2 -2
  135. package/dist/components/gb-notification-pane.js +3 -3
  136. package/dist/components/gb-pagination-button-group-base.js +2 -2
  137. package/dist/components/gb-pagination-dot-indicator.js +2 -2
  138. package/dist/components/gb-pagination-number-base.js +2 -2
  139. package/dist/components/gb-pagination.js +3 -3
  140. package/dist/components/gb-password-button.js +50 -1
  141. package/dist/components/gb-password-button.js.map +1 -1
  142. package/dist/components/gb-progress-bar.js +1 -1
  143. package/dist/components/gb-progress-circle.js +2 -2
  144. package/dist/components/gb-rich-text.js +38 -26
  145. package/dist/components/gb-rich-text.js.map +1 -1
  146. package/dist/components/gb-scrollbar.js +2 -2
  147. package/dist/components/gb-side-bar-item.js +1 -1
  148. package/dist/components/gb-sidebar.js +10 -10
  149. package/dist/components/gb-slider-control-handle.js +1 -1
  150. package/dist/components/gb-slider.js +4 -4
  151. package/dist/components/gb-status-indicator.js +1 -1
  152. package/dist/components/gb-tab-button-base.js +1 -1
  153. package/dist/components/gb-tag-checkbox.js +1 -1
  154. package/dist/components/gb-tag-close.js +1 -1
  155. package/dist/components/gb-tag-count.js +1 -1
  156. package/dist/components/gb-tag.js +1 -1
  157. package/dist/components/gb-textarea-input-field.js +1 -1
  158. package/dist/components/gb-toast-button.js +1 -1
  159. package/dist/components/gb-toast.js +5 -5
  160. package/dist/components/gb-toggle-base.js +1 -1
  161. package/dist/components/gb-toggle.js +3 -3
  162. package/dist/components/gb-token-field.js +3 -3
  163. package/dist/components/gb-tooltip.js +1 -1
  164. package/dist/components/gb-verification-code-field.js +4 -4
  165. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  166. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  167. package/dist/components/gb-wysiwyg-tooltip.js +2 -2
  168. package/dist/components/index.js +1 -1
  169. package/dist/components/{p-18aeff75.js → p-049f8084.js} +2 -2
  170. package/dist/components/{p-18aeff75.js.map → p-049f8084.js.map} +1 -1
  171. package/dist/components/{p-26d1508d.js → p-0519dce2.js} +2 -2
  172. package/dist/components/{p-26d1508d.js.map → p-0519dce2.js.map} +1 -1
  173. package/dist/components/{p-655bac91.js → p-062cb1f9.js} +2 -2
  174. package/dist/components/{p-655bac91.js.map → p-062cb1f9.js.map} +1 -1
  175. package/dist/components/{p-35054a6a.js → p-0767d31b.js} +4 -4
  176. package/dist/components/{p-35054a6a.js.map → p-0767d31b.js.map} +1 -1
  177. package/dist/components/{p-a714f550.js → p-12d84b99.js} +4 -4
  178. package/dist/components/{p-a714f550.js.map → p-12d84b99.js.map} +1 -1
  179. package/dist/components/{p-ce85b058.js → p-14ae77f4.js} +4 -4
  180. package/dist/components/{p-ce85b058.js.map → p-14ae77f4.js.map} +1 -1
  181. package/dist/components/{p-0190e346.js → p-1787a21b.js} +4 -4
  182. package/dist/components/{p-0190e346.js.map → p-1787a21b.js.map} +1 -1
  183. package/dist/components/{p-d947050b.js → p-1c27c0dc.js} +10 -10
  184. package/dist/components/p-1c27c0dc.js.map +1 -0
  185. package/dist/components/{p-983e2798.js → p-200efa06.js} +10 -10
  186. package/dist/components/{p-983e2798.js.map → p-200efa06.js.map} +1 -1
  187. package/dist/components/{p-3fd78bcf.js → p-2849e182.js} +3 -3
  188. package/dist/components/{p-3fd78bcf.js.map → p-2849e182.js.map} +1 -1
  189. package/dist/components/{p-0b8ae984.js → p-3eee1170.js} +2 -2
  190. package/dist/components/{p-0b8ae984.js.map → p-3eee1170.js.map} +1 -1
  191. package/dist/components/{p-0129a72b.js → p-43c70bd8.js} +3 -3
  192. package/dist/components/{p-0129a72b.js.map → p-43c70bd8.js.map} +1 -1
  193. package/dist/components/{p-1cf0a465.js → p-443d3de1.js} +3 -3
  194. package/dist/components/{p-1cf0a465.js.map → p-443d3de1.js.map} +1 -1
  195. package/dist/components/{p-9e4aaaff.js → p-55426266.js} +8 -8
  196. package/dist/components/{p-9e4aaaff.js.map → p-55426266.js.map} +1 -1
  197. package/dist/components/{p-623ed6aa.js → p-5ba87b93.js} +3 -3
  198. package/dist/components/{p-623ed6aa.js.map → p-5ba87b93.js.map} +1 -1
  199. package/dist/components/{p-a9079204.js → p-65de39d5.js} +21 -18
  200. package/dist/components/p-65de39d5.js.map +1 -0
  201. package/dist/components/{p-7d2b0b60.js → p-6b8ad833.js} +12 -10
  202. package/dist/components/p-6b8ad833.js.map +1 -0
  203. package/dist/components/{p-8bfb593e.js → p-8ae9de24.js} +7 -5
  204. package/dist/components/p-8ae9de24.js.map +1 -0
  205. package/dist/components/{p-e790d9c3.js → p-9023f483.js} +7 -7
  206. package/dist/components/p-9023f483.js.map +1 -0
  207. package/dist/components/{p-e198d18d.js → p-92877dec.js} +3 -3
  208. package/dist/components/{p-e198d18d.js.map → p-92877dec.js.map} +1 -1
  209. package/dist/components/{p-5a30e92a.js → p-977764ce.js} +2 -2
  210. package/dist/components/{p-5a30e92a.js.map → p-977764ce.js.map} +1 -1
  211. package/dist/components/{p-17144463.js → p-9af82179.js} +3 -3
  212. package/dist/components/{p-17144463.js.map → p-9af82179.js.map} +1 -1
  213. package/dist/components/{p-6c339b3f.js → p-a8fc1a6f.js} +33 -13
  214. package/dist/components/p-a8fc1a6f.js.map +1 -0
  215. package/dist/components/{p-0c3f1ae2.js → p-ad5a06e5.js} +6 -6
  216. package/dist/components/{p-0c3f1ae2.js.map → p-ad5a06e5.js.map} +1 -1
  217. package/dist/components/{p-a7c4e272.js → p-b20e1208.js} +37 -25
  218. package/dist/components/p-b20e1208.js.map +1 -0
  219. package/dist/components/{p-64964951.js → p-bf8461c6.js} +3 -3
  220. package/dist/components/{p-64964951.js.map → p-bf8461c6.js.map} +1 -1
  221. package/dist/components/p-c2bbed0e.js +55 -0
  222. package/dist/components/p-c2bbed0e.js.map +1 -0
  223. package/dist/components/{p-3d8f80e9.js → p-c991b6ce.js} +6 -2
  224. package/dist/components/p-c991b6ce.js.map +1 -0
  225. package/dist/components/{p-fb46b2b0.js → p-d033be88.js} +10 -10
  226. package/dist/components/p-d033be88.js.map +1 -0
  227. package/dist/components/{p-43250a93.js → p-dacb769c.js} +6 -6
  228. package/dist/components/{p-43250a93.js.map → p-dacb769c.js.map} +1 -1
  229. package/dist/components/{p-8d1707cb.js → p-e4b16ff4.js} +3 -3
  230. package/dist/components/{p-8d1707cb.js.map → p-e4b16ff4.js.map} +1 -1
  231. package/dist/components/{p-888acea3.js → p-eaaefb80.js} +4 -4
  232. package/dist/components/{p-888acea3.js.map → p-eaaefb80.js.map} +1 -1
  233. package/dist/components/{p-40b924b3.js → p-f260054c.js} +71 -45
  234. package/dist/components/p-f260054c.js.map +1 -0
  235. package/dist/components/{p-df6f1225.js → p-fc3b2733.js} +4 -4
  236. package/dist/components/{p-df6f1225.js.map → p-fc3b2733.js.map} +1 -1
  237. package/dist/components/{p-32cf95f6.js → p-fd8f1d13.js} +2 -2
  238. package/dist/components/{p-32cf95f6.js.map → p-fd8f1d13.js.map} +1 -1
  239. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  240. package/dist/esm/gb-avatar-group.entry.js +1 -1
  241. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  242. package/dist/esm/{gb-avatar_28.entry.js → gb-avatar_34.entry.js} +364 -83
  243. package/dist/esm/gb-avatar_34.entry.js.map +1 -0
  244. package/dist/esm/gb-button-close_2.entry.js +2 -2
  245. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  246. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  247. package/dist/esm/gb-file-type-icon.entry.js +1 -1
  248. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  249. package/dist/esm/gb-file-upload.entry.js +1 -1
  250. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  251. package/dist/esm/gb-megainput-field.entry.js +3 -3
  252. package/dist/esm/gb-notification-content.entry.js +2 -2
  253. package/dist/{components/p-eed6f80c.js → esm/gb-password-button.entry.js} +9 -40
  254. package/dist/esm/gb-password-button.entry.js.map +1 -0
  255. package/dist/esm/gb-progress-circle.entry.js +2 -2
  256. package/dist/esm/gb-rich-text.entry.js +2 -2
  257. package/dist/esm/gb-scrollbar.entry.js +2 -2
  258. package/dist/esm/gb-slider-control-handle.entry.js +2 -2
  259. package/dist/esm/gb-slider.entry.js +2 -2
  260. package/dist/esm/gb-textarea-input-field.entry.js +1 -1
  261. package/dist/esm/gb-toast-button.entry.js +2 -2
  262. package/dist/esm/gb-toast.entry.js +2 -2
  263. package/dist/esm/gb-toggle-base.entry.js +3 -3
  264. package/dist/esm/gb-toggle.entry.js +2 -2
  265. package/dist/esm/gb-token-field.entry.js +2 -2
  266. package/dist/esm/gb-verification-code-field.entry.js +3 -3
  267. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  268. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  269. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  270. package/dist/esm/globuscomponents.js +3 -3
  271. package/dist/esm/{index-e1003372.js → index-be73e596.js} +9 -4
  272. package/dist/esm/index-be73e596.js.map +1 -0
  273. package/dist/esm/loader.js +3 -3
  274. package/dist/globuscomponents/assets/user-group.svg +10 -0
  275. package/dist/globuscomponents/gb-button.css +1 -0
  276. package/dist/globuscomponents/gb-button.tsx +3 -3
  277. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  278. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  279. package/dist/globuscomponents/{p-32d3c7d7.entry.js → p-1c4be13a.entry.js} +2 -2
  280. package/dist/globuscomponents/{p-f16ffdee.entry.js → p-1d2985a5.entry.js} +2 -2
  281. package/dist/globuscomponents/{p-727bfde6.entry.js → p-263e06c7.entry.js} +2 -2
  282. package/dist/globuscomponents/{p-e25f6faa.entry.js → p-2adda6a5.entry.js} +2 -2
  283. package/dist/globuscomponents/p-2f557384.entry.js +2 -0
  284. package/dist/globuscomponents/p-2f557384.entry.js.map +1 -0
  285. package/dist/globuscomponents/{p-2f175d13.entry.js → p-3d8baf6c.entry.js} +2 -2
  286. package/dist/globuscomponents/{p-e718da9d.entry.js → p-3e8c8ead.entry.js} +2 -2
  287. package/dist/globuscomponents/{p-a2a9d289.entry.js → p-3fc3956d.entry.js} +2 -2
  288. package/dist/globuscomponents/{p-840531e9.entry.js → p-40f11c62.entry.js} +2 -2
  289. package/dist/globuscomponents/{p-767e5360.entry.js → p-427cfeeb.entry.js} +2 -2
  290. package/dist/globuscomponents/{p-2322ea7a.entry.js → p-4e97f7cd.entry.js} +2 -2
  291. package/dist/globuscomponents/{p-f9619e08.entry.js → p-4eebea94.entry.js} +2 -2
  292. package/dist/globuscomponents/{p-e8f2fe42.js → p-593875d5.js} +3 -3
  293. package/dist/globuscomponents/p-593875d5.js.map +1 -0
  294. package/dist/globuscomponents/p-5ea9e5cd.entry.js +2 -0
  295. package/dist/globuscomponents/{p-d3b5c5b4.entry.js → p-67b452b7.entry.js} +2 -2
  296. package/dist/globuscomponents/{p-049fa055.entry.js → p-748089ba.entry.js} +2 -2
  297. package/dist/globuscomponents/{p-db6d90c3.entry.js → p-790abb4e.entry.js} +2 -2
  298. package/dist/globuscomponents/p-81eb4639.entry.js +2 -0
  299. package/dist/globuscomponents/p-92c7f3ab.entry.js +2 -0
  300. package/dist/globuscomponents/p-92c7f3ab.entry.js.map +1 -0
  301. package/dist/globuscomponents/{p-37bbc2bf.entry.js → p-a05326b0.entry.js} +2 -2
  302. package/dist/globuscomponents/{p-363fe580.entry.js → p-aa4006c2.entry.js} +2 -2
  303. package/dist/globuscomponents/{p-42fb642f.entry.js → p-acf94a1a.entry.js} +2 -2
  304. package/dist/globuscomponents/{p-2b72d966.entry.js → p-c0e095b8.entry.js} +2 -2
  305. package/dist/globuscomponents/{p-fc55539e.entry.js → p-c6e2e53a.entry.js} +2 -2
  306. package/dist/globuscomponents/{p-0179fa9e.entry.js → p-cf24a49c.entry.js} +2 -2
  307. package/dist/globuscomponents/{p-78b3b361.entry.js → p-d1103820.entry.js} +2 -2
  308. package/dist/globuscomponents/{p-8ddf3c50.entry.js → p-d6fb070d.entry.js} +2 -2
  309. package/dist/globuscomponents/{p-7a7cdc5c.entry.js → p-d7187578.entry.js} +2 -2
  310. package/dist/globuscomponents/{p-173cf34c.entry.js → p-e3e0a65e.entry.js} +2 -2
  311. package/dist/globuscomponents/{p-e631fbd1.entry.js → p-e77016c3.entry.js} +2 -2
  312. package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +3 -0
  313. package/dist/types/components/gb-avatar-label-group/gb-avatar-label-group.d.ts +3 -1
  314. package/dist/types/components/gb-checkbox/gb-checkbox.d.ts +1 -0
  315. package/dist/types/components/gb-header/gb-header.d.ts +3 -1
  316. package/dist/types/components/gb-help-tooltip/gb-help-tooltip.d.ts +8 -0
  317. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +5 -3
  318. package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -1
  319. package/dist/types/components.d.ts +29 -6
  320. package/package.json +1 -1
  321. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -44
  322. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
  323. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -77
  324. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
  325. package/dist/cjs/gb-avatar_28.cjs.entry.js.map +0 -1
  326. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -31
  327. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
  328. package/dist/cjs/gb-header-icon.cjs.entry.js +0 -34
  329. package/dist/cjs/gb-header-icon.cjs.entry.js.map +0 -1
  330. package/dist/cjs/gb-header.cjs.entry.js +0 -42
  331. package/dist/cjs/gb-header.cjs.entry.js.map +0 -1
  332. package/dist/cjs/gb-notification-pane.cjs.entry.js +0 -45
  333. package/dist/cjs/gb-notification-pane.cjs.entry.js.map +0 -1
  334. package/dist/cjs/index-76d06259.js.map +0 -1
  335. package/dist/components/p-3d8f80e9.js.map +0 -1
  336. package/dist/components/p-40b924b3.js.map +0 -1
  337. package/dist/components/p-6c339b3f.js.map +0 -1
  338. package/dist/components/p-7d2b0b60.js.map +0 -1
  339. package/dist/components/p-8bfb593e.js.map +0 -1
  340. package/dist/components/p-a7c4e272.js.map +0 -1
  341. package/dist/components/p-a9079204.js.map +0 -1
  342. package/dist/components/p-d947050b.js.map +0 -1
  343. package/dist/components/p-e790d9c3.js.map +0 -1
  344. package/dist/components/p-fb46b2b0.js.map +0 -1
  345. package/dist/esm/gb-avatar-dropdown.entry.js +0 -40
  346. package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
  347. package/dist/esm/gb-avatar-label-group.entry.js +0 -73
  348. package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
  349. package/dist/esm/gb-avatar_28.entry.js.map +0 -1
  350. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -27
  351. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
  352. package/dist/esm/gb-header-icon.entry.js +0 -30
  353. package/dist/esm/gb-header-icon.entry.js.map +0 -1
  354. package/dist/esm/gb-header.entry.js +0 -38
  355. package/dist/esm/gb-header.entry.js.map +0 -1
  356. package/dist/esm/gb-notification-pane.entry.js +0 -41
  357. package/dist/esm/gb-notification-pane.entry.js.map +0 -1
  358. package/dist/esm/index-e1003372.js.map +0 -1
  359. package/dist/globuscomponents/p-34a50ac8.entry.js +0 -2
  360. package/dist/globuscomponents/p-34a50ac8.entry.js.map +0 -1
  361. package/dist/globuscomponents/p-598cae99.entry.js +0 -2
  362. package/dist/globuscomponents/p-598cae99.entry.js.map +0 -1
  363. package/dist/globuscomponents/p-5c53945b.entry.js +0 -2
  364. package/dist/globuscomponents/p-76c62d1e.entry.js +0 -2
  365. package/dist/globuscomponents/p-a495b1f4.entry.js +0 -2
  366. package/dist/globuscomponents/p-a495b1f4.entry.js.map +0 -1
  367. package/dist/globuscomponents/p-c69ca52b.entry.js +0 -2
  368. package/dist/globuscomponents/p-c69ca52b.entry.js.map +0 -1
  369. package/dist/globuscomponents/p-c7e4235c.entry.js +0 -2
  370. package/dist/globuscomponents/p-c7e4235c.entry.js.map +0 -1
  371. package/dist/globuscomponents/p-ded71532.entry.js +0 -2
  372. package/dist/globuscomponents/p-ded71532.entry.js.map +0 -1
  373. package/dist/globuscomponents/p-e8b51d32.entry.js +0 -2
  374. package/dist/globuscomponents/p-e8b51d32.entry.js.map +0 -1
  375. package/dist/globuscomponents/p-e8f2fe42.js.map +0 -1
  376. /package/dist/globuscomponents/{p-32d3c7d7.entry.js.map → p-1c4be13a.entry.js.map} +0 -0
  377. /package/dist/globuscomponents/{p-f16ffdee.entry.js.map → p-1d2985a5.entry.js.map} +0 -0
  378. /package/dist/globuscomponents/{p-727bfde6.entry.js.map → p-263e06c7.entry.js.map} +0 -0
  379. /package/dist/globuscomponents/{p-e25f6faa.entry.js.map → p-2adda6a5.entry.js.map} +0 -0
  380. /package/dist/globuscomponents/{p-2f175d13.entry.js.map → p-3d8baf6c.entry.js.map} +0 -0
  381. /package/dist/globuscomponents/{p-e718da9d.entry.js.map → p-3e8c8ead.entry.js.map} +0 -0
  382. /package/dist/globuscomponents/{p-a2a9d289.entry.js.map → p-3fc3956d.entry.js.map} +0 -0
  383. /package/dist/globuscomponents/{p-840531e9.entry.js.map → p-40f11c62.entry.js.map} +0 -0
  384. /package/dist/globuscomponents/{p-767e5360.entry.js.map → p-427cfeeb.entry.js.map} +0 -0
  385. /package/dist/globuscomponents/{p-2322ea7a.entry.js.map → p-4e97f7cd.entry.js.map} +0 -0
  386. /package/dist/globuscomponents/{p-f9619e08.entry.js.map → p-4eebea94.entry.js.map} +0 -0
  387. /package/dist/globuscomponents/{p-76c62d1e.entry.js.map → p-5ea9e5cd.entry.js.map} +0 -0
  388. /package/dist/globuscomponents/{p-d3b5c5b4.entry.js.map → p-67b452b7.entry.js.map} +0 -0
  389. /package/dist/globuscomponents/{p-049fa055.entry.js.map → p-748089ba.entry.js.map} +0 -0
  390. /package/dist/globuscomponents/{p-db6d90c3.entry.js.map → p-790abb4e.entry.js.map} +0 -0
  391. /package/dist/globuscomponents/{p-5c53945b.entry.js.map → p-81eb4639.entry.js.map} +0 -0
  392. /package/dist/globuscomponents/{p-37bbc2bf.entry.js.map → p-a05326b0.entry.js.map} +0 -0
  393. /package/dist/globuscomponents/{p-363fe580.entry.js.map → p-aa4006c2.entry.js.map} +0 -0
  394. /package/dist/globuscomponents/{p-42fb642f.entry.js.map → p-acf94a1a.entry.js.map} +0 -0
  395. /package/dist/globuscomponents/{p-2b72d966.entry.js.map → p-c0e095b8.entry.js.map} +0 -0
  396. /package/dist/globuscomponents/{p-fc55539e.entry.js.map → p-c6e2e53a.entry.js.map} +0 -0
  397. /package/dist/globuscomponents/{p-0179fa9e.entry.js.map → p-cf24a49c.entry.js.map} +0 -0
  398. /package/dist/globuscomponents/{p-78b3b361.entry.js.map → p-d1103820.entry.js.map} +0 -0
  399. /package/dist/globuscomponents/{p-8ddf3c50.entry.js.map → p-d6fb070d.entry.js.map} +0 -0
  400. /package/dist/globuscomponents/{p-7a7cdc5c.entry.js.map → p-d7187578.entry.js.map} +0 -0
  401. /package/dist/globuscomponents/{p-173cf34c.entry.js.map → p-e3e0a65e.entry.js.map} +0 -0
  402. /package/dist/globuscomponents/{p-e631fbd1.entry.js.map → p-e77016c3.entry.js.map} +0 -0
@@ -2674,39 +2674,13 @@
2674
2674
  margin-top: -0.416em;
2675
2675
  }
2676
2676
 
2677
- div {
2678
- font-family: var(--font-family-body);
2679
- font-style: normal;
2680
- letter-spacing: var(--Font-Letter-spacing-T-md, 0rem);
2677
+ input{
2678
+ height: 100%;
2681
2679
  }
2682
2680
 
2683
- div.sm {
2681
+ .input{
2684
2682
  display: flex;
2685
- width: 24.3125rem;
2686
- flex-direction: column;
2687
- align-items: flex-start;
2688
- gap: var(--spacing-2);
2689
- }
2690
-
2691
- div.md {
2692
- display: flex;
2693
- width: 24.3125rem;
2694
- flex-direction: column;
2695
- align-items: flex-start;
2696
- gap: var(--spacing-2);
2697
- }
2698
-
2699
- .input-with-label {
2700
- display: flex;
2701
- flex-direction: column;
2702
- align-items: flex-start;
2703
- gap: var(--spacing-2);
2704
- align-self: stretch;
2705
- }
2706
-
2707
- .input-wrapper {
2708
- display: flex;
2709
- justify-content: space-between;
2683
+ width: 100%;
2710
2684
  align-items: center;
2711
2685
  gap: var(--spacing-2);
2712
2686
  align-self: stretch;
@@ -2715,291 +2689,12 @@ div.md {
2715
2689
  background: var(--color-background-card, #FFFFFF);
2716
2690
  }
2717
2691
 
2718
- .sm .input-wrapper {
2719
- height: var(--spacing-Positive-spacing-8, 2.5rem);
2720
- padding: 0.25rem var(--spacing-3, 0.75rem);
2721
- }
2722
-
2723
- .md .input-wrapper{
2724
- height: 3rem;
2725
- padding: 0.45rem var(--spacing-3, 0.75rem);
2726
- }
2727
-
2728
- .leading_text .input-wrapper.sm,
2729
- .leading_text .input-wrapper.md {
2730
- flex-direction: row;
2731
- }
2732
-
2733
- .count .input-wrapper.md,
2734
- .count .input-wrapper.sm {
2735
- padding: 0;
2736
- flex-direction: row;
2737
- }
2738
-
2739
- .input-wrapper:focus-within,
2740
- .leading_text:focus-within .text-input {
2741
- border: 1.3px solid var(--color-border-selected,#075DB2);
2742
- }
2743
-
2744
- .content{
2745
- display: flex;
2746
- align-items: center;
2747
- align-content: center;
2748
- gap: 0.5rem var(--spacing-2);
2749
- flex: 1 0 0;
2750
- align-self: stretch;
2751
- }
2752
-
2753
- .password .content{
2754
- padding: var(--spacing-2) var(--spacing-none) var(--spacing-2) var(--spacing-3);
2755
- flex-wrap: wrap;
2756
- }
2757
-
2758
- .icon {
2759
- position: relative;
2760
- top: 3px;
2761
- }
2762
-
2763
- .leading_text{
2764
- display: flex;
2765
- }
2766
-
2767
- .leading_text_wrapper{
2768
- display: flex;
2769
- width: fit-content;
2770
- border-radius: var(--rounded-sm);
2771
- }
2772
-
2773
- .add-on {
2774
- display: flex;
2775
- align-items: center;
2776
- align-self: stretch;
2777
- padding: var(--spacing-2) var(--spacing-3);
2778
- border-radius: 0.5rem var(--rounded-none) var(--rounded-none) 0.5rem;
2779
- border: 1px solid var(--color-border-input, #CDD5DF);
2780
- border-right: none;
2781
- }
2782
-
2783
- .dropdown {
2784
- display: flex;
2785
- align-items: center;
2786
- gap: var(--spacing-1);
2787
- align-self: stretch;
2788
- margin-top: 0.1rem;
2789
- }
2790
-
2791
- select {
2792
- border: none;
2793
- background-color: var(--color-background-card, #FFFFFF);
2794
- color: #374151; /* Text color */
2795
- box-shadow: none; /* Remove default box shadow */
2796
- outline: none;
2797
- }
2798
-
2799
- select:focus {
2800
- border:none; /* Maintain light border on focus */
2801
- box-shadow: none; /* Ensure no additional shadow appears on focus */
2802
- }
2803
-
2804
- .text-input {
2805
- display: flex;
2806
- align-items: center;
2807
- gap: var(--spacing-Positive-spacing-2, 0.5rem);
2808
- flex: 1 0 0;
2809
- align-self: stretch;
2810
- }
2811
-
2812
- .trailing_button .text-input {
2813
- padding: var(--spacing-Positive-spacing-2, 0.5rem) var(--spacing-Positive-spacing-3, 0.75rem);
2814
- }
2815
-
2816
- .count .text-input {
2817
- padding: var(--spacing-Positive-spacing-2, 0.5rem) 0rem var(--spacing-Positive-spacing-2, 0.5rem) var(--spacing-Positive-spacing-3, 0.75rem);
2818
- border-radius: 0.5rem var(--Radius-rounded-none, 0rem) var(--Radius-rounded-none, 0rem) 0.5rem;
2819
- border: 1px solid var(--color-boarder-input, #CDD5DF);
2820
- }
2821
-
2822
- .leading_dropdown .text-input {
2823
- padding: var(--spacing-Positive-spacing-2, 0.5rem) var(--spacing-Positive-spacing-3, 0.75rem) var(--spacing-Positive-spacing-2, 0.5rem) 0rem;
2824
- }
2825
-
2826
- .leading_text .text-input {
2827
- width: 14.4rem;
2828
- padding: 0.625rem 0.875rem;
2829
- border: 1px solid var(--gray-300, #D0D5DD);
2830
- border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
2831
- }
2832
-
2833
- .trailing_dropdown .dropdown {
2834
- display: flex;
2835
- padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) 0;
2836
- justify-content: space-between;
2837
- }
2838
-
2839
- .count-action {
2840
- display: flex;
2841
- justify-content: space-between;
2842
- padding-right: var(--spacing-1);
2843
- align-items: center;
2844
- gap: var(--spacing-none);
2845
- }
2846
-
2847
- .decrease-btn {
2848
- display: flex;
2849
- width: 2.5rem;
2850
- height: 2.5rem;
2851
- justify-content: center;
2852
- align-items: center;
2853
- border-radius: var(--rounded-none);
2854
- border-right: 1px solid var(--color-border-input, #CDD5DF);
2855
- }
2856
-
2857
- .payment-method {
2858
- display: flex;
2859
- width: 2.125rem;
2860
- height: var(--spacing-6);
2861
- justify-content: center;
2862
- align-items: center;
2863
- border-radius: var(--rounded-xs);
2864
- border: 1px solid var(--color-border-subtler, #E3E8EF);
2865
- background: var(--color-background-card, #FFFFFF);
2866
- }
2867
-
2868
- .tags-box {
2869
- display: flex;
2870
- align-items: center;
2871
- align-content: center;
2872
- gap: 0.375rem;
2873
- flex-wrap: wrap;
2874
- }
2875
-
2876
- .tags input {
2877
- width: 160px;
2878
- padding-right: 8px;
2879
- }
2880
-
2881
- input {
2882
- border: none;
2883
- background-color: var(--color-background-card, #FFFFFF);
2884
- color: var(--color-text, #4B5565);
2885
- box-shadow: none; /* Remove default box shadow */
2886
- outline: none;
2887
- font-family: var(--Font-Family-Body, Sora);
2888
- font-style: normal;
2889
- letter-spacing: var(--Font-Letter-spacing-T-md, 0rem);
2890
- width: 100%;
2891
- }
2892
-
2893
- .trailing-btn {
2894
- display: flex;
2895
- width: var(--spacing-Positive-spacing-8, 2.5rem);
2896
- height: var(--spacing-Positive-spacing-8, 2.5rem);
2897
- justify-content: center;
2898
- align-items: center;
2899
- }
2900
-
2901
- .trailing_dropdown .help-icon {
2902
- margin-left: -5px;
2903
- }
2904
-
2905
- .trailing_dropdown .help-icon svg {
2906
- position: relative;
2907
- left: 5%;
2908
- top: 2px;
2909
- }
2910
-
2911
- .tags .help-icon svg {
2912
- left: -52%;
2913
- }
2914
-
2915
- .help-icon{
2916
- display: flex;
2917
- align-items: center;
2918
- }
2919
-
2920
- .help-svg {
2921
- margin-right: 0.4rem;
2922
- }
2923
-
2924
- label{
2925
- color: var(--color-text, #4B5565);
2926
- }
2927
-
2928
- .hint_text{
2929
- color: var(--color-text-subtle, #697586);
2930
- }
2931
-
2932
- /* Destructive State Styles */
2933
- .help_icon.destructive{
2934
- stroke: var(--color-icon-danger, #B51726);
2935
- }
2936
-
2937
- .hint_text.destructive{
2938
- color: var(--color-text-danger, #B51726);
2939
- }
2940
-
2941
- .input-wrapper.destructive{
2942
- border: 1px solid var(--color-border-danger, #B51726);
2943
- }
2944
-
2945
- .leading_text.destructive .text-input {
2946
- border: 1.5px solid var(--color-border-danger, #B51726);
2947
- }
2948
-
2949
- /* Disabled Styles */
2950
- .input-wrapper.disabled,
2951
- .leading_text.disabled .text-input,
2952
- .input-wrapper.default.disabled {
2953
- border: 1px solid var(--color-border-disabled, #E3E8EF);
2954
- background: var(--color-background-disabled, #F6F8FA);
2955
- pointer-events: none;
2956
- cursor: not-allowed;
2957
- }
2958
-
2959
- .input-wrapper.disabled input,
2960
- .leading_text.disabled input{
2961
- background: var(--color-background-disabled, #F6F8FA);
2962
- }
2963
-
2964
- .hint_text.disabled{
2965
- color: var(--color-text-subtle, #697586);
2966
- }
2967
-
2968
- .icon_leading_svg.disabled path{
2969
- stroke: var(--color-icon-disabled, #CDD5DF);
2970
- }
2971
-
2972
- .leading_dropdown.disabled select,
2973
- .trailing_dropdown.disabled select{
2974
- background: var(--color-background-disabled, #F6F8FA);
2975
- color: var(--color-text-subtle, #697586);
2976
- }
2977
-
2978
- .password_dropdown{
2979
- display: flex;
2980
- padding-left: var(--spacing-3);
2981
- align-items: center;
2982
- gap: var(--spacing-1);
2983
- align-self: stretch;
2984
- }
2985
-
2986
- option{
2987
- display: flex;
2988
- padding: var(--spacing-none);
2989
- flex-direction: column;
2990
- align-items: flex-start;
2991
- align-items: stretch;
2992
- border-radius: var(--rounded-sm);
2993
- border: 1px solid var(--color-border-subtler, red);
2994
- background: var(--color-surface, #FFFFFF);
2995
- box-shadow: var(--shadow-sm);
2996
- position: absolute;
2997
- top: 4.5rem;
2998
- z-index: 10;
2999
- gap: var(--spacing-none);
2692
+ .input.sm{
2693
+ min-height: 2.5rem;
2694
+ padding: var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--spacing-3);
3000
2695
  }
3001
2696
 
3002
- .validation_svg{
3003
- width: 1.25rem;
3004
- height: 1.25rem;
2697
+ .input.md{
2698
+ min-height: 3rem;
2699
+ padding: var(--spacing-4) 0.875rem var(--spacing-4) var(--spacing-3);
3005
2700
  }
@@ -1,5 +1,4 @@
1
- import { getAssetPath, h, Fragment } from "@stencil/core";
2
- import { StateEnum } from "../../models/reusableModels";
1
+ import { h } from "@stencil/core";
3
2
  export class GbInputField {
4
3
  constructor() {
5
4
  this.size = undefined;
@@ -11,7 +10,7 @@ export class GbInputField {
11
10
  this.showHintText = false;
12
11
  this.hintText = '';
13
12
  this.showPlaceholder = false;
14
- this.placeholderText = '';
13
+ this.placeholder = '';
15
14
  this.showHelpIcon = false;
16
15
  this.showValidation = false;
17
16
  this.iconSwap = undefined;
@@ -31,15 +30,10 @@ export class GbInputField {
31
30
  this.isPasswordVisible = !this.isPasswordVisible;
32
31
  }
33
32
  render() {
34
- const iconSwap = this.iconSwap ? getAssetPath(`assets/${this.iconSwap}.svg`) : '';
35
- const classes = {
36
- [this.size]: true,
37
- [this.type]: true,
38
- destructive: this.destructive,
39
- disabled: this.state === 'disabled',
40
- };
41
- return (h("div", { key: '10f38408497a6aea7be9f2818eb13d49f0294f75', class: classes }, h("div", { key: '16c2cae02a4f42b78bc22437490e1f864efb51ea', class: "input-with-label" }, this.showLabel && (h("label", { key: '07e1139d058ec966ec27f23655df9250c54f7ecf', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: 'e816e007279bcad82852f441623130db09f6a1e4', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '9d83cace3043fec9f200b6ad08ef4990a7ee66de', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: 'ae6c72fb14196515de6e7131fa344ea83e8768f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'd510bc1ba34f8844adfce4969963184cf943162d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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" })))) : this.destructive && this.state !== 'disabled' ? (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.destructive &&
42
- this.state === 'disabled' && (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" }))))))))), this.type === 'icon_leading' && (h("div", { key: '134402af35dcac4228f592fdbaf549c72d98ae2c', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '815d9209eee1a4afc0d3e4ed82d279a88d1d8f5c', class: "content" }, h("div", { key: '24ddc2dde4ee249699640bf5c7b2cbf84ec689da', 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", class: `icon_leading_svg ${this.state}` }, 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: 'e6ce0ae2341eb4c4bc2b38de4cd03533755d4a36', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '43620f29e80357303a9e8c9f082407f256404e2f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '0f18552e0174f72c48bc445e5e64c7674e42490a', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: '937ddb867ab7ea920fe9d5a47d53af8d1c9c6a88', 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: '5e4d2d6d138e841debd5a7e3708ed5a087cb13da', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7745812e56bd27824897fee5c49acecb4ade330a', class: "dropdown" }, h("div", { key: 'e2c315dd23d5dcf7d9473d69e9f22310f735c469', class: "country-icon" }, h("svg", { key: '89d350e728f4f3525ff0dee033ae2b7449faf8fb', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'da63c41e00ff6952edd2e66b87a03a505ac24237', 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: '0f5777b7a888f7133760d62349eaef7f9cefa314', 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: 'd30fb32d4b4037d6b2452cd2854fdd7062a70eea', class: "text-md-regular" }, h("option", { key: 'a953cf608eef2538a9fe32a1269e0dad4f6d0dce', value: "option 1", selected: true }, "+234"), h("slot", { key: '968b0382a7e573b4dad92c49fae31974e90ec356', name: "country-option" }))), h("div", { key: '1a7503dbb59fe5b999d578066747f17b42035db6', class: "text-input" }, h("input", { key: 'c91e68c3ad58e5ec63cec01995ecefa2abfc8cc7', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: 'c5b043c1aa4b3332f2da8cf937f935902d3b3e3a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'f8e9a579154011109f78e265dcd7c0dea69322b8', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: 'cedd8fe2b1d0ea94e9be1a4b7916288257475fc1', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6fe02b8b31c78ddd367c54eac65260b2dcaf474a', class: "content" }, h("div", { key: '89d069df8cbfbc94bec58318a9a42033626dc1cd', class: "text-input" }, h("p", { key: 'eea8348a7ad1a95f7e31eccd64ef4dd829e23ff3', class: "text-md-regular" }, "$"), h("input", { key: '2a5b7abae9668477396c2a1fd892071ae41180af', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '473460c0403359f48f9380fd76ddb4e277dbe36c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'bf4c1a66da4e9650a4cbe12a7d6a8444622d0239', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: '1ff2a5fa458b585006643f71c656660988aab247', class: "dropdown" }, h("select", { key: '611b4fa329b1905662e10ccb0ab93e98f25dad9b', class: "text-md-regular" }, h("option", { key: 'b9b49d3373d7aba701ebfcc1ff3038565626f864', value: "option 1", selected: true }, "USD"), h("slot", { key: 'b2ef5d331510853ff1141f9b346b6c5bd0be7e91', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: 'dfccde3a7292a6cd8edf2140ae06807820320001', class: "leading_text_wrapper" }, h("div", { key: 'a45d04ff78e35152f04efd61b063ed9e0ae7d59a', class: "add-on" }, h("p", { key: 'd48c87c958948cb412109ae5c645e8a944fa5538', class: "text-md-regular" }, "http://")), h("div", { key: '53d7dc369ff9e3a3123a81ce413a09daee0ce861', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c176999d4acd94e9640211ff6ca681bd3594e83a', class: "text-input" }, h("input", { key: 'a3787e260a5df6d7b16b5ea4beae35fcb668c798', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: '94f3086781eb359aae3a45d46209cc1c57a01d6d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '1f0950c2545211e5b87c84e740269d3900b31e4b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: 'a042419202b23547cee114d7a809aad9bcc385aa', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'cf89f2c4666fe8c0f0f02f2304f1019f7c3cba43', class: "content" }, h("div", { key: 'e36641ec52d3a99067a5ea652553cf903f55a906', class: "payment-method" }, h("svg", { key: '341091e617c43796f0540b1d1ff60cd61f9532aa', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '25334f80b2001d44cc504b5d553c78eaa7584914', "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: 'f7de982a96be34b26272ca7266c943f15054b3eb', "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: 'dc38a8975707dd0ba6c84cb004bed55e0c85a9af', "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: '9249b161b275d8f9ca03c145f4054814dfcafee6', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '6310b38048081b50ee7940d2b1ff79fe181df403', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'ca988b417b3e505616cb42ea7dd191d054eacfbf', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b900ec3851ba71c8a6b316d9043d41762d7692f9', 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: '31f19ec5d03125056e15c657e10990f3d20ee09d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '158bc8ed04b7eb505df81ef376cf97ca2f07de31', class: "content" }, h("div", { key: 'f70c99728d5134eabd55015d220626d4947b7fc9', class: "tags-box" }, h("slot", { key: 'b67ff42e32ca0406f28ef02f2f0f5fccda25b83a', name: "tag-option" })), h("input", { key: '768b6aaf7196ee1d4d3feb8d0d735fc511a4f21f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '1435b38672ba4ee76faf2d79647366f6800e110c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '550bd6fe06b45c98df9ed93eecde6a295ee9545d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'f39bb5b4b029dee26cbb1256fbb8f3ca9b2892f3', 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: 'fa8e0f790ef7bf2286da58c864b2bcec36c628c7', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6a99099bcfd9729ddcfbd26f1b9ea7fc6d894c8e', class: "text-input" }, h("input", { key: '3dce46e99076f3559c4abdf1d228bb172671eb45', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: '2f8fabb1d74da75a4c5b60f8f2b124bd6d736644', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '4d97578d3498b4186b1f215dbb033db3894b7b9c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: 'd2019d27c8c751843ce84a66d4f1f5dd93ac5320', class: "trailing-btn" }, h("gb-button", { key: 'd0fc2a47f5023db1b97e3f561c59369bc04a520c', 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: 'dda7c763e19d79450d36795504378b58567fee00', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '731e8b19e35a5d1342238aaf62b0a2089b7eaeb6', class: "content" }, h("div", { key: '35ae8ec65725332cdc897f5f827f5bed424042fc', class: "text-input" }, h("input", { key: '80df6d292274b5473630c49168e7b8d63c0b5396', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', type: this.isPasswordVisible ? 'text' : 'password', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: 'dd6a6cf1bf1e6a538f2ddc0e7777c6d83501b2fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'c54bb5d0b9c89be4ef51c2cab68ae84aa23898fe', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: 'bc27f0e552bf12955de526563917896c978d6d5b', class: "password_dropdown" }, h("gb-password-button", { key: '063fe91693a791c6c0e8bbae773892204f27cca4', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '33adcb3e5ded31cdbfdb1d7b5b13f2c66d0dde40', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c32dbfec23fbfda6847066d12a13edc0c90a4ca1', 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: 'd529c8176fd157a3e91d782fd0b690092ed481ad', class: "text-md-regular", type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '10e3cc84b6b21194cef141a77a7aba21942202de', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '026c44c9f576b40f35d50e43fdd1bbf37ea595f0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h(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: '8c2c1c90fed2591affb04b0ead6471e977759c06', class: "password_dropdown" }, h("gb-password-button", { key: '8449424820c049f67096fca425f9e746ae7b2dfb', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'count' && (h("div", { key: '8bde1c8bfafc275b66c81300b4ab592e2c47c580', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'cd6d5cd2f22f1faffd569fc22f2d9a6844990908', class: "text-input" }, h("input", { key: '9cc05213278a46e26d0dbf729327e71cff5c9b80', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '882bfcad915d205671619ad4efb143eaf6ec33c6', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '09fbce30bee48542ee7d075662798b272a683e00', 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: '7f8d489b2e47e06db159d65997ba821ad7fdfcb0', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: 'bd958959817ece586aa4fc3dcecde63ecaacc56b', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: 'f24483c5fc50e7d749322fd61a0b68792ab52fba', 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: 'b3cd8e31640f1daa4912da7c0f3b7e012b341f5c', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
33
+ return (h("div", { key: '5efa05e2e98e30b74236c412c333b0b13797ae96', class: `input_container` }, h("div", { key: 'f7db7664a9c3f81438d71e3fe309581e64d0785c', class: `input_with_label` }, this.showLabel && (h("p", { key: '5ca865d38dba106c2296186702228edb1b1fe924', class: "text-sm-medium" }, this.label)), h("div", { key: 'a41498bd72627ec9e9095d94e4a334240cfef663', class: `input ${this.size}` }, this.type === 'default' && [
34
+ h("input", { key: '3ae2e2a35e7cdecb9b833fe28b7910161c0d74df', type: "text", placeholder: this.placeholder ? this.placeholder : '' }),
35
+ h("div", { key: '108a4760e3fee45dfbc77258e7d311cba502b868', class: `help_circle` })
36
+ ])), this.showHintText && (h("p", { key: '015a785d505058c62a6c97710e5afe092a6b97a3', class: "text-sm-regular" }, this.hintText))));
43
37
  }
44
38
  static get is() { return "gb-input-field"; }
45
39
  static get encapsulation() { return "shadow"; }
@@ -226,7 +220,7 @@ export class GbInputField {
226
220
  "reflect": false,
227
221
  "defaultValue": "false"
228
222
  },
229
- "placeholderText": {
223
+ "placeholder": {
230
224
  "type": "string",
231
225
  "mutable": false,
232
226
  "complexType": {
@@ -240,7 +234,7 @@ export class GbInputField {
240
234
  "tags": [],
241
235
  "text": ""
242
236
  },
243
- "attribute": "placeholder-text",
237
+ "attribute": "placeholder",
244
238
  "reflect": false,
245
239
  "defaultValue": "''"
246
240
  },