globuswebcomponents 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/dist/cjs/{gb-avatar_34.cjs.entry.js → gb-avatar_40.cjs.entry.js} +305 -66
  2. package/dist/cjs/gb-avatar_40.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-button-close_2.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-export-sub-dropdown.cjs.entry.js +22 -0
  5. package/dist/cjs/gb-export-sub-dropdown.cjs.entry.js.map +1 -0
  6. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-file-upload.cjs.entry.js +9 -9
  8. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
  10. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  20. package/dist/cjs/globuscomponents.cjs.js +1 -1
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/collection/assets/arrow-left-02.svg +4 -2
  23. package/dist/collection/assets/arrow-right-02.svg +2 -2
  24. package/dist/collection/collection-manifest.json +4 -0
  25. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +34 -8
  26. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
  27. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.css +2673 -0
  28. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +71 -0
  29. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -0
  30. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.css +2757 -0
  31. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +87 -0
  32. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js.map +1 -0
  33. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.css +2673 -0
  34. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +19 -0
  35. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js.map +1 -0
  36. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.css +2695 -0
  37. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +51 -0
  38. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js.map +1 -0
  39. package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
  40. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  41. package/dist/collection/components/gb-header/gb-header.css +1 -0
  42. package/dist/collection/components/gb-header/gb-header.js +1 -1
  43. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  44. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  45. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  46. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  47. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +17 -17
  48. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  49. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +3 -46
  50. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +6 -6
  51. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
  52. package/dist/collection/components/gb-input-field/gb-input-field.js +11 -11
  53. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  54. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  55. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +4 -4
  56. package/dist/collection/components/gb-pagination/gb-pagination.css +7 -0
  57. package/dist/collection/components/gb-pagination/gb-pagination.js +32 -7
  58. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  59. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  60. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  61. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +2 -1
  62. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +19 -1
  63. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js.map +1 -1
  64. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  65. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  66. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  67. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  68. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  69. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  70. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  71. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  72. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  73. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  74. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  75. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  76. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  77. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  78. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  79. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  80. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  81. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  82. package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +2 -2
  83. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  84. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  85. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  86. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  87. package/dist/components/gb-avatar-add-button.js +1 -1
  88. package/dist/components/gb-avatar-dropdown.js +20 -11
  89. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  90. package/dist/components/gb-avatar-group.js +4 -4
  91. package/dist/components/gb-avatar-label-group.js +1 -1
  92. package/dist/components/gb-avatar-profile-photo.js +2 -2
  93. package/dist/components/gb-avatar.js +1 -1
  94. package/dist/components/gb-badge.js +1 -1
  95. package/dist/components/gb-checkbox-group-item.js +1 -1
  96. package/dist/components/gb-checkbox-group.js +3 -3
  97. package/dist/components/gb-collapse-button.js +1 -1
  98. package/dist/components/gb-export-dropdown-item.d.ts +11 -0
  99. package/dist/components/gb-export-dropdown-item.js +8 -0
  100. package/dist/components/gb-export-dropdown-item.js.map +1 -0
  101. package/dist/components/gb-export-dropdown.d.ts +11 -0
  102. package/dist/components/gb-export-dropdown.js +51 -0
  103. package/dist/components/gb-export-dropdown.js.map +1 -0
  104. package/dist/components/gb-export-sub-dropdown-item.d.ts +11 -0
  105. package/dist/components/gb-export-sub-dropdown-item.js +8 -0
  106. package/dist/components/gb-export-sub-dropdown-item.js.map +1 -0
  107. package/dist/components/gb-export-sub-dropdown.d.ts +11 -0
  108. package/dist/components/gb-export-sub-dropdown.js +43 -0
  109. package/dist/components/gb-export-sub-dropdown.js.map +1 -0
  110. package/dist/components/gb-file-upload-item-base.js +1 -1
  111. package/dist/components/gb-file-upload.js +12 -12
  112. package/dist/components/gb-header-icon.js +1 -1
  113. package/dist/components/gb-header.js +5 -5
  114. package/dist/components/gb-header.js.map +1 -1
  115. package/dist/components/gb-help-dropdown.js +1 -1
  116. package/dist/components/gb-help-tooltip.js +1 -1
  117. package/dist/components/gb-horizontal-tabs.js +5 -5
  118. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  119. package/dist/components/gb-input-dropdown.js +1 -1
  120. package/dist/components/gb-input-field.js +17 -17
  121. package/dist/components/gb-megainput-field.js +1 -1
  122. package/dist/components/gb-notification-content.js +1 -1
  123. package/dist/components/gb-notification-pane.js +5 -5
  124. package/dist/components/gb-pagination-button-group-base.js +1 -1
  125. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  126. package/dist/components/gb-pagination-number-base.js +1 -40
  127. package/dist/components/gb-pagination-number-base.js.map +1 -1
  128. package/dist/components/gb-pagination.js +103 -7
  129. package/dist/components/gb-pagination.js.map +1 -1
  130. package/dist/components/gb-password-button.js +1 -1
  131. package/dist/components/gb-progress-bar.js +1 -1
  132. package/dist/components/gb-progress-circle.js +1 -1
  133. package/dist/components/gb-rich-text.js +12 -12
  134. package/dist/components/gb-scrollbar.js +1 -1
  135. package/dist/components/gb-side-bar-item.js +1 -1
  136. package/dist/components/gb-sidebar.js +7 -7
  137. package/dist/components/gb-slider-control-handle.js +1 -1
  138. package/dist/components/gb-slider.js +3 -3
  139. package/dist/components/gb-status-indicator.js +1 -1
  140. package/dist/components/gb-tab-button-base.js +1 -1
  141. package/dist/components/gb-tag-checkbox.js +1 -1
  142. package/dist/components/gb-tag-close.js +1 -1
  143. package/dist/components/gb-tag-count.js +1 -1
  144. package/dist/components/gb-tag.js +1 -1
  145. package/dist/components/gb-toast-button.js +1 -1
  146. package/dist/components/gb-toast.js +2 -2
  147. package/dist/components/gb-toggle-base.js +1 -1
  148. package/dist/components/gb-toggle.js +2 -2
  149. package/dist/components/gb-token-field.js +2 -2
  150. package/dist/components/gb-tooltip.js +1 -1
  151. package/dist/components/gb-verification-code-field.js +3 -3
  152. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  153. package/dist/components/{p-01e9a298.js → p-03aafe98.js} +2 -2
  154. package/dist/components/{p-01e9a298.js.map → p-03aafe98.js.map} +1 -1
  155. package/dist/components/p-0a38b641.js +42 -0
  156. package/dist/components/p-0a38b641.js.map +1 -0
  157. package/dist/components/{p-a6cc866a.js → p-0b245ee3.js} +2 -2
  158. package/dist/components/{p-a6cc866a.js.map → p-0b245ee3.js.map} +1 -1
  159. package/dist/components/{p-3c05bdbb.js → p-0c4b9f10.js} +3 -3
  160. package/dist/components/{p-3c05bdbb.js.map → p-0c4b9f10.js.map} +1 -1
  161. package/dist/components/{p-13caf833.js → p-15710279.js} +3 -3
  162. package/dist/components/{p-13caf833.js.map → p-15710279.js.map} +1 -1
  163. package/dist/components/{p-35ef64e9.js → p-20b0e1c1.js} +3 -3
  164. package/dist/components/{p-35ef64e9.js.map → p-20b0e1c1.js.map} +1 -1
  165. package/dist/components/{p-777e985f.js → p-2b414140.js} +2 -2
  166. package/dist/components/{p-777e985f.js.map → p-2b414140.js.map} +1 -1
  167. package/dist/components/{p-0a8b560f.js → p-30a94bf3.js} +2 -2
  168. package/dist/components/{p-0a8b560f.js.map → p-30a94bf3.js.map} +1 -1
  169. package/dist/components/{p-013dee20.js → p-35bf0baf.js} +15 -22
  170. package/dist/components/p-35bf0baf.js.map +1 -0
  171. package/dist/components/{p-61bddf5d.js → p-3b853dc6.js} +10 -10
  172. package/dist/components/p-3b853dc6.js.map +1 -0
  173. package/dist/components/{p-0db9a95a.js → p-4e619f34.js} +3 -3
  174. package/dist/components/{p-0db9a95a.js.map → p-4e619f34.js.map} +1 -1
  175. package/dist/components/{p-10c9fef5.js → p-54a26532.js} +11 -11
  176. package/dist/components/{p-10c9fef5.js.map → p-54a26532.js.map} +1 -1
  177. package/dist/components/{p-9fbe131e.js → p-5577324f.js} +2 -2
  178. package/dist/components/{p-9fbe131e.js.map → p-5577324f.js.map} +1 -1
  179. package/dist/components/{p-9c716438.js → p-7124ef98.js} +7 -7
  180. package/dist/components/{p-9c716438.js.map → p-7124ef98.js.map} +1 -1
  181. package/dist/components/{p-614c7903.js → p-76e5c136.js} +7 -7
  182. package/dist/components/{p-614c7903.js.map → p-76e5c136.js.map} +1 -1
  183. package/dist/components/{p-9da5c7ce.js → p-7dfe2e6e.js} +5 -5
  184. package/dist/components/{p-9da5c7ce.js.map → p-7dfe2e6e.js.map} +1 -1
  185. package/dist/components/p-81aa2aac.js +46 -0
  186. package/dist/components/p-81aa2aac.js.map +1 -0
  187. package/dist/components/{p-0ae10a93.js → p-94df8239.js} +2 -2
  188. package/dist/components/{p-0ae10a93.js.map → p-94df8239.js.map} +1 -1
  189. package/dist/components/{p-9cc98325.js → p-9567243d.js} +6 -6
  190. package/dist/components/{p-9cc98325.js.map → p-9567243d.js.map} +1 -1
  191. package/dist/components/{p-c110c812.js → p-96b92a91.js} +3 -3
  192. package/dist/components/{p-c110c812.js.map → p-96b92a91.js.map} +1 -1
  193. package/dist/components/{p-6f6dbd9e.js → p-a5a98f57.js} +2 -2
  194. package/dist/components/{p-6f6dbd9e.js.map → p-a5a98f57.js.map} +1 -1
  195. package/dist/components/{p-219e2e65.js → p-a7105dca.js} +4 -4
  196. package/dist/components/{p-219e2e65.js.map → p-a7105dca.js.map} +1 -1
  197. package/dist/components/p-b9ca2f90.js +44 -0
  198. package/dist/components/p-b9ca2f90.js.map +1 -0
  199. package/dist/components/{p-9e4e0d3c.js → p-c47114b4.js} +4 -4
  200. package/dist/components/{p-9e4e0d3c.js.map → p-c47114b4.js.map} +1 -1
  201. package/dist/components/{p-d6535fc7.js → p-d4be099a.js} +2 -2
  202. package/dist/components/{p-d6535fc7.js.map → p-d4be099a.js.map} +1 -1
  203. package/dist/components/{p-510523d2.js → p-d8546cd7.js} +3 -3
  204. package/dist/components/{p-510523d2.js.map → p-d8546cd7.js.map} +1 -1
  205. package/dist/components/{p-f39b9a24.js → p-dbb66bab.js} +2 -2
  206. package/dist/components/{p-f39b9a24.js.map → p-dbb66bab.js.map} +1 -1
  207. package/dist/components/{p-6bea6dca.js → p-e1385814.js} +2 -2
  208. package/dist/components/{p-6bea6dca.js.map → p-e1385814.js.map} +1 -1
  209. package/dist/components/{p-c267ebdf.js → p-e5989aa8.js} +3 -3
  210. package/dist/components/{p-c267ebdf.js.map → p-e5989aa8.js.map} +1 -1
  211. package/dist/components/{p-7f28a0a8.js → p-f04532e6.js} +2 -2
  212. package/dist/components/{p-7f28a0a8.js.map → p-f04532e6.js.map} +1 -1
  213. package/dist/esm/{gb-avatar_34.entry.js → gb-avatar_40.entry.js} +300 -67
  214. package/dist/esm/gb-avatar_40.entry.js.map +1 -0
  215. package/dist/esm/gb-button-close_2.entry.js +1 -1
  216. package/dist/esm/gb-export-sub-dropdown.entry.js +18 -0
  217. package/dist/esm/gb-export-sub-dropdown.entry.js.map +1 -0
  218. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  219. package/dist/esm/gb-file-upload.entry.js +9 -9
  220. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  221. package/dist/esm/gb-megainput-field.entry.js +2 -2
  222. package/dist/esm/gb-progress-circle.entry.js +1 -1
  223. package/dist/esm/gb-rich-text.entry.js +1 -1
  224. package/dist/esm/gb-scrollbar.entry.js +1 -1
  225. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  226. package/dist/esm/gb-slider.entry.js +1 -1
  227. package/dist/esm/gb-toast-button.entry.js +1 -1
  228. package/dist/esm/gb-toast.entry.js +1 -1
  229. package/dist/esm/gb-toggle.entry.js +1 -1
  230. package/dist/esm/gb-token-field.entry.js +1 -1
  231. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  232. package/dist/esm/globuscomponents.js +1 -1
  233. package/dist/esm/loader.js +1 -1
  234. package/dist/globuscomponents/assets/arrow-left-02.svg +4 -2
  235. package/dist/globuscomponents/assets/arrow-right-02.svg +2 -2
  236. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  237. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  238. package/dist/globuscomponents/p-1407230c.entry.js +2 -0
  239. package/dist/globuscomponents/{p-82f0b8bd.entry.js → p-23f6cdaa.entry.js} +2 -2
  240. package/dist/globuscomponents/p-2af16015.entry.js +2 -0
  241. package/dist/globuscomponents/p-2af16015.entry.js.map +1 -0
  242. package/dist/globuscomponents/{p-f4e83bee.entry.js → p-5aac3b80.entry.js} +2 -2
  243. package/dist/globuscomponents/{p-b4a9a592.entry.js → p-5fb67944.entry.js} +2 -2
  244. package/dist/globuscomponents/p-61ebec19.entry.js +2 -0
  245. package/dist/globuscomponents/p-61ebec19.entry.js.map +1 -0
  246. package/dist/globuscomponents/{p-28010ce5.entry.js → p-856cdce9.entry.js} +2 -2
  247. package/dist/globuscomponents/{p-49317ef3.entry.js → p-8670bfe4.entry.js} +2 -2
  248. package/dist/globuscomponents/{p-d9a2a502.entry.js → p-8844e42c.entry.js} +2 -2
  249. package/dist/globuscomponents/{p-e000dd43.entry.js → p-8db2251b.entry.js} +2 -2
  250. package/dist/globuscomponents/{p-a8fca199.entry.js → p-9f0d14f0.entry.js} +2 -2
  251. package/dist/globuscomponents/{p-2de76cff.entry.js → p-a720f8ce.entry.js} +2 -2
  252. package/dist/globuscomponents/{p-478defa4.entry.js → p-aa4a4c00.entry.js} +2 -2
  253. package/dist/globuscomponents/{p-4747d944.entry.js → p-c6e46539.entry.js} +2 -2
  254. package/dist/globuscomponents/{p-3e87d517.entry.js → p-d00a1b0b.entry.js} +2 -2
  255. package/dist/globuscomponents/{p-591f713e.entry.js → p-d19146ce.entry.js} +2 -2
  256. package/dist/globuscomponents/{p-813be3a0.entry.js → p-ed655f72.entry.js} +2 -2
  257. package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +1 -0
  258. package/dist/types/components/gb-export-dropdown/gb-export-dropdown.d.ts +8 -0
  259. package/dist/types/components/gb-export-dropdown-item/gb-export-dropdown-item.d.ts +8 -0
  260. package/dist/types/components/gb-export-sub-dropdown/gb-export-sub-dropdown.d.ts +3 -0
  261. package/dist/types/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.d.ts +6 -0
  262. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +5 -1
  263. package/dist/types/components/gb-pagination/gb-pagination.d.ts +4 -0
  264. package/dist/types/components/gb-pagination-number-base/gb-pagination-number-base.d.ts +1 -0
  265. package/dist/types/components.d.ts +86 -2
  266. package/package.json +1 -1
  267. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -57
  268. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
  269. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -104
  270. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
  271. package/dist/cjs/gb-avatar_34.cjs.entry.js.map +0 -1
  272. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -32
  273. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
  274. package/dist/components/p-013dee20.js.map +0 -1
  275. package/dist/components/p-61bddf5d.js.map +0 -1
  276. package/dist/esm/gb-avatar-dropdown.entry.js +0 -53
  277. package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
  278. package/dist/esm/gb-avatar-label-group.entry.js +0 -100
  279. package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
  280. package/dist/esm/gb-avatar_34.entry.js.map +0 -1
  281. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -28
  282. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
  283. package/dist/globuscomponents/p-3482a1c9.entry.js +0 -2
  284. package/dist/globuscomponents/p-3482a1c9.entry.js.map +0 -1
  285. package/dist/globuscomponents/p-3e00e8b5.entry.js +0 -2
  286. package/dist/globuscomponents/p-517691ca.entry.js +0 -2
  287. package/dist/globuscomponents/p-517691ca.entry.js.map +0 -1
  288. package/dist/globuscomponents/p-d8d56455.entry.js +0 -2
  289. package/dist/globuscomponents/p-d8d56455.entry.js.map +0 -1
  290. package/dist/globuscomponents/p-ef70935e.entry.js +0 -2
  291. package/dist/globuscomponents/p-ef70935e.entry.js.map +0 -1
  292. /package/dist/globuscomponents/{p-3e00e8b5.entry.js.map → p-1407230c.entry.js.map} +0 -0
  293. /package/dist/globuscomponents/{p-82f0b8bd.entry.js.map → p-23f6cdaa.entry.js.map} +0 -0
  294. /package/dist/globuscomponents/{p-f4e83bee.entry.js.map → p-5aac3b80.entry.js.map} +0 -0
  295. /package/dist/globuscomponents/{p-b4a9a592.entry.js.map → p-5fb67944.entry.js.map} +0 -0
  296. /package/dist/globuscomponents/{p-28010ce5.entry.js.map → p-856cdce9.entry.js.map} +0 -0
  297. /package/dist/globuscomponents/{p-49317ef3.entry.js.map → p-8670bfe4.entry.js.map} +0 -0
  298. /package/dist/globuscomponents/{p-d9a2a502.entry.js.map → p-8844e42c.entry.js.map} +0 -0
  299. /package/dist/globuscomponents/{p-e000dd43.entry.js.map → p-8db2251b.entry.js.map} +0 -0
  300. /package/dist/globuscomponents/{p-a8fca199.entry.js.map → p-9f0d14f0.entry.js.map} +0 -0
  301. /package/dist/globuscomponents/{p-2de76cff.entry.js.map → p-a720f8ce.entry.js.map} +0 -0
  302. /package/dist/globuscomponents/{p-478defa4.entry.js.map → p-aa4a4c00.entry.js.map} +0 -0
  303. /package/dist/globuscomponents/{p-4747d944.entry.js.map → p-c6e46539.entry.js.map} +0 -0
  304. /package/dist/globuscomponents/{p-3e87d517.entry.js.map → p-d00a1b0b.entry.js.map} +0 -0
  305. /package/dist/globuscomponents/{p-591f713e.entry.js.map → p-d19146ce.entry.js.map} +0 -0
  306. /package/dist/globuscomponents/{p-813be3a0.entry.js.map → p-ed655f72.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-dropdown.js","s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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath, Event, EventEmitter } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownTypes, GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop({ mutable: true }) items: any[] = [];\r\n @Prop() supportingText: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @Element() el: HTMLElement;\r\n @Event() dropdownValue: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleOutsideClick);\r\n }\r\n\r\n handleOutsideClick = (event: MouseEvent) => {\r\n if (this.type === 'tags' && this.dropdownOpen && !this.dropdownRef.contains(event.target as Node)) {\r\n this.dropdownOpen = false; // Close the dropdown\r\n }\r\n };\r\n\r\n toggleDropdown() {\r\n if (this.state !== 'disabled') {\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n }\r\n\r\n isItemSelected(selectedItem) {\r\n const found = this.selectedItems.find(item => item.name === selectedItem.name);\r\n return found !== undefined;\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n // item.selected = !item.selected;\r\n\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n } else {\r\n this.selectedItem = item;\r\n item.selected = true;\r\n this.selectedItems.push(this.selectedItem);\r\n if (item.selected) {\r\n this.unselectedItems = this.unselectedItems.filter(unselectedItem => unselectedItem !== item);\r\n } else {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n this.dropdownValue.emit(this.selectedItems);\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n } else {\r\n // For other types, allow only one selection\r\n this.selectedItems = [item]; // Replace with the new item\r\n this.selectedItem = item; // Store the selected item\r\n this.state = 'filled'; // Update state to 'filled'\r\n this.dropdownOpen = false; // Close the dropdown\r\n this.dropdownValue.emit(this.selectedItem);\r\n }\r\n }\r\n\r\n handleTagRemove(item) {\r\n // Remove the item from selectedItems array\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n // For non-tags type, set selectedItem to null if that item is removed\r\n if (this.type !== 'tags' && this.selectedItem === item) {\r\n this.selectedItem = null;\r\n }\r\n\r\n // Update state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n\r\n this.unselectedItems = this.items.filter(item => !item.selected);\r\n }\r\n\r\n componentDidLoad() {\r\n if (this.type !== 'tags') {\r\n document.addEventListener('click', this.handleOutsideClick);\r\n }\r\n\r\n const items = [\r\n { name: 'Emmanuel Kadiri', selected: false },\r\n { name: 'Gideon Ogunkola', selected: false },\r\n { name: 'Precious Okon', selected: false },\r\n ];\r\n\r\n this.unselectedItems = items;\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n slottedInitials.classList.add('text-xxs-semi-bold');\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n render() {\r\n \r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`} onClick={() => this.toggleDropdown()}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <>\r\n {this.state === 'default' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.state === 'filled' && (\r\n <gb-avatar size=\"xs\" text={this.text} color={this.color} show-border={this.showBorder}>\r\n <h1 slot=\"initials\">{this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </gb-avatar>\r\n )}\r\n </>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map((item, index) => (\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon=\"avatar\" action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name.split(' ').map(part => part.charAt(0).toUpperCase())}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ))\r\n : this.selectedItem.name}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections\r\n : this.selectedItem.username}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\r\n </div>,\r\n <>\r\n {this.dropdownOpen && (\r\n <div class=\"dropdown_menu\" ref={el => (this.dropdownRef = el)}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.selectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n {this.unselectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : (\r\n <>\r\n {this.items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n color={this.color}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n {/* <p slot=\"supporting_text\">@{item.username}</p> */}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n </>,\r\n ];\r\n }\r\n} \r\n "]}
1
+ {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAgB,MAAM,eAAe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Element, State, getAssetPath, Event, EventEmitter } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownTypes, GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop({ mutable: true }) items: Array<{ name: string; username: string; selected: boolean } | number>;\r\n @Prop() supportingText: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @Element() el: HTMLElement;\r\n @Event() dropdownValue: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleOutsideClick);\r\n }\r\n\r\n handleOutsideClick = (event: MouseEvent) => {\r\n if (this.type === 'tags' && this.dropdownOpen && !this.dropdownRef.contains(event.target as Node)) {\r\n this.dropdownOpen = false; // Close the dropdown\r\n }\r\n };\r\n\r\n toggleDropdown() {\r\n if (this.state !== 'disabled') {\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n }\r\n\r\n isItemSelected(selectedItem) {\r\n const found = this.selectedItems.find(item => item.name === selectedItem.name);\r\n return found !== undefined;\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n // item.selected = !item.selected;\r\n\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n } else {\r\n this.selectedItem = item;\r\n item.selected = true;\r\n this.selectedItems.push(this.selectedItem);\r\n if (item.selected) {\r\n this.unselectedItems = this.unselectedItems.filter(unselectedItem => unselectedItem !== item);\r\n } else {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n this.dropdownValue.emit(this.selectedItems);\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n } else {\r\n // For other types, allow only one selection\r\n this.selectedItems = [item]; // Replace with the new item\r\n this.selectedItem = item; // Store the selected item\r\n this.state = 'filled'; // Update state to 'filled'\r\n this.dropdownOpen = false; // Close the dropdown\r\n this.dropdownValue.emit(this.selectedItem);\r\n }\r\n }\r\n\r\n handleTagRemove(item) {\r\n // Remove the item from selectedItems array\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n item.selected = false;\r\n\r\n if (!this.unselectedItems.includes(item)) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n // For non-tags type, set selectedItem to null if that item is removed\r\n if (this.type !== 'tags' && this.selectedItem === item) {\r\n this.selectedItem = null;\r\n }\r\n\r\n // Update state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n\r\n if(this.type === 'tags'){\r\n // this.unselectedItems = this.items.filter(item => !item.selected);\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n if (this.type !== 'tags') {\r\n document.addEventListener('click', this.handleOutsideClick);\r\n }\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n slottedInitials.classList.add('text-xxs-semi-bold');\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n render() {\r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`} onClick={() => this.toggleDropdown()}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <>\r\n {this.state === 'default' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.state === 'filled' && (\r\n <gb-avatar size=\"xs\" text={this.text} color={this.color} show-border={this.showBorder}>\r\n <h1 slot=\"initials\">{this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </gb-avatar>\r\n )}\r\n </>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map((item, index) => (\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon=\"avatar\" action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name.split(' ').map(part => part.charAt(0).toUpperCase())}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ))\r\n : this.selectedItem.name}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections\r\n : this.selectedItem.username}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\r\n </div>,\r\n <>\r\n {this.dropdownOpen && (\r\n <div class=\"dropdown_menu\" ref={el => (this.dropdownRef = el)}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.selectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n {this.unselectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : (\r\n <>\r\n {this.items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n color={this.color}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </>\r\n ) : (\r\n <p slot=\"name\">{item}</p>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n </>,\r\n ];\r\n }\r\n} \r\n "]}
@@ -2694,55 +2694,12 @@
2694
2694
  line-height: var(--Font-Line-height-T-sm, 20px); /* 142.857% */
2695
2695
  }
2696
2696
 
2697
- .dropdown-item:hover {
2698
- background-color: #EEF2F6;
2699
- }
2700
-
2701
- .dropdown-item:active {
2702
- background-color: #E3E8EF;
2703
- }
2704
-
2705
- .dropdown-item--disabled {
2706
- color: #CDD5DF;
2707
- cursor: not-allowed;
2708
- }
2709
-
2710
- .dropdown-item--disabled svg path {
2711
- stroke: #CDD5DF;
2712
- }
2713
-
2714
- .dropdown-item--selected {
2715
- display: flex;
2716
- background-color: #E4F0FC;
2717
- }
2718
-
2719
- .dropdown-item--selected:hover {
2720
- background-color: #b7d2ec;
2721
- }
2722
-
2723
- .dropdown-item--selected:active {
2724
- background-color: #C8E0F9;
2725
- }
2726
-
2727
- .dropdown-item--disabled.dropdown-item--selected {
2728
- background-color: #FFFFFF;
2729
- cursor: not-allowed;
2730
- color: #CDD5DF;
2731
- }
2732
-
2733
- .dropdown-item--disabled.dropdown-item--selected svg path {
2734
- stroke: #CDD5DF;
2735
- }
2736
-
2737
- .dropdown-item--selected.checkbox{
2738
- background-color: transparent;
2739
- }
2740
-
2741
- .dropdown-item--selected.checkbox:hover{
2697
+ /* State Styles */
2698
+ .dropdown-item:hover{
2742
2699
  background-color: var(--color-background-gray-subtler, #EEF2F6);
2743
2700
  }
2744
2701
 
2745
- .dropdown-item--selected.checkbox:active{
2702
+ .dropdown-item:hover{
2746
2703
  background-color: var(--color-background-gray-subtle, #E3E8EF);
2747
2704
  }
2748
2705
 
@@ -1,4 +1,4 @@
1
- import { h } from "@stencil/core";
1
+ import { h, Fragment } from "@stencil/core";
2
2
  export class GbInputDropdownMenuItem {
3
3
  constructor() {
4
4
  this.type = undefined;
@@ -20,13 +20,13 @@ export class GbInputDropdownMenuItem {
20
20
  render() {
21
21
  return (
22
22
  // <div class="dropdown-container" onClick={() => (this.selected = !this.selected)}>
23
- h("div", { key: 'f2fe0c2ee43eb685f0042fb1febb5903695249f9', class: "dropdown-container" }, h("div", { key: '51d6c9eb66b93f7e094fd51f1e3e7ac19a8522dd', class: {
23
+ h("div", { key: '316f295e687ddc5a7132b456ac1351980daa3eed', class: "dropdown-container" }, h("div", { key: 'ac495ccebcaebb01c7982c72eaba021733041c3e', class: {
24
24
  'dropdown-item': true,
25
- 'dropdown-item--selected': this.selected,
26
- 'dropdown-item--disabled': this.state === 'disabled',
27
- 'checkbox': this.type === 'tags',
25
+ 'selected': this.selected,
26
+ 'disabled': this.state === 'disabled',
27
+ 'checkbox': this.type === 'checkbox',
28
28
  [this.type]: true,
29
- }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '096aa326d1b2b033fbfc47c14977cb9bb86092a2', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: '8692a1fb8b25686f810d059a936321a54dbc0c5a', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'c39d7caeda18710a473923de18b7781a22808e14', 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: '48b17ceb3a9f7bffe7650a61dab664cf6df2d737', 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: 'f1234b121399a5278ed5f338da7f0c25253efce1', class: "avatar-icon", size: "xs", color: this.color, text: true }, h("slot", { key: '9373824cacef3b0787d4569cc278e7b5a6b7cc2e', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (h("svg", { key: 'ba872bd4698adf71fb4c6b5a99d95d7e839c2103', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: '0ed0f23eaa6cf9ac80387f0e60b39684ddaf1e0d', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: 'b0c6c4d95d2d58eee7e0a91bc6095677aef11557', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: 'dbda9d90778ad3891b9b3cc9ba2357ec044d3133', name: "name" }), this.supportingText && (h("span", { key: 'b87f0e1d6789dcaf561bcf7f19dec4977d6e4bb0' }, h("slot", { key: 'fbcc7c131740598e69ad463e9a88193b58dafba0', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: '71b5fe905b891400bfe90e474d61906fc5a9f6cb', class: `tick` }, h("svg", { key: 'a7969ab6beee4d5f7f87be3dc1033071805c3f97', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9c52ebe771b2a7634d9aea54db7a507de069494b', 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" })))))));
29
+ }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: 'd749159b80f7f83f2811cef6826fcf3d9a4e67ca', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: 'b2f585e368c8f58c9d10ae748e71c1b8a007c77d', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'cd1d0c78276f0d1b209571a24038559dd32c910d', 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: 'db75ff29b4f6a1b6725d258cce90e1110ed6f0a7', 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: '2e4f60d6d5eea7c2ebebabafa29ca07b0af32dd9', class: "avatar-icon", size: "xs", color: this.color, text: true }, h("slot", { key: '7ffafc77dfadb4a0d1f97663664271550941cadc', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (h(Fragment, null, this.state === 'default' ? (h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && h("gb-checkbox", { key: 'e4dced5f3fba8eed457fea777103a13f6a0473a3', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: 'bb1c29dabe4648700ecb7f310cc6aa3147f992e1', name: "name" }), this.supportingText && (h("span", { key: 'fc30180db188dbc9c31fc0754e568079ee89215e' }, h("slot", { key: '6e67ef7f624bd44f1abcdd097d31ce833fdfe416', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: 'bbee6b8deddf8d3aed7ae9e532db8ccc51bb7124', class: `tick` }, h("svg", { key: '4145508aa925d32a8901241f6a73b09690dfb26c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '58bda3165d0db2afe19f3319c57b4f19cc659036', 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" })))))));
30
30
  }
31
31
  static get is() { return "gb-input-dropdown-menu-item"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-dropdown-menu-item.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,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AAC,IAAI,KAAK,UAAU,IAAI,CAC5C,4DAAK,KAAK,EAAE,MAAM;oBAChB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;wBAC5F,6DACE,CAAC,EAAC,wGAAwG,EAC1G,MAAM,EAAC,SAAS,kBACH,SAAS,oBACP,OAAO,qBACN,OAAO,GACvB,CACE,CACF,CACP,CACG,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Prop, h } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownTypes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown-menu-item',\r\n styleUrl: 'gb-input-dropdown-menu-item.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdownMenuItem {\r\n @Prop() type: DropdownTypes;\r\n @Prop() supportingText: boolean = false;\r\n @Prop({ mutable: true }) selected: boolean = false;\r\n @Prop() state: StateEnum;\r\n @Prop() color: AvatarColorTypes;\r\n @Element() el: HTMLElement;\r\n\r\n componentDidLoad() {\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n const initialsSlot = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n nameSlot.classList.add('text-md-medium');\r\n initialsSlot.classList.add('text-xs-semi-bold');\r\n\r\n if(supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-sm-regular');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n // <div class=\"dropdown-container\" onClick={() => (this.selected = !this.selected)}>\r\n <div class=\"dropdown-container\">\r\n <div\r\n class={{\r\n 'dropdown-item': true,\r\n 'dropdown-item--selected': this.selected,\r\n 'dropdown-item--disabled': this.state === 'disabled',\r\n 'checkbox': this.type === 'tags',\r\n [this.type]: true,\r\n }}\r\n role=\"option\"\r\n aria-selected={this.selected ? 'true' : 'false'}\r\n aria-disabled={this.state === 'disabled' ? 'true' : 'false'}\r\n >\r\n <div class=\"content\">\r\n {this.type === 'icon_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xs\" color={this.color} text={true}>\r\n <slot name=\"initials\" slot=\"initials\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 10 10\" fill=\"none\">\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n {this.type === 'checkbox' && <gb-checkbox class=\"checkbox\" size=\"md\" type=\"checkbox\" state={this.state} checked={this.selected}></gb-checkbox>}\r\n <slot name=\"name\"></slot>\r\n {this.supportingText && (\r\n <span>\r\n <slot name=\"supporting_text\"></slot>\r\n </span>\r\n )}\r\n </div>\r\n {this.selected && this.type !== 'checkbox' && (\r\n <div class={`tick`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337\"\r\n stroke=\"#075DB2\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-input-dropdown-menu-item.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQtE,MAAM,OAAO,uBAAuB;;;8BAEA,KAAK;wBACM,KAAK;;;;IAKlD,gBAAgB;QACd,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QACxD,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC;QAC7E,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;QAEhE,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACzC,YAAY,CAAC,SAAS,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAEhD,IAAG,kBAAkB,EAAE,CAAC;YACtB,kBAAkB,CAAC,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;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AAO,GACvB,CACE,CACF,CACP,CACG,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Prop, h, Fragment } from \"@stencil/core\";\r\nimport { AvatarColorTypes, DropdownTypes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown-menu-item',\r\n styleUrl: 'gb-input-dropdown-menu-item.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdownMenuItem {\r\n @Prop() type: DropdownTypes;\r\n @Prop() supportingText: boolean = false;\r\n @Prop({ mutable: true }) selected: boolean = false;\r\n @Prop() state: StateEnum;\r\n @Prop() color: AvatarColorTypes;\r\n @Element() el: HTMLElement;\r\n\r\n componentDidLoad() {\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n const initialsSlot = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n nameSlot.classList.add('text-md-medium');\r\n initialsSlot.classList.add('text-xs-semi-bold');\r\n\r\n if(supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-sm-regular');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n // <div class=\"dropdown-container\" onClick={() => (this.selected = !this.selected)}>\r\n <div class=\"dropdown-container\">\r\n <div\r\n class={{\r\n 'dropdown-item': true,\r\n 'selected': this.selected,\r\n 'disabled': this.state === 'disabled',\r\n 'checkbox': this.type === 'checkbox',\r\n [this.type]: true,\r\n }}\r\n role=\"option\"\r\n aria-selected={this.selected ? 'true' : 'false'}\r\n aria-disabled={this.state === 'disabled' ? 'true' : 'false'}\r\n >\r\n <div class=\"content\">\r\n {this.type === 'icon_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xs\" color={this.color} text={true}>\r\n <slot name=\"initials\" slot=\"initials\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <>\r\n {this.state === 'default' ? (\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 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\">\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#EEF2F6\" />\r\n </svg>\r\n )}\r\n </>\r\n )}\r\n {this.type === 'checkbox' && <gb-checkbox class=\"checkbox\" size=\"md\" type=\"checkbox\" state={this.state} checked={this.selected}></gb-checkbox>}\r\n <slot name=\"name\"></slot>\r\n {this.supportingText && (\r\n <span>\r\n <slot name=\"supporting_text\"></slot>\r\n </span>\r\n )}\r\n </div>\r\n {this.selected && this.type !== 'checkbox' && (\r\n <div class={`tick`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337\"\r\n stroke=\"#075DB2\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -76,21 +76,21 @@ export class GbInputField {
76
76
  }
77
77
  }
78
78
  render() {
79
- return (h("div", { key: '73cf43ed85d7a3621b79a7e50905cda67847bc75', class: `input_container` }, h("div", { key: '8267b6f0269ee86dbd22211f0d4542844d06107b', class: `input_with_label` }, this.showLabel && h("p", { key: '92dcd3d38d63a20b86a7ef8698b087cb464fb905', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
80
- h("div", { key: 'cab71868ebd77e8740b6f8718337806ace76f14c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '3590086ed297bf7f092a247ab9ef13dba85dfe6c', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: '25ae35534f73c79de4618a5f715b8caf3db153e7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a431a5f5de415dc89ab3a5535c1f1f291bf9fccd', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd3d62259834b6430a93a7c103a09b0c885013c39', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
79
+ return (h("div", { key: '70dcb07a388c08143860ada4d1e03020997ddd2e', class: `input_container` }, h("div", { key: 'c8510af52300a3a4259fc91d462bac75d635dabc', class: `input_with_label` }, this.showLabel && h("p", { key: '79029ab7d78d6b33fb32c0941108d4b6281c3840', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
80
+ h("div", { key: '8ee624ffda6101ebebfe9492a28dd118160cfdef', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '2685ff83cb35d7096713c4fc7d11c5c0b6e57859', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: '09046466a3c2f1bb131c2436635c3dfc44701a70', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5e2733949d5a1618d3f7eb71b1d4ab0163adc3c0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'cea3563c26fbf85d8864c7964d65b0794c869f8b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
81
81
  ], this.type === 'icon_leading' && [
82
- h("div", { key: 'ae7392ad0823ffbab60598d9d39405cda61882ae', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6317869ef015b8de306010a2e95b68d2d22e0858', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'ec29bc5432ffe487bfa2b6b48f2377480a9371ef', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'aa500f40cb1de4407a2a6afcf0e25e06ee4310b0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4117707706b44920f00924a82ce475b3d9599c75', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '5783fd1d20c296a19bdad539e2539faf3174eca7', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '9942674e168ad2bf3fdeceb59e8a87470ef1902c', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
82
+ h("div", { key: '44aa43afb8bf686c1d82484fe3f92008d865fd3a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'f26cd2224f9684e2e86252d9406f707a04a95c47', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '1dd759c80e6a3544ff4d22d698e9ebfa87270c16', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '0d2feae15e8e29aa53d43ea2c71f791af1699689', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '112e1ed697659a40e16aefd5b1bc6cdd43b14dc8', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '076e57468b4804b54d7368c02a976af3e42aeb39', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '3e456269fbb8a534314b522d6a4dc0ae54d0b65e', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
83
83
  ], this.type === 'leading_dropdown' && [
84
- h("div", { key: 'c468ad2dfc68d1b63eefc78cc9f9e7db70886a63', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a90c95906ff4e85e2e45149f315f4a154f61319e', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '3eb49d8aa7495902300043acd74727ee3c2f43e3', class: `country_icon` }, h("img", { key: '16607377d33de605ddc834e3a8bac13fce91f421', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '3dd2b001dd232e7d8e9581dce76f0c688fc0a1c0', class: `dropdown_text` }, h("p", { key: '6cc2d36dacdf2479a36d5e2f8b0d8a4167eeb45b', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '82ef948826196d43af01700f3533278d5a6cc5a0', class: `dropdown_arrow` }, h("svg", { key: '8ab36c2875838e75febdf6174c6c3e6895865462', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '15df006d18be0fd023ba5f91cc6802359004737b', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '7498b7a6a760e4e5a30b8738c870cb3be8e7d1c4', class: `leading_dropdown_text_input` }, h("input", { key: 'd05856591ee8d930065f386a351fe6409a143ee4', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '121d248af3b2c3c48d9e72b3b3e94489a5b5c787', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '6cd01542130c24f4be501132fea89f5637ba35a7', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '825320996a30f837a2f25a521bc6ebde1396688b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
85
- h(Fragment, null, this.showDropdown && (h("div", { key: '4c294c5f27cd1dcf08397b1a1e8c214b962b0e0b', class: `dropdown_menu ${this.type}` }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
84
+ h("div", { key: '6795d72c739d8a2da59f8cea5bee7b15795bfe5f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7f674ccdc707cd7c551de61823e1d53b63c2e82f', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '2d2c547d8d198a1aeeaaeae3f02ddaa27aecdcb5', class: `country_icon` }, h("img", { key: 'e2c310a2a95f2a418b759ec952a8750bfb7e4847', src: "build/assets/NG.svg", alt: "" })), h("div", { key: 'bf335d012e99890c0eab4922d79dc732fe8944cf', class: `dropdown_text` }, h("p", { key: 'f2e5f0a7ea9e7d9570ab53c2f9d21af32e797643', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'da51e8e1656284bd00a42c9330720a97f66b8163', class: `dropdown_arrow` }, h("svg", { key: '27b54ddc9cf81e0ebc5edb20636b97461651e04a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3fe517daf6aee57ce0e8d84f8e9d116be7b66a17', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'b86883b2ea55e45978ae023e1138d905e5b72229', class: `leading_dropdown_text_input` }, h("input", { key: 'ac3d6720e551a800bbf0e5ef5c7808e133f0ce9b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'f0367712564fc3ba8f7a94d309c3c48e9d0aae03', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4fcab78c1c88c0abfc08f460184f0977d7323452', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '49f1f9caf04778278dd7b50813bd28abc1e90e8a', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
85
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'd81c9bf0f51c26a586bcf47bb11fd037977c89d7', class: `dropdown_menu ${this.type}` }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
86
86
  ], this.type === 'trailing_dropdown' && [
87
- h("div", { key: '5b824816a7eebe8dd8c156d5a99f184787565f13', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'dea63bf10879ec7ddb1b829300f2195bfbf93917', class: `trailing_dropdown_content` }, h("p", { key: '72643ffe28b2ce820e5cc7c77fbdd6ad2d50558e', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '10d65cc063d8bb43ab33f2a1f687b5dd28cc642a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: '94f439ce848e27931615d0c8896c3ff5ecc319d2', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '7d64f28092b5af3f2720c37fd80a9416fec30e59', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '8cb2a5762cc8e6bc33035e0fd744cd9c2318dbd7', class: `dropdown_text` }, h("p", { key: '7da89a1705d9762654110b96f48fb4d27e36d2f7', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '0a576f66aa88f5c544efc5bc42db7ad9cfbc2513', class: `dropdown_arrow` }, h("svg", { key: '595c8b922d914fcd080e47733baf8bb0df4a76e0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'be866adfee9dd9839360c4aeebe8422b4f800c72', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
88
- h(Fragment, null, this.showDropdown && (h("div", { key: '76db0531fde99f6ca5beb9eb0784b14963f0c746', class: `dropdown_menu ${this.type}` }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
87
+ h("div", { key: 'df40407681564adef3453ac5fbf6b0e41e2e7d68', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'b3e0a40b4cc72234f211d903c6417b0a267cc409', class: `trailing_dropdown_content` }, h("p", { key: 'a1718d9322767ff6d03871b70f33632bec8eb4d1', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '9b3e43161ffa307e10fee6d689af36ba07f5be54', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: 'fc514d80a8615a1adb74c5163c271a0a21a02b35', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '87b10110d006303265b0f35e2d54734ff9775ff8', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '19be88faaf992e3393ba84c04ecad9c94e2ee24c', class: `dropdown_text` }, h("p", { key: 'e97de7d84b4ed82f33a9d8b35229c9585c7d2ac8', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'e5c85bad058c661e342dc6a4237b753ba90aad30', class: `dropdown_arrow` }, h("svg", { key: '6850acb71fa527f4d533b9d48e2e7648e5e10b0c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a97a67554522ff07a9a7633edcb982e4e2bbc9e3', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
88
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'd3236ee8c2bc05a2efb1ba3a907eb40214cd97c7', class: `dropdown_menu ${this.type}` }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
89
89
  ], this.type === 'leading_text' && [
90
- h("div", { key: '143fde212c9e649c10fbcdca13bde7ebeebae977', class: "leading_text_input" }, h("div", { key: '5715043d3d9be52a061440790462712b4bfb4122', class: `add_on` }, h("p", { key: 'd9b2f37c08f24a9e3d8a93581d337685959a2e0b', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: 'abf2f0eab31d1a8643e9b85583101760344b4ddb', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '6bdb9ffc9a4862427ad38d7fc6db359a39008326', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '62fece38b5890660e27fcad0545fb54646b9ec75', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '829d550b6fcf3e58ca0c2b8fea67c505c57440d8', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'e9f0cc2c8186d0c5ed3e42d6665d67aff9f82a45', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
91
- ], this.type === 'payment_input' && (h("div", { key: '5d656af11fbe240e62aaa5a93df67d67be57a2d3', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '3b7705c2c7efa1433929fc767c5e276200c719b1', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'ea2c83d0dcf775d09e1f18d800d4d8f260ea1bc5', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '140e7bbacfdbb519cda87b8cd6a9fa27a342f365', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '10a2c8bb39d2b66f510f0d994a78e5578a324e03', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: 'a73be62a50b95b34034bb8cc366187cfaa0436f2', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'a670216dbf558144a7315e80fb8e5040c6542232', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '012357ad52a023042ec4f0219f508e9d7d841085', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '25b524b03579aeffaeddc843f12f951bfbfaa1a9', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '2703c2d1d2501cd8dddc4b9eac534566c834aba7', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '52dc31695327e0cd71230084cffe74f51db392bc', class: `trailing_button_text_input` }, h("input", { key: '12d6c8e4ff0c90cfb3055e9e1283ffd7e79011a4', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'e30a099c5689944b8b333e14fe09c89efe11ea23', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5223a45360b435c6fc6e53c221aa60048fb5a42a', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '6cc0d66d69d2e18582e00b90ac88175860adbbe3', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: 'ad86156f67069ca4cc34ff3765d7b76cd43820f7', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg" }))), this.type === 'password' && (h("div", { key: '8567b525848a8a2b099dfcf1206a93f0b9c24ec9', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '003aa4ccefccfa015850fd76d509812ea61e1c7c', class: `password_content` }, h("input", { key: '24ab5fc44515c2bbb056c9831f58f052e5981606', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '86d8de43b4c7579added2fea377a8b329efd1411', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f074add09a701fc67c2237fd2f3740e98ef3e52f', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '8d6d1c9198a9a33613181e5014f02eb011920404', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '6714df984ccab9a8703c5ba720bce2bccf25d2df', class: `dropdown` }, h("gb-password-button", { key: 'a9a4673bee88efb92b86ff06bd23a137ca7ac0ee', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'ec32c6b7b361d98c8f4ab9557e810e8cba119b20', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '696b92d694fac1ea15540ef8bbf666200f237524', class: `password_icon_leading_content` }, h("svg", { key: 'cd9bf83e0b4c86c9ed2ec43a4e51484f876b4bfe', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '22de31e5cf23c9b39682d19df3f86b35aca94a34', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'a041d36cc5546393be1a8053bd698a1eb474ec69', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: 'cafbcc8283c52d55cfb1d87668e7a0df98339787', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '6918fcabefab211d88a20009299b59cad36c0699', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '2e5fcdae5ccf849b21328e5a00d573a79f891ee3', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '7917d2dedfb3c599410e5b11ca5d9fa709d7b1d3', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
92
- h("div", { key: '2376e841c601f9f4da755433d9efa74a9ac0f310', class: `count_input` }, h("div", { key: '2df90105ee1b313d8826adcf9d54ce04f284d987', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '6109f0962d4527e71778b605dad315321e6aebb7', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: '140caa5dbcb4b03d592630778c196dfd9c5b322c', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'cb88e7491ce345246f70c6cca86c215e2b7c3286', class: `action ${this.state}` }, h("gb-button", { key: 'bd66f2719ca99fe8333c27ece90a5b39ab445577', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: '56b15b939392aa0c77a98eaae9ef19e1914f646b' }), h("gb-button", { key: 'd5b5e600addd6e9e88d7fd254d170e96493c86a5', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
93
- ], this.type === 'tags' && (h("div", { key: '702d9be05ee3810d088a8c0ff6f6ceaed9181054', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '3e03f5ae73758b398d677e5efe8c7dcbce4197a7', class: `tags_display` }), h("input", { key: 'd568dcb808a1d538b3eacfa93e9257058962a2c2', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })))), this.showHintText && h("p", { key: '4adc28110b25cf5666d5362444c000049cb2fd0e', class: "hint_text text-sm-regular" }, this.hintText)));
90
+ h("div", { key: 'b22ec8512a6fe2d2f9f8eace1b67fe37f9f951ca', class: "leading_text_input" }, h("div", { key: '51fc3a775ebee0319fc43d0c092ab91060c42cf3', class: `add_on` }, h("p", { key: '8707445f1d46750292528394083a2d4ac090f3f1', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: 'cb96f4d6b1881f480a61f93da2600c03a83ac70e', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'f3abbb049303b5c83b02940fd532253ecadf5ea6', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '74cc8b7e453a74b0a876be15a4af93a9298f23f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b3e58ff2c63dc81877f371d8a57b146d638405ea', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd21f0895a2ee6fdb76683662f702c366de3a2238', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
91
+ ], this.type === 'payment_input' && (h("div", { key: '012076c619d798b9bee5a53d6c88f89e6b6e8868', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '4bda2fba5d02d936cb661f41d5f7b3320433c97e', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '9af538fca9580c79e803dba8754c3c62fc4faafa', "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: 'a5cf7ae1109577d5f56e2dc10a66c4cf21cec5b1', "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: '3859e86e3df35a2606b7503a6ee1d348e4a85827', "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: 'ae2919d6ace0ea841af803cfe386c7db003b550c', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'd220b4b7362d4c774c0b43cae2d1a49b3d6802c4', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd3aab1e108837e92904b039607c0285ddea45556', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd94cdb3b499b5d0d6d9904782c959fc93d602db4', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '3ce8a75b7a864868cd3411c378847b19d844036b', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8ee5915ef86b0c07a814081fa7a3846c545cc453', class: `trailing_button_text_input` }, h("input", { key: '34c2eddf005d600726b14e671e90a195c15ee4ba', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '6f49246cd7bdab4d3c23f731cced91dae20d0ef8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a42a56e9139151bdd89a16d030439c259e889dc3', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '99b98f23fd96ee5a73dc73093e731522e7a37992', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '77d9abe881d35d88ddb8c30756004014f46b14bf', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg" }))), this.type === 'password' && (h("div", { key: 'ef5592beacc91e74b2b70c60bbb9da6a63585fe6', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'edb73762581756f5c0e1f45274d83dc7fc98e104', class: `password_content` }, h("input", { key: '06e5091ba578139e186cf47ec59d8d56e99d7366', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '9b23a526bccded56317bb16fae8d462131315edb', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '68680206d7cea273dcba4b2df4d96472de5e6f3b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'a1a2f13e366b26831e65c73cdd72c9f66abad405', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '6b06dfa3d56b8b36eb806f5cf3e3a6650ab827bb', class: `dropdown` }, h("gb-password-button", { key: 'aeb6a2ecffadf2a357cf322458e7eb8eda482b7b', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '6e1375d244e1f8f709c4cc0cd3041745fda8a1a0', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '73c0ea1d183ab8414caebc7bd9ea63fb72610faa', class: `password_icon_leading_content` }, h("svg", { key: 'bbccdd86cb255deca91cdd171714b9a6bc62a014', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '82ba7a75cf5dc38f09e04154d07a2b8f290c5541', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'beedf83f7c94fa19b4225dbf1f601ca959e2bf07', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: '03ec9d55f5fcaad896349ca229036666474524bc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '32d718d56238eeb884eeed99a69c189cb23e9f87', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'fd3150db23a0692ac608cf49fa342cc8b64c431d', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '1b0ec1b8d91b08bd06b3b42efc46b3b846b5ce5b', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
92
+ h("div", { key: '760b536c72d910eef5cb754a3954765e738ad5e2', class: `count_input` }, h("div", { key: 'b081b7ddad05a6529f87e409534b66331d989777', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '56585a6355a2a72e51d54028e4f3ccce0683f3e5', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("div", { key: 'ee97821e0d93fcfecbce730c5d82b6f0e454edac', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '30b6f2cb79e04aec9f78332f6c17ba74d58b94f4', class: `action ${this.state}` }, h("gb-button", { key: '36bc214bfd4544b03f310e641e93c894f1a6e64a', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: 'd7bf6d6c3f10f0a9707a15618fe1db3485d1ff49' }), h("gb-button", { key: '90ddda9d059215e524b7400e9f82279e429fe7b8', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
93
+ ], this.type === 'tags' && (h("div", { key: '33c61411c991e99efd16c58be2aa8f9b067be65c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'af2e860a840ab015a0b742ac1bb554d8a5bc64a8', class: `tags_display` }), h("input", { key: '64d39514b0e5afc6af9eb70e8a32eba852712177', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })))), this.showHintText && h("p", { key: 'fee3e9e3021312d134e85ebe502832186afae0e6', class: "hint_text text-sm-regular" }, this.hintText)));
94
94
  }
95
95
  static get is() { return "gb-input-field"; }
96
96
  static get encapsulation() { return "shadow"; }
@@ -16,10 +16,10 @@ export class GbMegaInputField {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '07e6d1e73ff59aad96c477041f304149736428b3', class: {
19
+ return (h("div", { key: 'a45a39af8c28507e8fc369e05319854e595a0bb0', class: {
20
20
  [this.size]: true,
21
21
  disabled: this.state === 'disabled'
22
- } }, h("input", { key: 'c8d0bff656ce561f6ff8576b8000a32f60ae6d16', class: {
22
+ } }, h("input", { key: '5b0b4572fc944151f8f361c0aee360eb5d4d0b7e', 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(`${this.icon}`);
11
- return (h("div", { key: '91361e869dd16c8e3e59221274fba1523d97376e', class: "notification_container" }, h("div", { key: 'f1530b19110b6e62bf9dd772f9d326bc70ec51a3', class: "notification_title" }, this.icon && (h("div", { key: '186eacd6879e7987c29114585bf4e9eac7e8cd44', class: "icon" }, h("img", { key: '54d25d1029a785b3f643deda7c481b0a144e6997', src: iconSrc, alt: "Icon" }))), h("label", { key: '94fa30d42391b986640d0873aed27c3de4bf08c1' }, this.label), h("span", { key: '15951319cc9bbda966a918c303e2bb6c7f404d8e', class: "time" }, this.time)), h("div", { key: '31b083cbf3a9130c1beb44169c0ae419114cd157', class: "supporting_text" }, h("p", { key: '6265f6f019140889a57c1405b7fc52266565d6e8', class: "text-sm-regular" }, this.supportingText))));
11
+ return (h("div", { key: '0ba118c2e58490be0f8a0d07a87a8734fd8953bd', class: "notification_container" }, h("div", { key: '8df01c7953f74a3ac05a0b0556a0368a3ce8fc61', class: "notification_title" }, this.icon && (h("div", { key: '467410d80794e25266fc0ad57dcbb68e09c1ac4d', class: "icon" }, h("img", { key: '4a676cf50330fd134ae51c55b093cffac3694b89', src: iconSrc, alt: "Icon" }))), h("label", { key: 'c9e080e684f07890ddd60689294a3d8ef6517cb0' }, this.label), h("span", { key: 'a75b04060e17ae7bb4171bca2963146e6def4ec3', class: "time" }, this.time)), h("div", { key: '7b7a661fba7ab52c7f0d3771964faccbd52951d0', class: "supporting_text" }, h("p", { key: 'd294459e48d0191e9022e989b698a2e17fe03c07', class: "text-sm-regular" }, this.supportingText))));
12
12
  }
13
13
  static get is() { return "gb-notification-content"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -30,10 +30,10 @@ export class GbNotificationPane {
30
30
  notification.remove();
31
31
  }
32
32
  render() {
33
- return (h("div", { key: 'b3a58cb70b2bd2dcc9e0523846778ab95b13c85d', class: "notification_pane_div" }, this.state === 'empty' && [
34
- h("div", { key: 'ba6d43e1378a3705fa8bb7890fd493ce74228162', class: `container` }, h("img", { key: '3c93a8fcd193780d7e3dee3cc80592e988cef40c', src: "build/assets/no_notification_frame.svg", alt: "" })),
35
- h("div", { key: 'fc5151c5a7bbd7102ac836430c7f729d304e1b0d', class: `button` }, h("gb-button", { key: 'b798bba15b6399c1b58c41c48b13f5a3351533ff', size: "sm", hierarchy: "tertiary_color", icon: "default", state: "disabled", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '131bbb21646da58e5a5bb7dae55fb754945af4f8' }, "Mark all as read"))),
36
- ], this.state === 'notification_dropdown' && (h("div", { key: 'cee49e113fe054cbff7cd4ade5b3863447ececf2', class: "notification_dropdown" }, h("div", { key: 'a8fc948519af6ad6be5c5e15d5d38a63bca4d57f', class: `content_wrapper` }, h("gb-notification-content", { key: '43cfcae6a8ba440982b1880f8caaab4e48a0be6a', label: this.label, time: this.time, "supporting-text": this.supportingText, icon: this.icon })), h("gb-button", { key: '77c0c50f4310121d11ee32f289803ca48503ed5c', size: "sm", hierarchy: "tertiary_color", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '0111379be24d81278cba4479f1083015b3451125' }, "Mark all as read"))))));
33
+ return (h("div", { key: 'a817d061a8f735005f34d63846d37e7645c36648', class: "notification_pane_div" }, this.state === 'empty' && [
34
+ h("div", { key: '02e640d4283fc8d9893d1676a18ae8a3ff12b742', class: `container` }, h("img", { key: '9886df895b4802e9ffb896caa68765475720d081', src: "build/assets/no_notification_frame.svg", alt: "" })),
35
+ h("div", { key: '38e2c043b77ae625fb759d00869c81c80c95e952', class: `button` }, h("gb-button", { key: 'd5d3e0d98775aaed25e0bad45b0366a68515c4fa', size: "sm", hierarchy: "tertiary_color", icon: "default", state: "disabled", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: 'd3d2198c063ca1b9f2c225d97c2fc4e666c1473c' }, "Mark all as read"))),
36
+ ], this.state === 'notification_dropdown' && (h("div", { key: 'd7e84c5ed99d4b0917f333d21139dad385b24063', class: "notification_dropdown" }, h("div", { key: '4a50d94f467e790c6548625aecb1c5fd0dd57e1e', class: `content_wrapper` }, h("gb-notification-content", { key: '50f38d1e32ce9c3da35f04b8c88161d7c5e75a24', label: this.label, time: this.time, "supporting-text": this.supportingText, icon: this.icon })), h("gb-button", { key: 'db1b09f57fb8e20f9e56d55af2fb1b3ee09791ca', size: "sm", hierarchy: "tertiary_color", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '61385fb975b7aacf3d26dd1fc1b54fe047b77786' }, "Mark all as read"))))));
37
37
  }
38
38
  static get is() { return "gb-notification-pane"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -2668,6 +2668,7 @@
2668
2668
  .entries{
2669
2669
  display: flex;
2670
2670
  gap: var(--spacing-2);
2671
+ align-items: center;
2671
2672
  }
2672
2673
 
2673
2674
  .buttons{
@@ -2675,6 +2676,12 @@
2675
2676
  gap: var(--spacing-3);
2676
2677
  }
2677
2678
 
2679
+ .pagination_numbers{
2680
+ display: flex;
2681
+ align-items: flex-start;
2682
+ gap: var(--spacing-half);
2683
+ }
2684
+
2678
2685
  /* Pagination Type Styles */
2679
2686
  .pagination_div.page_default.desktop,
2680
2687
  .pagination_div.page_minimal_center_aligned.desktop{