globuswebcomponents 0.7.8 → 0.8.0

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 (425) hide show
  1. package/dist/cjs/gb-avatar-add-button.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-add-button.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-avatar-group.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-avatar-group.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +1 -1
  7. package/dist/cjs/{gb-avatar_38.cjs.entry.js → gb-avatar_41.cjs.entry.js} +383 -112
  8. package/dist/cjs/gb-avatar_41.cjs.entry.js.map +1 -0
  9. package/dist/cjs/gb-button-close_2.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +1 -1
  12. package/dist/cjs/gb-control-handle.cjs.entry.js +38 -0
  13. package/dist/cjs/gb-control-handle.cjs.entry.js.map +1 -0
  14. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-file-upload.cjs.entry.js +9 -11
  16. package/dist/cjs/gb-file-upload.cjs.entry.js.map +1 -1
  17. package/dist/cjs/gb-help-dropdown.cjs.entry.js +5 -2
  18. package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
  20. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  21. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  22. package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
  23. package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
  24. package/dist/cjs/gb-slider.cjs.entry.js +2 -2
  25. package/dist/cjs/gb-slider.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  27. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  28. package/dist/cjs/gb-toggle.cjs.entry.js +2 -2
  29. package/dist/cjs/gb-toggle.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  31. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  32. package/dist/cjs/globuscomponents.cjs.js +1 -1
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  35. package/dist/collection/assets/notification_background_pattern.svg +52 -0
  36. package/dist/collection/assets/notification_illustration.svg +80 -0
  37. package/dist/collection/collection-manifest.json +1 -1
  38. package/dist/collection/components/gb-avatar/gb-avatar.css +3 -3
  39. package/dist/collection/components/gb-avatar/gb-avatar.js +2 -2
  40. package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
  41. package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.css +6 -6
  42. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -26
  43. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +27 -38
  44. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
  45. package/dist/collection/components/gb-avatar-group/gb-avatar-group.css +4 -4
  46. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -2
  47. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +1 -1
  48. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
  49. package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +3 -3
  50. package/dist/collection/components/gb-badge-close/gb-badge-close.css +16 -20
  51. package/dist/collection/components/gb-badges/gb-badges.css +4 -4
  52. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +1 -1
  53. package/dist/collection/components/gb-checkbox/gb-checkbox.css +1 -1
  54. package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.css +7 -7
  55. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +5 -10
  56. package/dist/collection/components/{gb-slider-control-handle/slider-control-handle.css → gb-control-handle/gb-control-handle.css} +5 -5
  57. package/dist/collection/components/{gb-slider-control-handle/slider-control-handle.js → gb-control-handle/gb-control-handle.js} +5 -5
  58. package/dist/collection/components/gb-control-handle/gb-control-handle.js.map +1 -0
  59. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +8 -8
  60. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  61. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.css +9 -3
  62. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +7 -5
  63. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -1
  64. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
  65. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.css +12 -0
  66. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +12 -1
  67. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js.map +1 -1
  68. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
  69. package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -35
  70. package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +1 -1
  71. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  72. package/dist/collection/components/gb-header/gb-header.js +1 -1
  73. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  74. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +29 -5
  75. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js.map +1 -1
  76. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  77. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  78. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +63 -32
  79. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  80. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  81. package/dist/collection/components/gb-input-field/gb-input-field.css +69 -11
  82. package/dist/collection/components/gb-input-field/gb-input-field.js +51 -16
  83. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  84. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  85. package/dist/collection/components/gb-notification-content/gb-notification-content.css +5 -5
  86. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  87. package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +91 -21
  88. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +44 -9
  89. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +1 -1
  90. package/dist/collection/components/gb-pagination/gb-pagination.js +5 -10
  91. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  92. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  93. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  94. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  95. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  96. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  97. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  98. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  99. package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +1 -12
  100. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  101. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  102. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  103. package/dist/collection/components/gb-slider/gb-slider.css +2 -2
  104. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  105. package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +3 -3
  106. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  107. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +0 -10
  108. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  109. package/dist/collection/components/gb-tag/gb-tag.js +11 -5
  110. package/dist/collection/components/gb-tag/gb-tag.js.map +1 -1
  111. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +7 -7
  112. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +10 -4
  113. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js.map +1 -1
  114. package/dist/collection/components/gb-tag-close/gb-tag-close.css +2 -2
  115. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  116. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  117. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  118. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  119. package/dist/collection/components/gb-toggle/gb-toggle.css +1 -1
  120. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  121. package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +2 -2
  122. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  123. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  124. package/dist/collection/components/gb-tooltip/gb-tooltip.css +12 -12
  125. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  126. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  127. package/dist/collection/models/reusableModels.js.map +1 -1
  128. package/dist/components/gb-avatar-add-button.js +1 -1
  129. package/dist/components/gb-avatar-dropdown.js +23 -15
  130. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  131. package/dist/components/gb-avatar-group.js +5 -5
  132. package/dist/components/gb-avatar-group.js.map +1 -1
  133. package/dist/components/gb-avatar-label-group.js +1 -1
  134. package/dist/components/gb-avatar-profile-photo.js +3 -3
  135. package/dist/components/gb-avatar-profile-photo.js.map +1 -1
  136. package/dist/components/gb-avatar.js +1 -1
  137. package/dist/components/gb-badge-close.js +1 -1
  138. package/dist/components/gb-badge.js +1 -1
  139. package/dist/components/gb-carousel-arrow.js +1 -1
  140. package/dist/components/gb-carousel-arrow.js.map +1 -1
  141. package/dist/components/gb-checkbox-base.js +1 -1
  142. package/dist/components/gb-checkbox-group-item.js +1 -1
  143. package/dist/components/gb-checkbox-group.js +5 -5
  144. package/dist/components/gb-checkbox.js +1 -1
  145. package/dist/components/gb-collapse-button.js +1 -1
  146. package/dist/components/gb-control-handle.d.ts +11 -0
  147. package/dist/components/gb-control-handle.js +64 -0
  148. package/dist/components/gb-control-handle.js.map +1 -0
  149. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  150. package/dist/components/gb-export-dropdown-item.js +1 -1
  151. package/dist/components/gb-export-dropdown.js +9 -7
  152. package/dist/components/gb-export-dropdown.js.map +1 -1
  153. package/dist/components/gb-export-sub-dropdown-item.js +1 -1
  154. package/dist/components/gb-export-sub-dropdown.js +1 -1
  155. package/dist/components/gb-file-upload-item-base.js +1 -1
  156. package/dist/components/gb-file-upload.js +13 -16
  157. package/dist/components/gb-file-upload.js.map +1 -1
  158. package/dist/components/gb-header-icon.js +1 -1
  159. package/dist/components/gb-header.js +4 -4
  160. package/dist/components/gb-help-dropdown.js +10 -7
  161. package/dist/components/gb-help-dropdown.js.map +1 -1
  162. package/dist/components/gb-help-tooltip.js +1 -1
  163. package/dist/components/gb-horizontal-tabs.js +6 -6
  164. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  165. package/dist/components/gb-input-dropdown.js +1 -1
  166. package/dist/components/gb-input-field.js +51 -25
  167. package/dist/components/gb-input-field.js.map +1 -1
  168. package/dist/components/gb-megainput-field.js +1 -1
  169. package/dist/components/gb-notification-content.js +1 -1
  170. package/dist/components/gb-notification-pane.js +45 -10
  171. package/dist/components/gb-notification-pane.js.map +1 -1
  172. package/dist/components/gb-pagination-button-group-base.js +1 -1
  173. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  174. package/dist/components/gb-pagination-number-base.js +1 -1
  175. package/dist/components/gb-pagination.js +17 -21
  176. package/dist/components/gb-pagination.js.map +1 -1
  177. package/dist/components/gb-password-button.js +1 -1
  178. package/dist/components/gb-progress-bar.js +1 -1
  179. package/dist/components/gb-progress-circle.js +1 -1
  180. package/dist/components/gb-rich-text.js +14 -14
  181. package/dist/components/gb-scrollbar.js +2 -2
  182. package/dist/components/gb-scrollbar.js.map +1 -1
  183. package/dist/components/gb-side-bar-item.js +1 -1
  184. package/dist/components/gb-sidebar.js +8 -8
  185. package/dist/components/gb-slider.js +3 -15
  186. package/dist/components/gb-slider.js.map +1 -1
  187. package/dist/components/gb-status-indicator.js +1 -1
  188. package/dist/components/gb-tab-button-base.js +1 -1
  189. package/dist/components/gb-tag-checkbox.js +1 -1
  190. package/dist/components/gb-tag-close.js +1 -1
  191. package/dist/components/gb-tag-count.js +1 -1
  192. package/dist/components/gb-tag.js +1 -1
  193. package/dist/components/gb-toast-button.js +1 -1
  194. package/dist/components/gb-toast.js +2 -2
  195. package/dist/components/gb-toggle-base.js +1 -1
  196. package/dist/components/gb-toggle.js +3 -3
  197. package/dist/components/gb-toggle.js.map +1 -1
  198. package/dist/components/gb-token-field.js +2 -2
  199. package/dist/components/gb-tooltip.js +1 -1
  200. package/dist/components/gb-verification-code-field.js +3 -3
  201. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  202. package/dist/components/{p-e81f592c.js → p-0d222043.js} +4 -4
  203. package/dist/components/{p-e81f592c.js.map → p-0d222043.js.map} +1 -1
  204. package/dist/components/{p-a71a4f8d.js → p-1e775f96.js} +6 -6
  205. package/dist/{globuscomponents/p-857087c3.entry.js.map → components/p-1e775f96.js.map} +1 -1
  206. package/dist/components/{p-c73b836d.js → p-1f1dfee4.js} +9 -9
  207. package/dist/components/{p-c73b836d.js.map → p-1f1dfee4.js.map} +1 -1
  208. package/dist/components/{p-fa64646f.js → p-2111dbe2.js} +3 -3
  209. package/dist/components/{p-fa64646f.js.map → p-2111dbe2.js.map} +1 -1
  210. package/dist/components/{p-043d096a.js → p-262e8623.js} +3 -3
  211. package/dist/components/p-262e8623.js.map +1 -0
  212. package/dist/components/{p-81505876.js → p-340870e3.js} +5 -5
  213. package/dist/components/p-340870e3.js.map +1 -0
  214. package/dist/components/{p-94f3a5f7.js → p-42290673.js} +3 -3
  215. package/dist/components/{p-94f3a5f7.js.map → p-42290673.js.map} +1 -1
  216. package/dist/components/{p-adc75faf.js → p-430a4d69.js} +13 -13
  217. package/dist/components/{p-adc75faf.js.map → p-430a4d69.js.map} +1 -1
  218. package/dist/components/p-47052b60.js.map +1 -1
  219. package/dist/components/{p-1637c085.js → p-5eac42ae.js} +3 -3
  220. package/dist/components/p-5eac42ae.js.map +1 -0
  221. package/dist/components/{p-b88341a9.js → p-65e07287.js} +5 -5
  222. package/dist/components/p-65e07287.js.map +1 -0
  223. package/dist/components/{p-07a3b3da.js → p-6cc620f5.js} +2 -2
  224. package/dist/components/{p-07a3b3da.js.map → p-6cc620f5.js.map} +1 -1
  225. package/dist/components/{p-9acf67ff.js → p-74af020e.js} +3 -3
  226. package/dist/components/p-74af020e.js.map +1 -0
  227. package/dist/components/{p-78549e92.js → p-775dcbe0.js} +3 -3
  228. package/dist/components/p-775dcbe0.js.map +1 -0
  229. package/dist/components/{p-9ce53d62.js → p-895e95e1.js} +2 -2
  230. package/dist/components/p-895e95e1.js.map +1 -0
  231. package/dist/components/{p-5285dad9.js → p-917e17c5.js} +8 -8
  232. package/dist/components/{p-5285dad9.js.map → p-917e17c5.js.map} +1 -1
  233. package/dist/components/{p-c9083653.js → p-a33dd05b.js} +3 -3
  234. package/dist/components/p-a33dd05b.js.map +1 -0
  235. package/dist/components/{p-2099b3fb.js → p-a39753d6.js} +2 -2
  236. package/dist/components/{p-2099b3fb.js.map → p-a39753d6.js.map} +1 -1
  237. package/dist/components/{p-48299bd0.js → p-a7b565f6.js} +2 -2
  238. package/dist/components/{p-48299bd0.js.map → p-a7b565f6.js.map} +1 -1
  239. package/dist/components/{p-386f4197.js → p-a9dbefb7.js} +5 -5
  240. package/dist/components/{p-386f4197.js.map → p-a9dbefb7.js.map} +1 -1
  241. package/dist/components/{p-8bb1ddab.js → p-bc66ed45.js} +3 -3
  242. package/dist/components/p-bc66ed45.js.map +1 -0
  243. package/dist/components/{p-c4d3f82d.js → p-bef8d635.js} +2 -2
  244. package/dist/components/{p-c4d3f82d.js.map → p-bef8d635.js.map} +1 -1
  245. package/dist/components/{p-e9c7d99a.js → p-c0116340.js} +2 -2
  246. package/dist/components/{p-e9c7d99a.js.map → p-c0116340.js.map} +1 -1
  247. package/dist/components/{p-94933c0b.js → p-c1f44e91.js} +58 -41
  248. package/dist/components/p-c1f44e91.js.map +1 -0
  249. package/dist/components/{p-3c303bdb.js → p-d09d7004.js} +15 -4
  250. package/dist/components/p-d09d7004.js.map +1 -0
  251. package/dist/components/{p-9942384c.js → p-d7451e82.js} +7 -7
  252. package/dist/components/{p-9942384c.js.map → p-d7451e82.js.map} +1 -1
  253. package/dist/components/{p-828f9e43.js → p-df7a7cf2.js} +5 -5
  254. package/dist/components/{p-828f9e43.js.map → p-df7a7cf2.js.map} +1 -1
  255. package/dist/components/{p-536dedb7.js → p-df93f11f.js} +2 -2
  256. package/dist/components/{p-536dedb7.js.map → p-df93f11f.js.map} +1 -1
  257. package/dist/components/{p-411109ed.js → p-dfa436e3.js} +2 -2
  258. package/dist/components/{p-411109ed.js.map → p-dfa436e3.js.map} +1 -1
  259. package/dist/components/{p-989344e3.js → p-e68067c1.js} +7 -7
  260. package/dist/components/{p-989344e3.js.map → p-e68067c1.js.map} +1 -1
  261. package/dist/components/{p-274214e1.js → p-e6c6479c.js} +3 -3
  262. package/dist/components/p-e6c6479c.js.map +1 -0
  263. package/dist/components/{p-b1070aca.js → p-e86d4e72.js} +2 -2
  264. package/dist/components/p-e86d4e72.js.map +1 -0
  265. package/dist/components/{p-f4306c83.js → p-f927cb16.js} +4 -4
  266. package/dist/components/p-f927cb16.js.map +1 -0
  267. package/dist/components/{p-54fcaccc.js → p-f9b3f08d.js} +3 -3
  268. package/dist/components/{p-54fcaccc.js.map → p-f9b3f08d.js.map} +1 -1
  269. package/dist/components/{p-e849c9f1.js → p-fed47a11.js} +5 -5
  270. package/dist/components/p-fed47a11.js.map +1 -0
  271. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  272. package/dist/esm/gb-avatar-add-button.entry.js.map +1 -1
  273. package/dist/esm/gb-avatar-group.entry.js +1 -1
  274. package/dist/esm/gb-avatar-group.entry.js.map +1 -1
  275. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  276. package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -1
  277. package/dist/esm/{gb-avatar_38.entry.js → gb-avatar_41.entry.js} +382 -114
  278. package/dist/esm/gb-avatar_41.entry.js.map +1 -0
  279. package/dist/esm/gb-button-close_2.entry.js +1 -1
  280. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  281. package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -1
  282. package/dist/esm/gb-control-handle.entry.js +34 -0
  283. package/dist/esm/gb-control-handle.entry.js.map +1 -0
  284. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  285. package/dist/esm/gb-file-upload.entry.js +9 -11
  286. package/dist/esm/gb-file-upload.entry.js.map +1 -1
  287. package/dist/esm/gb-help-dropdown.entry.js +6 -3
  288. package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
  289. package/dist/esm/gb-megainput-field.entry.js +2 -2
  290. package/dist/esm/gb-progress-circle.entry.js +1 -1
  291. package/dist/esm/gb-rich-text.entry.js +1 -1
  292. package/dist/esm/gb-scrollbar.entry.js +2 -2
  293. package/dist/esm/gb-scrollbar.entry.js.map +1 -1
  294. package/dist/esm/gb-slider.entry.js +2 -2
  295. package/dist/esm/gb-slider.entry.js.map +1 -1
  296. package/dist/esm/gb-toast-button.entry.js +1 -1
  297. package/dist/esm/gb-toast.entry.js +1 -1
  298. package/dist/esm/gb-toggle.entry.js +2 -2
  299. package/dist/esm/gb-toggle.entry.js.map +1 -1
  300. package/dist/esm/gb-token-field.entry.js +1 -1
  301. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  302. package/dist/esm/globuscomponents.js +1 -1
  303. package/dist/esm/loader.js +1 -1
  304. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  305. package/dist/globuscomponents/assets/notification_background_pattern.svg +52 -0
  306. package/dist/globuscomponents/assets/notification_illustration.svg +80 -0
  307. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  308. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  309. package/dist/globuscomponents/{p-5516e43b.entry.js → p-0b05a717.entry.js} +2 -2
  310. package/dist/globuscomponents/p-0b05a717.entry.js.map +1 -0
  311. package/dist/globuscomponents/p-1c92b59c.entry.js +2 -0
  312. package/dist/globuscomponents/p-1c92b59c.entry.js.map +1 -0
  313. package/dist/globuscomponents/{p-56116cbb.entry.js → p-438b6a5a.entry.js} +2 -2
  314. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  315. package/dist/globuscomponents/{p-857087c3.entry.js → p-472ded9f.entry.js} +2 -2
  316. package/dist/globuscomponents/p-472ded9f.entry.js.map +1 -0
  317. package/dist/globuscomponents/{p-4fb70c85.entry.js → p-4d40f44e.entry.js} +2 -2
  318. package/dist/globuscomponents/p-4d40f44e.entry.js.map +1 -0
  319. package/dist/globuscomponents/{p-39ecea7f.entry.js → p-4f500687.entry.js} +2 -2
  320. package/dist/globuscomponents/p-4f500687.entry.js.map +1 -0
  321. package/dist/globuscomponents/{p-a1eaa17d.entry.js → p-55de3f53.entry.js} +2 -2
  322. package/dist/globuscomponents/{p-ce7e677c.entry.js → p-655c0263.entry.js} +2 -2
  323. package/dist/globuscomponents/{p-4b7867b6.entry.js → p-8aa093a6.entry.js} +2 -2
  324. package/dist/globuscomponents/p-8aa093a6.entry.js.map +1 -0
  325. package/dist/globuscomponents/{p-08df6da8.entry.js → p-92c9b83d.entry.js} +2 -2
  326. package/dist/globuscomponents/{p-79c12a5f.entry.js → p-a6c16af5.entry.js} +2 -2
  327. package/dist/globuscomponents/{p-c37aed22.entry.js → p-ab95648e.entry.js} +2 -2
  328. package/dist/globuscomponents/p-ab95648e.entry.js.map +1 -0
  329. package/dist/globuscomponents/{p-bef774b2.entry.js → p-acb55010.entry.js} +2 -2
  330. package/dist/globuscomponents/{p-a3adce55.entry.js → p-d88ec715.entry.js} +2 -2
  331. package/dist/globuscomponents/{p-4a0b98cc.entry.js → p-e13cc3c7.entry.js} +2 -2
  332. package/dist/globuscomponents/p-e85e7e22.entry.js +2 -0
  333. package/dist/globuscomponents/p-e85e7e22.entry.js.map +1 -0
  334. package/dist/globuscomponents/{p-b5185285.entry.js → p-f19f57d4.entry.js} +2 -2
  335. package/dist/globuscomponents/p-f19f57d4.entry.js.map +1 -0
  336. package/dist/globuscomponents/p-f82d5672.entry.js +2 -0
  337. package/dist/globuscomponents/p-f82d5672.entry.js.map +1 -0
  338. package/dist/globuscomponents/{p-e0e0b87b.entry.js → p-f84c84ec.entry.js} +2 -2
  339. package/dist/globuscomponents/{p-ebcc2cdb.entry.js → p-f9fcadea.entry.js} +2 -2
  340. package/dist/globuscomponents/p-f9fcadea.entry.js.map +1 -0
  341. package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +3 -2
  342. package/dist/types/components/gb-avatar-label-group/gb-avatar-label-group.d.ts +1 -1
  343. package/dist/types/components/gb-export-dropdown/gb-export-dropdown.d.ts +6 -2
  344. package/dist/types/components/gb-export-sub-dropdown/gb-export-sub-dropdown.d.ts +2 -0
  345. package/dist/types/components/gb-file-upload/gb-file-upload.d.ts +1 -2
  346. package/dist/types/components/gb-help-dropdown/gb-help-dropdown.d.ts +3 -1
  347. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +1 -0
  348. package/dist/types/components/gb-input-field/gb-input-field.d.ts +6 -0
  349. package/dist/types/components/gb-notification-pane/gb-notification-pane.d.ts +2 -1
  350. package/dist/types/components/gb-pagination/gb-pagination.d.ts +0 -1
  351. package/dist/types/components/gb-tag/gb-tag.d.ts +2 -1
  352. package/dist/types/components/gb-tag-checkbox/gb-tag-checkbox.d.ts +2 -1
  353. package/dist/types/components/gb-toggle/gb-toggle.d.ts +1 -1
  354. package/dist/types/components.d.ts +58 -28
  355. package/dist/types/models/reusableModels.d.ts +1 -1
  356. package/package.json +1 -1
  357. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -65
  358. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
  359. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -104
  360. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
  361. package/dist/cjs/gb-avatar_38.cjs.entry.js.map +0 -1
  362. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -32
  363. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
  364. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +0 -38
  365. package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +0 -1
  366. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js.map +0 -1
  367. package/dist/components/gb-slider-control-handle.d.ts +0 -11
  368. package/dist/components/gb-slider-control-handle.js +0 -8
  369. package/dist/components/gb-slider-control-handle.js.map +0 -1
  370. package/dist/components/p-043d096a.js.map +0 -1
  371. package/dist/components/p-1637c085.js.map +0 -1
  372. package/dist/components/p-274214e1.js.map +0 -1
  373. package/dist/components/p-3c303bdb.js.map +0 -1
  374. package/dist/components/p-5bada42f.js +0 -61
  375. package/dist/components/p-5bada42f.js.map +0 -1
  376. package/dist/components/p-78549e92.js.map +0 -1
  377. package/dist/components/p-81505876.js.map +0 -1
  378. package/dist/components/p-8bb1ddab.js.map +0 -1
  379. package/dist/components/p-94933c0b.js.map +0 -1
  380. package/dist/components/p-9acf67ff.js.map +0 -1
  381. package/dist/components/p-9ce53d62.js.map +0 -1
  382. package/dist/components/p-a71a4f8d.js.map +0 -1
  383. package/dist/components/p-b1070aca.js.map +0 -1
  384. package/dist/components/p-b88341a9.js.map +0 -1
  385. package/dist/components/p-c9083653.js.map +0 -1
  386. package/dist/components/p-e849c9f1.js.map +0 -1
  387. package/dist/components/p-f4306c83.js.map +0 -1
  388. package/dist/esm/gb-avatar-dropdown.entry.js +0 -61
  389. package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
  390. package/dist/esm/gb-avatar-label-group.entry.js +0 -100
  391. package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
  392. package/dist/esm/gb-avatar_38.entry.js.map +0 -1
  393. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -28
  394. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
  395. package/dist/esm/gb-slider-control-handle.entry.js +0 -34
  396. package/dist/esm/gb-slider-control-handle.entry.js.map +0 -1
  397. package/dist/globuscomponents/p-00e5662d.entry.js +0 -2
  398. package/dist/globuscomponents/p-00e5662d.entry.js.map +0 -1
  399. package/dist/globuscomponents/p-03805be1.entry.js +0 -2
  400. package/dist/globuscomponents/p-03805be1.entry.js.map +0 -1
  401. package/dist/globuscomponents/p-39ecea7f.entry.js.map +0 -1
  402. package/dist/globuscomponents/p-4b7867b6.entry.js.map +0 -1
  403. package/dist/globuscomponents/p-4fb70c85.entry.js.map +0 -1
  404. package/dist/globuscomponents/p-5516e43b.entry.js.map +0 -1
  405. package/dist/globuscomponents/p-6296870d.entry.js +0 -2
  406. package/dist/globuscomponents/p-6296870d.entry.js.map +0 -1
  407. package/dist/globuscomponents/p-b5185285.entry.js.map +0 -1
  408. package/dist/globuscomponents/p-c37aed22.entry.js.map +0 -1
  409. package/dist/globuscomponents/p-ce5ffe62.entry.js +0 -2
  410. package/dist/globuscomponents/p-ce5ffe62.entry.js.map +0 -1
  411. package/dist/globuscomponents/p-d1bac155.entry.js +0 -2
  412. package/dist/globuscomponents/p-d1bac155.entry.js.map +0 -1
  413. package/dist/globuscomponents/p-e99b678a.entry.js +0 -2
  414. package/dist/globuscomponents/p-e99b678a.entry.js.map +0 -1
  415. package/dist/globuscomponents/p-ebcc2cdb.entry.js.map +0 -1
  416. /package/dist/globuscomponents/{p-56116cbb.entry.js.map → p-438b6a5a.entry.js.map} +0 -0
  417. /package/dist/globuscomponents/{p-a1eaa17d.entry.js.map → p-55de3f53.entry.js.map} +0 -0
  418. /package/dist/globuscomponents/{p-ce7e677c.entry.js.map → p-655c0263.entry.js.map} +0 -0
  419. /package/dist/globuscomponents/{p-08df6da8.entry.js.map → p-92c9b83d.entry.js.map} +0 -0
  420. /package/dist/globuscomponents/{p-79c12a5f.entry.js.map → p-a6c16af5.entry.js.map} +0 -0
  421. /package/dist/globuscomponents/{p-bef774b2.entry.js.map → p-acb55010.entry.js.map} +0 -0
  422. /package/dist/globuscomponents/{p-a3adce55.entry.js.map → p-d88ec715.entry.js.map} +0 -0
  423. /package/dist/globuscomponents/{p-4a0b98cc.entry.js.map → p-e13cc3c7.entry.js.map} +0 -0
  424. /package/dist/globuscomponents/{p-e0e0b87b.entry.js.map → p-f84c84ec.entry.js.map} +0 -0
  425. /package/dist/types/components/{gb-slider-control-handle/slider-control-handle.d.ts → gb-control-handle/gb-control-handle.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-field.js","sourceRoot":"","sources":["../../../src/components/gb-input-field/gb-input-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAgB,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACtH,OAAO,EAAiC,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAOtF,MAAM,O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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, State, Event, EventEmitter, Fragment, Element, getAssetPath, Watch } from '@stencil/core'\r\nimport { GeneralSizes, InputFieldTypes, StateEnum } from '../../models/reusableModels'\r\n\r\n@Component({\r\n tag: 'gb-input-field',\r\n styleUrl: 'gb-input-field.css',\r\n shadow: true,\r\n})\r\nexport class GbInputField {\r\n @Prop() size: GeneralSizes;\r\n @Prop() type: InputFieldTypes;\r\n @Prop() destructive: boolean = false;\r\n @Prop() state: 'placeholder' | 'filled' | 'active' | 'disabled';\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() showHintText: boolean = false;\r\n @Prop() hintText: string = '';\r\n @Prop() errorText: string = '';\r\n @Prop() showPlaceholder: boolean = false;\r\n @Prop() placeholder: string = '';\r\n @Prop() showHelpIcon: boolean = false;\r\n @Prop() showValidation: boolean = false;\r\n @Prop() iconSwap?: string;\r\n @Prop() showCloseButton?: boolean = false;\r\n @Prop({ mutable: true }) options: string[] = [];\r\n @State() inputValue: string = '';\r\n @State() tags: string[] = [];\r\n @State() leadingIconSvg: string = '';\r\n @State() isPasswordVisible: boolean = false;\r\n @State() showDropdown: boolean = false;\r\n @State() selectedItem: string = '';\r\n @Event() tagAdded: EventEmitter<string>;\r\n @Event() inputValueChanged: EventEmitter<string>;\r\n @Element() el: HTMLElement;\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 /* Function to handle and emit the inputted values */\r\n handleInput(event: Event) {\r\n const target = event.target as HTMLInputElement;\r\n this.inputValue = target.value;\r\n this.inputValueChanged.emit(this.inputValue);\r\n }\r\n\r\n /* Function to handle and emit the inputted values */\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n }\r\n\r\n @Watch('options')\r\n optionsChanged(newOptions: string[]) {\r\n // Update selectedItem when options are loaded or change\r\n if (newOptions.length > 0 && !this.selectedItem) {\r\n this.selectedItem = newOptions[0];\r\n }\r\n }\r\n\r\n isItemSelected(option) {\r\n return this.selectedItem === option;\r\n }\r\n\r\n handleItemSelect(option) {\r\n // For other types, allow only one selection\r\n this.selectedItem = option;\r\n console.log(this.selectedItem)\r\n this.showDropdown = false; // Close the dropdown\r\n }\r\n\r\n componentWillLoad() {\r\n const options = ['NGN', 'USD', 'CAD'];\r\n\r\n if (this.options && this.options.length > 0) {\r\n this.selectedItem = this.options[0]; // Set the first item as default\r\n }\r\n\r\n this.options = options;\r\n this.loadIcon(this.iconSwap);\r\n }\r\n\r\n componentDidLoad() {\r\n this.selectedItem = this.options[0];\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 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 render() {\r\n\r\n return (\r\n <div class={`input_container`}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && <p class=\"label text-sm-medium\">{this.label}</p>}\r\n {this.type === 'default' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>,\r\n ]}\r\n {this.type === 'icon_leading' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`icon ${this.size} ${this.state}`} innerHTML={this.leadingIconSvg}></div>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n {this.showCloseButton && !this.destructive && (\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"only\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/cancel-01.svg\"></gb-button>\r\n )}\r\n </>\r\n </div>,\r\n ]}\r\n {this.type === 'leading_dropdown' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`leading_dropdown_dropdown`} onClick={() => (this.showDropdown = !this.showDropdown)}>\r\n <div class={`country_icon`}>\r\n <img src=\"build/assets/NG.svg\" alt=\"\" />\r\n </div>\r\n <div class={`dropdown_text`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n {this.selectedItem}\r\n </p>\r\n </div>\r\n <div class={`dropdown_arrow`}>\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=\"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=\"#4B5565\"\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 </div>\r\n <div class={`leading_dropdown_text_input`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </div>,\r\n <>\r\n {this.showDropdown && (\r\n <div class={`dropdown_menu ${this.type}`}>\r\n {this.options.map(option => (\r\n <gb-input-dropdown-menu-item type=\"default\" state={StateEnum.Default} selected={this.isItemSelected(option)} onClick={() => this.handleItemSelect(option)}>\r\n <p slot=\"name\">{option}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </div>\r\n )}\r\n </>,\r\n ]}\r\n {this.type === 'trailing_dropdown' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`trailing_dropdown_content`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n $\r\n </p>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`trailing_dropdown_dropdown`} onClick={() => (this.showDropdown = !this.showDropdown)}>\r\n <div class={`dropdown_text`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n {this.selectedItem}\r\n </p>\r\n </div>\r\n <div class={`dropdown_arrow`}>\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=\"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=\"#4B5565\"\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 </div>\r\n </div>,\r\n <>\r\n {this.showDropdown && (\r\n <div class={`dropdown_menu ${this.type}`}>\r\n {this.options.map(option => (\r\n <gb-input-dropdown-menu-item type=\"default\" state={StateEnum.Default} selected={this.isItemSelected(option)} onClick={() => this.handleItemSelect(option)}>\r\n <p slot=\"name\">{option}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </div>\r\n )}\r\n </>,\r\n ]}\r\n {this.type === 'leading_text' && [\r\n <div class=\"leading_text_input\">\r\n <div class={`add_on`}>\r\n <p class={`text-md-regular`} style={{ color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' }}>\r\n http://\r\n </p>\r\n </div>\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </div>,\r\n ]}\r\n {this.type === 'payment_input' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"23\" height=\"14\" viewBox=\"0 0 23 14\" fill=\"none\">\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z\"\r\n fill=\"#ED0006\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z\"\r\n fill=\"#F9A000\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z\"\r\n fill=\"#FF5E00\"\r\n />\r\n </svg>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>\r\n )}\r\n {this.type === 'trailing_button' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`trailing_button_text_input`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <gb-button\r\n size=\"lg\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/copy-01.svg\"\r\n ></gb-button>\r\n </div>\r\n )}\r\n {this.type === 'password' && (\r\n <div class={`password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`password_content`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type={this.isPasswordVisible ? 'text' : 'password'}\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`dropdown`}>\r\n <gb-password-button onClick={() => this.togglePasswordVisibility()}></gb-password-button>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'password_icon_leading' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`password_icon_leading_content`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M12.0759 12.1667C11.6617 12.1667 11.3259 12.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\"\r\n fill=\"#4B5565\"\r\n />\r\n </svg>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type={this.isPasswordVisible ? 'text' : 'password'}\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n </div>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n <gb-password-button onClick={() => this.togglePasswordVisibility()}></gb-password-button>\r\n </div>\r\n )}\r\n {this.type === 'count' && [\r\n <div class={`count_input`}>\r\n <div class={`count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`action ${this.state}`}>\r\n <gb-button\r\n size=\"xl\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading=\"true\"\r\n icon-leading-swap=\"assets/minus_sign.svg\"\r\n ></gb-button>\r\n <hr />\r\n <gb-button\r\n size=\"xl\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading=\"true\"\r\n icon-leading-swap=\"assets/plus_sign.svg\"\r\n ></gb-button>\r\n </div>\r\n </div>,\r\n ]}\r\n {this.type === 'tags' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`tags_display`}></div>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && <p class=\"hint_text text-sm-regular\">{this.hintText}</p>}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-input-field.js","sourceRoot":"","sources":["../../../src/components/gb-input-field/gb-input-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAgB,QAAQ,EAAE,OAA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CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EACrD,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GACzC,CACE,CACP,CACG;YACL,IAAI,CAAC,YAAY,IAAI,0DAAG,KAAK,EAAC,2BAA2B,IAAE,IAAI,CAAC,QAAQ,CAAK,CAC1E,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, State, Event, EventEmitter, Fragment, Element, getAssetPath, Watch, Listen } from '@stencil/core'\r\nimport { GeneralSizes, InputFieldTypes, StateEnum } from '../../models/reusableModels'\r\n\r\n@Component({\r\n tag: 'gb-input-field',\r\n styleUrl: 'gb-input-field.css',\r\n shadow: true,\r\n})\r\nexport class GbInputField {\r\n @Prop() size: GeneralSizes;\r\n @Prop() type: InputFieldTypes;\r\n @Prop() destructive: boolean = false;\r\n @Prop() state: 'placeholder' | 'filled' | 'active' | 'disabled';\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() showHintText: boolean = false;\r\n @Prop() hintText: string = '';\r\n @Prop() errorText: string = '';\r\n @Prop() showPlaceholder: boolean = false;\r\n @Prop() placeholder: string = '';\r\n @Prop() showHelpIcon: boolean = false;\r\n @Prop() showValidation: boolean = false;\r\n @Prop() iconSwap?: string;\r\n @Prop() showCloseButton?: boolean = false;\r\n @Prop({ mutable: true }) options: string[] = ['USD', 'NGN', 'CAD'];\r\n @State() inputValue: string = '';\r\n @State() tags: string[] = [];\r\n @State() leadingIconSvg: string = '';\r\n @State() isPasswordVisible: boolean = false;\r\n @State() showDropdown: boolean = false;\r\n @State() selectedItem: string = '';\r\n @Event() tagAdded: EventEmitter<string>;\r\n @Event() inputValueChanged: EventEmitter<string>;\r\n @Element() el: HTMLElement;\r\n\r\n inputRef: HTMLInputElement;\r\n dropdownRef!: HTMLElement;\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 private copyToClipboard = () => {\r\n if (this.inputRef) {\r\n this.inputRef.select();\r\n document.execCommand('copy'); // Deprecated but works in most browsers\r\n // For modern browsers:\r\n navigator.clipboard\r\n .writeText(this.inputRef.value)\r\n .then(() => {\r\n console.log('Copied to clipboard');\r\n })\r\n .catch(err => {\r\n console.error('Failed to copy: ', err);\r\n });\r\n }\r\n };\r\n\r\n @Listen('click', { target: 'document' })\r\n handleClickOutside(event: MouseEvent) {\r\n if (this.showDropdown && !this.el.contains(event.target as Node)) {\r\n this.showDropdown = false;\r\n }\r\n }\r\n\r\n /* Function to handle and emit the inputted values */\r\n handleInput(event: Event) {\r\n const target = event.target as HTMLInputElement;\r\n this.inputValue = target.value;\r\n this.inputValueChanged.emit(this.inputValue);\r\n }\r\n\r\n clearInput() {\r\n if (this.inputRef) {\r\n this.inputRef.value = '';\r\n }\r\n }\r\n\r\n /* Function to handle and emit the inputted values */\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n }\r\n\r\n @Watch('options')\r\n optionsChanged(newOptions: string[]) {\r\n // Update selectedItem when options are loaded or change\r\n if (newOptions.length > 0 && !this.selectedItem) {\r\n this.selectedItem = newOptions[0];\r\n }\r\n }\r\n\r\n isItemSelected(option) {\r\n return this.selectedItem === option;\r\n }\r\n\r\n handleItemSelect(option) {\r\n // For other types, allow only one selection\r\n this.selectedItem = option;\r\n this.showDropdown = false; // Close the dropdown\r\n }\r\n\r\n componentWillLoad() {\r\n if (this.options && this.options.length > 0) {\r\n this.selectedItem = this.options[0]; // Set the first item as default\r\n }\r\n\r\n this.loadIcon(this.iconSwap);\r\n }\r\n\r\n componentDidLoad() {\r\n this.selectedItem = this.options[0];\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 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 document.addEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`input_container`}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && <p class=\"label text-sm-medium\">{this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()}</p>}\r\n {this.type === 'default' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class=\"tick\">\r\n <path\r\n 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\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>,\r\n ]}\r\n {this.type === 'icon_leading' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`icon ${this.size} ${this.state}`} innerHTML={this.leadingIconSvg}></div>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n ref={el => (this.inputRef = el as HTMLInputElement)}\r\n />\r\n <>\r\n {this.showValidation && !this.destructive && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class=\"tick\">\r\n <path\r\n 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\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n {this.showCloseButton && !this.destructive && (\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n state=\"default\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/cancel-01.svg\"\r\n onClick={() => this.clearInput()}\r\n ></gb-button>\r\n )}\r\n </>\r\n </div>,\r\n ]}\r\n {this.type === 'leading_dropdown' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`leading_dropdown_dropdown`} onClick={() => (this.showDropdown = !this.showDropdown)}>\r\n <div class={`country_icon`}>\r\n <img src=\"build/assets/NG.svg\" alt=\"\" />\r\n </div>\r\n <div class={`dropdown_text`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n {this.selectedItem}\r\n </p>\r\n </div>\r\n <div class={`dropdown_arrow`}>\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=\"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=\"#4B5565\"\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 </div>\r\n <div class={`leading_dropdown_text_input`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </div>,\r\n <>\r\n {this.showDropdown && (\r\n <div class={`dropdown_menu ${this.type} ${this.size}`} ref={el => (this.dropdownRef = el)}>\r\n {this.options.map(option => (\r\n <gb-input-dropdown-menu-item type=\"default\" state={StateEnum.Default} selected={this.isItemSelected(option)} onClick={() => this.handleItemSelect(option)}>\r\n <p slot=\"name\">{option}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </div>\r\n )}\r\n </>,\r\n ]}\r\n {this.type === 'trailing_dropdown' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`trailing_dropdown_content`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n $\r\n </p>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`trailing_dropdown_dropdown`} onClick={() => (this.showDropdown = !this.showDropdown)}>\r\n <div class={`dropdown_text`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n {this.selectedItem}\r\n </p>\r\n </div>\r\n <div class={`dropdown_arrow`}>\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=\"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=\"#4B5565\"\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 </div>\r\n </div>,\r\n <>\r\n {this.showDropdown && (\r\n <div class={`dropdown_menu ${this.type} ${this.size}`} ref={el => (this.dropdownRef = el)}>\r\n {this.options.map(option => (\r\n <gb-input-dropdown-menu-item type=\"default\" state={StateEnum.Default} selected={this.isItemSelected(option)} onClick={() => this.handleItemSelect(option)}>\r\n <p slot=\"name\">{option}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </div>\r\n )}\r\n </>,\r\n ]}\r\n {this.type === 'leading_text' && [\r\n <div class=\"leading_text_input\">\r\n <div class={`add_on`}>\r\n <p class={`text-md-regular`} style={{ color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' }}>\r\n http://\r\n </p>\r\n </div>\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </div>,\r\n ]}\r\n {this.type === 'payment_input' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"23\" height=\"14\" viewBox=\"0 0 23 14\" fill=\"none\">\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z\"\r\n fill=\"#ED0006\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z\"\r\n fill=\"#F9A000\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z\"\r\n fill=\"#FF5E00\"\r\n />\r\n </svg>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>\r\n )}\r\n {this.type === 'trailing_button' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`trailing_button_text_input ${this.size}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n ref={el => (this.inputRef = el as HTMLInputElement)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <gb-button\r\n size=\"lg\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/copy-01.svg\"\r\n onClick={() => this.copyToClipboard()}\r\n ></gb-button>\r\n </div>\r\n )}\r\n {this.type === 'password' && (\r\n <div class={`password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`password_content`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type={this.isPasswordVisible ? 'text' : 'password'}\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`dropdown`}>\r\n <gb-password-button onClick={() => this.togglePasswordVisibility()}></gb-password-button>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'password_icon_leading' && (\r\n <div class={`password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`password_icon_leading_content`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M12.0759 12.1667C11.6617 12.1667 11.3259 12.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\"\r\n fill=\"#4B5565\"\r\n />\r\n </svg>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type={this.isPasswordVisible ? 'text' : 'password'}\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n </div>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n <gb-password-button onClick={() => this.togglePasswordVisibility()}></gb-password-button>\r\n </div>\r\n )}\r\n {this.type === 'count' && [\r\n <div class={`count_input`}>\r\n <div class={`count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\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 ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`action ${this.state}`}>\r\n <gb-button\r\n size=\"xl\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading=\"true\"\r\n icon-leading-swap=\"assets/minus_sign.svg\"\r\n ></gb-button>\r\n <hr />\r\n <gb-button\r\n size=\"xl\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading=\"true\"\r\n icon-leading-swap=\"assets/plus_sign.svg\"\r\n ></gb-button>\r\n </div>\r\n </div>,\r\n ]}\r\n {this.type === 'tags' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`tags_display`}></div>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && <p class=\"hint_text text-sm-regular\">{this.hintText}</p>}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -16,10 +16,10 @@ export class GbMegaInputField {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '30337e42a07643ce78fd9f2e5295abbe5de37d74', class: {
19
+ return (h("div", { key: 'fa75c4df030a353f9356ec6a7d027e4dd5d44bd5', class: {
20
20
  [this.size]: true,
21
21
  disabled: this.state === 'disabled'
22
- } }, h("input", { key: 'b2d55cdee54e0500e8d1589b4bf98ea77cc80fde', class: {
22
+ } }, h("input", { key: '5053849cbc5a7176b997f36f2d0fcd7e6fdf7312', 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) })));
@@ -2667,16 +2667,16 @@
2667
2667
  align-items: flex-start;
2668
2668
  gap: var(--spacing-2);
2669
2669
  border-radius: var(--rounded-none);
2670
- border-bottom: 0.6px solid #e3e8ef;
2670
+ border-bottom: 0.6px solid var(--color-border-subtler, #E3E8EF);
2671
2671
  }
2672
2672
 
2673
2673
  .notification_container:hover {
2674
- background-color: #E4F0FC;
2674
+ background-color: var(--color-background-information-subtlest, #E4F0FC);
2675
2675
  }
2676
2676
 
2677
2677
  .icon img {
2678
- fill: #075DB2;
2679
- stroke: #075DB2 ;
2678
+ fill: var(--color-icon-selected, #075DB2);
2679
+ stroke: var(--color-icon-selected, #075DB2);
2680
2680
  }
2681
2681
 
2682
2682
  label{
@@ -2711,7 +2711,7 @@ label{
2711
2711
 
2712
2712
  .supporting_text {
2713
2713
  padding-left: 28px;
2714
- color:#4B5565;
2714
+ color:var(--color-text, #4B5565);
2715
2715
  overflow: hidden;
2716
2716
  text-overflow: ellipsis;
2717
2717
  }
@@ -8,7 +8,7 @@ export class GbNotificationContent {
8
8
  }
9
9
  render() {
10
10
  const iconSrc = getAssetPath(`${this.icon}`);
11
- return (h("div", { key: '3d917877f608431a748f56679dddafa8c23c18e5', class: "notification_container" }, h("div", { key: '2eb8e0d25cb6bf15ff567ba466c6121f08b91712', class: "notification_title" }, this.icon && (h("div", { key: '48f403ffa588a7d1ca43fc669454379ddda85e1b', class: "icon" }, h("img", { key: '8c23934353411e5df24b53e5ea95013f2c96fb1a', src: iconSrc, alt: "Icon" }))), h("label", { key: '4eb02d36238dd6d1d200d7ce0dac622cfe88319e' }, this.label), h("span", { key: 'f86defe938f9824ccfcac7e82a082c6b725581f4', class: "time" }, this.time)), h("div", { key: '15818cd9071193b7c9ed1e7e7cf4e88ca779999e', class: "supporting_text" }, h("p", { key: 'f1bf8041404810cd2e42b9a95e52a6e2a661a4af', class: "text-sm-regular" }, this.supportingText))));
11
+ return (h("div", { key: '653eab29f5a3981479170239baabb521c5425cc5', class: "notification_container" }, h("div", { key: 'cb8d5fbaacd08907764eff6814e2824f6e06192a', class: "notification_title" }, this.icon && (h("div", { key: '88b77ffc28a741543c873a2fe199b972c49df9b5', class: "icon" }, h("img", { key: '32e53da55ac36249b93ab3b24d3d8e65760b6a08', src: iconSrc, alt: "Icon" }))), h("label", { key: '1a036d0b6039bbc8f391c667cfa49d02b5fc547f' }, this.label), h("span", { key: 'b042641af9ed9566292bdcbb7eeed56a559e71f1', class: "time" }, this.time)), h("div", { key: '352c1754f00694fde1070726ef3fdf776954fea5', class: "supporting_text" }, h("p", { key: 'ca7aa60ff04a3f70be094dfbf8354daeffb826e0', class: "text-sm-regular" }, this.supportingText))));
12
12
  }
13
13
  static get is() { return "gb-notification-content"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -2675,32 +2675,102 @@
2675
2675
  .content_wrapper{
2676
2676
  display: flex;
2677
2677
  flex-direction: column;
2678
- width: 24.3125rem;
2679
- max-height: 27.5rem;
2678
+ width: fit-content;
2679
+ height: 24.5rem;
2680
2680
  overflow-y: auto;
2681
2681
  }
2682
2682
 
2683
2683
  ::-webkit-scrollbar{
2684
- right: 0rem;
2685
- bottom: -1.53125rem;
2686
- width: 0.8rem;
2687
- margin-top: 1rem;
2688
- }
2689
-
2690
- ::-webkit-scrollbar-track{
2691
- background: #FFF;
2692
- width: 1rem;
2693
- padding: var(--spacing-1);
2694
- }
2695
-
2696
- ::-webkit-scrollbar-thumb{
2697
- width: 0.5rem;
2698
- height: 11.75rem;
2699
- border: 0.25rem solid #FFF;
2700
- border-radius: 0.5rem;
2701
- background: var(--color-border-subtle, #CDD5DF);
2702
- }
2684
+ right: 0rem;
2685
+ bottom: -1.53125rem;
2686
+ width: 0.8rem;
2687
+ margin-top: 1rem;
2688
+ }
2689
+
2690
+ ::-webkit-scrollbar-track{
2691
+ width: 0.5rem;
2692
+ padding: var(--spacing-1);
2693
+ border: none;
2694
+ }
2695
+
2696
+ ::-webkit-scrollbar-thumb{
2697
+ width: 0.5rem;
2698
+ height: 11.75rem;
2699
+ border: 0.25rem solid var(--color-background-card, #FFFFFF);
2700
+ border-radius: 0.5rem;
2701
+ background: var(--color-border-subtle, #CDD5DF);
2702
+ }
2703
+
2704
+ .container{
2705
+ position: relative;
2706
+ display: flex;
2707
+ width: 24.3125rem;
2708
+ height: 24.5rem;
2709
+ flex-direction: column;
2710
+ justify-content: center;
2711
+ align-items: center;
2712
+ border-bottom: 0.5px solid var(--color-border-subtler, #E3E8EF);
2713
+ }
2714
+
2715
+ .frame{
2716
+ display: flex;
2717
+ /* width: 24.8125rem; */
2718
+ height: 26.5rem;
2719
+ padding: var(--spacing-Positive-spacing-None, 0rem) var(--spacing-7);
2720
+ flex-direction: column;
2721
+ justify-content: center;
2722
+ align-items: center;
2723
+ gap: var(--spacing-Positive-spacing-2, 0.5rem);
2724
+ flex-shrink: 0;
2725
+ }
2726
+
2727
+ .empty_state_pattern{
2728
+ position: absolute;
2729
+ top: 0;
2730
+ right: 0;
2731
+ mix-blend-mode: multiply;
2732
+ /* z-index: -1; */
2733
+ }
2734
+
2735
+ .empty_state{
2736
+ display: flex;
2737
+ height: 15rem;
2738
+ flex-direction: column;
2739
+ justify-content: center;
2740
+ align-items: center;
2741
+ gap: var(--spacing-3);
2742
+ flex-shrink: 0;
2743
+ align-self: stretch;
2744
+ }
2745
+
2746
+ .content{
2747
+ display: flex;
2748
+ flex-direction: column;
2749
+ align-items: center;
2750
+ gap: var(--spacing-5);
2751
+ align-self: stretch;
2752
+ }
2753
+
2754
+ .text{
2755
+ display: flex;
2756
+ flex-direction: column;
2757
+ align-items: center;
2758
+ text-align: center;
2759
+ gap: var(--spacing-3);
2760
+ }
2761
+
2762
+ .bell_icon{
2763
+ z-index: 9;
2764
+ }
2703
2765
 
2704
2766
  .button{
2705
2767
  width: 100%;
2768
+ }
2769
+
2770
+ ::slotted([slot="label"]) {
2771
+ color: var(--color-text-bold, #202939);
2772
+ }
2773
+
2774
+ ::slotted([slot="supporting_text"]) {
2775
+ color: var(--color-text, #4B5565);
2706
2776
  }
@@ -2,7 +2,33 @@ import { h, getAssetPath } from "@stencil/core";
2
2
  export class GbNotificationPane {
3
3
  constructor() {
4
4
  this.state = undefined;
5
- this.notifications = [];
5
+ this.notifications = [
6
+ {
7
+ label: 'Flagged transaction',
8
+ time: 'Just now',
9
+ desc: 'Aisha, here is your weekly report',
10
+ },
11
+ // {
12
+ // label: 'Flagged transaction',
13
+ // time: 'Just now',
14
+ // desc: 'Aisha, here is your weekly report',
15
+ // },
16
+ // {
17
+ // label: 'Flagged transaction',
18
+ // time: 'Just now',
19
+ // desc: 'Aisha, here is your weekly report',
20
+ // },
21
+ // {
22
+ // label: 'Flagged transaction',
23
+ // time: 'Just now',
24
+ // desc: 'Aisha, here is your weekly report',
25
+ // },
26
+ // {
27
+ // label: 'Flagged transaction',
28
+ // time: 'Just now',
29
+ // desc: 'Aisha, here is your weekly report',
30
+ // },
31
+ ];
6
32
  this.icon = '';
7
33
  this.label = '';
8
34
  this.time = '';
@@ -11,15 +37,23 @@ export class GbNotificationPane {
11
37
  markAllAsRead() {
12
38
  this.notifications.forEach(notification => notification.remove());
13
39
  }
14
- handleNotificationClick(notification) {
15
- notification.remove();
40
+ componentDidLoad() {
41
+ const labelSlot = this.el.querySelector('[slot="label"]');
42
+ const supportingTextSlot = this.el.querySelector('[slot="supporting_text"]');
43
+ if (labelSlot) {
44
+ labelSlot.classList.add('text-lg-semi-bold');
45
+ }
46
+ if (supportingTextSlot) {
47
+ supportingTextSlot.classList.add('text-sm-regular');
48
+ }
16
49
  }
17
50
  render() {
18
- const illustrationSrc = getAssetPath(`assets/no_notification_frame.svg`);
19
- return (h("div", { key: '05170cb88d1b88ee2b0da5578f0eb89c54c0db6f', class: "notification_pane_div" }, this.state === 'empty' && [
20
- h("div", { key: '1cfe08bf709a5e384693f77a6970c303e19ad24f', class: `container` }, h("img", { key: 'ec01bedff4d3e05fa1d89239904a96d4cab9bfb3', src: illustrationSrc, alt: "" })),
21
- h("div", { key: 'fcb3c6096fba60354533ccc44e3383c16e53c805', class: `button` }, h("gb-button", { key: 'd097ad0721082afbdb3aafabf90365d248c3a47e', size: "sm", hierarchy: "tertiary_color", icon: "default", state: "disabled", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '633d684939c9a3cc73a7de6cc11c6ef5f22fd831' }, "Mark all as read"))),
22
- ], this.state === 'notification_dropdown' && (h("div", { key: 'b81d9f71f311f56a177994c6cda6812bc07a8a31', class: "notification_dropdown" }, h("div", { key: 'e052061c046347ec27273f3e51f76461baaceb86', class: `content_wrapper` }, h("gb-notification-content", { key: '1e6a27847dd8d88a20ecd751220660655adf3781', label: this.label, time: this.time, "supporting-text": this.supportingText, icon: this.icon })), h("gb-button", { key: '71ba2818f824e9420311f469ffff093d9c8f7629', size: "sm", hierarchy: "tertiary_color", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '3548f9fad794b252c0265b9c05185dd3fd41c2e3' }, "Mark all as read"))))));
51
+ const patternSrc = getAssetPath(`assets/notification_background_pattern.svg`);
52
+ const illustrationSrc = getAssetPath(`assets/notification_illustration.svg`);
53
+ return (h("div", { key: '28ec4b730241290191a0af2deacaa989e1f2851a', class: "notification_pane_div" }, this.state === 'empty' && [
54
+ h("div", { key: '3a5537eb27212d6ab4a42e49fd25d0c469a062ca', class: `container` }, h("div", { key: '257e50822926de00e665ff9988b56dde4f39df55', class: "frame" }, h("img", { key: '7cf8680e285025b203a970f7485465776f329f8f', src: patternSrc, alt: "", class: "empty_state_pattern" }), h("div", { key: '945896e42a00c9277cadee3f3a66bdc92002a4e2', class: "empty_state" }, h("div", { key: '658c614c36c3cc25769c5403fba7396e80c67b3d', class: "content" }, h("img", { key: '6e418dcf47bb5c60db5d340e82fd0e161a9dbfad', src: illustrationSrc, alt: "bell-icon", class: "bell_icon" }), h("div", { key: '1c45c09cab5c3639e2089cccd06dd32fceec2ea4', class: "text" }, h("slot", { key: 'd9e841a634bee5dd863266196200469498d0b576', name: "label" }), h("slot", { key: '212a4a259b64fa961cb7f4c3f67c9200c9d5f223', name: "supporting_text" })))))),
55
+ h("div", { key: '422493440cddc7ecb49cca4b013d9c4121bf83dc', class: `button` }, h("gb-button", { key: '340af60b4390891589207f4ec958b4fff70e1398', size: "sm", hierarchy: "tertiary_color", icon: "default", state: "disabled", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '99c2e431daaf290449335e8fee47f31d2d9891b3' }, "Mark all as read"))),
56
+ ], this.state === 'notification_dropdown' && (h("div", { key: '98a79b9b719b07fe529b2bcd3a4074c1086d25be', class: "notification_dropdown" }, h("div", { key: 'fc4194b94c05c522e99bfb5170d27f9c26ef81a6', class: `content_wrapper` }, this.notifications.map(notification => (h("gb-notification-content", { label: notification.label, time: notification.time, "supporting-text": notification.desc, icon: this.icon })))), h("gb-button", { key: 'a4537b4cc9c12d471499452706983f71019eb1e5', size: "sm", hierarchy: "tertiary_color", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '22e38a4faa32157f86e70d020d5a6876fb5ae8bf' }, "Mark all as read"))))));
23
57
  }
24
58
  static get is() { return "gb-notification-pane"; }
25
59
  static get encapsulation() { return "shadow"; }
@@ -66,7 +100,7 @@ export class GbNotificationPane {
66
100
  "tags": [],
67
101
  "text": ""
68
102
  },
69
- "defaultValue": "[]"
103
+ "defaultValue": "[\r\n {\r\n label: 'Flagged transaction',\r\n time: 'Just now',\r\n desc: 'Aisha, here is your weekly report',\r\n },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n ]"
70
104
  },
71
105
  "icon": {
72
106
  "type": "string",
@@ -142,5 +176,6 @@ export class GbNotificationPane {
142
176
  }
143
177
  };
144
178
  }
179
+ static get elementRef() { return "el"; }
145
180
  }
146
181
  //# sourceMappingURL=gb-notification-pane.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gb-notification-pane.js","sourceRoot":"","sources":["../../../src/components/gb-notification-pane/gb-notification-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAOhE,MAAM,OAAO,kBAAkB;;;6BAEE,EAAE;oBACV,EAAE;qBACD,EAAE;oBACH,EAAE;8BACQ,EAAE;;IAEnC,aAAa;QACX,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,uBAAuB,CAAC,YAAyB;QAC/C,YAAY,CAAC,MAAM,EAAE,CAAC;IACxB,CAAC;IAED,MAAM;QACJ,MAAM,eAAe,GAAG,YAAY,CAAC,kCAAkC,CAAC,CAAC;QAEzE,OAAO,CACL,4DAAK,KAAK,EAAC,uBAAuB;YAC/B,IAAI,CAAC,KAAK,KAAK,OAAO,IAAI;gBACzB,4DAAK,KAAK,EAAE,WAAW;oBACrB,4DAAK,GAAG,EAAE,eAAe,EAAE,GAAG,EAAC,EAAE,GAAG,CAChC;gBACN,4DAAK,KAAK,EAAE,QAAQ;oBAClB,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,UAAU,kBAAe,IAAI,uBAAoB,wBAAwB;wBAC5I,+EAAuB,CACb,CACR;aACP;YACA,IAAI,CAAC,KAAK,KAAK,uBAAuB,IAAI,CACzC,4DAAK,KAAK,EAAC,uBAAuB;gBAChC,4DAAK,KAAK,EAAE,iBAAiB;oBAC3B,gFAAyB,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,qBAAmB,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,GAA4B,CAC1I;gBACN,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAC,SAAS,kBAAe,IAAI,uBAAoB,wBAAwB;oBAC3H,+EAAuB,CACb,CACR,CACP,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Prop, h, getAssetPath } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-notification-pane',\r\n styleUrl: 'gb-notification-pane.css',\r\n shadow: true,\r\n})\r\nexport class GbNotificationPane {\r\n @Prop() state: 'empty' | 'notification_dropdown';\r\n @Prop() notifications: any[] = [];\r\n @Prop() icon: string = '';\r\n @Prop() label: string = '';\r\n @Prop() time: string = '';\r\n @Prop() supportingText: string = '';\r\n\r\n markAllAsRead() {\r\n this.notifications.forEach(notification => notification.remove());\r\n }\r\n\r\n handleNotificationClick(notification: HTMLElement) {\r\n notification.remove();\r\n }\r\n\r\n render() {\r\n const illustrationSrc = getAssetPath(`assets/no_notification_frame.svg`);\r\n\r\n return (\r\n <div class=\"notification_pane_div\">\r\n {this.state === 'empty' && [\r\n <div class={`container`}>\r\n <img src={illustrationSrc} alt=\"\" />\r\n </div>,\r\n <div class={`button`}>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_color\" icon=\"default\" state=\"disabled\" icon-leading={true} icon-leading-swap=\"assets/blush_brush.svg\">\r\n <p>Mark all as read</p>\r\n </gb-button>\r\n </div>,\r\n ]}\r\n {this.state === 'notification_dropdown' && (\r\n <div class=\"notification_dropdown\">\r\n <div class={`content_wrapper`}>\r\n <gb-notification-content label={this.label} time={this.time} supporting-text={this.supportingText} icon={this.icon}></gb-notification-content>\r\n </div>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_color\" icon=\"default\" icon-leading={true} icon-leading-swap=\"assets/blush_brush.svg\">\r\n <p>Mark all as read</p>\r\n </gb-button>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-notification-pane.js","sourceRoot":"","sources":["../../../src/components/gb-notification-pane/gb-notification-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOzE,MAAM,OAAO,kBAAkB;;;6BAEE;YAC7B;gBACE,KAAK,EAAE,qBAAqB;gBAC5B,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,mCAAmC;aAC1C;YACD,IAAI;YACJ,kCAAkC;YAClC,sBAAsB;YACtB,+CAA+C;YAC/C,KAAK;YACL,IAAI;YACJ,kCAAkC;YAClC,sBAAsB;YACtB,+CAA+C;YAC/C,KAAK;YACL,IAAI;YACJ,kCAAkC;YAClC,sBAAsB;YACtB,+CAA+C;YAC/C,KAAK;YACL,IAAI;YACJ,kCAAkC;YAClC,sBAAsB;YACtB,+CAA+C;YAC/C,KAA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ACF,CACF,CACF,CACF;gBACN,4DAAK,KAAK,EAAE,QAAQ;oBAClB,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,UAAU,kBAAe,IAAI,uBAAoB,wBAAwB;wBAC5I,+EAAuB,CACb,CACR;aACP;YACA,IAAI,CAAC,KAAK,KAAK,uBAAuB,IAAI,CACzC,4DAAK,KAAK,EAAC,uBAAuB;gBAChC,4DAAK,KAAK,EAAE,iBAAiB,IAC1B,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,CACtC,+BAAyB,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,qBAAmB,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,GAA4B,CAC7J,CAAC,CACE;gBACN,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAC,SAAS,kBAAe,IAAI,uBAAoB,wBAAwB;oBAC3H,+EAAuB,CACb,CACR,CACP,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Prop, h, getAssetPath, Element } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-notification-pane',\r\n styleUrl: 'gb-notification-pane.css',\r\n shadow: true,\r\n})\r\nexport class GbNotificationPane {\r\n @Prop() state: 'empty' | 'notification_dropdown';\r\n @Prop() notifications: any[] = [\r\n {\r\n label: 'Flagged transaction',\r\n time: 'Just now',\r\n desc: 'Aisha, here is your weekly report',\r\n },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n // {\r\n // label: 'Flagged transaction',\r\n // time: 'Just now',\r\n // desc: 'Aisha, here is your weekly report',\r\n // },\r\n ];\r\n @Prop() icon: string = '';\r\n @Prop() label: string = '';\r\n @Prop() time: string = '';\r\n @Prop() supportingText: string = '';\r\n @Element() el: HTMLElement;\r\n\r\n markAllAsRead() {\r\n this.notifications.forEach(notification => notification.remove());\r\n }\r\n\r\n componentDidLoad() {\r\n const labelSlot = this.el.querySelector('[slot=\"label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n\r\n if (labelSlot) {\r\n labelSlot.classList.add('text-lg-semi-bold');\r\n }\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 const patternSrc = getAssetPath(`assets/notification_background_pattern.svg`);\r\n const illustrationSrc = getAssetPath(`assets/notification_illustration.svg`);\r\n\r\n return (\r\n <div class=\"notification_pane_div\">\r\n {this.state === 'empty' && [\r\n <div class={`container`}>\r\n <div class=\"frame\">\r\n <img src={patternSrc} alt=\"\" class=\"empty_state_pattern\" />\r\n <div class=\"empty_state\">\r\n <div class=\"content\">\r\n <img src={illustrationSrc} alt=\"bell-icon\" class=\"bell_icon\" />\r\n <div class=\"text\">\r\n {/* <p class=\"label text-lg-semi-bold\">No notification</p>\r\n <p class=\"supporting_text text-sm-regular\">Your notification inbox is empty at the moment. Rest assured, you'll be promptly notified of any new events</p> */}\r\n <slot name=\"label\"></slot>\r\n <slot name=\"supporting_text\"></slot>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>,\r\n <div class={`button`}>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_color\" icon=\"default\" state=\"disabled\" icon-leading={true} icon-leading-swap=\"assets/blush_brush.svg\">\r\n <p>Mark all as read</p>\r\n </gb-button>\r\n </div>,\r\n ]}\r\n {this.state === 'notification_dropdown' && (\r\n <div class=\"notification_dropdown\">\r\n <div class={`content_wrapper`}>\r\n {this.notifications.map(notification => (\r\n <gb-notification-content label={notification.label} time={notification.time} supporting-text={notification.desc} icon={this.icon}></gb-notification-content>\r\n ))}\r\n </div>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_color\" icon=\"default\" icon-leading={true} icon-leading-swap=\"assets/blush_brush.svg\">\r\n <p>Mark all as read</p>\r\n </gb-button>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}