globuswebcomponents 0.5.7 → 0.6.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 (287) hide show
  1. package/dist/cjs/gb-avatar_33.cjs.entry.js +54 -69
  2. package/dist/cjs/gb-avatar_33.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-button-close_2.cjs.entry.js +2 -2
  4. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-file-upload.cjs.entry.js +9 -9
  9. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
  11. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  19. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  21. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  22. package/dist/cjs/globuscomponents.cjs.js +1 -1
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/collection/components/gb-avatar/gb-avatar.js +1 -1
  25. package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
  26. package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +15 -3
  27. package/dist/collection/components/gb-btn/gb-btn.css +1 -12
  28. package/dist/collection/components/gb-btn/gb-btn.js +1 -5
  29. package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
  30. package/dist/collection/components/gb-button/gb-button.css +1 -12
  31. package/dist/collection/components/gb-button/gb-button.js +1 -1
  32. package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
  33. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
  34. package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
  35. package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
  36. package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
  37. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +1 -1
  38. package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
  39. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  40. package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
  41. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  42. package/dist/collection/components/gb-header/gb-header.js +1 -1
  43. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  44. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  45. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  46. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +19 -161
  47. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
  48. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +4 -4
  49. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  50. package/dist/collection/components/gb-input-field/gb-input-field.js +8 -8
  51. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  52. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  53. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +4 -4
  54. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  55. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  56. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  57. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  58. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  59. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  60. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  61. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  62. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  63. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  64. package/dist/collection/components/gb-sidebar/gb-sidebar.js +19 -2
  65. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  66. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  67. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  68. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  69. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  70. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  71. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  72. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  73. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  74. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  75. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  76. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  77. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  78. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  79. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  80. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  81. package/dist/components/gb-avatar-add-button.js +1 -1
  82. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  83. package/dist/components/gb-avatar-dropdown.js +7 -7
  84. package/dist/components/gb-avatar-group.js +5 -5
  85. package/dist/components/gb-avatar-label-group.js +1 -1
  86. package/dist/components/gb-avatar-profile-photo.js +3 -3
  87. package/dist/components/gb-avatar.js +1 -1
  88. package/dist/components/gb-badge.js +1 -1
  89. package/dist/components/gb-btn.js +1 -1
  90. package/dist/components/gb-button-close.js +1 -1
  91. package/dist/components/gb-button.js +1 -1
  92. package/dist/components/gb-carousel-arrow.js +1 -1
  93. package/dist/components/gb-checkbox-base.js +1 -1
  94. package/dist/components/gb-checkbox-group-item.js +1 -1
  95. package/dist/components/gb-checkbox-group.js +8 -8
  96. package/dist/components/gb-checkbox.js +1 -1
  97. package/dist/components/gb-collapse-button.js +1 -1
  98. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  99. package/dist/components/gb-file-upload-item-base.js +1 -1
  100. package/dist/components/gb-file-upload.js +14 -14
  101. package/dist/components/gb-header-icon.js +1 -1
  102. package/dist/components/gb-header.js +5 -5
  103. package/dist/components/gb-help-dropdown.js +4 -4
  104. package/dist/components/gb-help-tooltip.js +1 -1
  105. package/dist/components/gb-horizontal-tabs.js +7 -26
  106. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  107. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  108. package/dist/components/gb-input-dropdown.js +1 -1
  109. package/dist/components/gb-input-field.js +13 -13
  110. package/dist/components/gb-megainput-field.js +1 -1
  111. package/dist/components/gb-notification-content.js +1 -1
  112. package/dist/components/gb-notification-pane.js +6 -6
  113. package/dist/components/gb-pagination-button-group-base.js +1 -1
  114. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  115. package/dist/components/gb-pagination-number-base.js +1 -1
  116. package/dist/components/gb-pagination.js +2 -2
  117. package/dist/components/gb-password-button.js +1 -1
  118. package/dist/components/gb-progress-bar.js +1 -1
  119. package/dist/components/gb-progress-circle.js +1 -1
  120. package/dist/components/gb-rich-text.js +15 -15
  121. package/dist/components/gb-scrollbar.js +1 -1
  122. package/dist/components/gb-side-bar-item.js +1 -1
  123. package/dist/components/gb-sidebar.js +9 -9
  124. package/dist/components/gb-sidebar.js.map +1 -1
  125. package/dist/components/gb-slider-control-handle.js +1 -1
  126. package/dist/components/gb-slider.js +3 -3
  127. package/dist/components/gb-status-indicator.js +1 -1
  128. package/dist/components/gb-tab-button-base.js +1 -1
  129. package/dist/components/gb-tag-checkbox.js +1 -1
  130. package/dist/components/gb-tag-close.js +1 -1
  131. package/dist/components/gb-tag-count.js +1 -1
  132. package/dist/components/gb-tag.js +1 -1
  133. package/dist/components/gb-toast-button.js +1 -1
  134. package/dist/components/gb-toast.js +4 -4
  135. package/dist/components/gb-toggle-base.js +1 -1
  136. package/dist/components/gb-toggle.js +2 -2
  137. package/dist/components/gb-token-field.js +2 -2
  138. package/dist/components/gb-tooltip.js +1 -1
  139. package/dist/components/gb-verification-code-field.js +3 -3
  140. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  141. package/dist/components/{p-fe4b2f05.js → p-0606ed36.js} +2 -2
  142. package/dist/components/{p-fe4b2f05.js.map → p-0606ed36.js.map} +1 -1
  143. package/dist/components/{p-fd8a5c33.js → p-07620b50.js} +8 -8
  144. package/dist/components/{p-fd8a5c33.js.map → p-07620b50.js.map} +1 -1
  145. package/dist/components/{p-bbd48308.js → p-0d096363.js} +2 -2
  146. package/dist/components/{p-bbd48308.js.map → p-0d096363.js.map} +1 -1
  147. package/dist/components/{p-0c209698.js → p-0f03d49d.js} +4 -4
  148. package/dist/components/{p-0c209698.js.map → p-0f03d49d.js.map} +1 -1
  149. package/dist/components/{p-9a517223.js → p-1681afeb.js} +2 -2
  150. package/dist/components/{p-9a517223.js.map → p-1681afeb.js.map} +1 -1
  151. package/dist/components/{p-6bf1d358.js → p-17eacbff.js} +3 -3
  152. package/dist/components/{p-6bf1d358.js.map → p-17eacbff.js.map} +1 -1
  153. package/dist/components/{p-aca58fe1.js → p-38a4d69c.js} +8 -8
  154. package/dist/components/{p-aca58fe1.js.map → p-38a4d69c.js.map} +1 -1
  155. package/dist/components/{p-d3743c43.js → p-41936911.js} +5 -5
  156. package/dist/components/{p-d3743c43.js.map → p-41936911.js.map} +1 -1
  157. package/dist/components/{p-204b598f.js → p-4fcaa2a5.js} +2 -2
  158. package/dist/components/{p-204b598f.js.map → p-4fcaa2a5.js.map} +1 -1
  159. package/dist/components/{p-2478c976.js → p-58de7a89.js} +2 -2
  160. package/dist/components/{p-2478c976.js.map → p-58de7a89.js.map} +1 -1
  161. package/dist/components/{p-27d34517.js → p-5dff23c0.js} +8 -8
  162. package/dist/components/{p-27d34517.js.map → p-5dff23c0.js.map} +1 -1
  163. package/dist/components/{p-4a82c33c.js → p-61b701af.js} +2 -2
  164. package/dist/components/p-61b701af.js.map +1 -0
  165. package/dist/components/{p-b350f0ed.js → p-6f568ded.js} +2 -2
  166. package/dist/components/{p-b350f0ed.js.map → p-6f568ded.js.map} +1 -1
  167. package/dist/components/{p-782b2cb5.js → p-856678f0.js} +2 -2
  168. package/dist/components/{p-782b2cb5.js.map → p-856678f0.js.map} +1 -1
  169. package/dist/components/{p-e515e45a.js → p-86b85274.js} +6 -6
  170. package/dist/components/{p-e515e45a.js.map → p-86b85274.js.map} +1 -1
  171. package/dist/components/{p-8fcae61e.js → p-878a922c.js} +8 -8
  172. package/dist/components/{p-8fcae61e.js.map → p-878a922c.js.map} +1 -1
  173. package/dist/components/{p-f62c294e.js → p-8a7a28cf.js} +4 -4
  174. package/dist/components/{p-f62c294e.js.map → p-8a7a28cf.js.map} +1 -1
  175. package/dist/components/{p-aa0b93ff.js → p-997e9613.js} +3 -3
  176. package/dist/components/{p-aa0b93ff.js.map → p-997e9613.js.map} +1 -1
  177. package/dist/components/{p-b2152e03.js → p-a186498c.js} +2 -2
  178. package/dist/components/{p-b2152e03.js.map → p-a186498c.js.map} +1 -1
  179. package/dist/components/{p-956d5649.js → p-ad85f456.js} +4 -4
  180. package/dist/components/{p-956d5649.js.map → p-ad85f456.js.map} +1 -1
  181. package/dist/components/{p-93e3a3c7.js → p-ae036e88.js} +3 -3
  182. package/dist/components/{p-93e3a3c7.js.map → p-ae036e88.js.map} +1 -1
  183. package/dist/components/{p-c89f3451.js → p-af734f53.js} +2 -2
  184. package/dist/components/{p-c89f3451.js.map → p-af734f53.js.map} +1 -1
  185. package/dist/components/{p-4b72e4f1.js → p-b81a8e53.js} +14 -14
  186. package/dist/components/{p-4b72e4f1.js.map → p-b81a8e53.js.map} +1 -1
  187. package/dist/components/{p-10375435.js → p-c6769004.js} +3 -3
  188. package/dist/components/{p-10375435.js.map → p-c6769004.js.map} +1 -1
  189. package/dist/components/{p-5423ce2a.js → p-c834b6bf.js} +2 -2
  190. package/dist/components/{p-5423ce2a.js.map → p-c834b6bf.js.map} +1 -1
  191. package/dist/components/{p-34f8083d.js → p-d322d026.js} +5 -5
  192. package/dist/components/{p-34f8083d.js.map → p-d322d026.js.map} +1 -1
  193. package/dist/components/{p-3150b70f.js → p-d740012c.js} +3 -3
  194. package/dist/components/{p-3150b70f.js.map → p-d740012c.js.map} +1 -1
  195. package/dist/components/{p-8c6ded40.js → p-e95dcf9d.js} +4 -4
  196. package/dist/components/p-e95dcf9d.js.map +1 -0
  197. package/dist/components/{p-83596f06.js → p-eaa5283c.js} +3 -3
  198. package/dist/components/{p-83596f06.js.map → p-eaa5283c.js.map} +1 -1
  199. package/dist/components/{p-2c75f197.js → p-eba2b609.js} +3 -3
  200. package/dist/components/p-eba2b609.js.map +1 -0
  201. package/dist/components/{p-1ca1b31c.js → p-efb75405.js} +3 -7
  202. package/dist/components/p-efb75405.js.map +1 -0
  203. package/dist/components/{p-21b1896a.js → p-f65c92ac.js} +4 -4
  204. package/dist/components/{p-21b1896a.js.map → p-f65c92ac.js.map} +1 -1
  205. package/dist/components/{p-6c37855a.js → p-feeed378.js} +17 -17
  206. package/dist/components/{p-6c37855a.js.map → p-feeed378.js.map} +1 -1
  207. package/dist/components/{p-142959f8.js → p-ff5ea054.js} +7 -7
  208. package/dist/components/{p-142959f8.js.map → p-ff5ea054.js.map} +1 -1
  209. package/dist/esm/gb-avatar_33.entry.js +54 -69
  210. package/dist/esm/gb-avatar_33.entry.js.map +1 -1
  211. package/dist/esm/gb-button-close_2.entry.js +2 -2
  212. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  213. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  214. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  215. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  216. package/dist/esm/gb-file-upload.entry.js +9 -9
  217. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  218. package/dist/esm/gb-megainput-field.entry.js +2 -2
  219. package/dist/esm/gb-progress-circle.entry.js +1 -1
  220. package/dist/esm/gb-rich-text.entry.js +1 -1
  221. package/dist/esm/gb-scrollbar.entry.js +1 -1
  222. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  223. package/dist/esm/gb-slider.entry.js +1 -1
  224. package/dist/esm/gb-toast-button.entry.js +1 -1
  225. package/dist/esm/gb-toast.entry.js +1 -1
  226. package/dist/esm/gb-toggle-base.entry.js +2 -2
  227. package/dist/esm/gb-toggle.entry.js +1 -1
  228. package/dist/esm/gb-token-field.entry.js +1 -1
  229. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  230. package/dist/esm/globuscomponents.js +1 -1
  231. package/dist/esm/loader.js +1 -1
  232. package/dist/globuscomponents/gb-button.css +1 -12
  233. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  234. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  235. package/dist/globuscomponents/{p-7d8d04a6.entry.js → p-099f0198.entry.js} +2 -2
  236. package/dist/globuscomponents/{p-1c4be13a.entry.js → p-0cc29bc9.entry.js} +2 -2
  237. package/dist/globuscomponents/{p-c29d37f2.entry.js → p-213b797b.entry.js} +2 -2
  238. package/dist/globuscomponents/{p-176cb172.entry.js → p-2fe41980.entry.js} +2 -2
  239. package/dist/globuscomponents/{p-3e1362b1.entry.js → p-32c4a3d1.entry.js} +2 -2
  240. package/dist/globuscomponents/{p-1f3fd982.entry.js → p-3ead3cb9.entry.js} +2 -2
  241. package/dist/globuscomponents/{p-09940449.entry.js → p-408fa2e8.entry.js} +2 -2
  242. package/dist/globuscomponents/{p-249a5c36.entry.js → p-5b54d63f.entry.js} +2 -2
  243. package/dist/globuscomponents/{p-765a6169.entry.js → p-67af3494.entry.js} +2 -2
  244. package/dist/globuscomponents/p-70484be9.entry.js +2 -0
  245. package/dist/globuscomponents/{p-378b4ddf.entry.js → p-7583e7a9.entry.js} +2 -2
  246. package/dist/globuscomponents/{p-4cfd3af1.entry.js → p-7d0f577a.entry.js} +2 -2
  247. package/dist/globuscomponents/p-81424559.entry.js +2 -0
  248. package/dist/globuscomponents/{p-b30837ed.entry.js → p-955169b6.entry.js} +2 -2
  249. package/dist/globuscomponents/{p-573ad694.entry.js → p-9686966d.entry.js} +2 -2
  250. package/dist/globuscomponents/p-99089f17.entry.js +2 -0
  251. package/dist/globuscomponents/p-99089f17.entry.js.map +1 -0
  252. package/dist/globuscomponents/p-9f351ab5.entry.js +2 -0
  253. package/dist/globuscomponents/{p-d3d02c64.entry.js → p-b9119833.entry.js} +2 -2
  254. package/dist/globuscomponents/{p-fecda0ed.entry.js → p-d62aeed0.entry.js} +2 -2
  255. package/dist/globuscomponents/{p-d7fac479.entry.js → p-e1f35913.entry.js} +2 -2
  256. package/dist/types/components/gb-btn/gb-btn.d.ts +0 -1
  257. package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +0 -8
  258. package/dist/types/components.d.ts +4 -16
  259. package/package.json +1 -3
  260. package/dist/components/p-1ca1b31c.js.map +0 -1
  261. package/dist/components/p-2c75f197.js.map +0 -1
  262. package/dist/components/p-4a82c33c.js.map +0 -1
  263. package/dist/components/p-8c6ded40.js.map +0 -1
  264. package/dist/globuscomponents/p-3d8baf6c.entry.js +0 -2
  265. package/dist/globuscomponents/p-43764cd5.entry.js +0 -2
  266. package/dist/globuscomponents/p-7fcd797a.entry.js +0 -2
  267. package/dist/globuscomponents/p-7fcd797a.entry.js.map +0 -1
  268. package/dist/globuscomponents/p-a2bbca88.entry.js +0 -2
  269. /package/dist/globuscomponents/{p-7d8d04a6.entry.js.map → p-099f0198.entry.js.map} +0 -0
  270. /package/dist/globuscomponents/{p-1c4be13a.entry.js.map → p-0cc29bc9.entry.js.map} +0 -0
  271. /package/dist/globuscomponents/{p-c29d37f2.entry.js.map → p-213b797b.entry.js.map} +0 -0
  272. /package/dist/globuscomponents/{p-176cb172.entry.js.map → p-2fe41980.entry.js.map} +0 -0
  273. /package/dist/globuscomponents/{p-3e1362b1.entry.js.map → p-32c4a3d1.entry.js.map} +0 -0
  274. /package/dist/globuscomponents/{p-1f3fd982.entry.js.map → p-3ead3cb9.entry.js.map} +0 -0
  275. /package/dist/globuscomponents/{p-09940449.entry.js.map → p-408fa2e8.entry.js.map} +0 -0
  276. /package/dist/globuscomponents/{p-249a5c36.entry.js.map → p-5b54d63f.entry.js.map} +0 -0
  277. /package/dist/globuscomponents/{p-765a6169.entry.js.map → p-67af3494.entry.js.map} +0 -0
  278. /package/dist/globuscomponents/{p-3d8baf6c.entry.js.map → p-70484be9.entry.js.map} +0 -0
  279. /package/dist/globuscomponents/{p-378b4ddf.entry.js.map → p-7583e7a9.entry.js.map} +0 -0
  280. /package/dist/globuscomponents/{p-4cfd3af1.entry.js.map → p-7d0f577a.entry.js.map} +0 -0
  281. /package/dist/globuscomponents/{p-a2bbca88.entry.js.map → p-81424559.entry.js.map} +0 -0
  282. /package/dist/globuscomponents/{p-b30837ed.entry.js.map → p-955169b6.entry.js.map} +0 -0
  283. /package/dist/globuscomponents/{p-573ad694.entry.js.map → p-9686966d.entry.js.map} +0 -0
  284. /package/dist/globuscomponents/{p-43764cd5.entry.js.map → p-9f351ab5.entry.js.map} +0 -0
  285. /package/dist/globuscomponents/{p-d3d02c64.entry.js.map → p-b9119833.entry.js.map} +0 -0
  286. /package/dist/globuscomponents/{p-fecda0ed.entry.js.map → p-d62aeed0.entry.js.map} +0 -0
  287. /package/dist/globuscomponents/{p-d7fac479.entry.js.map → p-e1f35913.entry.js.map} +0 -0
@@ -51,15 +51,15 @@ export class GbInputField {
51
51
  }
52
52
  }
53
53
  render() {
54
- return (h("div", { key: 'e0e833dec39eb745711525280a149da89da29bcb', class: `input_container` }, h("div", { key: '0bc90280a9c5bdc43e0cf2e4073558ab62306bae', class: `input_with_label` }, this.showLabel && h("p", { key: 'd3903a8afde4238d5fa9dcfc9b6abae60fd5f118', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
55
- h("div", { key: '3d46fa8940202147fddf03a6c3cffc66dbcff06d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'e8faeca9a3945d930180bf0a7f177559befdb356', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: '61c38f0266352add30f6246266c025712dc56fc5', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2a1a640cd373411835225bd5cc28e6b462982ae7', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'c4a4ad6b8d07f4ff92220fcb69c39622ad093852', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
54
+ return (h("div", { key: '4b3514c3d0042251a80fe7e7f24407ab09cedb09', class: `input_container` }, h("div", { key: '909bcc5cf8ac8ce9bd294e0ee38f0b82cb0cc212', class: `input_with_label` }, this.showLabel && h("p", { key: '29e8f17b88361840a3de15371415d8057a74621a', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
55
+ h("div", { key: '1ca0533cd2feb85f9c22a7baf36f62b7c7fb8625', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'cb1c7a372f877bf77fe68b99a8a01f211e041e61', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: 'ba6ef486f616f17012b90fdab9e54a7da9de6dbf', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0f169033a198489a5e7e5e8fc3284942bbbe0b33', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '9cd7247a1f9acdcff3d259aaa77a5ea7bb9bfef1', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
56
56
  ], this.type === 'icon_leading' && [
57
- h("div", { key: 'dbdcdde943be0445a1aaf1b1c93478239fcb2086', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e0f9b366a350f08a0d0f698e9553138ccc0b3349', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '96305d0b168b84b6f00fac6dfc1c09bb8bf8cec8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'bb7f1f4700c3b7ae6db0e6d43de185a8fae6a3e4', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'fed24397c70bf0732735c7bdbbac328ce847d615', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'bdbca0d490e85e087ea5b2d65bcc6292ebf15096', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '6a619bc946e703addeb4d69b49ba9f4124c207b9', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
58
- ], this.type === 'leading_dropdown' && (h("div", { key: '95725c773c80c00da73f42487320710da071094f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '97690c2fa90e630bd0af21351be424a661341cf8', class: `leading_dropdown_dropdown` }, h("div", { key: '6b3efe9245f1d960971792442a975872406da96b', class: `country_icon` }, h("img", { key: '1924ce6e1af59a315f879d964c5e3c49d0e85af3', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '3a4571fbeb41f2e5189e01c97c4941639bbb4164', class: `dropdown_text` }, h("p", { key: '2a36a0ef13e6a8699319c0ce8172f80c961d6482', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "+234")), h("div", { key: 'b9beddab96d0eaef8cbdc3daff2924875ac54d62', class: `dropdown_arrow` }, h("svg", { key: '955f3d7c483a7ccba16769446e3756d8b4e96ce3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'dc2a96fc2ba4a32628f153b47ea6b90edf2d63d6', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '2fd91230d4b4079d6e9b9f92cf38c8cb6ae72af1', class: `leading_dropdown_text_input` }, h("input", { key: 'ac6b0efce76dc147215a5d01f9e70a77ffbb8e63', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: 'e194b1e05805f0db4027ab037af7a683a7cd6df2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5ba50a5787b14be28135c23d5acd26b00f86faf4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '8f689ae815e6fa9d1d26c5c9cffe2ffad071df4a', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'leading_text' && [
59
- h("div", { key: '133a66838071e49801fceae860b8afd174bc4732', class: "leading_text_input" }, h("div", { key: '3c28c80a7e4c545ad377679f0816b5d4888f41d0', class: `add_on` }, h("p", { key: '1fc5921a2c60378a5278e06069b66410c6e34dde', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '510fc1139032d533f30f93c83129acd364c08635', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '196ac35b07f991c66a5c1fe396ed03e16abc18aa', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '392f061ff42f6d96077afd5640be3124773082de', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'cd597937781ff910a91f43b6abc3ef04fa4751dc', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '93b46d86eecb36bd1cbabfc20744442019fce5bb', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
60
- ], this.type === 'payment_input' && (h("div", { key: '944f2a0ec4a8c91ed4a4b2db8d94cee8724eb454', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'e9eb41669017f0a1eb750792934c9416ce27ca77', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '192938bd75ce619cd4f0e7a698c359c182c4d723', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '50473c4efce3a44fd25ef2710cb4ebf19c1a9e7f', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'b98c82fedc28f220ce31850bb7c205add87727c2', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '7f6fd1bd21595c986035027e10de84b7c3181ce1', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'bccc90b2d8a953d6ec7a582a52976489c821010c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '8acff0d2cb5f7f306ca3efe5c4348e3dbbf4edc9', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '00e176c05e4a4812875e824178b4220fba1f0b44', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'b34ef15bb7df62b8ee276901553829ec1d1317c5', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'd17a7c5cb1f1383101f0738e13dd2e99aeee5e78', class: `trailing_button_text_input` }, h("input", { key: '31c2de0c13cddefe83b20b2e958600c0b8ed1925', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '8f52420c5aeb0ca0d44c64f56c1b3241a60c87ee', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '6a808b7b69f8fc5f2c3f2debab4e522c0dc3a46f', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '0d9ac9b3f08734fd983247f3b960e82a2b4bc4aa', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: 'ab8f64b0f2eb6643ecb40ad2fc1bcf2f811e4c03', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg" }))), this.type === 'password' && (h("div", { key: '9341f959d153917039d671464c0f899b4354e584', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '76648eeca4fa53bd46553f3e569bbdeaac69f384', class: `password_content` }, h("input", { key: 'e3ddd19cb7142acf172a917bd34645ba989ca6bf', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '1e2dd2e75e071edf5354b8a8e17f25201f74f0a4', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '88742a0f64be68d6e87b0c8479e2ae9b2a84395c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '978f9b29816054bee49232f42c3e1f0293c4bf3e', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '38fd117a126e8f3cc7071830428a65c33ee6c686', class: `dropdown` }, h("gb-password-button", { key: '66b1495f611a9fced57bce5fe056ecbcaff2afef', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'cb4b2b9f190b042f44ba92593d3f419424402b5e', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e7dcee23fe57d680307d015d3bcf2f133dd59c0b', class: `password_icon_leading_content` }, h("svg", { key: '5a86425aac692a3fcccec0f5ab218c8019b00dea', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '29f397bfae44954b12c7bea348c5476d92437f88', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'bf50c468ae221b8be1ad65e282524728b01c05a6', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' })), this.showValidation && !this.destructive && (h("svg", { key: '762fa5f233ac03bf31308e8ca074430bdda565ba', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e122fc3e4495c7859b134680ff5a2582cc711e7f', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'e5cacd434216231038da375a93095cbd5f0e13b4', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '4dc53bda455f88bcf2241bd9dbd8f797636815cd', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
61
- h("div", { key: '2564bb5ad34a868ca5cb97c984fdaa309f429015', class: `count_input` }, h("div", { key: '9678bcc1007e3ee60c73a3259ccd5c91d1190a46', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '9c1ea60fdb201abfb56bdb55724a0c83dd629502', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showHelpIcon && (h("div", { key: '93ed001edd8fd02f06e73e2f882296da78b814c8', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'f5f29965bb3c5405d3b603df3cdbd7d340a1ad5d', class: `action ${this.state}` }, h("gb-button", { key: 'b478917d6225d01901e7a606c0b2783bc338bf67', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: '4f5317cb142ba7c5278f382e21cc1dde928433b3' }), h("gb-button", { key: '09c770f7e825b13956fbc171b64201a90b7af676', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
62
- ]), this.showHintText && h("p", { key: '9c75036dbb61dcb7625077901fdd7492048f7029', class: "hint_text text-sm-regular" }, this.hintText)));
57
+ h("div", { key: '49b7e822c9ef6a514ccebb78fda02202e5300ca2', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0f550d4b5a3464ec526d6a1e1b71933489dfc4e0', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '711890e50fa3354c0d88bf547b2028a5bcb4dcf9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'c76cd93baefd9ec32bcc4938a14d49de04c91014', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '8a92eef0de5eecfb200edded9a5d7214c6da41f0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd3a2bb00f1d28bd9419c1f11402db6c18895d568', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '5473a1bc859efc290a87119e6adff7e3e3bb8089', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
58
+ ], this.type === 'leading_dropdown' && (h("div", { key: '70460d743ec1e057dac3a244136046b8119d26ad', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '175582b9f9fe717eacfcd18f9381d405bdb19437', class: `leading_dropdown_dropdown` }, h("div", { key: 'd9882f71af577e24b9db8d323149f865a6775354', class: `country_icon` }, h("img", { key: 'f0a68540879ffef8e182137df63ee00b12891c75', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '35f78cc33af8a2d4295297f53659964006279f3a', class: `dropdown_text` }, h("p", { key: 'e0c74471aff292d9968986a19e0208cefe0714a7', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "+234")), h("div", { key: 'a658b234b8b016ae12f35ccc1b4e7f3a17868cf8', class: `dropdown_arrow` }, h("svg", { key: 'ec87285ffbbb812ad2487bcae0c7ba8509529745', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ba2ef1e71b8f986a86a67877795eecca13ff6de1', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'c208fa537c7ac460dccd431c7e963be10678351a', class: `leading_dropdown_text_input` }, h("input", { key: 'bd1801e0e49f59e4bab4de0f011198436bbcd4c8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: 'eae5162aa2e37e768573d7615f3ce79234556a30', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '394bcfdf7e43719ae78757bf3d41c361ea5f089b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'e1e393b63cb1c0951d144bd5a6729debd5756e49', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'leading_text' && [
59
+ h("div", { key: 'cd4de359934be39efce4a4059949875da5dc6052', class: "leading_text_input" }, h("div", { key: '48aa77a3165981b636508007ddc54c47dad6c8e4', class: `add_on` }, h("p", { key: 'c8415d40d6a6c22d73fd7746568fec0c8e5ee834', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '8cfbbc671725180eae4fdd8b4a6d00f4fecbbf73', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '7cb3d2cd25565a29dd666340a9716508e3e5b0a0', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '6ccce821be7d41bc9fca9b68bad0c8f1b2cd83fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5f081c4454ea654ba34cc2f0bcdc676ec63432da', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'deeebf805d771b93316cee4862bff54be91bbf5b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
60
+ ], this.type === 'payment_input' && (h("div", { key: '7c779925d9f80144c33d8e383e0e6a9faa0ef63e', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '5ce8fcf5e0bc86c0f067d540b8af268e8b849d42', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '36d5a0e85527569a4b514088d007e8b6a6d5bb9c', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'f18858b3824a06d12c83d7db0044fc0542d39340', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'a2e83507d9a7d96ad9f593c700199069dfcc272b', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '952f5429251dc647a4e139d5168a1a8c42f7264e', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'bf9fe3993bf9a107e4d5ad5f79c17bab691f9030', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e45aafaa112c6d68e12d6f145b508b7c63d58ee4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '7cb3147845ca0eaee0cfbdcacf640cbb9442f973', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '57f623f20136fb5444ae9f47b49acae8d213cd9f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '222c62d42a7511126b031d1407a24e2f86490e5c', class: `trailing_button_text_input` }, h("input", { key: 'dff4c6e7bc23385ec77c5ddea626c69064f1f401', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '7e7e514fbe37f6ba5e14afc46fd43624ec915f34', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3188d37554b5edd38b0e93fda9c5ad33617d0c1d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '9bdbd3862a0e05de183ff70fd6f84ff8144b7351', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '30d4f53efb9fac5fadab260945f559121b1c3f3e', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg" }))), this.type === 'password' && (h("div", { key: 'f8e52ed8c25728efdb5f0071fa6740e1d4bf1207', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4f0e0df013ea1e4b83db2316cce515414967ad46', class: `password_content` }, h("input", { key: '95acf0f778a40387bf42b16179c597a47c1ac3e8', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: 'fc52725a085550127ad3a0956c3892867b134bfa', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '88db4fe9395b5caabcdbaa360dbe218565cc2c54', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '68573588a75804232f1212bf97e626d4975faea3', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '9693f60aaa0691c6f83ea2af9b66523f1c559c0e', class: `dropdown` }, h("gb-password-button", { key: '330def5ae57e514533cfa865e4c59fd3bc72a89f', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'ba5e87f2d44aa8cd7fb228ac70518d2a0f9d7a7e', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '578b69cfa546d560ef6238958a7d7f4233cd2a77', class: `password_icon_leading_content` }, h("svg", { key: '47addd8cc19bf867f9a7c054cd6f223a8b57de62', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '1549f2c731c5e40b992d1f50929644974637d6d8', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: '9cb7ab509ef68c224ff34a37ca95d2490d4ead12', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' })), this.showValidation && !this.destructive && (h("svg", { key: '2fdfecdb742fe0257b64f19c2f13e3a05b014a65', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7e3b0da9ab2e11a5b1e973607221a8482c8c8717', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '0631a43a5dee209ab9695a71ff6fd0ad9d0f7e90', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '3e786c4f9a858a81aa943d225aac61bb7fdfabef', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
61
+ h("div", { key: '95b983af230e48cc5ff9c0b6762373d4bb7341c5', class: `count_input` }, h("div", { key: '4e9881b3852ad3de0b7890bd6c4bfeec9391d43f', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'f5fa8c3e992b17511138e073fdc4abcf1eb07eaf', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showHelpIcon && (h("div", { key: 'b79b92efb2e1d568b3e79436fcaf713e058c0c2a', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '527cd43280795e380082b09cf2f0489cb32274cb', class: `action ${this.state}` }, h("gb-button", { key: '6a7dfa07e51b048a1359292a7e8ace29e4614417', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: '82060f9a73144c104f417daeca9365fe7462bff2' }), h("gb-button", { key: '80d870b9bd5afd389130b202ae274cd823408cf9', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
62
+ ]), this.showHintText && h("p", { key: 'fa403c20b1571c6ffd2996356ddc4835952eef71', class: "hint_text text-sm-regular" }, this.hintText)));
63
63
  }
64
64
  static get is() { return "gb-input-field"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -16,10 +16,10 @@ export class GbMegaInputField {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h("div", { key: 'c298a4da15b5d5572a5d978d87e393d132781234', class: {
19
+ return (h("div", { key: '06c05d1f065e13566191968af210b95c88f6a0d1', class: {
20
20
  [this.size]: true,
21
21
  disabled: this.state === 'disabled'
22
- } }, h("input", { key: 'ef74f3efc00f000a444144fa0c5a53512ab843d9', class: {
22
+ } }, h("input", { key: '4c0461dd03a699a375f184fa119123bea758151c', class: {
23
23
  [this.size]: true,
24
24
  disabled: this.state === 'disabled'
25
25
  }, type: "number", min: "0", max: "1", placeholder: "0", value: this.inputValue, onInput: (event) => this.handleInput(event) })));
@@ -8,7 +8,7 @@ export class GbNotificationContent {
8
8
  }
9
9
  render() {
10
10
  const iconSrc = getAssetPath(`assets/${this.icon}.svg`);
11
- return (h("div", { key: '531445a1965273bd35de2ed4f83378694b3bd69b', class: "notification_container" }, h("div", { key: 'd2cb0b5d32444f420f77913a75e8efcab94ae1f8', class: "notification_title" }, this.icon && (h("div", { key: '6c9daa7dc8bf4ec7a22d577a98168a9e19e8349a', class: "icon" }, h("img", { key: '8f107bbd515c1dabceb7a62cb21a6cd0d9616944', src: iconSrc, alt: "Icon" }))), h("label", { key: 'be2755d6c9e7601714ad11ca02aa7fc84cd0cb7c' }, this.label), h("span", { key: 'eb11b1cbd5305c09ab73aa11016bc9cdd84b3a0e', class: "time" }, this.time)), h("div", { key: '87e4cf82ad1ad61fe47205954b8f39e4b66c8c9d', class: "supporting_text" }, h("p", { key: 'c1606d5d33976d7fc3cdcdaa10874750aeecb44b', class: "text-sm-regular" }, this.supportingText))));
11
+ return (h("div", { key: '5da22bfda2d251401314f95644ebe9cdabfd90c2', class: "notification_container" }, h("div", { key: 'c554fd05e8087b1ede615597ebd5d96f0e04094d', class: "notification_title" }, this.icon && (h("div", { key: 'ef47a98b1d714002f4c66c08feb2473c2c372dfe', class: "icon" }, h("img", { key: 'fccd9df0c6a4a6662a8a5c4780e357ceefb7e293', src: iconSrc, alt: "Icon" }))), h("label", { key: '2887fddea3e84bc35634287393a1c6ff62167311' }, this.label), h("span", { key: '045b39b4e8ac0137fb79913a6be9723a6dc1e6e1', class: "time" }, this.time)), h("div", { key: '1920e8569fa8fe8913d16f07ded63910c4e707ed', class: "supporting_text" }, h("p", { key: '69b2e6cc2de4bca87511e4e3cabdde33de0002bb', class: "text-sm-regular" }, this.supportingText))));
12
12
  }
13
13
  static get is() { return "gb-notification-content"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -26,10 +26,10 @@ export class GbNotificationPane {
26
26
  notification.remove();
27
27
  }
28
28
  render() {
29
- return (h("div", { key: 'b3458f7a3e50d0479ee94405b064e3739e094c08', class: "notification_pane_div" }, this.state === 'empty' && [
30
- h("div", { key: '0b9a74658f97d4fef688c0940a39ad49078f9875', class: `container` }, h("img", { key: 'a0aca2939e6f66e8f632c08363da2aa2265248d7', src: "build/assets/no_notification_frame.svg", alt: "" })),
31
- h("div", { key: 'b490ef95cb95a4113fecebbfab32c17372930f58', class: `button` }, h("gb-button", { key: '7e0cd3a3d016253fe45a547c06038eb66c9cef78', size: "sm", hierarchy: "tertiary_color", icon: "default", state: "disabled", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: 'ee8843044d8874f9a96de20708db28a3600c3328' }, "Mark all as read"))),
32
- ], this.state === 'notification_dropdown' && (h("div", { key: '40fe1c7d16649f73c365ea9289376759226c28b9', class: "notification_dropdown" }, h("div", { key: 'd7808e5be75e69f9674d530cf22a95c2456e344b', class: `content_wrapper` }, h("gb-notification-content", { key: '23bec5def9da6ddc5364ae1b2b0552b6a2227532', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: 'a6d117fbd5755b236375e6386b5bcd8210df2cb9', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '03cb61033ca8f7749745fc680ebe9dde1391560c', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '9c7870a9481f75bc1bc7260a5aa7e41c92c7fb78', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '10363a9e22b389911141111e1a6e07b2e30f2421', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '138eb5e2f72d70eec259f7bde558f9d0ad5ef965', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" })), h("gb-button", { key: '0cc03bc139c725c99f0bf6716c56373e44bcb63d', size: "sm", hierarchy: "tertiary_color", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: 'a132b012aee0581cec57775ebe758cba7585d481' }, "Mark all as read"))))));
29
+ return (h("div", { key: '3a99b67bec5b7d54e527705ee62b28f7b80ea28f', class: "notification_pane_div" }, this.state === 'empty' && [
30
+ h("div", { key: 'eb0422a580938218eb0e44fcf6969162acebee74', class: `container` }, h("img", { key: '157eac0c8eee5a65767c75522a1645355e2150f2', src: "build/assets/no_notification_frame.svg", alt: "" })),
31
+ h("div", { key: 'f7d4a5d0ed72e2da92a68aa8352ec9cd8d52040b', class: `button` }, h("gb-button", { key: 'df1ab4bcacb258eb8fe967f9b7d01ac91b55d287', size: "sm", hierarchy: "tertiary_color", icon: "default", state: "disabled", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '431b300e1e5198b2059032244044fe34b0031b48' }, "Mark all as read"))),
32
+ ], this.state === 'notification_dropdown' && (h("div", { key: '1ba6f245fb891ec3ce485e11e004baaae7983b7e', class: "notification_dropdown" }, h("div", { key: '85d5d08e6cf060ce2aeb305c18ccd9b971e5ff11', class: `content_wrapper` }, h("gb-notification-content", { key: '2e9a7599e7be64c47396ee0a00b6588f2dcaeb1d', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '3858b9916097c43d0137d821fa74f09b30254588', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: 'b2c8ad302b7857f67a5bf36d31d99a40a60b80a2', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: 'd6530d624075dd6496b3e424829a423324046fea', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '374a409b07d97c0bd027af659a23b8173c75ad3e', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" }), h("gb-notification-content", { key: '0aa083f69464198c6412951bf3d8ed2077dc02e1', label: "Flagged Transaction", time: "Just now", "supporting-text": "Aisha, here is your weekly report", icon: "alert-02" })), h("gb-button", { key: 'aeb79e1911f26d0279f88a672ea90c5a390fea9b', size: "sm", hierarchy: "tertiary_color", icon: "default", "icon-leading": true, "icon-leading-swap": "assets/blush_brush.svg" }, h("p", { key: '9e88ab2b76af96cbca2d5ee3df6f16240c349b5a' }, "Mark all as read"))))));
33
33
  }
34
34
  static get is() { return "gb-notification-pane"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class GbPagination {
8
8
  this.totalPages = 10;
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '54d108749703f27b7a78fc3ab61e9ad0721e2a47', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: 'dc005bccbdec324baa57bd748d6076d4c0867910', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '268109de4317d4a014b11a2b1028e8562a2db231' }, "Previous")), h("gb-button", { key: '4fe5e81b913f741df9465ea74b0e41d86edefaf0', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: 'b30092fa4778c6438ca92c4a9446ff47b837ddec' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '90723e3f6236557450643ab1466f6b1f581635e5', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '89c16acf2200b58130af665b4c69189bae6720c3' }, "Previous")), h("gb-button", { key: 'b479456db23e892add1a6290709c2cdb9759e8c3', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '91157c600b7a9646e13d32dcb2e3209e7b176f95' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'c0ff95689e829a9d945ac4902618b7093d50c680', class: "entries" }, "Entries"), h("div", { key: '5329374914ac5f534c720a52929d2e47f62674f7', class: "page_numbers" }), h("div", { key: 'c46b178508cf477af07fdc858086dd63e65046f8', class: "buttons" }, h("gb-button", { key: 'd67f8e752586cabf6c77994400aef1127d77d19a', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("gb-button", { key: '5e67bbfab36947d2cbb99386e10556bd4a17d05f', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))), this.type === 'page_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '6bc7cde4cfdcf2a9af8c42a5b957c6bf6f40e086', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("div", { key: '82d0cc6ce2e0bd19c8f06f3cfe22f852883dc2c1', class: "page_number_text" }, h("p", { key: 'b2636e76b8774ecdec285552fb501c721b67fb90', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: 'aae081bfb4ebafce6cf4ed3ba468bb785ec521d1', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))));
11
+ return (h("div", { key: '99211100488a0d9981f2e180b73ff9d7762d4368', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: 'e35ba7b173d5d4c1fbeb71017083bfbb3d201185', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: 'c42b1fcb118ca507da4223a7b078d0e6bd51bd1c' }, "Previous")), h("gb-button", { key: 'b5e506d62b7ba6ab47478596d3e1615d294efb7c', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: 'a233a5b8b05e11c1ca2c92cf80cb02b22cddbae7' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '3cb488b45625216bbd982387a807a1dc9b3bb6d4', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '2f05d4d4baf8451ce44bb608d4d9956fe71178be' }, "Previous")), h("gb-button", { key: '8b5ea782ba5010c22de047fe32cf37d3259b7cee', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '49c9ca02d7c1388c18846792d2f67b9fc4388a5f' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'ecc10085b1917ff1733b1608a060d24a5a8e85ee', class: "entries" }, "Entries"), h("div", { key: '21333baa87da61fd2f58bf279a113300962db7d6', class: "page_numbers" }), h("div", { key: 'e0c1ad2d42afb2373941b830581b0fb6fdf650ee', class: "buttons" }, h("gb-button", { key: 'df5fc75db9ca3c7fe92a804823e4a070b68aef16', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("gb-button", { key: 'e55cb68267185f6f07f6462c178aec5acf3d2b35', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))), this.type === 'page_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '0272825aa0d625e8e72439e98653c628f2841d38', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("div", { key: '5a6df9474dd5ed562cfc5d29b3b55288ce53a85b', class: "page_number_text" }, h("p", { key: 'c61ba8e5a62f224b1033b54824ae87fffb150a2f', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: 'a6aef11689a3a96c229b1e5c22afcb27c81f67ff', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))));
12
12
  }
13
13
  static get is() { return "gb-pagination"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class GbPaginationButtonGroupBase {
12
12
  }
13
13
  }
14
14
  render() {
15
- return (h("div", { key: '9775952b2a53fa64c722429904014b38addfaaa4', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: 'd476b6a9b1191143bd0e43d874dcb52abf54ce37' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: 'dfa9988bbbd0134460a55d6eec72c1ee7e15d15f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '55ba6886b7f4fd88fd2ceaba2eee7f93e797842b', d: "M3.33325 9.99981H16.6666M3.33325 9.99981C3.33326 11.0978 7.49975 14.1667 7.49975 14.1667M3.33325 9.99981C3.33324 8.90182 7.49978 5.83334 7.49978 5.83334", stroke: "#4B5565", "stroke-width": "1.67", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("slot", { key: '28ba282f82ba078317c587e87a918231b519b01b' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: 'ef00eb790fb374781f1df9ac8d06e3aa2f56f6ce' }), this.iconTrailing && (h("svg", { key: '47a914f9958beff7491ee1a8b2c665daf1414356', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5793cbdecd35e4b167af97932667f81e531735f5', d: "M16.6668 9.99984H3.3335M16.6668 9.99984C16.6668 11.0978 12.5003 14.1667 12.5003 14.1667M16.6668 9.99984C16.6669 8.90185 12.5002 5.83337 12.5002 5.83337", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
15
+ return (h("div", { key: '9fc2abe429cfeac201d473073ea696b3a52e5591', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: '9736e9433a7610bdd1b44332330780925f0566fa' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: '4eef404fb3915fa7e1f141c90175fb206fa5cd7a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'aa5098de42b6fc84e9a886a5d64ea76968a75628', d: "M3.33325 9.99981H16.6666M3.33325 9.99981C3.33326 11.0978 7.49975 14.1667 7.49975 14.1667M3.33325 9.99981C3.33324 8.90182 7.49978 5.83334 7.49978 5.83334", stroke: "#4B5565", "stroke-width": "1.67", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("slot", { key: '59d490702f103a9b46acea73093b9173cd33b6e3' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: '5efb38f29510e206be8bd2c66687bccd7595e258' }), this.iconTrailing && (h("svg", { key: '9752f01ae30263405bcd0cb0bba88983bca3550f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7c94696099e39a71416ee5902efd15ab707786d5', d: "M16.6668 9.99984H3.3335M16.6668 9.99984C16.6668 11.0978 12.5003 14.1667 12.5003 14.1667M16.6668 9.99984C16.6669 8.90185 12.5002 5.83337 12.5002 5.83337", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
16
16
  }
17
17
  static get is() { return "gb-pagination-button-group-base"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class GbPaginationDotIndicator {
6
6
  this.size = undefined;
7
7
  }
8
8
  render() {
9
- return h("div", { key: '500e70b5c139494ff327ebd053ffa5f02d4e2060', class: `dot_indicator_div
9
+ return h("div", { key: 'd98c8b6b948653fe7baf2d7dd4983286672c8d22', class: `dot_indicator_div
10
10
  ${this.type} ${this.current ? 'current' : ''}
11
11
  ${this.size}` });
12
12
  }
@@ -10,7 +10,7 @@ export class GbPaginationNumberBase {
10
10
  }
11
11
  }
12
12
  render() {
13
- return (h("div", { key: 'db5178ebf16ab41c5e47a8e27eb100eb4adda397', class: `page_number_base ${this.shape}` }, h("slot", { key: 'adbed187cfeaacb595738f6b23d4e9abd7c4f1e4', name: "page_number" })));
13
+ return (h("div", { key: '8be6046bcab48f3a0ae0506c37deb585080cd41d', class: `page_number_base ${this.shape}` }, h("slot", { key: '34c227e60d0d4095a71313b044594aa4aeda8bbb', name: "page_number" })));
14
14
  }
15
15
  static get is() { return "gb-pagination-number-base"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class GbPasswordButton {
8
8
  this.isPasswordVisible = !this.isPasswordVisible;
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '10137bf8c53263b32b948ba84042e6531496e4e4' }, h("gb-btn", { key: '39cd86c3f0c43e49eed87f11573bc4855eeb466f', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
11
+ return (h("div", { key: '088e8b1a52185d9fda9b000754ac718ce5f92d97' }, h("gb-btn", { key: '3d66e42c174451cd60b5156e02a810a760e554c3', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
12
12
  }
13
13
  static get is() { return "gb-password-button"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class GbProgressBar {
8
8
  }
9
9
  render() {
10
10
  const progressValue = Math.min(Math.max(this.progress, 0), 100);
11
- return (h("div", { key: '4112aa2d8f5b4d1d351ce0f9f2596947676c2c5d', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: '25b0f7f66eee28ac6d8b56666b59f14024774781', class: "progress_bar" }, h("div", { key: 'f5844476532ee89095c43af401affcb3ecc675fd', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: 'd462f70c9d800d388554262c1ae24b6298dcc02b', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: '96ed5907c3ec4db14bb8f48bbe3fd47c36fc2807', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: '67869829f66c2f1126663e4a87c807da7bece019', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: '52fdf631bd48c6741cc811c35577e6ef1c6946dc', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: 'b500f633f670d2abd4ec1a50adbf09ffd7a39b9b', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '7bb668280554e6d290cd7197e9c7ff22703b2e90', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: '635fca7478dbb9da1f8e4bc99a702a3eddf4d144', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
11
+ return (h("div", { key: 'de2e083bfbd1b311a1f10d63693054622d91c79e', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: 'c7b362a5e170e377d77d25f570c18d523420d7d3', class: "progress_bar" }, h("div", { key: '0303292977c7cf3f0c121618e8d4cb1dfd88aeb6', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: '6334bacb7df5134eebf4104f8e9b09ac87bd0c77', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: '5718ad2e113c9561e915700a7caccc4358c6a837', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: '6fa316944b95e4c24db70c0167c840cf0ef0a3bf', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: '65e507dc22d15fd94aee474e8c435304bf941f5d', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: '9715a6a4b3c2ddfa8ed74e4b52bd1c73faa25b97', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '9efa927db72ca141b0b078b8285d50e294ae3343', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: '78a90dcce7904a407da2b4e1e46ce0ef030e18f8', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
12
12
  }
13
13
  static get is() { return "gb-progress-bar"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class GbProgressCircle {
7
7
  this.progress = 0;
8
8
  }
9
9
  render() {
10
- return (h("div", { key: 'c888b32ef522ea6c9e23a47d4efc831713e46e63', class: "progress" }, h("svg", { key: '91c3b9ccc547543125d012c0195f053f9e13d7d8', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '7acf3815ceefd76f34a5286a4b2850161521d425', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), h("circle", { key: 'ee66352d3d8516e0c857ce95112b3a639ef98003', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), h("div", { key: 'fc9ef39c271a4e93ebfa9d62ad5b15bb3a2f7c2c', class: "progress-text", "data-progress": "0" }, "50%")));
10
+ return (h("div", { key: 'a30ca76cfae2d5ba55c1fb1f35b91ad5e048d154', class: "progress" }, h("svg", { key: '2d02064371970b10c51804c25cf6b62668585928', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: 'ca20a0524d0c33b26103a4ea259cf5af41632b9f', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), h("circle", { key: 'fb4b9a2c780929bd2c1d4bbf48ae3ba242733f68', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), h("div", { key: '0141b9ef7335e3cb2ac8e024b66c0a02f65b38fe', class: "progress-text", "data-progress": "0" }, "50%")));
11
11
  }
12
12
  static get is() { return "gb-progress-circle"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class GbRichText {
15
15
  destructive: this.destructive,
16
16
  disabled: this.state === 'disabled'
17
17
  };
18
- return (h("div", { key: '7c47bb6ec6005cefed64211b838838bd173aec77', class: classes }, h("div", { key: '018d1505c826499fede8542e4edea1bd432745a2', class: "input-with-label" }, h("label", { key: '0f7b0895b3094531f1ba7c58b0ac35fc4cf833fe' }, this.label), h("div", { key: '80e0f63ad7b6dfde0c1125ebfdc7a0c3b2f9e015', class: "input-container" }, h("div", { key: '39db7b9ab38236a377a928e851e239434e587df3', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: 'df49ef171250c53e1e279f43482d22efb1937803', breakpoint: "desktop", bold: true, italic: true, h1: true, h2: true, quote: true, link: true, image: true, bulletList: true, numberList: true })), this.destructive && (h("span", { key: '80d7a7d102c0909cff7f33448e977c4528e4d297', class: "error-icon" }, h("svg", { key: '97b520648be22799e895d721e56c65ea1ca8305c', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'e39b3bd362fa6b51d1a7e5161af7a318a0413550', d: "M7.99483 10H8.00081M8.00016 8V5.33333M14.6668 8C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667C4.31826 14.6667 1.3335 11.6819 1.3335 8C1.3335 4.3181 4.31826 1.33333 8.00016 1.33333C11.6821 1.33333 14.6668 4.3181 14.6668 8Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'fa4959c242750427f1781b71ce79fdae4892e48c', class: "text-container" }, h("textarea", { key: 'f313db4c861bfe6cca0935022faa309c44c794aa' }, this.showPlaceholder && (h("div", { key: 'cd690b853b513963654979f079a83b35bbe7c60f' }, this.placeholder)))))), this.showHintText && (h("div", { key: '40f554515d96c24d9927664f0b173beeef8c6b30', class: "hint-text" }, this.hintText))));
18
+ return (h("div", { key: '0d8200a58987fb62eac8d790f299ad5b48993929', class: classes }, h("div", { key: '9d79e9f212d3c1925b35399a66b5487b50e02096', class: "input-with-label" }, h("label", { key: 'be09dfcf6c7f1e55989ea827613dcf7fc03b4f5e' }, this.label), h("div", { key: 'b5f031b1082b3895ac78ad69ec1af22caee0d2f1', class: "input-container" }, h("div", { key: '3128322f8bb3bae185ad24803ebb94e8d209e322', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '26499c36ac1fa11a4eca71296ed446088d307592', breakpoint: "desktop", bold: true, italic: true, h1: true, h2: true, quote: true, link: true, image: true, bulletList: true, numberList: true })), this.destructive && (h("span", { key: '6a0984852f9ecddcb0fcfa0ed420f20ba1066d05', class: "error-icon" }, h("svg", { key: '434536ac3a21d73ac346f840753c5389a6ddf717', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'b36fb74764238b840fe5ce0a9dfac3cf948360be', d: "M7.99483 10H8.00081M8.00016 8V5.33333M14.6668 8C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667C4.31826 14.6667 1.3335 11.6819 1.3335 8C1.3335 4.3181 4.31826 1.33333 8.00016 1.33333C11.6821 1.33333 14.6668 4.3181 14.6668 8Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'a4d06e7ee84015d64daed98024c8e7d1307245d0', class: "text-container" }, h("textarea", { key: '6037d6664d02be9b635f69c25d6b8dca66551299' }, this.showPlaceholder && (h("div", { key: '2988d9b19313382c2507bf01f4bd34393723c582' }, this.placeholder)))))), this.showHintText && (h("div", { key: 'e793f257699586d4296ecfd19489d4b94139a605', class: "hint-text" }, this.hintText))));
19
19
  }
20
20
  static get is() { return "gb-rich-text"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class GbScrollbar {
4
4
  this.length = '25%';
5
5
  }
6
6
  render() {
7
- return (h("div", { key: '44b7d70b8323b3e856f9006af112bda78483c324', class: "scrollbar-container" }, h("div", { key: '1c9d5f10d57b55aa48ca2c2ed81c854d773fa942', class: "scrollbar", style: { height: this.length } }, h("slot", { key: 'af9a01fb5b96932fbe7221f4aeccd4c7fa0df263' }))));
7
+ return (h("div", { key: 'e14ec278495cd306d4d634763e5b20f784e798e5', class: "scrollbar-container" }, h("div", { key: '621895ee0f466479e78a2148390b164878b6ba47', class: "scrollbar", style: { height: this.length } }, h("slot", { key: '7101803148d2087e1cbf7e07ca553b7e0ae561c3' }))));
8
8
  }
9
9
  static get is() { return "gb-scrollbar"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class GbSideBarItem {
33
33
  render() {
34
34
  const redBarSrc = getAssetPath(`assets/bar.svg`);
35
35
  const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
36
- return (h("div", { key: 'c1628a26d4c637ff8f9d30848df6ea94de473d7c', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '1cde6b3a6193c1c89104b735f4e1a18bfa4e518e', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '85f79bf40dbd9a9ebcbe8fd03d0dd4d180bbf0c9', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: 'adb62aef892911075db1c77e0415e00d2d7449f2', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '5079106b940fe1e035db646da29f0aec4d1f88dd', class: "content" }, h("div", { key: '498a5641bd60817f6bfddea4885d5421a9e37c7e', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '4ea964c9c0c10d7f468c2229ae72461b57d41a5a', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: '245120e9149ba93231baeb8b31b046561bd615c9', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '965b44569b2d7ed63229daaf104d58a144391ec4' }, "10"))), this.showArrow && (h("svg", { key: '63b07bd94b373e3af2212646e516e8d3db3f5cef', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: 'ec5cd1139c6146536b19a75874012e67b058271d', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: 'b5cb775282abac01fc9c289b0471415fc239b511', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '5ef8781427a33e744f6d69f7c89a74a475cc7649', slot: "label" }, this.label)))));
36
+ return (h("div", { key: 'f07693a19ca04c1504ac493a2a45d507aff335f4', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '6c98e470b2fa8a2b049cf0bd778f2a8023087bd3', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'f80516ed721e2ade4738cae81435750afbb8b597', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: 'fd1f86966e5244293a995944d96e5cb086f9ba5a', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: 'fcfcb4e037f50f2ebd3c273c1c03364c452c6805', class: "content" }, h("div", { key: 'd67030663c8d78005a604790a939c3d6588904cc', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '0a8e4a5972d1921723b8e170478a7bc345216bee', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: '7bc9f7aaf51de645e37a8f12ee9ede574510504a', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '38d8ddb6eee3ac5f741d1ebd1dd55647fe35dcf3' }, "10"))), this.showArrow && (h("svg", { key: 'b6b9ae2b2825f8b9c43d2904901a83a67835d92d', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: 'f998bd4dbf4a0fe4c8d224682f45ac642db8ba0f', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: 'a1516a39e6d3b25f2ac704225c3bd0e674fc768a', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '35d62da05a857018b29f30c71ac5e48365f6acb6', slot: "label" }, this.label)))));
37
37
  }
38
38
  static get is() { return "gb-side-bar-item"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -68,7 +68,7 @@ export class GbSidebar {
68
68
  const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
69
69
  const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
70
70
  const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
71
- return (h("div", { key: 'da3a032e009c02fb54d2f6aa16780b8dd40fbecc', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'f3042c4d11194040b50f613d55b4afc0f4432314', class: "pattern" }, h("img", { key: '9247bbe489794bc03458219df74082575ebc4388', src: patternSrc, alt: "" }))), h("div", { key: '03507e516bab36ee2e8db434a067b72d936e67c4', class: "nav" }, h("div", { key: '24fd15866f47dc2a51fd07878dd69c4ad992097f', class: `sidebar_header ${this.state}` }, h("div", { key: 'c168943413d9ba3342b696a4a5f8479c9b1a827d', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: '1f78126d44083893a956a6215c0f8d5696fcddc5', src: logoSrc, alt: "" })), h("div", { key: '40a6f8ec6e809b091eab0c75b7c7ca52618c117c', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '379683f02d2c077fa73dca0899ca6fa8c3d096e5', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '9167d1a0c8b71ba34cd4dfbfdc798cc519fad345', class: "navigation" }, h("div", { key: '8c1bd5aeb13ee92ed0b303615ab67bc11e926a7a', class: "item" }, h("gb-side-bar-item", { key: '26dc9e77335354682841e0c2b79b7aa520fcd01b', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: '797a7260aadca58252cc199bd2298e47f342c5a0', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: 'a43425d4d6d4b63ed16e34e6c4922aa1fd0a1adb', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: '62a6a109dd39ee13558f23f428e52525bdd34d1a', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '2c02d1ea14750aabc056bfbeb2a03d7cd24ddb16', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: 'aba2bdc3e597070a6a06fb5876fcb15f3a7b2939', class: "navigation" }, h("div", { key: '8617d61824b296c745fdc76d9ce3bda81eec9a33', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: 'c68d06c0cd3228f607d24d87efcd3699a45c2126', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '16c536c2082bddff2dea3ddec3a9ec2cf0707296', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: 'ed1fef0be343eb7ff566ec5f00985b59282d2ddd', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: '561b1859d12c444ee2375ffc098d2cf644248197', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: '64c71cdf8b88144a78946a5fa90c2280cdc6b721', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: '1269cb8ba75459f6a7dff86657f91e4876eaf3de', class: "application_name" }, h("div", { key: '68e4fcee290402ff5c45f57c3952402f29ba3732', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '1fda35cb49a01191a9199f8f8b83299440210548', class: "application_name_pattern" }, h("img", { key: 'ae4bf4f615fbd4fea212e59b46c80c633ed190c8', src: patternSrc, alt: "" }))), h("div", { key: 'aa663e749cd2c2fe0f4f7599bb5caf942139760a', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '4eabe394dc04e24593bbaef9593afa8a8f40ea3b', class: textClass }, h("slot", { key: '2dc9ed7222449dfd433e9d9c0d3d4016320a220c', name: "application_name" })))))));
71
+ return (h("div", { key: 'd6d8623be9b6f0ab0c784aa4ec414e3f4802f6b7', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '76e65c0fe18a18206c2859b896179b5ddd866b69', class: "pattern" }, h("img", { key: '733d3afea20db38eada754669399644a5c18c58f', src: patternSrc, alt: "" }))), h("div", { key: '7697847564a64b3394ba84b963a9a72d21f84c82', class: "nav" }, h("div", { key: '8d9e0caa245583c22bf6d00540cdcb5d93edb2a3', class: `sidebar_header ${this.state}` }, h("div", { key: 'b929c9103129af4a86be082e62eb398658c53b1c', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: 'b002d6a981ed50a85edb6fe8681652c7e361cfe1', src: logoSrc, alt: "" })), h("div", { key: 'b22a69b996b23c59e850a7cf1118757d7e1f1565', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'a54db8a9d70ee9bdfad6b6b921cee6e84f083178', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: 'bac69a2e70125363595d5c01b902cba4504f6484', class: "navigation" }, h("div", { key: '3c87c1fea589c990052ebcf9ad124edb32b8bbea', class: "item" }, h("gb-side-bar-item", { key: '0b0b923ca1daecfaa9f0f3bbca81ab76d2129b54', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: 'dcfedb7c8263c14e200a0b8874fd52e3a7e55539', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: '16d19d8c3c94db233ad3139966aae1ba44ff63d0', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: 'a9d0cd9f3e889911dea856909d05a574409ce83c', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '237a53f0f6255ae284fbd8893e4bb1da081e4577', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: 'ffc91e0a5086f2728a28016a6d439a327131e73e', class: "navigation" }, h("div", { key: '5a7abd89ee5912b2978b67eebc07c1184e9697b6', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: 'c30526ff809483dbafb5c1d02e330c769d66f1ce', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '6a3de914aee1829d97c1ccb6d1490b8fe872545d', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: '31c2d80c6e27e3c97ef99885706d66eecd3a0227', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: '45f156cb5a28acf424b4e8fdccd6e6cfb480b302', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: 'bd518809adc178a01a3bcec168cb0be1bc2874fc', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: '5646dcc7769ad1993c72c72f5a70ee99c89ef088', class: "application_name" }, h("div", { key: 'd8f390272f5d3b44cf6f1788fd07ada58de43a19', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '1178e3616309c4fac28a62928a9f59ac1d24b6bf', class: "application_name_pattern" }, h("img", { key: '1cef0265524c70119130d9d00db22c3762d9b8e9', src: patternSrc, alt: "" }))), h("div", { key: '0c4cf336ca56051647b4b2fd4ab7d7689107c63e', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '24cd146b4e9b09c9372c3528b63599d938b00372', class: textClass }, h("slot", { key: 'df94fb774e0e087b89fa896aa8f11f3f2088b57a', name: "application_name" })))))));
72
72
  }
73
73
  static get is() { return "gb-sidebar"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -555,12 +555,29 @@ export class GbSidebar {
555
555
  "attribute": "tenth-item-label",
556
556
  "reflect": false,
557
557
  "defaultValue": "''"
558
+ },
559
+ "activeIndex": {
560
+ "type": "number",
561
+ "mutable": true,
562
+ "complexType": {
563
+ "original": "number",
564
+ "resolved": "number",
565
+ "references": {}
566
+ },
567
+ "required": false,
568
+ "optional": false,
569
+ "docs": {
570
+ "tags": [],
571
+ "text": ""
572
+ },
573
+ "attribute": "active-index",
574
+ "reflect": false,
575
+ "defaultValue": "0"
558
576
  }
559
577
  };
560
578
  }
561
579
  static get states() {
562
580
  return {
563
- "activeIndex": {},
564
581
  "leadingIconSvg": {}
565
582
  };
566
583
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-sidebar.js","sourceRoot":"","sources":["../../../src/components/gb-sidebar/gb-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAQxH,MAAM,OAAO,SAAS;;;;kCAGkB,KAAK;+BACT,EAAE;6BACJ,EAAE;8BACD,EAAE;6BACH,EAAE;8BACD,EAAE;6BACH,EAAE;6BACF,EAAE;+BACA,EAAE;8BACH,EAAE;6BACH,EAAE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kBAAkB;gBAC3B,4DAAK,KAAK,EAAE,WAAW,IAAI,CAAC,QAAQ,EAAE;oBACnC,IAAI,CAAC,QAAQ,KAAK,kBAAkB,IAAI,CACvC,4DAAK,KAAK,EAAC,0BAA0B;wBACnC,4DAAK,GAAG,EAAE,UAAU,EAAE,GAAG,EAAC,EAAE,GAAG,CAC3B,CACP;oBACD,4DAAK,KAAK,EAAE,oBAAoB,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ;oBACvF,6DAAM,KAAK,EAAE,SAAS;wBACpB,6DAAM,IAAI,EAAC,kBAAkB,GAAQ,CAChC,CACH,CACF,CACP,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, Fragment, State, getAssetPath, Method, Event, EventEmitter } from \"@stencil/core\";\r\nimport { GeneralBackgroundCategories } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-sidebar',\r\n styleUrl: 'gb-sidebar.css',\r\n shadow: true,\r\n})\r\nexport class GbSidebar {\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() showSecondCategory: boolean = false;\r\n @Prop() applicationName: string = '';\r\n @Prop() firstItemIcon: string = '';\r\n @Prop() secondItemIcon: string = '';\r\n @Prop() thirdItemIcon: string = '';\r\n @Prop() fourthItemIcon: string = '';\r\n @Prop() fifthItemIcon: string = '';\r\n @Prop() sixthItemIcon: string = '';\r\n @Prop() seventhItemIcon: string = '';\r\n @Prop() eighthItemIcon: string = '';\r\n @Prop() ninthItemIcon: string = '';\r\n @Prop() tenthItemIcon: string = '';\r\n @Prop() iconInstance: string = '';\r\n @Prop() label: string = '';\r\n @Prop() firstItemLabel: string = '';\r\n @Prop() secondItemLabel: string = '';\r\n @Prop() thirdItemLabel: string = '';\r\n @Prop() fourthItemLabel: string = '';\r\n @Prop() fifthItemLabel: string = '';\r\n @Prop() sixthItemLabel: string = '';\r\n @Prop() seventhItemLabel: string = '';\r\n @Prop() eighthItemLabel: string = '';\r\n @Prop() ninthItemLabel: string = '';\r\n @Prop() tenthItemLabel: string = '';\r\n @Element() el: HTMLElement;\r\n @State() activeIndex: number = 0;\r\n @State() leadingIconSvg: string = '';\r\n @Event() sidebarItemClicked: EventEmitter<number>;\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 collapseSideBar() {\r\n if (this.state === 'expanded') {\r\n this.state = 'collapsed';\r\n }\r\n }\r\n\r\n expandSideBar() {\r\n if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n }\r\n\r\n @Method()\r\n async sideBarItemClicked(index: number) {\r\n this.activeIndex = index;\r\n localStorage.setItem('activeIndex', index.toString());\r\n this.sidebarItemClicked.emit(index);\r\n }\r\n\r\n componentDidLoad() {\r\n const applicationName = this.el.querySelector('[slot=\"application_name\"]');\r\n\r\n applicationName.classList.add('text-lg-bold');\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.iconInstance);\r\n const storedIndex = localStorage.getItem('activeIndex');\r\n if (storedIndex !== null) {\r\n this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage\r\n }\r\n }\r\n\r\n render() {\r\n const textClass = this.category === 'plain_background' ? 'plain_background_color' : 'colored_background_color';\r\n const patternSrc = getAssetPath(`assets/pattern_wrapper.svg`);\r\n const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);\r\n const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);\r\n const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);\r\n\r\n return (\r\n <div class={`sidebar_div ${this.state} ${this.category}`}>\r\n {this.category === 'colored_background' && (\r\n <div class=\"pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class=\"nav\">\r\n <div class={`sidebar_header ${this.state}`}>\r\n <div class={`logo_and_name ${this.state}`}>\r\n {this.state === 'expanded' && <>{this.category === 'plain_background' ? <img src={blueLogoSrc} /> : <img src={whiteLogoSrc} />}</>}\r\n {this.state === 'collapsed' && <img src={logoSrc} alt=\"\" />}\r\n </div>\r\n <div class={`collapse_button ${this.state}`}>\r\n <gb-collapse-button\r\n color={this.category === 'plain_background' ? 'gray' : 'white'}\r\n action={this.state === 'collapsed' ? 'expand' : 'collapse'}\r\n onClick={() => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar())}\r\n ></gb-collapse-button>\r\n </div>\r\n </div>\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n <gb-side-bar-item\r\n state={this.activeIndex === 0 ? 'active' : 'default'}\r\n icon={this.firstItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(0)}\r\n label={this.firstItemLabel}\r\n ></gb-side-bar-item>\r\n <gb-side-bar-item\r\n state={this.activeIndex === 1 ? 'active' : 'default'}\r\n icon={this.secondItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(1)}\r\n label={this.secondItemLabel}\r\n ></gb-side-bar-item>\r\n {this.thirdItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 2 ? 'active' : 'default'}\r\n icon={this.thirdItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(2)}\r\n label={this.thirdItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fourthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 3 ? 'active' : 'default'}\r\n icon={this.fourthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(3)}\r\n label={this.fourthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fifthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 4 ? 'active' : 'default'}\r\n icon={this.fifthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(4)}\r\n label={this.fifthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n {this.showSecondCategory && (\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n {this.sixthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 5 ? 'active' : 'default'}\r\n icon={this.sixthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(5)}\r\n label={this.sixthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.seventhItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 6 ? 'active' : 'default'}\r\n icon={this.seventhItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(6)}\r\n label={this.seventhItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.eighthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 7 ? 'active' : 'default'}\r\n icon={this.eighthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(7)}\r\n label={this.eighthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.ninthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 8 ? 'active' : 'default'}\r\n icon={this.ninthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(8)}\r\n label={this.ninthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.tenthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 9 ? 'active' : 'default'}\r\n icon={this.tenthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(9)}\r\n label={this.tenthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n {this.state === 'expanded' && (\r\n <div class=\"application_name\">\r\n <div class={`wrapper ${this.category}`}>\r\n {this.category === 'plain_background' && (\r\n <div class=\"application_name_pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class={`application_icon ${this.category}`} innerHTML={this.leadingIconSvg}></div>\r\n <span class={textClass}>\r\n <slot name=\"application_name\"></slot>\r\n </span>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-sideb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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, Fragment, State, getAssetPath, Method, Event, EventEmitter } from \"@stencil/core\";\r\nimport { GeneralBackgroundCategories } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-sidebar',\r\n styleUrl: 'gb-sidebar.css',\r\n shadow: true,\r\n})\r\nexport class GbSidebar {\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() showSecondCategory: boolean = false;\r\n @Prop() applicationName: string = '';\r\n @Prop() firstItemIcon: string = '';\r\n @Prop() secondItemIcon: string = '';\r\n @Prop() thirdItemIcon: string = '';\r\n @Prop() fourthItemIcon: string = '';\r\n @Prop() fifthItemIcon: string = '';\r\n @Prop() sixthItemIcon: string = '';\r\n @Prop() seventhItemIcon: string = '';\r\n @Prop() eighthItemIcon: string = '';\r\n @Prop() ninthItemIcon: string = '';\r\n @Prop() tenthItemIcon: string = '';\r\n @Prop() iconInstance: string = '';\r\n @Prop() label: string = '';\r\n @Prop() firstItemLabel: string = '';\r\n @Prop() secondItemLabel: string = '';\r\n @Prop() thirdItemLabel: string = '';\r\n @Prop() fourthItemLabel: string = '';\r\n @Prop() fifthItemLabel: string = '';\r\n @Prop() sixthItemLabel: string = '';\r\n @Prop() seventhItemLabel: string = '';\r\n @Prop() eighthItemLabel: string = '';\r\n @Prop() ninthItemLabel: string = '';\r\n @Prop() tenthItemLabel: string = '';\r\n @Element() el: HTMLElement;\r\n @Prop({ mutable: true }) activeIndex: number = 0;\r\n @State() leadingIconSvg: string = '';\r\n @Event() sidebarItemClicked: EventEmitter<number>;\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 collapseSideBar() {\r\n if (this.state === 'expanded') {\r\n this.state = 'collapsed';\r\n }\r\n }\r\n\r\n expandSideBar() {\r\n if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n }\r\n\r\n @Method()\r\n async sideBarItemClicked(index: number) {\r\n this.activeIndex = index;\r\n localStorage.setItem('activeIndex', index.toString());\r\n this.sidebarItemClicked.emit(index);\r\n }\r\n\r\n componentDidLoad() {\r\n const applicationName = this.el.querySelector('[slot=\"application_name\"]');\r\n\r\n applicationName.classList.add('text-lg-bold');\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.iconInstance);\r\n const storedIndex = localStorage.getItem('activeIndex');\r\n if (storedIndex !== null) {\r\n this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage\r\n }\r\n }\r\n\r\n render() {\r\n const textClass = this.category === 'plain_background' ? 'plain_background_color' : 'colored_background_color';\r\n const patternSrc = getAssetPath(`assets/pattern_wrapper.svg`);\r\n const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);\r\n const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);\r\n const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);\r\n\r\n return (\r\n <div class={`sidebar_div ${this.state} ${this.category}`}>\r\n {this.category === 'colored_background' && (\r\n <div class=\"pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class=\"nav\">\r\n <div class={`sidebar_header ${this.state}`}>\r\n <div class={`logo_and_name ${this.state}`}>\r\n {this.state === 'expanded' && <>{this.category === 'plain_background' ? <img src={blueLogoSrc} /> : <img src={whiteLogoSrc} />}</>}\r\n {this.state === 'collapsed' && <img src={logoSrc} alt=\"\" />}\r\n </div>\r\n <div class={`collapse_button ${this.state}`}>\r\n <gb-collapse-button\r\n color={this.category === 'plain_background' ? 'gray' : 'white'}\r\n action={this.state === 'collapsed' ? 'expand' : 'collapse'}\r\n onClick={() => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar())}\r\n ></gb-collapse-button>\r\n </div>\r\n </div>\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n <gb-side-bar-item\r\n state={this.activeIndex === 0 ? 'active' : 'default'}\r\n icon={this.firstItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(0)}\r\n label={this.firstItemLabel}\r\n ></gb-side-bar-item>\r\n <gb-side-bar-item\r\n state={this.activeIndex === 1 ? 'active' : 'default'}\r\n icon={this.secondItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(1)}\r\n label={this.secondItemLabel}\r\n ></gb-side-bar-item>\r\n {this.thirdItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 2 ? 'active' : 'default'}\r\n icon={this.thirdItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(2)}\r\n label={this.thirdItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fourthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 3 ? 'active' : 'default'}\r\n icon={this.fourthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(3)}\r\n label={this.fourthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fifthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 4 ? 'active' : 'default'}\r\n icon={this.fifthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(4)}\r\n label={this.fifthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n {this.showSecondCategory && (\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n {this.sixthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 5 ? 'active' : 'default'}\r\n icon={this.sixthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(5)}\r\n label={this.sixthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.seventhItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 6 ? 'active' : 'default'}\r\n icon={this.seventhItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(6)}\r\n label={this.seventhItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.eighthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 7 ? 'active' : 'default'}\r\n icon={this.eighthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(7)}\r\n label={this.eighthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.ninthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 8 ? 'active' : 'default'}\r\n icon={this.ninthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(8)}\r\n label={this.ninthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.tenthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 9 ? 'active' : 'default'}\r\n icon={this.tenthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(9)}\r\n label={this.tenthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n {this.state === 'expanded' && (\r\n <div class=\"application_name\">\r\n <div class={`wrapper ${this.category}`}>\r\n {this.category === 'plain_background' && (\r\n <div class=\"application_name_pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class={`application_icon ${this.category}`} innerHTML={this.leadingIconSvg}></div>\r\n <span class={textClass}>\r\n <slot name=\"application_name\"></slot>\r\n </span>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -56,7 +56,7 @@ export class GbSlider {
56
56
  this.trackEl.style.width = `${rightPos - leftPos}%`;
57
57
  }
58
58
  render() {
59
- return (h("div", { key: '9aee6afb082b791c7395cee2e5dbc934187c75ef', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: 'f21266cba435e491ea0096d63ebf71bed93c9312', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: '1be2339988998a6e599968c118851859fb74a98f', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: 'a8b36b2aaff46b13fd9d0ed48dc77258dfe7fb73', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
59
+ return (h("div", { key: '3938e9893b6115aae908cd1098798c7a81f583fe', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '995931999026b665b3f5a70a534a5c098d21458e', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: '374bf25ba83353e0ea19ba462ed477c8f024b18e', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '5e6878a78471a79a7a19e124b536991d94c49ea5', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
60
60
  }
61
61
  static get is() { return "gb-slider"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class SliderControlHandle {
19
19
  this.isFocused = false;
20
20
  }
21
21
  render() {
22
- return (h("div", { key: '179883c1bf3a4a178f7df564835c513d8ede4dff', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '92793b0445823ad067279315b395e9570f427539', class: "tooltip-container" }, h("gb-tooltip", { key: 'd3c25e8568880f233b81ef6343e16d8aa70b2a87', arrow: 'none' }, h("p", { key: '527c2ce94586087448bea465974f606b5b900fda', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: 'c2b95e6793ddfca3e52c421ddd697dec377c8fcf', class: "thumb-label" }, this.value, "%"))));
22
+ return (h("div", { key: 'c249184fefa550a57c1ad80d2c61c13d2ae811dd', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '42e365d6244ccf54ebd61e391c82e94b07015fa9', class: "tooltip-container" }, h("gb-tooltip", { key: '1aafbb15e5cc28ab0a361df75a81125d12a26472', arrow: 'none' }, h("p", { key: '599311aed027da259ba15f255a8bda761ffa6e0a', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: '6190476a85acc9e81ca27d336c68be50fb2f85d4', class: "thumb-label" }, this.value, "%"))));
23
23
  }
24
24
  static get is() { return "gb-slider-control-handle"; }
25
25
  static get encapsulation() { return "shadow"; }