globuswebcomponents 0.5.7 → 0.5.8

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 (277) hide show
  1. package/dist/cjs/gb-avatar_33.cjs.entry.js +52 -59
  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-btn/gb-btn.css +7 -8
  25. package/dist/collection/components/gb-btn/gb-btn.js +1 -5
  26. package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
  27. package/dist/collection/components/gb-button/gb-button.css +1 -1
  28. package/dist/collection/components/gb-button/gb-button.js +1 -1
  29. package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
  30. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
  31. package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
  32. package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
  33. package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
  34. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +1 -1
  35. package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
  36. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  37. package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
  38. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  39. package/dist/collection/components/gb-header/gb-header.js +1 -1
  40. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  41. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  42. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  43. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +19 -9
  44. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
  45. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +4 -4
  46. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  47. package/dist/collection/components/gb-input-field/gb-input-field.js +8 -8
  48. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  49. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  50. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +4 -4
  51. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  52. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  53. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  54. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  55. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  56. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  57. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  58. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  59. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  60. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  61. package/dist/collection/components/gb-sidebar/gb-sidebar.js +19 -2
  62. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  63. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  64. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  65. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  66. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  67. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  68. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  69. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  70. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  71. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  72. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  73. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  74. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  75. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  76. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  77. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  78. package/dist/components/gb-avatar-add-button.js +1 -1
  79. package/dist/components/gb-avatar-dropdown.js +6 -6
  80. package/dist/components/gb-avatar-group.js +4 -4
  81. package/dist/components/gb-avatar-label-group.js +1 -1
  82. package/dist/components/gb-avatar-profile-photo.js +2 -2
  83. package/dist/components/gb-avatar.js +1 -1
  84. package/dist/components/gb-badge.js +1 -1
  85. package/dist/components/gb-btn.js +1 -1
  86. package/dist/components/gb-button-close.js +1 -1
  87. package/dist/components/gb-button.js +1 -1
  88. package/dist/components/gb-carousel-arrow.js +1 -1
  89. package/dist/components/gb-checkbox-base.js +1 -1
  90. package/dist/components/gb-checkbox-group-item.js +1 -1
  91. package/dist/components/gb-checkbox-group.js +7 -7
  92. package/dist/components/gb-checkbox.js +1 -1
  93. package/dist/components/gb-collapse-button.js +1 -1
  94. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  95. package/dist/components/gb-file-upload-item-base.js +1 -1
  96. package/dist/components/gb-file-upload.js +14 -14
  97. package/dist/components/gb-header-icon.js +1 -1
  98. package/dist/components/gb-header.js +4 -4
  99. package/dist/components/gb-help-dropdown.js +4 -4
  100. package/dist/components/gb-help-tooltip.js +1 -1
  101. package/dist/components/gb-horizontal-tabs.js +6 -9
  102. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  103. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  104. package/dist/components/gb-input-dropdown.js +1 -1
  105. package/dist/components/gb-input-field.js +13 -13
  106. package/dist/components/gb-megainput-field.js +1 -1
  107. package/dist/components/gb-notification-content.js +1 -1
  108. package/dist/components/gb-notification-pane.js +6 -6
  109. package/dist/components/gb-pagination-button-group-base.js +1 -1
  110. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  111. package/dist/components/gb-pagination-number-base.js +1 -1
  112. package/dist/components/gb-pagination.js +2 -2
  113. package/dist/components/gb-password-button.js +1 -1
  114. package/dist/components/gb-progress-bar.js +1 -1
  115. package/dist/components/gb-progress-circle.js +1 -1
  116. package/dist/components/gb-rich-text.js +14 -14
  117. package/dist/components/gb-scrollbar.js +1 -1
  118. package/dist/components/gb-side-bar-item.js +1 -1
  119. package/dist/components/gb-sidebar.js +8 -8
  120. package/dist/components/gb-sidebar.js.map +1 -1
  121. package/dist/components/gb-slider-control-handle.js +1 -1
  122. package/dist/components/gb-slider.js +3 -3
  123. package/dist/components/gb-status-indicator.js +1 -1
  124. package/dist/components/gb-tab-button-base.js +1 -1
  125. package/dist/components/gb-tag-checkbox.js +1 -1
  126. package/dist/components/gb-tag-close.js +1 -1
  127. package/dist/components/gb-tag-count.js +1 -1
  128. package/dist/components/gb-tag.js +1 -1
  129. package/dist/components/gb-toast-button.js +1 -1
  130. package/dist/components/gb-toast.js +4 -4
  131. package/dist/components/gb-toggle-base.js +1 -1
  132. package/dist/components/gb-toggle.js +2 -2
  133. package/dist/components/gb-token-field.js +2 -2
  134. package/dist/components/gb-tooltip.js +1 -1
  135. package/dist/components/gb-verification-code-field.js +3 -3
  136. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  137. package/dist/components/{p-fe4b2f05.js → p-0606ed36.js} +2 -2
  138. package/dist/components/{p-fe4b2f05.js.map → p-0606ed36.js.map} +1 -1
  139. package/dist/components/{p-4b72e4f1.js → p-06d8a9d5.js} +13 -13
  140. package/dist/components/{p-4b72e4f1.js.map → p-06d8a9d5.js.map} +1 -1
  141. package/dist/components/{p-e515e45a.js → p-098f9b9a.js} +6 -6
  142. package/dist/components/{p-e515e45a.js.map → p-098f9b9a.js.map} +1 -1
  143. package/dist/components/{p-bbd48308.js → p-0d096363.js} +2 -2
  144. package/dist/components/{p-bbd48308.js.map → p-0d096363.js.map} +1 -1
  145. package/dist/components/{p-9a517223.js → p-1681afeb.js} +2 -2
  146. package/dist/components/{p-9a517223.js.map → p-1681afeb.js.map} +1 -1
  147. package/dist/components/{p-6bf1d358.js → p-17eacbff.js} +3 -3
  148. package/dist/components/{p-6bf1d358.js.map → p-17eacbff.js.map} +1 -1
  149. package/dist/components/{p-142959f8.js → p-1c970846.js} +6 -6
  150. package/dist/components/{p-142959f8.js.map → p-1c970846.js.map} +1 -1
  151. package/dist/components/{p-2c75f197.js → p-1d145a60.js} +3 -3
  152. package/dist/components/p-1d145a60.js.map +1 -0
  153. package/dist/components/{p-d3743c43.js → p-41936911.js} +5 -5
  154. package/dist/components/{p-d3743c43.js.map → p-41936911.js.map} +1 -1
  155. package/dist/components/{p-8c6ded40.js → p-4bc83f8c.js} +2 -2
  156. package/dist/components/{p-8c6ded40.js.map → p-4bc83f8c.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-6c37855a.js → p-53456498.js} +16 -16
  160. package/dist/components/{p-6c37855a.js.map → p-53456498.js.map} +1 -1
  161. package/dist/components/{p-aca58fe1.js → p-58bf43b2.js} +7 -7
  162. package/dist/components/{p-aca58fe1.js.map → p-58bf43b2.js.map} +1 -1
  163. package/dist/components/{p-2478c976.js → p-58de7a89.js} +2 -2
  164. package/dist/components/{p-2478c976.js.map → p-58de7a89.js.map} +1 -1
  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-0c209698.js → p-7b30965d.js} +3 -3
  168. package/dist/components/{p-0c209698.js.map → p-7b30965d.js.map} +1 -1
  169. package/dist/components/{p-782b2cb5.js → p-856678f0.js} +2 -2
  170. package/dist/components/{p-782b2cb5.js.map → p-856678f0.js.map} +1 -1
  171. package/dist/components/{p-8fcae61e.js → p-8db42ffe.js} +7 -7
  172. package/dist/components/{p-8fcae61e.js.map → p-8db42ffe.js.map} +1 -1
  173. package/dist/components/{p-aa0b93ff.js → p-997e9613.js} +3 -3
  174. package/dist/components/{p-aa0b93ff.js.map → p-997e9613.js.map} +1 -1
  175. package/dist/components/{p-b2152e03.js → p-a186498c.js} +2 -2
  176. package/dist/components/{p-b2152e03.js.map → p-a186498c.js.map} +1 -1
  177. package/dist/components/{p-956d5649.js → p-a731ecbc.js} +4 -4
  178. package/dist/components/{p-956d5649.js.map → p-a731ecbc.js.map} +1 -1
  179. package/dist/components/{p-fd8a5c33.js → p-aab93700.js} +7 -7
  180. package/dist/components/{p-fd8a5c33.js.map → p-aab93700.js.map} +1 -1
  181. package/dist/components/{p-1ca1b31c.js → p-ac032422.js} +3 -7
  182. package/dist/components/p-ac032422.js.map +1 -0
  183. package/dist/components/{p-93e3a3c7.js → p-ae036e88.js} +3 -3
  184. package/dist/components/{p-93e3a3c7.js.map → p-ae036e88.js.map} +1 -1
  185. package/dist/components/{p-c89f3451.js → p-af734f53.js} +2 -2
  186. package/dist/components/{p-c89f3451.js.map → p-af734f53.js.map} +1 -1
  187. package/dist/components/{p-27d34517.js → p-b1802a6c.js} +7 -7
  188. package/dist/components/{p-27d34517.js.map → p-b1802a6c.js.map} +1 -1
  189. package/dist/components/{p-10375435.js → p-c6769004.js} +3 -3
  190. package/dist/components/{p-10375435.js.map → p-c6769004.js.map} +1 -1
  191. package/dist/components/{p-5423ce2a.js → p-c834b6bf.js} +2 -2
  192. package/dist/components/{p-5423ce2a.js.map → p-c834b6bf.js.map} +1 -1
  193. package/dist/components/{p-f62c294e.js → p-cfbf0c2e.js} +3 -3
  194. package/dist/components/{p-f62c294e.js.map → p-cfbf0c2e.js.map} +1 -1
  195. package/dist/components/{p-34f8083d.js → p-d322d026.js} +5 -5
  196. package/dist/components/{p-34f8083d.js.map → p-d322d026.js.map} +1 -1
  197. package/dist/components/{p-3150b70f.js → p-d740012c.js} +3 -3
  198. package/dist/components/{p-3150b70f.js.map → p-d740012c.js.map} +1 -1
  199. package/dist/components/{p-83596f06.js → p-eaa5283c.js} +3 -3
  200. package/dist/components/{p-83596f06.js.map → p-eaa5283c.js.map} +1 -1
  201. package/dist/components/{p-21b1896a.js → p-f65c92ac.js} +4 -4
  202. package/dist/components/{p-21b1896a.js.map → p-f65c92ac.js.map} +1 -1
  203. package/dist/esm/gb-avatar_33.entry.js +52 -59
  204. package/dist/esm/gb-avatar_33.entry.js.map +1 -1
  205. package/dist/esm/gb-button-close_2.entry.js +2 -2
  206. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  207. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  208. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  209. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  210. package/dist/esm/gb-file-upload.entry.js +9 -9
  211. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  212. package/dist/esm/gb-megainput-field.entry.js +2 -2
  213. package/dist/esm/gb-progress-circle.entry.js +1 -1
  214. package/dist/esm/gb-rich-text.entry.js +1 -1
  215. package/dist/esm/gb-scrollbar.entry.js +1 -1
  216. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  217. package/dist/esm/gb-slider.entry.js +1 -1
  218. package/dist/esm/gb-toast-button.entry.js +1 -1
  219. package/dist/esm/gb-toast.entry.js +1 -1
  220. package/dist/esm/gb-toggle-base.entry.js +2 -2
  221. package/dist/esm/gb-toggle.entry.js +1 -1
  222. package/dist/esm/gb-token-field.entry.js +1 -1
  223. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  224. package/dist/esm/globuscomponents.js +1 -1
  225. package/dist/esm/loader.js +1 -1
  226. package/dist/globuscomponents/gb-button.css +1 -1
  227. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  228. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  229. package/dist/globuscomponents/{p-7d8d04a6.entry.js → p-099f0198.entry.js} +2 -2
  230. package/dist/globuscomponents/{p-1c4be13a.entry.js → p-0cc29bc9.entry.js} +2 -2
  231. package/dist/globuscomponents/{p-c29d37f2.entry.js → p-213b797b.entry.js} +2 -2
  232. package/dist/globuscomponents/{p-176cb172.entry.js → p-2fe41980.entry.js} +2 -2
  233. package/dist/globuscomponents/{p-3e1362b1.entry.js → p-32c4a3d1.entry.js} +2 -2
  234. package/dist/globuscomponents/{p-1f3fd982.entry.js → p-3ead3cb9.entry.js} +2 -2
  235. package/dist/globuscomponents/{p-09940449.entry.js → p-408fa2e8.entry.js} +2 -2
  236. package/dist/globuscomponents/{p-249a5c36.entry.js → p-5b54d63f.entry.js} +2 -2
  237. package/dist/globuscomponents/{p-765a6169.entry.js → p-67af3494.entry.js} +2 -2
  238. package/dist/globuscomponents/p-70484be9.entry.js +2 -0
  239. package/dist/globuscomponents/{p-378b4ddf.entry.js → p-7583e7a9.entry.js} +2 -2
  240. package/dist/globuscomponents/{p-4cfd3af1.entry.js → p-7d0f577a.entry.js} +2 -2
  241. package/dist/globuscomponents/p-81424559.entry.js +2 -0
  242. package/dist/globuscomponents/{p-b30837ed.entry.js → p-955169b6.entry.js} +2 -2
  243. package/dist/globuscomponents/{p-573ad694.entry.js → p-9686966d.entry.js} +2 -2
  244. package/dist/globuscomponents/p-9f351ab5.entry.js +2 -0
  245. package/dist/globuscomponents/{p-7fcd797a.entry.js → p-aa9888fa.entry.js} +2 -2
  246. package/dist/globuscomponents/p-aa9888fa.entry.js.map +1 -0
  247. package/dist/globuscomponents/{p-d3d02c64.entry.js → p-b9119833.entry.js} +2 -2
  248. package/dist/globuscomponents/{p-fecda0ed.entry.js → p-d62aeed0.entry.js} +2 -2
  249. package/dist/globuscomponents/{p-d7fac479.entry.js → p-e1f35913.entry.js} +2 -2
  250. package/dist/types/components/gb-btn/gb-btn.d.ts +0 -1
  251. package/dist/types/components.d.ts +4 -0
  252. package/package.json +1 -1
  253. package/dist/components/p-1ca1b31c.js.map +0 -1
  254. package/dist/components/p-2c75f197.js.map +0 -1
  255. package/dist/globuscomponents/p-3d8baf6c.entry.js +0 -2
  256. package/dist/globuscomponents/p-43764cd5.entry.js +0 -2
  257. package/dist/globuscomponents/p-7fcd797a.entry.js.map +0 -1
  258. package/dist/globuscomponents/p-a2bbca88.entry.js +0 -2
  259. /package/dist/globuscomponents/{p-7d8d04a6.entry.js.map → p-099f0198.entry.js.map} +0 -0
  260. /package/dist/globuscomponents/{p-1c4be13a.entry.js.map → p-0cc29bc9.entry.js.map} +0 -0
  261. /package/dist/globuscomponents/{p-c29d37f2.entry.js.map → p-213b797b.entry.js.map} +0 -0
  262. /package/dist/globuscomponents/{p-176cb172.entry.js.map → p-2fe41980.entry.js.map} +0 -0
  263. /package/dist/globuscomponents/{p-3e1362b1.entry.js.map → p-32c4a3d1.entry.js.map} +0 -0
  264. /package/dist/globuscomponents/{p-1f3fd982.entry.js.map → p-3ead3cb9.entry.js.map} +0 -0
  265. /package/dist/globuscomponents/{p-09940449.entry.js.map → p-408fa2e8.entry.js.map} +0 -0
  266. /package/dist/globuscomponents/{p-249a5c36.entry.js.map → p-5b54d63f.entry.js.map} +0 -0
  267. /package/dist/globuscomponents/{p-765a6169.entry.js.map → p-67af3494.entry.js.map} +0 -0
  268. /package/dist/globuscomponents/{p-3d8baf6c.entry.js.map → p-70484be9.entry.js.map} +0 -0
  269. /package/dist/globuscomponents/{p-378b4ddf.entry.js.map → p-7583e7a9.entry.js.map} +0 -0
  270. /package/dist/globuscomponents/{p-4cfd3af1.entry.js.map → p-7d0f577a.entry.js.map} +0 -0
  271. /package/dist/globuscomponents/{p-a2bbca88.entry.js.map → p-81424559.entry.js.map} +0 -0
  272. /package/dist/globuscomponents/{p-b30837ed.entry.js.map → p-955169b6.entry.js.map} +0 -0
  273. /package/dist/globuscomponents/{p-573ad694.entry.js.map → p-9686966d.entry.js.map} +0 -0
  274. /package/dist/globuscomponents/{p-43764cd5.entry.js.map → p-9f351ab5.entry.js.map} +0 -0
  275. /package/dist/globuscomponents/{p-d3d02c64.entry.js.map → p-b9119833.entry.js.map} +0 -0
  276. /package/dist/globuscomponents/{p-fecda0ed.entry.js.map → p-d62aeed0.entry.js.map} +0 -0
  277. /package/dist/globuscomponents/{p-d7fac479.entry.js.map → p-e1f35913.entry.js.map} +0 -0
@@ -38,12 +38,9 @@ export class GbHorizontalTabs {
38
38
  if (storedIndex !== null) {
39
39
  this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage
40
40
  }
41
- else if (storedIndex === null) {
42
- this.activeIndex = 0;
43
- }
44
41
  }
45
42
  render() {
46
- return (h("div", { key: 'b277ac2cd8f6092af23350d65d1819242f2b2ffe', class: `horizontal_tab_div ${this.type} ${this.breakpoint} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: '2c1ca643ea73b49727f22f3169b90196ff53198f', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName }), h("gb-tab-button-base", { key: 'ac038cfb4b4647a36bd92d70128ea16b6e9ec058', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName }), this.thirdTab && (h("gb-tab-button-base", { key: '18b13f3fe90af0b0f37d043b2d01d179b6517d1a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName })), this.fourthTab && (h("gb-tab-button-base", { key: '1ac629b5f117905cbfd195ca25bc6945a6e9bb98', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName })), this.fifthTab && (h("gb-tab-button-base", { key: 'dc6cca352183419ab1e6c4457502112096b3754b', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName })), this.sixthTab && (h("gb-tab-button-base", { key: '29e4b945a1b39686f356afca6887a11f0345ca9a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName })), this.seventhTab && (h("gb-tab-button-base", { key: '220dda5edbbab8e2ff8676c61ed859d8bcc20446', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName })), this.eighthTab && (h("gb-tab-button-base", { key: '3043aeb7e622985844dcae82bc3ea2a28967f4d0', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName })), this.ninthTab && (h("gb-tab-button-base", { key: '71941b4487214ac7ea2b4daacb0cf381395721d0', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName })), this.tenthTab && (h("gb-tab-button-base", { key: '2c250adb5a780e1135fc39431dff5413156d82dd', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName }))));
43
+ return (h("div", { key: '7e2834cc67738fc6c244d467423adf61b1e7dca9', class: `horizontal_tab_div ${this.type} ${this.breakpoint} ${this.fullWidth ? 'full_width' : ''}` }, h("gb-tab-button-base", { key: 'f6feedf87892b4b896263832af5463f87f021ce7', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(0), current: this.activeIndex === 0, "tab-name": this.firstTabName }), h("gb-tab-button-base", { key: '7fb94a5f61650e80fdf1b73f276dc3cc98de381d', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(1), current: this.activeIndex === 1, "tab-name": this.secondTabName }), this.thirdTab && (h("gb-tab-button-base", { key: 'bbbe7b8577ffbc5dd58a36b830b9fb4a94cad978', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(2), current: this.activeIndex === 2, "tab-name": this.thirdTabName })), this.fourthTab && (h("gb-tab-button-base", { key: '1b57e018303e1fd8aa2b4de5a6d7e6d1f51914a1', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(3), current: this.activeIndex === 3, "tab-name": this.fourthTabName })), this.fifthTab && (h("gb-tab-button-base", { key: '68aef24c49ac3c63c677a2603db05522fdfc148a', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(4), current: this.activeIndex === 4, "tab-name": this.fifthTabName })), this.sixthTab && (h("gb-tab-button-base", { key: 'b4213723a9d985edac4de6833341e3a58bc22e7b', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(5), current: this.activeIndex === 5, "tab-name": this.sixthTabName })), this.seventhTab && (h("gb-tab-button-base", { key: '3233a663bc388e1624491d64f6442b84097ce2c2', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(6), current: this.activeIndex === 6, "tab-name": this.seventhTabName })), this.eighthTab && (h("gb-tab-button-base", { key: '8c11007a69f86e38d97bd7abfc7bd8b6f8a6d054', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(7), current: this.activeIndex === 7, "tab-name": this.eighthTabName })), this.ninthTab && (h("gb-tab-button-base", { key: '908bb32c701a0bd56ba447513831191963897c6f', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(8), current: this.activeIndex === 8, "tab-name": this.ninthTabName })), this.tenthTab && (h("gb-tab-button-base", { key: 'ed2dbd1d141395122c6d9eba09b0dc3c886b35e6', class: `tab_button_base ${this.fullWidth ? 'full_width' : ''}`, size: this.size, "full-width": this.fullWidth, type: this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type, onClick: () => this.handleTabClick(9), current: this.activeIndex === 9, "tab-name": this.tenthTabName }))));
47
44
  }
48
45
  static get is() { return "gb-horizontal-tabs"; }
49
46
  static get encapsulation() { return "shadow"; }
@@ -469,14 +466,27 @@ export class GbHorizontalTabs {
469
466
  "attribute": "tenth-tab-name",
470
467
  "reflect": false,
471
468
  "defaultValue": "''"
469
+ },
470
+ "activeIndex": {
471
+ "type": "number",
472
+ "mutable": true,
473
+ "complexType": {
474
+ "original": "number",
475
+ "resolved": "number",
476
+ "references": {}
477
+ },
478
+ "required": false,
479
+ "optional": false,
480
+ "docs": {
481
+ "tags": [],
482
+ "text": ""
483
+ },
484
+ "attribute": "active-index",
485
+ "reflect": false,
486
+ "defaultValue": "0"
472
487
  }
473
488
  };
474
489
  }
475
- static get states() {
476
- return {
477
- "activeIndex": {}
478
- };
479
- }
480
490
  static get events() {
481
491
  return [{
482
492
  "method": "tabItemClicked",
@@ -1 +1 @@
1
- {"version":3,"file":"gb-horizontal-tabs.js","sourceRoot":"","sources":["../../../src/components/gb-horizontal-tabs/gb-horizontal-tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAS/E,MAAM,OAAO,gBAAgB;;;;yBAGE,KAAK;;wBAEN,KAAK;yBACJ,KAAK;wBACN,KAAK;wBACL,KAAK;0BACH,KAAK;yBACN,KAAK;wBACN,KAAK;wBACL,KAAK;4BACF,EAAE;6BACD,EAAE;4BACH,EAAE;6BACD,EAAE;4BACH,EAAE;4BACF,EAAE;8BACA,EAAE;6BACH,EAAE;4BACH,EAAE;4BACF,EAAE;2BACF,CAAC;;IAGhC,K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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, State, h } from \"@stencil/core\";\r\nimport { BreakPoints, GeneralSizes, TabTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-horizontal-tabs',\r\n styleUrl: 'gb-horizontal-tabs.css',\r\n shadow: true,\r\n})\r\n\r\nexport class GbHorizontalTabs {\r\n @Prop() type: TabTypes;\r\n @Prop() size: GeneralSizes;\r\n @Prop() fullWidth: boolean = false;\r\n @Prop() breakpoint: BreakPoints;\r\n @Prop() thirdTab: boolean = false;\r\n @Prop() fourthTab: boolean = false;\r\n @Prop() fifthTab: boolean = false;\r\n @Prop() sixthTab: boolean = false;\r\n @Prop() seventhTab: boolean = false;\r\n @Prop() eighthTab: boolean = false;\r\n @Prop() ninthTab: boolean = false;\r\n @Prop() tenthTab: boolean = false;\r\n @Prop() firstTabName: string = '';\r\n @Prop() secondTabName: string = '';\r\n @Prop() thirdTabName: string = '';\r\n @Prop() fourthTabName: string = '';\r\n @Prop() fifthTabName: string = '';\r\n @Prop() sixthTabName: string = '';\r\n @Prop() seventhTabName: string = '';\r\n @Prop() eighthTabName: string = '';\r\n @Prop() ninthTabName: string = '';\r\n @Prop() tenthTabName: string = '';\r\n @State() activeIndex: number = 0;\r\n @Event() tabItemClicked: EventEmitter<number>;\r\n\r\n async handleTabClick(index: number) {\r\n this.activeIndex = index;\r\n localStorage.setItem('activeIndex', index.toString());\r\n this.tabItemClicked.emit(index);\r\n }\r\n\r\n // componentDidLoad() {\r\n // this.activeIndex = 0;\r\n // }\r\n\r\n componentWillLoad() {\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 } else if(storedIndex === null){\r\n this.activeIndex = 0;\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`horizontal_tab_div ${this.type} ${this.breakpoint} ${this.fullWidth ? 'full_width' : ''}`}>\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(0)}\r\n current={this.activeIndex === 0}\r\n tab-name={this.firstTabName}\r\n ></gb-tab-button-base>\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(1)}\r\n current={this.activeIndex === 1}\r\n tab-name={this.secondTabName}\r\n ></gb-tab-button-base>\r\n {this.thirdTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(2)}\r\n current={this.activeIndex === 2}\r\n tab-name={this.thirdTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.fourthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(3)}\r\n current={this.activeIndex === 3}\r\n tab-name={this.fourthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.fifthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(4)}\r\n current={this.activeIndex === 4}\r\n tab-name={this.fifthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.sixthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(5)}\r\n current={this.activeIndex === 5}\r\n tab-name={this.sixthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.seventhTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(6)}\r\n current={this.activeIndex === 6}\r\n tab-name={this.seventhTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.eighthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(7)}\r\n current={this.activeIndex === 7}\r\n tab-name={this.eighthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.ninthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(8)}\r\n current={this.activeIndex === 8}\r\n tab-name={this.ninthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.tenthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(9)}\r\n current={this.activeIndex === 9}\r\n tab-name={this.tenthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-horizontal-tabs.js","sourceRoot":"","sources":["../../../src/components/gb-horizontal-tabs/gb-horizontal-tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AASxE,MAAM,OAAO,gBAAgB;;;;yBAGE,KAAK;;wBAEN,KAAK;yBACJ,KAAK;wBACN,KAAK;wBACL,KAAK;0BACH,KAAK;yBACN,KAAK;wBACN,KAAK;wBACL,KAAK;4BACF,EAAE;6BACD,EAAE;4BACH,EAAE;6BACD,EAAE;4BACH,EAAE;4BACF,EAAE;8BACA,EAAE;6BACH,EAAE;4BACH,EAAE;4BACF,EAAE;2BACc,CAAC;;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport { BreakPoints, GeneralSizes, TabTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-horizontal-tabs',\r\n styleUrl: 'gb-horizontal-tabs.css',\r\n shadow: true,\r\n})\r\n\r\nexport class GbHorizontalTabs {\r\n @Prop() type: TabTypes;\r\n @Prop() size: GeneralSizes;\r\n @Prop() fullWidth: boolean = false;\r\n @Prop() breakpoint: BreakPoints;\r\n @Prop() thirdTab: boolean = false;\r\n @Prop() fourthTab: boolean = false;\r\n @Prop() fifthTab: boolean = false;\r\n @Prop() sixthTab: boolean = false;\r\n @Prop() seventhTab: boolean = false;\r\n @Prop() eighthTab: boolean = false;\r\n @Prop() ninthTab: boolean = false;\r\n @Prop() tenthTab: boolean = false;\r\n @Prop() firstTabName: string = '';\r\n @Prop() secondTabName: string = '';\r\n @Prop() thirdTabName: string = '';\r\n @Prop() fourthTabName: string = '';\r\n @Prop() fifthTabName: string = '';\r\n @Prop() sixthTabName: string = '';\r\n @Prop() seventhTabName: string = '';\r\n @Prop() eighthTabName: string = '';\r\n @Prop() ninthTabName: string = '';\r\n @Prop() tenthTabName: string = '';\r\n @Prop({ mutable: true }) activeIndex: number = 0;\r\n @Event() tabItemClicked: EventEmitter<number>;\r\n\r\n async handleTabClick(index: number) {\r\n this.activeIndex = index;\r\n localStorage.setItem('activeIndex', index.toString());\r\n this.tabItemClicked.emit(index);\r\n }\r\n\r\n // componentDidLoad() {\r\n // this.activeIndex = 0;\r\n // }\r\n\r\n componentWillLoad() {\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 return (\r\n <div class={`horizontal_tab_div ${this.type} ${this.breakpoint} ${this.fullWidth ? 'full_width' : ''}`}>\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(0)}\r\n current={this.activeIndex === 0}\r\n tab-name={this.firstTabName}\r\n ></gb-tab-button-base>\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(1)}\r\n current={this.activeIndex === 1}\r\n tab-name={this.secondTabName}\r\n ></gb-tab-button-base>\r\n {this.thirdTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(2)}\r\n current={this.activeIndex === 2}\r\n tab-name={this.thirdTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.fourthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(3)}\r\n current={this.activeIndex === 3}\r\n tab-name={this.fourthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.fifthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(4)}\r\n current={this.activeIndex === 4}\r\n tab-name={this.fifthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.sixthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(5)}\r\n current={this.activeIndex === 5}\r\n tab-name={this.sixthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.seventhTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(6)}\r\n current={this.activeIndex === 6}\r\n tab-name={this.seventhTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.eighthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(7)}\r\n current={this.activeIndex === 7}\r\n tab-name={this.eighthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.ninthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(8)}\r\n current={this.activeIndex === 8}\r\n tab-name={this.ninthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.tenthTab && (\r\n <gb-tab-button-base\r\n class={`tab_button_base ${this.fullWidth ? 'full_width' : ''}`}\r\n size={this.size}\r\n full-width={this.fullWidth}\r\n type={this.type === 'button_white_border' ? 'button_white' : this.type === 'rounded_button_white_border' ? 'rounded_button_white' : this.type}\r\n onClick={() => this.handleTabClick(9)}\r\n current={this.activeIndex === 9}\r\n tab-name={this.tenthTabName}\r\n ></gb-tab-button-base>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -137,12 +137,12 @@ export class GbInputDropdown {
137
137
  },
138
138
  ];
139
139
  return [
140
- h("div", { key: '85dfe24cf7c1724c665598e9ffe7fb68956a40c5', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`, onClick: () => this.toggleDropdown() }, this.showLabel && (h("p", { key: 'a2b89dc1511635ab26f71c75d8313b38845b1099', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: '692e14e0f06dd85139a3d6f2343212ea51e85826', class: `input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}` }, this.type === 'icon_leading' && (h("svg", { key: 'd5f5417fd89920600cfc3daf411295f44980bf77', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '005bd3a6660873d07a8d296b019df7bee0c2e913', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: 'aa0da3ef39556d19f11172072e03221dcd085330', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'fd77001e3369bad415cb288917fc49511b0d65a5', size: "xs", text: this.text, color: "blue" }, !this.text ? h("slot", { slot: "image", name: "image" }) : h("slot", { slot: "initials", name: "initials" }))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: 'c77240673dff7dcfc46b526bc42728ea642de0cb', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'e2a715a4692c38005f6198f75729628e0c5bfc3c', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: '986b8823401b9d57c15a3dda761dc540ab2ed20a', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("p", { key: '529f0ff457dd695314ffa642ad7d4ed95ca2f5a3', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder)))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '1116c91ca6764938e5f4fdb32f061df743d9969b', class: `content` }, h("div", { key: 'fa6e0c2331de7c2e2873561d4fb40b938ebd916a', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags'
140
+ h("div", { key: '8e097eb054224afad356abd245f265ae9cc04564', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`, onClick: () => this.toggleDropdown() }, this.showLabel && (h("p", { key: 'f06e8c23fb1ce8678e817cf0764f43db45313b3c', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: 'ceb69ff72ff9fa26fcf917f70b006126b1fff285', class: `input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}` }, this.type === 'icon_leading' && (h("svg", { key: '15739fba4a442826fcd821023af1c55dc37e4c63', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '90ba7deef1f2f8682be22f4967c4e4c4f1a09fc9', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: '91b14aee9660b791787b4d6189bf4a7f411aa86f', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'd2e8211b76d267ca45e4e074723c44f91621437a', size: "xs", text: this.text, color: "blue" }, !this.text ? h("slot", { slot: "image", name: "image" }) : h("slot", { slot: "initials", name: "initials" }))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: '1e8321f03d2bac8a6010e0d1b59f117533604ed6', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'fec220d98fff1f334e00de77f136a782cc305fc5', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: 'b490463ce2e9ce67e4eff90b6e56f6c90cdf68a8', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("p", { key: 'c886418dc55100310fc37e8da763623b23f5a2a3', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder)))), this.state === 'filled' && (h(Fragment, null, h("div", { key: 'f7983a88efd40f7e358271de0b21b02a55a01de6', class: `content` }, h("div", { key: '0f698c2ef9c4c435ac8fb73202f982a07c8e9ef9', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags'
141
141
  ? this.selectedItems.map((item, index) => (h("div", { class: "added_tag" }, h("gb-tag", { size: "sm", icon: "avatar", action: "X_close", key: index, onClick: () => this.handleTagRemove(item) }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase()))))))
142
- : this.selectedItem.name), this.supportingText && (h("div", { key: '420958accf3d15843b54e3a48eadc0cf72f1c534', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type === 'tags'
142
+ : this.selectedItem.name), this.supportingText && (h("div", { key: '80d4a017c079705ce396fb81d3e730e0b98ae33a', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type === 'tags'
143
143
  ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections
144
- : this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: 'f7392c472f2a003a4870be139fbf7725082a1228', class: `help_icon` }, h("gb-help-tooltip", { key: 'f96aaffad85085614d512471facc159fbb904281', "show-supporting-text": true }, h("slot", { key: '0bcdefd2607917c8cf8aef5e7e48e640d9bf042e', name: "tooltip_label", slot: "label" }), h("slot", { key: '81692fda5bef9a6fb62cd2e1dae858e45a6d21a7', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '389f90dae9fc00635389997706cc7c084ad55118', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: 'a05b4295e511b6c1a6603d38cbed3436c28b90f8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '9652affdc8dbd188085aab1483b364088ec00541', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showHintText && (h("p", { key: 'eac47724d1a6a41ad6ff54b82f6758fb0476f22e', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))),
145
- h(Fragment, null, this.dropdownOpen && (h("div", { key: '9c21caac96454bf5bb31541b1464210ef343b115', class: "dropdown_menu", ref: el => (this.dropdownRef = el) }, items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username))))))),
144
+ : this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: '1f00fa58faee76b5f024dcb6abd7be99bdf89bd5', class: `help_icon` }, h("gb-help-tooltip", { key: '065c4262d724e19d83322db9f1cbe99e74effca3', "show-supporting-text": true }, h("slot", { key: '1d7f77c03186399ac45c71dbdab723c8434a9259', name: "tooltip_label", slot: "label" }), h("slot", { key: '3a73cabc64b0b37862e8e5e6d344bcd43dfd158f', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '7c79ed38a96eef785ddc8df01d227cefb82ca310', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: 'cc8f23dc5b504467d97d7c5707a8e3494cad7105', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '6e2f244e59a9941ff5c359d32d75dc11a50c2ad4', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showHintText && (h("p", { key: 'f224720930d8915ee44bdd373eef5ad66f20443d', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))),
145
+ h(Fragment, null, this.dropdownOpen && (h("div", { key: '3bc5045176e39be789892911312e4e6831715a21', class: "dropdown_menu", ref: el => (this.dropdownRef = el) }, items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username))))))),
146
146
  ];
147
147
  }
148
148
  static get is() { return "gb-input-dropdown"; }
@@ -17,12 +17,12 @@ export class GbInputDropdownMenuItem {
17
17
  render() {
18
18
  return (
19
19
  // <div class="dropdown-container" onClick={() => (this.selected = !this.selected)}>
20
- h("div", { key: '831d3129b37106c7af547495a2e67ccadc948475', class: "dropdown-container" }, h("div", { key: 'ba4eb8be9ad10dd64ceb793877b71365606581e3', class: {
20
+ h("div", { key: '6055f56b324e1bbd8daacfed01c86b019e8d5804', class: "dropdown-container" }, h("div", { key: '9962ea37f35336442a6354089389bf8b19896ff8', class: {
21
21
  'dropdown-item': true,
22
22
  'dropdown-item--selected': this.selected,
23
23
  'dropdown-item--disabled': this.state === 'disabled',
24
24
  [this.type]: true,
25
- }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '0f74788eec3168c582f2a17fbce1bd16b26b11f2', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: 'ec50590a9e2c6bbfd27b0350323cacff1576b780', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7ac733dd91d12aa9287b71a38c4049e2e05f445a', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: '1855ce3fe5f279a9f73d009f40d29c8c11b6ff21', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'd8db79544c827de489f7bafeacbe0c13ec814190', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: 'aacf42c66d3cdd6ae334bafc178e5215f16c5a7e', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: '049f742ea6cc88c66faba91c145858f7008d2226', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: '776bec4b8f0016b2afc7db528a2c364df79ab684', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: 'e3bd1495ac2262c48ecd0a8ac5dd875fec140b7a', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: '8cc8ae30f5863215ce24a7883643d564c0ecd4e6', name: "name" }), this.supportingText && (h("span", { key: 'bb025a5e92f15cc6231854227c38ba4061c618e7' }, h("slot", { key: 'f237ee27c3fa0fe16a7fcbe13b3776b2522790c6', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: '87f55dba25f08068e5689f401aa89106dcda7b0d', class: `tick` }, h("svg", { key: '4715c2b9ef8497250deb0bf68aeb421cbc335246', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4a88e3e4e9380d65c0a02eb6b45fbb9a1ae867d3', d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
25
+ }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '9832ca01115dbc63b3eeac6ed22092e68056b268', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: 'd9c01a6283bd26c9b24b934a9eb7b045613b5520', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '89f46b71b7c1a696e48044b9009314b98121faa4', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: 'fd9ce9a56eca5b071051ffa141d495291d159c9c', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '2a991c21bae9a69d74f64f53a2acb676e75e89c9', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '48ea563fa42a8d6a156c935f808c913d888ea85d', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: 'adc789eaa2aba7efcf1317a9514668e1869c1c36', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: 'a79b0c17e29f312a09d75cdfb29149ab84c1588b', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: 'b80c67f686ff201e07306ebbf5b4748991d6ede3', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: 'e913d42d337354c77078c5a9c0e23c8114cd96f0', name: "name" }), this.supportingText && (h("span", { key: '4456a860a7a0327dbf2fab1f6d9ea46a8989d76f' }, h("slot", { key: 'f719c46b5035a7eaf92c128107f5f478a2d50250', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: '6407825f4d32e19804812a0b0862e46eeb04060d', class: `tick` }, h("svg", { key: '23280678094a0dde1299035f9ccbdc4d92d64461', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '8cb1a57820cf37afe137f40d399907a1daa19d86', d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
26
26
  }
27
27
  static get is() { return "gb-input-dropdown-menu-item"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -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"; }