globuswebcomponents 0.4.5 → 0.4.7

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 (278) hide show
  1. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +12 -3
  2. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +3 -3
  4. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -1
  5. package/dist/cjs/{gb-avatar_33.cjs.entry.js → gb-avatar_35.cjs.entry.js} +90 -29
  6. package/dist/cjs/gb-avatar_35.cjs.entry.js.map +1 -0
  7. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
  9. package/dist/cjs/gb-help-dropdown.cjs.entry.js +3 -2
  10. package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-pagination-number-base.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  21. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  22. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  23. package/dist/cjs/globuscomponents.cjs.js +1 -1
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/collection/assets/circle.svg +2 -1
  26. package/dist/collection/assets/dashboard-square-03.svg +4 -0
  27. package/dist/collection/assets/square-arrow-data-transfer-diagonal.svg +6 -0
  28. package/dist/collection/collection-manifest.json +2 -2
  29. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +22 -16
  30. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +49 -2
  31. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
  32. package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +2 -1
  33. package/dist/collection/components/gb-avatar-group/gb-avatar-group.js.map +1 -1
  34. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +5 -0
  35. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +2 -2
  36. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
  37. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +1 -1
  38. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +12 -8
  39. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +23 -1
  40. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js.map +1 -1
  41. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +1 -1
  42. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  43. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +2 -2
  44. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.css +0 -1
  45. package/dist/collection/components/gb-input-dropdown-menu/{gb-input-dropdown-menu.js → gb-input-dropdown-menu-item.js} +3 -3
  46. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.js.map +1 -0
  47. package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
  48. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  49. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  50. package/dist/collection/components/{gb-notification-panel/gb-notification-panel.css → gb-notification-pane/gb-notification-pane.css} +931 -409
  51. package/dist/collection/components/{gb-notification-panel/gb-notification-panel.js → gb-notification-pane/gb-notification-pane.js} +6 -6
  52. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +1 -0
  53. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  54. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  55. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  56. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  57. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  58. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  59. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  60. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  61. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  62. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +17 -10
  63. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  64. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  65. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  66. package/dist/collection/components/gb-sliders/slider.js +1 -1
  67. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  68. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  69. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  70. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  71. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  72. package/dist/collection/components/gb-tags/gb-tags.js +1 -1
  73. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  74. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  75. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  76. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  77. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  78. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  79. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  80. package/dist/components/gb-avatar-add-button.js +1 -1
  81. package/dist/components/gb-avatar-dropdown.js +19 -8
  82. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  83. package/dist/components/gb-avatar-group.js +6 -5
  84. package/dist/components/gb-avatar-group.js.map +1 -1
  85. package/dist/components/gb-avatar-label-group.js +1 -1
  86. package/dist/components/gb-avatar-profile-photo.js +2 -2
  87. package/dist/components/gb-avatar.js +1 -1
  88. package/dist/components/gb-badge.js +1 -1
  89. package/dist/components/gb-checkbox-group-item.js +1 -1
  90. package/dist/components/gb-checkbox-group.js +3 -3
  91. package/dist/components/gb-collapse-button.js +1 -1
  92. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  93. package/dist/components/gb-file-upload-item-base.js +1 -1
  94. package/dist/components/gb-file-upload.js +3 -3
  95. package/dist/components/gb-header.js +2 -2
  96. package/dist/components/gb-help-dropdown.js +6 -4
  97. package/dist/components/gb-help-dropdown.js.map +1 -1
  98. package/dist/components/gb-horizontal-tabs.js +6 -6
  99. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  100. package/dist/components/gb-input-dropdown-menu-item.js +5 -5
  101. package/dist/components/gb-input-dropdown-menu-item.js.map +1 -1
  102. package/dist/components/gb-input-dropdown.js +1 -1
  103. package/dist/components/gb-input-field.js +3 -3
  104. package/dist/components/gb-megainput-field.js +1 -1
  105. package/dist/components/gb-notification-content.js +1 -1
  106. package/dist/components/{gb-notification-panel.d.ts → gb-notification-pane.d.ts} +4 -4
  107. package/dist/components/gb-notification-pane.js +69 -0
  108. package/dist/components/gb-notification-pane.js.map +1 -0
  109. package/dist/components/gb-pagination-button-group-base.js +1 -1
  110. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  111. package/dist/components/gb-pagination-number-base.js +1 -1
  112. package/dist/components/gb-pagination.js +1 -1
  113. package/dist/components/gb-password-button.js +1 -1
  114. package/dist/components/gb-progress-bar.js +1 -1
  115. package/dist/components/gb-progress-circle.js +1 -1
  116. package/dist/components/gb-rich-text.js +5 -5
  117. package/dist/components/gb-scrollbar.js +1 -1
  118. package/dist/components/gb-side-bar-item.js +1 -1
  119. package/dist/components/gb-sidebar.js +7 -7
  120. package/dist/components/gb-slider-control-handle.js +1 -1
  121. package/dist/components/gb-slider.js +3 -3
  122. package/dist/components/gb-status-indicator.js +1 -1
  123. package/dist/components/gb-tab-button-base.js +1 -1
  124. package/dist/components/gb-tag-checkbox.js +1 -1
  125. package/dist/components/gb-tag-close.js +1 -1
  126. package/dist/components/gb-tag-count.js +1 -1
  127. package/dist/components/gb-tag.js +6 -6
  128. package/dist/components/gb-toast-button.js +1 -1
  129. package/dist/components/gb-toast.js +2 -2
  130. package/dist/components/gb-toggle-base.js +1 -1
  131. package/dist/components/gb-toggle.js +2 -2
  132. package/dist/components/gb-token-field.js +2 -2
  133. package/dist/components/gb-tooltip.js +1 -1
  134. package/dist/components/gb-verification-code-field.js +3 -3
  135. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  136. package/dist/components/{p-b1b56453.js → p-0e1ec56d.js} +2 -2
  137. package/dist/components/{p-b1b56453.js.map → p-0e1ec56d.js.map} +1 -1
  138. package/dist/components/{p-a48f3765.js → p-123cdd06.js} +2 -2
  139. package/dist/components/{p-a48f3765.js.map → p-123cdd06.js.map} +1 -1
  140. package/dist/components/{p-20116c62.js → p-4214eb62.js} +3 -3
  141. package/dist/components/{p-20116c62.js.map → p-4214eb62.js.map} +1 -1
  142. package/dist/components/{p-7239b558.js → p-4d306827.js} +2 -2
  143. package/dist/components/{p-7239b558.js.map → p-4d306827.js.map} +1 -1
  144. package/dist/components/{p-79e58411.js → p-52c1516b.js} +4 -4
  145. package/dist/components/{p-79e58411.js.map → p-52c1516b.js.map} +1 -1
  146. package/dist/components/{p-201a8405.js → p-54cefcf0.js} +3 -3
  147. package/dist/components/{p-201a8405.js.map → p-54cefcf0.js.map} +1 -1
  148. package/dist/components/{p-cb33ab6d.js → p-58b75242.js} +2 -2
  149. package/dist/components/{p-cb33ab6d.js.map → p-58b75242.js.map} +1 -1
  150. package/dist/components/{p-bdab2e0b.js → p-6643df76.js} +3 -3
  151. package/dist/components/{p-bdab2e0b.js.map → p-6643df76.js.map} +1 -1
  152. package/dist/components/{p-f15f2882.js → p-8907e475.js} +2 -2
  153. package/dist/components/{p-f15f2882.js.map → p-8907e475.js.map} +1 -1
  154. package/dist/components/{p-c64c5a8f.js → p-9517c064.js} +2 -2
  155. package/dist/components/{p-c64c5a8f.js.map → p-9517c064.js.map} +1 -1
  156. package/dist/components/{p-26921960.js → p-9dc84aa6.js} +3 -3
  157. package/dist/components/{p-26921960.js.map → p-9dc84aa6.js.map} +1 -1
  158. package/dist/components/{p-55139c08.js → p-a20359a2.js} +3 -3
  159. package/dist/components/{p-55139c08.js.map → p-a20359a2.js.map} +1 -1
  160. package/dist/components/{p-b75d82f9.js → p-a7510c0c.js} +5 -5
  161. package/dist/components/{p-b75d82f9.js.map → p-a7510c0c.js.map} +1 -1
  162. package/dist/components/{p-6baad8ef.js → p-ae666b1f.js} +3 -3
  163. package/dist/components/{p-6baad8ef.js.map → p-ae666b1f.js.map} +1 -1
  164. package/dist/components/{p-ff4292c2.js → p-b59eb748.js} +3 -3
  165. package/dist/components/{p-ff4292c2.js.map → p-b59eb748.js.map} +1 -1
  166. package/dist/components/{p-260b6b99.js → p-c9629281.js} +7 -7
  167. package/dist/components/{p-260b6b99.js.map → p-c9629281.js.map} +1 -1
  168. package/dist/components/{p-493fb0be.js → p-ca6140dc.js} +2 -2
  169. package/dist/components/{p-493fb0be.js.map → p-ca6140dc.js.map} +1 -1
  170. package/dist/components/{p-7b972624.js → p-ce25eb27.js} +2 -2
  171. package/dist/components/{p-7b972624.js.map → p-ce25eb27.js.map} +1 -1
  172. package/dist/components/{p-8da0a4c6.js → p-d78d8fa1.js} +6 -6
  173. package/dist/components/p-d78d8fa1.js.map +1 -0
  174. package/dist/components/{p-349ece88.js → p-d797d9df.js} +2 -2
  175. package/dist/components/p-d797d9df.js.map +1 -0
  176. package/dist/components/{p-4d0d5a44.js → p-d9e59617.js} +7 -7
  177. package/dist/components/{p-4d0d5a44.js.map → p-d9e59617.js.map} +1 -1
  178. package/dist/components/{p-ef610ebc.js → p-dc7db1b5.js} +2 -2
  179. package/dist/components/{p-ef610ebc.js.map → p-dc7db1b5.js.map} +1 -1
  180. package/dist/components/{p-91d1a7e6.js → p-fbcd8aaf.js} +2 -2
  181. package/dist/components/{p-91d1a7e6.js.map → p-fbcd8aaf.js.map} +1 -1
  182. package/dist/esm/gb-avatar-dropdown.entry.js +13 -4
  183. package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -1
  184. package/dist/esm/gb-avatar-label-group.entry.js +3 -3
  185. package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
  186. package/dist/esm/{gb-avatar_33.entry.js → gb-avatar_35.entry.js} +89 -30
  187. package/dist/esm/gb-avatar_35.entry.js.map +1 -0
  188. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  189. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
  190. package/dist/esm/gb-help-dropdown.entry.js +3 -2
  191. package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
  192. package/dist/esm/gb-notification-content.entry.js +1 -1
  193. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  194. package/dist/esm/gb-pagination-number-base.entry.js +1 -1
  195. package/dist/esm/gb-progress-bar.entry.js +1 -1
  196. package/dist/esm/gb-progress-circle.entry.js +1 -1
  197. package/dist/esm/gb-rich-text.entry.js +1 -1
  198. package/dist/esm/gb-scrollbar.entry.js +1 -1
  199. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  200. package/dist/esm/gb-slider.entry.js +1 -1
  201. package/dist/esm/gb-toggle-base.entry.js +2 -2
  202. package/dist/esm/gb-toggle.entry.js +1 -1
  203. package/dist/esm/gb-token-field.entry.js +1 -1
  204. package/dist/esm/globuscomponents.js +1 -1
  205. package/dist/esm/loader.js +1 -1
  206. package/dist/globuscomponents/assets/circle.svg +2 -1
  207. package/dist/globuscomponents/assets/dashboard-square-03.svg +4 -0
  208. package/dist/globuscomponents/assets/square-arrow-data-transfer-diagonal.svg +6 -0
  209. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  210. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  211. package/dist/globuscomponents/p-0852d5c0.entry.js +2 -0
  212. package/dist/globuscomponents/{p-18daffd5.entry.js → p-1dc90024.entry.js} +2 -2
  213. package/dist/globuscomponents/p-1dc90024.entry.js.map +1 -0
  214. package/dist/globuscomponents/p-266e67ff.entry.js +2 -0
  215. package/dist/globuscomponents/p-266e67ff.entry.js.map +1 -0
  216. package/dist/globuscomponents/{p-4bb1b1ff.entry.js → p-28e20362.entry.js} +2 -2
  217. package/dist/globuscomponents/{p-609d8f49.entry.js → p-2fd5fb80.entry.js} +2 -2
  218. package/dist/globuscomponents/{p-65dbacc7.entry.js → p-35873c13.entry.js} +2 -2
  219. package/dist/globuscomponents/p-48ddf6c1.entry.js +2 -0
  220. package/dist/globuscomponents/p-48ddf6c1.entry.js.map +1 -0
  221. package/dist/globuscomponents/{p-0f0c4dc6.entry.js → p-5cc60ae0.entry.js} +2 -2
  222. package/dist/globuscomponents/{p-d75d3d96.entry.js → p-5d5b638e.entry.js} +2 -2
  223. package/dist/globuscomponents/p-5d5b638e.entry.js.map +1 -0
  224. package/dist/globuscomponents/{p-1971b0f5.entry.js → p-668477e1.entry.js} +2 -2
  225. package/dist/globuscomponents/{p-79ae57a8.entry.js → p-76fbbe9d.entry.js} +2 -2
  226. package/dist/globuscomponents/{p-08cfe483.entry.js → p-badef09e.entry.js} +2 -2
  227. package/dist/globuscomponents/p-badef09e.entry.js.map +1 -0
  228. package/dist/globuscomponents/{p-d733c69f.entry.js → p-c5541a8c.entry.js} +2 -2
  229. package/dist/globuscomponents/{p-e2c92f11.entry.js → p-cb0453d8.entry.js} +2 -2
  230. package/dist/globuscomponents/{p-4fb1c7b7.entry.js → p-e1a6214b.entry.js} +2 -2
  231. package/dist/globuscomponents/{p-43be14a0.entry.js → p-e31e5605.entry.js} +2 -2
  232. package/dist/globuscomponents/{p-92561c6a.entry.js → p-e5b5bd25.entry.js} +2 -2
  233. package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +4 -0
  234. package/dist/types/components/gb-help-dropdown/gb-help-dropdown.d.ts +1 -0
  235. package/dist/types/components/{gb-notification-panel/gb-notification-panel.d.ts → gb-notification-pane/gb-notification-pane.d.ts} +1 -1
  236. package/dist/types/components.d.ts +12 -9
  237. package/package.json +1 -1
  238. package/dist/cjs/gb-avatar_33.cjs.entry.js.map +0 -1
  239. package/dist/cjs/gb-input-dropdown-menu-item.cjs.entry.js +0 -32
  240. package/dist/cjs/gb-input-dropdown-menu-item.cjs.entry.js.map +0 -1
  241. package/dist/cjs/gb-notification-panel.cjs.entry.js +0 -45
  242. package/dist/cjs/gb-notification-panel.cjs.entry.js.map +0 -1
  243. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu.js.map +0 -1
  244. package/dist/collection/components/gb-notification-panel/gb-notification-panel.js.map +0 -1
  245. package/dist/components/gb-notification-panel.js +0 -63
  246. package/dist/components/gb-notification-panel.js.map +0 -1
  247. package/dist/components/p-349ece88.js.map +0 -1
  248. package/dist/components/p-8da0a4c6.js.map +0 -1
  249. package/dist/esm/gb-avatar_33.entry.js.map +0 -1
  250. package/dist/esm/gb-input-dropdown-menu-item.entry.js +0 -28
  251. package/dist/esm/gb-input-dropdown-menu-item.entry.js.map +0 -1
  252. package/dist/esm/gb-notification-panel.entry.js +0 -41
  253. package/dist/esm/gb-notification-panel.entry.js.map +0 -1
  254. package/dist/globuscomponents/p-005e4d7d.entry.js +0 -2
  255. package/dist/globuscomponents/p-005e4d7d.entry.js.map +0 -1
  256. package/dist/globuscomponents/p-08cfe483.entry.js.map +0 -1
  257. package/dist/globuscomponents/p-18daffd5.entry.js.map +0 -1
  258. package/dist/globuscomponents/p-a0c86da9.entry.js +0 -2
  259. package/dist/globuscomponents/p-a0c86da9.entry.js.map +0 -1
  260. package/dist/globuscomponents/p-cc527c4c.entry.js +0 -2
  261. package/dist/globuscomponents/p-d75d3d96.entry.js.map +0 -1
  262. package/dist/globuscomponents/p-dc952229.entry.js +0 -2
  263. package/dist/globuscomponents/p-dc952229.entry.js.map +0 -1
  264. package/dist/globuscomponents/p-f262afa7.entry.js +0 -2
  265. package/dist/globuscomponents/p-f262afa7.entry.js.map +0 -1
  266. /package/dist/globuscomponents/{p-cc527c4c.entry.js.map → p-0852d5c0.entry.js.map} +0 -0
  267. /package/dist/globuscomponents/{p-4bb1b1ff.entry.js.map → p-28e20362.entry.js.map} +0 -0
  268. /package/dist/globuscomponents/{p-609d8f49.entry.js.map → p-2fd5fb80.entry.js.map} +0 -0
  269. /package/dist/globuscomponents/{p-65dbacc7.entry.js.map → p-35873c13.entry.js.map} +0 -0
  270. /package/dist/globuscomponents/{p-0f0c4dc6.entry.js.map → p-5cc60ae0.entry.js.map} +0 -0
  271. /package/dist/globuscomponents/{p-1971b0f5.entry.js.map → p-668477e1.entry.js.map} +0 -0
  272. /package/dist/globuscomponents/{p-79ae57a8.entry.js.map → p-76fbbe9d.entry.js.map} +0 -0
  273. /package/dist/globuscomponents/{p-d733c69f.entry.js.map → p-c5541a8c.entry.js.map} +0 -0
  274. /package/dist/globuscomponents/{p-e2c92f11.entry.js.map → p-cb0453d8.entry.js.map} +0 -0
  275. /package/dist/globuscomponents/{p-4fb1c7b7.entry.js.map → p-e1a6214b.entry.js.map} +0 -0
  276. /package/dist/globuscomponents/{p-43be14a0.entry.js.map → p-e31e5605.entry.js.map} +0 -0
  277. /package/dist/globuscomponents/{p-92561c6a.entry.js.map → p-e5b5bd25.entry.js.map} +0 -0
  278. /package/dist/types/components/gb-input-dropdown-menu/{gb-input-dropdown-menu.d.ts → gb-input-dropdown-menu-item.d.ts} +0 -0
@@ -3,8 +3,9 @@ export class GbHelpDropdown {
3
3
  constructor() {
4
4
  this.showLogError = undefined;
5
5
  }
6
+ async downloadUserGuideClicked() { }
6
7
  render() {
7
- return (h("div", { key: 'fc07551bc96673d186c7ddc6e38a8b0a25e00816', class: "dropdown-container" }, h("gb-dropdown-items-with-shortcut", { key: '0469e9dc3daa58fd5257419deb617868bc0d94a8', icon: true, iconSrc: 'book_open', label: 'Download user guide' }), h("gb-dropdown-items-with-shortcut", { key: '6d14220e2ac8832112ede9013daf85ea5ebe27f7', icon: true, iconSrc: 'bug_02', label: 'Report a bug' }), this.showLogError && (h("gb-dropdown-items-with-shortcut", { key: 'd59facc12e81ec2734476eeb3324161920f63477', icon: true, iconSrc: 'alert_02', label: 'Log a profile error' }))));
8
+ return (h("div", { key: '175da2a5a0e700d7ea87b58f2757f9163105b926', class: "dropdown-container" }, h("div", { key: 'f2bd10cb3b6969f34832b9707f77fbe9970be9c0', class: "user_guide" }, h("gb-dropdown-items-with-shortcut", { key: 'b77bf4d87892f4a19383f5e606f1677a25d16b14', icon: true, iconSrc: "book_open", label: "Download user guide", onClick: () => this.downloadUserGuideClicked() })), h("div", { key: '73778837f5f25a56003cfccaff826d477598c4a8', class: "bug" }, h("gb-dropdown-items-with-shortcut", { key: '4673e1df85369b2474b51b9f87fc57f391cce52c', icon: true, iconSrc: "bug_02", label: "Report a bug" })), this.showLogError && (h("div", { key: 'f0423837551897071d50b74d126109f9790bf88e', class: "log_error" }, h("gb-dropdown-items-with-shortcut", { key: 'cd086a3be7ed1b86a65e1bef3de2f5d2d1a76ef7', icon: true, iconSrc: "alert_02", label: "Log a profile error" })))));
8
9
  }
9
10
  static get is() { return "gb-help-dropdown"; }
10
11
  static get encapsulation() { return "shadow"; }
@@ -39,5 +40,26 @@ export class GbHelpDropdown {
39
40
  }
40
41
  };
41
42
  }
43
+ static get methods() {
44
+ return {
45
+ "downloadUserGuideClicked": {
46
+ "complexType": {
47
+ "signature": "() => Promise<void>",
48
+ "parameters": [],
49
+ "references": {
50
+ "Promise": {
51
+ "location": "global",
52
+ "id": "global::Promise"
53
+ }
54
+ },
55
+ "return": "Promise<void>"
56
+ },
57
+ "docs": {
58
+ "text": "",
59
+ "tags": []
60
+ }
61
+ }
62
+ };
63
+ }
42
64
  }
43
65
  //# sourceMappingURL=gb-help-dropdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gb-help-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-help-dropdown/gb-help-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQlD,MAAM,OAAO,cAAc;;;;IAGvB,MAAM;QAEF,OAAO,CACH,4DAAK,KAAK,EAAC,oBAAoB;YAC3B,wFAAiC,IAAI,QAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,qBAAqB,GAAmC;YACxH,wFAAiC,IAAI,QAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,cAAc,GAAmC;YAC7G,IAAI,CAAC,YAAY,IAAI,CAClB,wFAAiC,IAAI,QAAC,OAAO,EAAC,UAAU,EAAC,KAAK,EAAC,qBAAqB,GAAmC,CAC1H,CACC,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {Component, Prop, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-help-dropdown',\r\n styleUrl: 'gb-help-dropdown.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbHelpDropdown {\r\n @Prop() showLogError: boolean;\r\n\r\n render(){\r\n\r\n return (\r\n <div class=\"dropdown-container\">\r\n <gb-dropdown-items-with-shortcut icon iconSrc='book_open' label='Download user guide'></gb-dropdown-items-with-shortcut>\r\n <gb-dropdown-items-with-shortcut icon iconSrc='bug_02' label='Report a bug'></gb-dropdown-items-with-shortcut>\r\n {this.showLogError && (\r\n <gb-dropdown-items-with-shortcut icon iconSrc='alert_02' label='Log a profile error'></gb-dropdown-items-with-shortcut>\r\n )}\r\n </div>\r\n )\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-help-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-help-dropdown/gb-help-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQ1D,MAAM,OAAO,cAAc;;;;IAIvB,KAAK,CAAC,wBAAwB,KAAI,CAAC;IAEnC,MAAM;QAEF,OAAO,CACL,4DAAK,KAAK,EAAC,oBAAoB;YAC7B,4DAAK,KAAK,EAAC,YAAY;gBACrB,wFAAiC,IAAI,QAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,GAAoC,CACpK;YACN,4DAAK,KAAK,EAAC,KAAK;gBACd,wFAAiC,IAAI,QAAC,OAAO,EAAC,QAAQ,EAAC,KAAK,EAAC,cAAc,GAAmC,CAC1G;YACL,IAAI,CAAC,YAAY,IAAI,CACpB,4DAAK,KAAK,EAAC,WAAW;gBACpB,wFAAiC,IAAI,QAAC,OAAO,EAAC,UAAU,EAAC,KAAK,EAAC,qBAAqB,GAAmC,CACnH,CACP,CACG,CACP,CAAC;IACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {Component, Method, Prop, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-help-dropdown',\r\n styleUrl: 'gb-help-dropdown.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbHelpDropdown {\r\n @Prop() showLogError: boolean;\r\n\r\n @Method()\r\n async downloadUserGuideClicked() {}\r\n\r\n render(){\r\n\r\n return (\r\n <div class=\"dropdown-container\">\r\n <div class=\"user_guide\">\r\n <gb-dropdown-items-with-shortcut icon iconSrc=\"book_open\" label=\"Download user guide\" onClick={() => this.downloadUserGuideClicked()}></gb-dropdown-items-with-shortcut>\r\n </div>\r\n <div class=\"bug\">\r\n <gb-dropdown-items-with-shortcut icon iconSrc=\"bug_02\" label=\"Report a bug\"></gb-dropdown-items-with-shortcut>\r\n </div>\r\n {this.showLogError && (\r\n <div class=\"log_error\">\r\n <gb-dropdown-items-with-shortcut icon iconSrc=\"alert_02\" label=\"Log a profile error\"></gb-dropdown-items-with-shortcut>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -2686,7 +2686,7 @@
2686
2686
  /* Tab Type Styles */
2687
2687
  .horizontal_tab_div.underline,
2688
2688
  .horizontal_tab_div.underline_filled{
2689
- border-bottom: 1px solid var(--color-border-subtle, #CDD5DF);
2689
+ box-shadow: inset 0 -1px 0 0 var(--color-border-subtle, #CDD5DF);
2690
2690
  }
2691
2691
 
2692
2692
  .horizontal_tab_div.button_white_border,
@@ -43,7 +43,7 @@ export class GbHorizontalTabs {
43
43
  }
44
44
  }
45
45
  render() {
46
- return (h("div", { key: '3e6f18fa9dd9e338d371ea89cea26ff8b7bcbcc9', class: `horizontal_tab_div ${this.type} ${this.breakpoint} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: '5a430d0a2e4bb5af114f31454381c4f11a6ad198', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName }), h("gb-tab-button-base", { key: '460470d6e25fb40d8b7f3d6520f53bd62e70e551', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName }), this.thirdTab && (h("gb-tab-button-base", { key: '3c75a66da7966348bef00303ecb5d39d89392b39', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName })), this.fourthTab && (h("gb-tab-button-base", { key: 'ce42692b95353fd2cb61005f27433bbc141cb65a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName })), this.fifthTab && (h("gb-tab-button-base", { key: '9cbc86dccd20b49cebfb2e354d1065937e920709', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName })), this.sixthTab && (h("gb-tab-button-base", { key: 'd08e5657931c93fd8fe3a6add42a0ec6ddf799b1', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName })), this.seventhTab && (h("gb-tab-button-base", { key: '6f0c01ede272b723a063023ee81c1749eceab67f', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName })), this.eighthTab && (h("gb-tab-button-base", { key: '8b57b3ec4ba52f3444c05764e6754c1a4708617d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName })), this.ninthTab && (h("gb-tab-button-base", { key: '62c896df46de5098aa0e1a4e528e554aa4a22173', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName })), this.tenthTab && (h("gb-tab-button-base", { key: 'ce3a6a237465762476145abaa61a92c0d92c05d1', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName }))));
46
+ return (h("div", { key: '4e898198a275b3436873e0bd824a3979e4b155e2', class: `horizontal_tab_div ${this.type} ${this.breakpoint} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: 'ca806a0ba350bd032baebf65258d3844afa89c6c', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName }), h("gb-tab-button-base", { key: 'ee3b4d2ca2f71ff429c7f6028927d98ca5c933d5', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName }), this.thirdTab && (h("gb-tab-button-base", { key: '053ba0df78dae55499eb1a0f0c5eff3064cf90b1', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName })), this.fourthTab && (h("gb-tab-button-base", { key: '1e5cdb6c3ccbb65bef1313c62f0f56a929ba57c8', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName })), this.fifthTab && (h("gb-tab-button-base", { key: '491b946fb99e63d1766c15b2cedc39bfafb26a5e', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName })), this.sixthTab && (h("gb-tab-button-base", { key: '96d2afc66f6b7a6b5b37d64d27b5d2ae85c896c3', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName })), this.seventhTab && (h("gb-tab-button-base", { key: 'ced493fccdd977ca5a272cafc6eb11e7fe9a2572', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName })), this.eighthTab && (h("gb-tab-button-base", { key: '18fbea2451afbca602a77154352f1fff9dff31b9', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName })), this.ninthTab && (h("gb-tab-button-base", { key: '3bbd2b2b782d261471f7a3db143127d506168a81', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName })), this.tenthTab && (h("gb-tab-button-base", { key: '57415a2e7d2798d0749e7717a743e635445e2fe1', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName }))));
47
47
  }
48
48
  static get is() { return "gb-horizontal-tabs"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -27,8 +27,8 @@ export class GbInputDropdown {
27
27
  slottedInitials.classList.add('text-xs-semi-bold');
28
28
  }
29
29
  render() {
30
- return (h("div", { key: 'c0092b6df5345cc30f38a82a3600961da0356066', class: `input_dropdown_container` }, this.showLabel && (h("p", { key: 'dd64bafd83cef8f849a8bcf23675d71c0e80fc27', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: '326b526c119f8c9d09832a7df752f65606dd71c4', class: `input_dropdown_div ${this.size} ${this.state}` }, this.type === 'icon_leading' && (h("svg", { key: '6868fd401a340b59a895ad33efbd4bf0b1b55ed7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ccc58dd36c08d4b7e9fd5a6d2a9d28d449938b76', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: '66e88f6bab5fcafa8a78484518f7d7360418a83a', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'a1cc10362a6715d61eb69bbaab4965c5c5e36865', size: "xs", text: this.text }, !this.text ? (h("slot", { slot: "image", name: "image" })) :
31
- (h("slot", { slot: "initials", name: "initials" })))), this.type === 'search' && (h("svg", { key: 'cb53be2066fc56550a2fb46bf9e29a46b8a529a7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ac57feb67e6d852e50206e6dcde220629353027f', d: "M14.5833 14.5833L18.3333 18.3333M16.6667 9.16667C16.6667 5.02454 13.3088 1.66667 9.16667 1.66667C5.02454 1.66667 1.66667 5.02454 1.66667 9.16667C1.66667 13.3088 5.02454 16.6667 9.16667 16.6667C13.3088 16.6667 16.6667 13.3088 16.6667 9.16667Z", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.type === 'dot_leading' && (h("svg", { key: '34b08d22ffae6a852353f9016a6c9949b521fec8', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: '5691c3a29b6c6628208fe5cb92929a2585225abc', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: 'a88d1554533300029d120ed0ddf7825a0aa08017', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.showPlaceholder && (h("p", { key: '0e08e5a1e81966f2f21b64df0a0667aa77a18aae', class: "text-md-regular", style: { color: '#CDD5DF' } }, "Select team member")))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '9c9e49ef57100db24a9192c6b3aef5f14f362370', class: "content" }, h("div", { key: 'ed5d3ca23ee930cc32d0e646c9e5144302e39440', class: "text text-md-regular", style: { color: '#4B5565' } }, "Olivia Rhye"), h("div", { key: '402972c4004959169b6a1c7c2e788915f2617e43', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, "@olivia")))))), this.showHelpIcon && (h("div", { key: '3572b5628c879b40195d0663a39c26aa02d69d0e', class: `help_icon` }, h("svg", { key: 'e3ac45e0120bd25cc586fdf7064c3155040293df', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'c0df19b8532bca63eace36419305b0dcb3d0075f', d: "M6.66665 6C6.66665 5.26362 7.2636 4.66667 7.99998 4.66667C8.73636 4.66667 9.33331 5.26362 9.33331 6C9.33331 6.26543 9.25575 6.51275 9.12205 6.72053C8.72358 7.33978 7.99998 7.93029 7.99998 8.66667V9M7.99464 11.3333H8.00063M14.6666 8C14.6666 11.6819 11.6819 14.6667 7.99998 14.6667C4.31808 14.6667 1.33331 11.6819 1.33331 8C1.33331 4.3181 4.31808 1.33333 7.99998 1.33333C11.6819 1.33333 14.6666 4.3181 14.6666 8Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '060f9a9d92c330db1509226101d5bc36666a224e', class: "dropdown_icon" }, h("svg", { key: '958b8d8bda91d6b7fc4d4051d2a19e8e5924ddec', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: 'dfed215d43cee4bae4a3ecc951451469f88ffd58', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.showHintText && (h("p", { key: '95c735da57b1bb13f20ab5506b056666f4124b05', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))));
30
+ return (h("div", { key: 'c4fb98b8ebab77593cc2413b34564a126713e40a', class: `input_dropdown_container` }, this.showLabel && (h("p", { key: '48db71714fa97e8b0f893fd6d83001ed44de4b6e', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: 'a060aadccdf963369e60a760ceb39f553875046e', class: `input_dropdown_div ${this.size} ${this.state}` }, this.type === 'icon_leading' && (h("svg", { key: 'de169c57fd4c93d4762047f5d533d389c020febe', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '95c83f58e3302c90dbc71227a2df78873f517e32', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: 'c45570a68bad8a40827cc0569fa46e58452c7735', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '85a3ac55d00a98032b33a1e26e7a9edcccad7b64', size: "xs", text: this.text }, !this.text ? (h("slot", { slot: "image", name: "image" })) :
31
+ (h("slot", { slot: "initials", name: "initials" })))), this.type === 'search' && (h("svg", { key: '79768df493512dcb06beae16ad4a9915a4f4c341', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'c666120ba224a88086b778320a2fbf52a24f4717', d: "M14.5833 14.5833L18.3333 18.3333M16.6667 9.16667C16.6667 5.02454 13.3088 1.66667 9.16667 1.66667C5.02454 1.66667 1.66667 5.02454 1.66667 9.16667C1.66667 13.3088 5.02454 16.6667 9.16667 16.6667C13.3088 16.6667 16.6667 13.3088 16.6667 9.16667Z", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.type === 'dot_leading' && (h("svg", { key: '20ac2988ce570c467e83cfa23d1a7dba4805309b', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'b98876331c844c70616cc44e148f226b0396586b', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: '891e8b17d62dc087f5b76e3ee7cbe22abb22a42d', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.showPlaceholder && (h("p", { key: '71ee48cc29f1978bf22e68c40f0bc2b0a858c489', class: "text-md-regular", style: { color: '#CDD5DF' } }, "Select team member")))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '6a9cc7da8c2362f9bbd8405a08b293d9541dbcce', class: "content" }, h("div", { key: '3fe40e4af8162c0d7d38ace6cd4177fc5551fff8', class: "text text-md-regular", style: { color: '#4B5565' } }, "Olivia Rhye"), h("div", { key: '67b5bf918f1780e678e627d35b9d9cc926a462d9', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, "@olivia")))))), this.showHelpIcon && (h("div", { key: '16f1c3b3734b43078c1b172bb22d61bc58789765', class: `help_icon` }, h("svg", { key: '6909e3c63c0dfe776917affe254651fd61e940c8', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '77ac5a9cde8943afd26099b07e92ae50e798caf7', d: "M6.66665 6C6.66665 5.26362 7.2636 4.66667 7.99998 4.66667C8.73636 4.66667 9.33331 5.26362 9.33331 6C9.33331 6.26543 9.25575 6.51275 9.12205 6.72053C8.72358 7.33978 7.99998 7.93029 7.99998 8.66667V9M7.99464 11.3333H8.00063M14.6666 8C14.6666 11.6819 11.6819 14.6667 7.99998 14.6667C4.31808 14.6667 1.33331 11.6819 1.33331 8C1.33331 4.3181 4.31808 1.33333 7.99998 1.33333C11.6819 1.33333 14.6666 4.3181 14.6666 8Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '322a642033594047e94721e7d4c9a8f386b9b165', class: "dropdown_icon" }, h("svg", { key: '2f9b9e78e80df03aacc48f4a70fd707db03cd491', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '56eb597b3a8191303172625300363061fe16f169', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.showHintText && (h("p", { key: '3c2b282df6b8f3efcdc05487aa49491ce08265d0', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))));
32
32
  }
33
33
  static get is() { return "gb-input-dropdown"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -2674,7 +2674,6 @@
2674
2674
 
2675
2675
  .dropdown-container {
2676
2676
  display: flex;
2677
- width: 100%;
2678
2677
  padding: var(--spacing-1);
2679
2678
  align-items: center;
2680
2679
  gap: var(--spacing-none);
@@ -8,12 +8,12 @@ export class GbInputDropdownMenuItem {
8
8
  this.state = 'default';
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '98d60307ead775fec9581138d872f058699dac58', class: "dropdown-container", onClick: () => this.selected = !this.selected }, h("div", { key: 'dce436a9a64935903af0e019a000724802460092', class: {
11
+ return (h("div", { key: '8d4dc4a14ca0944f518730989f8853dbcc685e8b', class: "dropdown-container", onClick: () => this.selected = !this.selected }, h("div", { key: '84b8ea05d98a8501496eab8dab649379dbd011ae', class: {
12
12
  'dropdown-item': true,
13
13
  'dropdown-item--selected': this.selected,
14
14
  'dropdown-item--disabled': this.state === 'disabled',
15
15
  [this.type]: true,
16
- }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, this.type === 'icon_leading' && (h("svg", { key: '734b931c2f4e678b2b03baf1a3a1e0a37ca105a6', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'db98467b3e04b59796b6a2634e77710e58f36f84', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: 'b2b5ca4ebf526be1ddaff05c2a95cd98d9ec35c1', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'cabae8019ee74cdd22f6591630edd8ef1a6e6cd8', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '93874b9ace79495a7dd67271414eea15f9e0a93e', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: '4a68ad064668a35da1093d617ce404bb78dd8a25', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: 'aeeba1f06f586e8d904ab595c6dc1ecb340782cb', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: 'b10e26b78d82998c5fbe79cb6960730b28297413', class: "checkbox", size: "sm", type: "checkbox", state: StateEnum.Default, checked: this.selected }), h("div", { key: 'ac55ee84a183f5809183c0b1b51c786a3b111e5e', class: "text" }, h("slot", { key: '3f2d6489aa9619295d1ab63aaa4d94bada3f9d07', name: "name" }), this.supportingText && (h("span", { key: '29bd6bc38e591942f62c1ee3aae763b69b1a634c' }, h("slot", { key: 'd371842254a441d5b89ed80970bf6115f1dff750', name: "supporting_text" })))), this.selected && (h("svg", { key: '9beb8b4290e2162ca05c146ac428581b51da2b2d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9c2e4d366354030b1016a90e9ee6a1b1b0ea9075', d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
16
+ }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, this.type === 'icon_leading' && (h("svg", { key: '4e304f0e80781c2c98f117a3272c12d01aa136e1', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd251e84d13cd63cc55c4e448b5a7306e3f9f57c4', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: '825df53a5c4436a4ce64188024481fa1b9352975', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'c774cc9dec84425400838310e5d7c0850e804405', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '01dfc2f251689054b3cb7b1770d65e98758bf349', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: '9fdeabf986d378730d8f9a4618835e7fae28f418', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: '8ab96c793f12569ba0cae6ee7a0a4e93fa0098bb', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: '6e22110618d05c2ff86c3c5d21aa2f5e4a1e809d', class: "checkbox", size: "sm", type: "checkbox", state: StateEnum.Default, checked: this.selected }), h("div", { key: '0bcf461cf7eca3618b637a6bf7087ab238ec8d59', class: "text" }, h("slot", { key: 'be59945e7fec4e092a5a97b75b0ea0f45813b4e6', name: "name" }), this.supportingText && (h("span", { key: '2d44edcd8a7741e68279d03b06929e8c72ed0313' }, h("slot", { key: 'e4fa74884a75c5f24929d2d7ad00a2907bf1a188', name: "supporting_text" })))), this.selected && (h("svg", { key: 'dd1b6c16dda82a610d1ef16b2396694845d59fdc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3e5b273138feb7dcfd98c7ebe9a32a2b4b07e9d2', d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
17
17
  }
18
18
  static get is() { return "gb-input-dropdown-menu-item"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -103,4 +103,4 @@ export class GbInputDropdownMenuItem {
103
103
  };
104
104
  }
105
105
  }
106
- //# sourceMappingURL=gb-input-dropdown-menu.js.map
106
+ //# sourceMappingURL=gb-input-dropdown-menu-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gb-input-dropdown-menu-item.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAQxD,MAAM,OAAO,uBAAuB;;;8BAEE,KAAK;wBACM,KAAK;qBACV,SAAS;;IAEjD,MAAM;QACF,OAAO,CACL,4DAAK,KAAK,EAAC,oBAAoB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ;YAC3E,4DACE,KAAK,EAAE;oBACL,eAAe,EAAE,IAAI;oBACrB,yBAAyB,EAAE,IAAI,CAAC,QAAQ;oBACxC,yBAAyB,EAAE,IAAI,CAAC,KAAK,KAAK,UAAU;oBACpD,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI;iBAClB,EACD,IAAI,EAAC,QAAQ,mBACE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,mBAChC,IAAI,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBAE1D,IAAI,CAAC,IAAI,KAAK,cAAc,IAAI,CAC/B,4DAAK,EAAE,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;oBACtG,6DACE,CAAC,EAAC,0QAA0Q,EAC5Q,MAAM,EAAC,SAAS,kBACH,KAAK,GAClB;oBACF,6DACE,CAAC,EAAC,wLAAwL,EAC1L,MAAM,EAAC,SAAS,kBACH,KAAK,GAClB,CACE,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,gBAAgB,IAAI,CACjC,kEAAW,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,IAAI,iBAAa,OAAO;oBAC1D,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC7B,CACb;gBACA,IAAI,CAAC,IAAI,KAAK,aAAa,IAAI,CAC9B,4DAAK,EAAE,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;oBAC1G,+DAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,oEAAa,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,QAAQ,GAAgB;gBACrJ,4DAAK,KAAK,EAAC,MAAM;oBACf,6DAAM,IAAI,EAAC,MAAM,GAAQ;oBACxB,IAAI,CAAC,cAAc,IAAI,CACtB;wBACE,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC/B,CACR,CACG;gBACL,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;oBAC5F,6DACE,CAAC,EAAC,wGAAwG,EAC1G,MAAM,EAAC,SAAS,kBACH,SAAS,oBACP,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CACG,CACF,CACP,CAAC;IACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEJ","sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\r\nimport { StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown-menu-item',\r\n styleUrl: 'gb-input-dropdown-menu-item.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbInputDropdownMenuItem {\r\n @Prop() type: 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox';\r\n @Prop() supportingText: boolean = false;\r\n @Prop({ mutable: true }) selected: boolean = false;\r\n @Prop() state: 'default' | 'disabled' = 'default';\r\n\r\n render() {\r\n return (\r\n <div class=\"dropdown-container\" onClick={() => this.selected = !this.selected}>\r\n <div\r\n class={{\r\n 'dropdown-item': true,\r\n 'dropdown-item--selected': this.selected,\r\n 'dropdown-item--disabled': this.state === 'disabled',\r\n [this.type]: true,\r\n }}\r\n role=\"option\"\r\n aria-selected={this.selected ? 'true' : 'false'}\r\n aria-disabled={this.state === 'disabled' ? 'true' : 'false'}\r\n >\r\n {this.type === 'icon_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xs\" status-icon=\"false\">\r\n <slot name=\"image\" slot=\"image\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 10 10\" fill=\"none\">\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n {this.type === 'checkbox' && <gb-checkbox class=\"checkbox\" size=\"sm\" type=\"checkbox\" state={StateEnum.Default} checked={this.selected}></gb-checkbox>}\r\n <div class=\"text\">\r\n <slot name=\"name\"></slot>\r\n {this.supportingText && (\r\n <span>\r\n <slot name=\"supporting_text\"></slot>\r\n </span>\r\n )}\r\n </div>\r\n {this.selected && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337\"\r\n stroke=\"#075DB2\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n \r\n}"]}
@@ -38,8 +38,8 @@ export class GbInputField {
38
38
  destructive: this.destructive,
39
39
  disabled: this.state === 'disabled',
40
40
  };
41
- return (h("div", { key: '88a13b0db2172b7760ab7ad2432293930c041d04', class: classes }, h("div", { key: '6f007622566e8a6071890f70c4d505fb1ae4cbea', class: "input-with-label" }, this.showLabel && (h("label", { key: '0a73c3592b2a01d8e7aabe89339bf7afb28463c9', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: '24a176359cc3e7cc0db9f3cfb394394a2e06ac76', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '66c706973e3c4f2c6b9081a55cc3afe40ff2ca5c', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'b7611b57448ccbe0bb6b7b35862ef03ff926df99' }), 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: 'b44fd61ad9889447ed97ab0d4c4b78c7bb24fe8d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8ad7cd310443ae457ae3b87c38d17b1207882b31', class: "content" }, h("div", { key: '40460502cfdd07a5316dadc158cf7ab4ea9aa1ea', 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: '53077d5753b96d951c05d7063128682714117327', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'e919eade9a42e612225b851e7c4f42e13842f225' }), 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: '262b0d77f7a02685a4ece78f0657f27bf65394f5', 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: '1cde343d466d3330f46c128e6b7461ec0cf11216', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'fe1d0a75d07525a7a54589877c2495018ca32194', class: "dropdown" }, h("div", { key: 'a91154d0d724d9323ee0118ad586ce3d41135115', class: "country-icon" }, h("svg", { key: 'ffbbbf86c6ed79306c022ddd7759ed37a341e4e9', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '31b0178e018bda43d5be5c016ba1cf88a5bdaf49', 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: 'd8495c8653c8ea1e37cacf68bd7ea20685c2ea49', 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: '7827a9af5029d1eba61c3ea3840d1fed24161681', class: "text-md-regular" }, h("option", { key: '9df96d04368cc565a545ab39689e7fb0d8c7684c', value: "option 1", selected: true }, "+234"), h("slot", { key: '8638d5555964fc4737f524a74e02c3219b8fb5f2', name: "country-option" }))), h("div", { key: '095f4ef866f71ff97d2e80e34ecf78a58d5d2aca', class: "text-input" }, h("input", { key: '5ae6a6b3b192d09ec824c26f9ea8280d7721deff', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '30118b025f5bbd5fb3a8623cc6f124ae867980ff' }), 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: '996be183d4eb173dccc666ef31519a3f6686bc54', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '43a90d01c30d6df32e014e9d0330427dce3b1074', class: "content" }, h("div", { key: '26ca83b7a5f7ae4de17947558e128289b601c6c9', class: "text-input" }, h("p", { key: '7af94ed7c2eeef449c1d0dcad7b2210d0e54e1a8', class: "text-md-regular" }, "$"), h("input", { key: '08b999b304b760ba254c37d66725e3e417caefeb', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '9e9c34e3d55d79967da57b9a5f88a5dc4530cc26' }), 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: 'aa2b032a9bc18f12a53919548736913cc22be65e', class: "dropdown" }, h("select", { key: 'e63a9602ac2418f093baad04f1695414199c84fe', class: "text-md-regular" }, h("option", { key: '06228c92f356723a13060c3c015832c76a59d627', value: "option 1", selected: true }, "USD"), h("slot", { key: 'a0cf2ae63a0bf34ed890324a8ca279fb74a74b77', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: '536d365b62f46325ae19f628decad32518753c00', class: "leading_text_wrapper" }, h("div", { key: '88ed4448f3c4eefc5c7aa4da6b77c7500bb96350', class: "add-on" }, h("p", { key: '9a8cba1cdb3362bae9cd81d76a7f4edae086d07e', class: "text-md-regular" }, "http://")), h("div", { key: '75d221e03a2b8eb39dec66f3c36c7f6fb98221fa', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8254071aaa3e4591ede3e973a8a0e7c59003e167', class: "text-input" }, h("input", { key: '4d1989c000ca88e19ba978b7ad454dcecad11f51', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'cfb32d8303ea9acbfe6908872bc3784ef65b5057' }), 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: '4f9e1d7aaf7dedf32749c425d944e6052c1b85fa', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '2b43214fbaaa49c890be7681efff63881845a421', class: "content" }, h("div", { key: '5d05d5b04e3b7b786e61804cf05f6567f7f11f68', class: "payment-method" }, h("svg", { key: '1956f9857c0b9f8d1ddf72a529b9b1c65eaafb0a', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '021d600ea8fcbcc22ad4154b98921df1f4523741', "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: '5055b70fdfa826d198addeecc837a21141139436', "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: '814d6ddcc74b0e42c185317ab1b425268b2564d4', "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: '52ecf380c1485026dd406b71bb9297918ff5a9f1', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '24cf75d0f56ec10506bfc8be54080fe0ad426ebe' }), this.showHelpIcon && (h("div", { key: '02e3c77c4810d2f9f89595358603543e5525ce1c', 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: 'a0d760424fd61a20ca4d452930f32d2010e9d1bf', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e1b19dc679f2555d01c1ea0dda0115d5cc5d35a4', class: "content" }, h("div", { key: 'e72c6aed6cb83c2df0989b5979f00906e061a6de', class: "tags-box" }, h("slot", { key: '88061e793dd93b0e279b14752c0a9da65ee3f801', name: "tag-option" })), h("input", { key: '0b6e02f5f4b930492c3752882f51e23642cb216d', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'd9dee6a5330ef7b4ba55fb21041c61a85a79afd6' }), this.showHelpIcon && (h("div", { key: '96e0320df54b6d418c628cea970f995f02880288', 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: 'dfbaeaf392e07ee7ea04f4b38d82788387c60abe', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '60c9e5e12449aa3d53b10fdff802e1f0369675b9', class: "text-input" }, h("input", { key: '11b5b439e9ba21ab232c8e28e605776e7d265b39', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '8e04c9e3c1283f19ee7ea11f05495c8e4544ddd0' }), 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: 'c88b3af1ba569d0fb81de8cdadea4f5482e00cd5', class: "trailing-btn" }, h("gb-button", { key: 'f1580156dcde9d4c9996534292d6e4694056210b', 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: 'a04f8ad6259fafd8d56a900f87fa7a321c1cbcd2', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e742452f7bac765852123fe7b4a7e5f065ba5814', class: "content" }, h("div", { key: '9c10236441772515bd2625106f7e36e31b2b0a92', class: "text-input" }, h("input", { key: 'aa349184f6052cf0cd516af5861e95963775e63d', 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("span", { key: '90edf109f6ee3df4055e25aa6ee53aea6bee9850' }), 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: 'b6662f696669148c5583b7b6bb78d0ffc0de6aa6', class: "dropdown" }, h("gb-password-button", { key: 'c31448d6659d803835b91016c2e151a57b7cac44', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '8990a9e23d51918eb2091e2493f6398314ebe9d6', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'abfe3905fbde117ccce323b8b7e5125f17590eb2', 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: '670e9f436263cc23f01200a4c99f2eaf685b5716', 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("span", { key: '35f569b5b360a47b7b86e9b548f9f800ae180fe8' }), 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: '8e63e460b4f91284f5a75f383c6fbd73b27ac363', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: '682ecf2224522fad3cf4f99a316db78c4326d35d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'fd445bdda666002eee3ef309eb6e1d6b88321f90', class: "text-input" }, h("input", { key: 'd2961abad285666f195ef12099c381abf16aa829', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '03abb7e2398f3ed92d4504ae0080bec78ea5fd12', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'b8a015be88eddc4b0f0e8d613f9555e4969ac95a', 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: '46c267b745841e1cb2f33849a493c43ab6f3f1fc', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: 'ed4cdd5df5a2419ed0411f776e8a7e2e6329e341', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '29a92566af874e769ba3c173d778f2e3d72e2f81', 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: 'c70431aa160ed618ab5e37fb47e41a7b78f92ca7', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
41
+ return (h("div", { key: '18a0cc2b8485d4aa5bf414aa36a42be016999ed5', class: classes }, h("div", { key: 'b1f5fbbecf9291847ecd6ebbc9f01eb5a1d56f62', class: "input-with-label" }, this.showLabel && (h("label", { key: '7dd9862e06c5949ed9547709e06f74855ecf25ee', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: '10b69d5aa0f299292367034d421a0e0af2c90732', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'a5246edd9c850b622aa5da85c47ac4ed61699f54', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '078e262958e81b976f2bab4ad8174249fd729047' }), 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: '76aa436849cbf3a93432340e44a1f0098d42fe9a', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '447c0ab0aa7aaeb1a04a9a73184b613a5e25d07a', class: "content" }, h("div", { key: 'f14a94020c887b338ce54260be81dbef8522768a', 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: 'bea0786db805d8c2c08ed8819599f647046372ad', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '03216abaea4e08645c9ee2edfc8a43850cdac4c6' }), 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: '35efa2fd4f4583fecdbefc69fdb958ce3bc6b5c1', 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: '23d3f8319803f2f211a8521443f2a0ecceeb08cd', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'd5eb435c1238acfe5ebab8605fd8172f0bab991e', class: "dropdown" }, h("div", { key: 'fddcaa2af827a94886316558075629b3358e59c6', class: "country-icon" }, h("svg", { key: 'd6c80410ccecb1b99cc8456767807177d563252c', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'c1e6e7da16dedf5a8306b43f3d92d1a44a600e50', 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: '8c7879b7dfc6695f8c3ed3c95ca841467400c977', 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: 'a7a0250328695fda7020cd4ed78b8252a4f17faa', class: "text-md-regular" }, h("option", { key: '3614f34325796d88c9124462b3e27ad8a268b493', value: "option 1", selected: true }, "+234"), h("slot", { key: '243d3772799db3670beeb582d1b831975567d2aa', name: "country-option" }))), h("div", { key: '23a06363f5da47ee84b8be5277d3657ae68f575b', class: "text-input" }, h("input", { key: '212fe5bc191805bc9e90d5847b1f0f01e30b3f39', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'd0d50ce6a5e6e946d5ac1c3de63808ff307816d3' }), 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: '81589ab9b1686f43c4c61e6364c5558e3e203c55', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'db076893c4f15780dc2995c6a63902e3907d0e68', class: "content" }, h("div", { key: '9a2876842d0f96aa5ee710ee5278fdfcbe46eb9a', class: "text-input" }, h("p", { key: '9ad3ebe890b86ca80d058b95a69662328f674b54', class: "text-md-regular" }, "$"), h("input", { key: '4b04c52f8ed30d378ec77ab0ad8de0ebb38fa04c', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '3ba48ba48546207ccb4ba6e445cfbf5b9ba5cb6d' }), 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: '7dda4e74a62d205de1b14c2880a4c965105657d3', class: "dropdown" }, h("select", { key: '62bbdf85e7a8d7cc14bbf8c5a46930229c7d4d23', class: "text-md-regular" }, h("option", { key: 'cbf9eb49717bdf848618f808574da2f94287a61f', value: "option 1", selected: true }, "USD"), h("slot", { key: 'f6d2090ec03ce428bf39613fa993d6c33594e753', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: 'f0809dfb1ee0c6018c24026924330ced736cee19', class: "leading_text_wrapper" }, h("div", { key: '95d5bebfc2f8bc3e2077ccbfa880b566ffa38539', class: "add-on" }, h("p", { key: '55f3d6f3abb4429fa7c145e2642f245aea2cc19d', class: "text-md-regular" }, "http://")), h("div", { key: 'ea12c779df5a2a4d42bbbd02aeecbbd43a9280f8', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '28897d3e5511fac84ad52a3f618248d5adff7bc1', class: "text-input" }, h("input", { key: 'a74a9233cb98bd0fb250d4bdd2b6730a212fd3cd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'd7ced6844ba60eb0d7e5e1464a95902880d5f45f' }), 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: '7f4ff024daaa6f38e8fd98bc347849f15bc00874', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0245fb6b2fde92d0068d80828b09b511757a7881', class: "content" }, h("div", { key: 'da36e29722aacd73f8a6585b20f3d6f3b404e85f', class: "payment-method" }, h("svg", { key: '6b0c7693f98802c3f0004ed07eb122ab275912d7', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'e0bdd664ea09a4f9b49dec30edf4fca12cfa4cea', "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: 'a9722dc3558aadc175c874c7e81fe4d40c509b17', "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: 'a775f8c41fa87e76dde367fba6ef12032a03a07a', "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: '4aab6f764799b49cd000256de1bd91cadcbaabcd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '56d445236b3e3f9c1d544473523ad2b80bcb5687' }), this.showHelpIcon && (h("div", { key: 'd4f80eef6832dc705cbb19a2073e4fb05db3b679', 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: '15b2bcc21df0fee9783091bc8b21df757c8689d0', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '71da2d65bf86fcd87c1284e7ee0429d2808003c4', class: "content" }, h("div", { key: '4cbf194e7bec5ea1f2525d65ebc48f12911facdb', class: "tags-box" }, h("slot", { key: '3355817af6dac4af4ee852871127f65c3316d6d6', name: "tag-option" })), h("input", { key: 'bc0ebabfde7dc700e69956fa4c430d0a43f8b029', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'b58b27bd9ec6d02538551b407cc04773748ed87a' }), this.showHelpIcon && (h("div", { key: 'c9deae67ba5f80aef561d99c831f77d7d0e9fe6e', 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: 'ecf3401ba75e5a05e6e5947cdc6ad600dc9d10dc', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8a613b77cb353dee3e50fbdeb45b0f31ce525b90', class: "text-input" }, h("input", { key: '415ae0692e4aeacc65e9cbc4375439b8c9031b76', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '9c1e7f821b43135708111853cb9ecb42b535e194' }), 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: 'e40852f7753e4739a6a8f1c8cbdbfb5bb794fbd7', class: "trailing-btn" }, h("gb-button", { key: '05af9cdac2ffa78a17813dd72fb096d5ad439a21', 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: '7da53b06da575bef649ffbc60f47d8650e22293e', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a886a5433b7dd1c3844f2efb6a19d9b2988f87c5', class: "content" }, h("div", { key: '15d900977837ae984883c9911c56973973ba22e0', class: "text-input" }, h("input", { key: '6b38ae37f3d2339f3f027f5273e3980f49a96b13', 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("span", { key: '3aa63da75196af110db942d9b0de7d998d48a8f3' }), 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: '7a303c13cab4d4d14b8611b69dd1f6bfb0ab7c48', class: "dropdown" }, h("gb-password-button", { key: 'bef1dd678f10d42ed2735e9ffb266cf69e8f817c', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '499e1f8b53a0db6640b103570c39e9ee151724db', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '33444d642742bfb262b0676cddd68e62f56e38ca', 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: '15314dceb94438b0513cd1404aa1488ca598fd2f', 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("span", { key: '76b75250c4cdf3006fb320bd3acf17016515bd06' }), 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: 'bdf040ad2817ee20a6c8c4f654feee1c7b3d313d', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: 'ee75f7f9c420ff39ef7459a4f9a89c4ae5a2f3c2', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: '0c7b50e30c18d9701a979acd432a6729086d9516', class: "text-input" }, h("input", { key: 'e3e083d1cfd1cabd1b3dce92ad77134cd84e0a1e', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '6227c59ce4c436c03dc7d8985e5956fe1b54be70', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '88c52d24fbd3b8fcbe15f32513bbfac09d0f3ef1', 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: '94e0d0cca3b4c0c79aacf919cc1ef6b1fec88c93', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: '86f985ed91a89a66a363018b10af0d9b80611544', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '5671605bfc1b429a28c37dde3a8ff522b1d5d5fb', 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: 'bdf0b3930a0cb31e160888414c5a0bbf07cb0360', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
43
43
  }
44
44
  static get is() { return "gb-input-field"; }
45
45
  static get encapsulation() { return "shadow"; }
@@ -16,10 +16,10 @@ export class GbMegaInputField {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '01a5ec508b15fdb6e00e23e6d17f645642f64e50', class: {
19
+ return (h("div", { key: 'ea8fa103caed650b06abc48de735a47b32d0cfff', class: {
20
20
  [this.size]: true,
21
21
  disabled: this.state === 'disabled'
22
- } }, h("input", { key: '01392a8f75612c19f1a03307db119270aabef1a3', class: {
22
+ } }, h("input", { key: '2e7dfbb2a29ad01d7f95eda437ddfdd97301c004', class: {
23
23
  [this.size]: true,
24
24
  disabled: this.state === 'disabled'
25
25
  }, type: "number", min: "0", max: "1", placeholder: "0", value: this.inputValue, onInput: (event) => this.handleInput(event) })));
@@ -8,7 +8,7 @@ export class GbNotificationContent {
8
8
  }
9
9
  render() {
10
10
  const iconSrc = getAssetPath(`assets/${this.icon}.svg`);
11
- return (h("div", { key: '9b944988b60452274459862a179a9a9edf89ab55', class: "notification-container" }, h("div", { key: '695054c90474dcd535384629347964b8165e720a', class: "notification-title" }, this.icon && (h("div", { key: '13140c03e337d2c82a4b9dc113398639127e72d5', class: "icon" }, h("img", { key: '2e132287412a7e57b63627b7cc71255efe01dec0', src: iconSrc, alt: "Icon" }))), h("label", { key: '16ecbb0c28adbbdc927b3fc2ccefa7f6570a1fbc' }, this.label), h("span", { key: '7647b659056536afa3fedc10860a1be74c0abc1c', class: "time" }, this.time)), h("div", { key: '5142b30f9045f70d2492e8573d368c661423952b', class: "supporting-text" }, this.supportingText)));
11
+ return (h("div", { key: '6cf984b27f70622a8b9fdbd6af03fc346dbd3773', class: "notification-container" }, h("div", { key: 'edb6213fe628c06707d1b8afbb99f4c2430e40cc', class: "notification-title" }, this.icon && (h("div", { key: '115290bf0d81d10bf3ad4ccefb913398082f94c0', class: "icon" }, h("img", { key: '88ecbc5828d5d249f1fa9d89dee3b383f72e0d56', src: iconSrc, alt: "Icon" }))), h("label", { key: '178fe9b7322ec1575d6a2edba3e7d897e2de0dec' }, this.label), h("span", { key: '2f0a986cd6c7ff2cc383ad2e25aa2ba8ca0fde04', class: "time" }, this.time)), h("div", { key: '3cb6aed1236393a97a83f5ffae1ef1797951aad8', class: "supporting-text" }, this.supportingText)));
12
12
  }
13
13
  static get is() { return "gb-notification-content"; }
14
14
  static get encapsulation() { return "shadow"; }