globuswebcomponents 0.4.0 → 0.4.2

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 (294) hide show
  1. package/dist/cjs/{gb-avatar_32.cjs.entry.js → gb-avatar_36.cjs.entry.js} +280 -84
  2. package/dist/cjs/gb-avatar_36.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-header-icon.cjs.entry.js +34 -0
  4. package/dist/cjs/gb-header-icon.cjs.entry.js.map +1 -0
  5. package/dist/cjs/gb-header.cjs.entry.js +39 -0
  6. package/dist/cjs/gb-header.cjs.entry.js.map +1 -0
  7. package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-notification-panel.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-pagination-number-base.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  18. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
  20. package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -1
  21. package/dist/cjs/globuscomponents.cjs.js +1 -1
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  24. package/dist/collection/components/gb-btn/gb-btn.js +10 -4
  25. package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
  26. package/dist/collection/components/gb-button/gb-button.js +11 -5
  27. package/dist/collection/components/gb-button/gb-button.js.map +1 -1
  28. package/dist/collection/components/gb-button/gb-button.tsx +3 -3
  29. package/dist/collection/components/gb-button/readme.md +44 -40
  30. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +1 -2
  31. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js.map +1 -1
  32. package/dist/collection/components/gb-header/gb-header.js +62 -2
  33. package/dist/collection/components/gb-header/gb-header.js.map +1 -1
  34. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +13 -3
  35. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
  36. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +1 -0
  37. package/dist/collection/components/gb-input-field/gb-input-field.css +1024 -465
  38. package/dist/collection/components/gb-input-field/gb-input-field.js +65 -4
  39. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  40. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +3 -3
  41. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js.map +1 -1
  42. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  43. package/dist/collection/components/gb-notification-panel/gb-notification-panel.js +1 -1
  44. package/dist/collection/components/gb-pagination/gb-pagination.js +2 -2
  45. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  46. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  47. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  48. package/dist/collection/components/gb-password-button/gb-password-button.css +5 -0
  49. package/dist/collection/components/gb-password-button/gb-password-button.js +29 -1
  50. package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -1
  51. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  52. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  53. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  54. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  55. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  56. package/dist/collection/components/gb-sidebar/gb-sidebar.css +1 -1
  57. package/dist/collection/components/gb-sidebar/gb-sidebar.js +6 -1
  58. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  59. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  60. package/dist/collection/components/gb-sliders/slider.js +1 -1
  61. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  62. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -10
  63. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +1 -1
  64. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  65. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  66. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  67. package/dist/collection/components/gb-tags/gb-tags.js +1 -1
  68. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  69. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  70. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  71. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  72. package/dist/collection/components/gb-token-field/gb-token-field.js +3 -3
  73. package/dist/collection/components/gb-token-field/gb-token-field.js.map +1 -1
  74. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  75. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +931 -407
  76. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +6 -6
  77. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js.map +1 -1
  78. package/dist/collection/models/reusableModels.js.map +1 -1
  79. package/dist/components/gb-avatar-add-button.js +1 -1
  80. package/dist/components/gb-avatar-dropdown.js +3 -3
  81. package/dist/components/gb-avatar-group.js +4 -4
  82. package/dist/components/gb-avatar-label-group.js +1 -1
  83. package/dist/components/gb-avatar-profile-photo.js +2 -2
  84. package/dist/components/gb-avatar.js +1 -1
  85. package/dist/components/gb-badge.js +1 -1
  86. package/dist/components/gb-btn.js +1 -1
  87. package/dist/components/gb-button.js +2 -2
  88. package/dist/components/gb-checkbox-group-item.js +4 -5
  89. package/dist/components/gb-checkbox-group-item.js.map +1 -1
  90. package/dist/components/gb-collapse-button.js +1 -1
  91. package/dist/components/gb-file-upload-item-base.js +1 -1
  92. package/dist/components/gb-file-upload.js +4 -4
  93. package/dist/components/gb-header.js +13 -5
  94. package/dist/components/gb-header.js.map +1 -1
  95. package/dist/components/gb-horizontal-tabs.js +17 -7
  96. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  97. package/dist/components/gb-input-dropdown-menu-item.js +2 -2
  98. package/dist/components/gb-input-dropdown.js +1 -1
  99. package/dist/components/gb-input-field.js +27 -7
  100. package/dist/components/gb-input-field.js.map +1 -1
  101. package/dist/components/gb-megainput-field.js +1 -1
  102. package/dist/components/gb-notification-content.js +1 -1
  103. package/dist/components/gb-notification-panel.js +1 -1
  104. package/dist/components/gb-pagination-button-group-base.js +1 -1
  105. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  106. package/dist/components/gb-pagination-number-base.js +1 -1
  107. package/dist/components/gb-pagination.js +2 -2
  108. package/dist/components/gb-password-button.js +1 -1
  109. package/dist/components/gb-progress-bar.js +1 -1
  110. package/dist/components/gb-progress-circle.js +1 -1
  111. package/dist/components/gb-rich-text.js +5 -5
  112. package/dist/components/gb-scrollbar.js +1 -1
  113. package/dist/components/gb-side-bar-item.js +1 -1
  114. package/dist/components/gb-sidebar.js +13 -8
  115. package/dist/components/gb-sidebar.js.map +1 -1
  116. package/dist/components/gb-slider-control-handle.js +1 -1
  117. package/dist/components/gb-slider.js +3 -3
  118. package/dist/components/gb-status-indicator.js +1 -1
  119. package/dist/components/gb-tab-button-base.js +1 -1
  120. package/dist/components/gb-tag-checkbox.js +1 -1
  121. package/dist/components/gb-tag-close.js +1 -1
  122. package/dist/components/gb-tag-count.js +1 -1
  123. package/dist/components/gb-tag.js +6 -6
  124. package/dist/components/gb-toast-button.js +1 -1
  125. package/dist/components/gb-toast.js +3 -3
  126. package/dist/components/gb-toggle-base.js +1 -1
  127. package/dist/components/gb-toggle.js +2 -2
  128. package/dist/components/gb-token-field.js +3 -3
  129. package/dist/components/gb-token-field.js.map +1 -1
  130. package/dist/components/gb-tooltip.js +1 -1
  131. package/dist/components/gb-verification-code-field.js +7 -7
  132. package/dist/components/gb-verification-code-field.js.map +1 -1
  133. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  134. package/dist/components/{p-c9d9fcb1.js → p-03933e89.js} +4 -4
  135. package/dist/components/{p-c9d9fcb1.js.map → p-03933e89.js.map} +1 -1
  136. package/dist/components/{p-5678b018.js → p-1ba1c138.js} +3 -3
  137. package/dist/components/{p-5678b018.js.map → p-1ba1c138.js.map} +1 -1
  138. package/dist/components/{p-4efe7d37.js → p-2522e0e6.js} +2 -2
  139. package/dist/components/{p-4efe7d37.js.map → p-2522e0e6.js.map} +1 -1
  140. package/dist/components/{p-bf0baa3e.js → p-2764bda5.js} +2 -2
  141. package/dist/components/{p-bf0baa3e.js.map → p-2764bda5.js.map} +1 -1
  142. package/dist/components/{p-65e3a60b.js → p-2d692da6.js} +13 -5
  143. package/dist/components/p-2d692da6.js.map +1 -0
  144. package/dist/components/{p-95d013c6.js → p-307f7be9.js} +2 -2
  145. package/dist/components/{p-95d013c6.js.map → p-307f7be9.js.map} +1 -1
  146. package/dist/components/{p-33cee611.js → p-31e9f7cb.js} +2 -2
  147. package/dist/components/{p-33cee611.js.map → p-31e9f7cb.js.map} +1 -1
  148. package/dist/components/p-47052b60.js.map +1 -1
  149. package/dist/components/{p-ef61b191.js → p-4c21ca28.js} +2 -2
  150. package/dist/components/{p-ef61b191.js.map → p-4c21ca28.js.map} +1 -1
  151. package/dist/components/{p-8ae04b5e.js → p-53e70aeb.js} +7 -14
  152. package/dist/components/p-53e70aeb.js.map +1 -0
  153. package/dist/components/{p-60a9a3e4.js → p-57b94005.js} +3 -3
  154. package/dist/components/{p-60a9a3e4.js.map → p-57b94005.js.map} +1 -1
  155. package/dist/components/{p-dc99caac.js → p-61d2acff.js} +2 -2
  156. package/dist/components/{p-dc99caac.js.map → p-61d2acff.js.map} +1 -1
  157. package/dist/components/{p-854a5dd6.js → p-6b9ae561.js} +3 -3
  158. package/dist/components/{p-854a5dd6.js.map → p-6b9ae561.js.map} +1 -1
  159. package/dist/components/{p-6a23f252.js → p-7df674ca.js} +3 -3
  160. package/dist/components/{p-6a23f252.js.map → p-7df674ca.js.map} +1 -1
  161. package/dist/components/{p-3bc9a6de.js → p-84661af1.js} +3 -3
  162. package/dist/components/{p-3bc9a6de.js.map → p-84661af1.js.map} +1 -1
  163. package/dist/components/{p-3ca89df3.js → p-88687162.js} +2 -2
  164. package/dist/components/{p-3ca89df3.js.map → p-88687162.js.map} +1 -1
  165. package/dist/components/{p-bcb5102e.js → p-8963e7ee.js} +6 -6
  166. package/dist/components/{p-bcb5102e.js.map → p-8963e7ee.js.map} +1 -1
  167. package/dist/components/{p-f6343b5c.js → p-9317b000.js} +2 -2
  168. package/dist/components/{p-f6343b5c.js.map → p-9317b000.js.map} +1 -1
  169. package/dist/components/{p-5673e871.js → p-9b867eac.js} +2 -2
  170. package/dist/components/{p-5673e871.js.map → p-9b867eac.js.map} +1 -1
  171. package/dist/components/{p-7788ed42.js → p-b1f57acc.js} +4 -4
  172. package/dist/components/{p-7788ed42.js.map → p-b1f57acc.js.map} +1 -1
  173. package/dist/components/{p-cd0bf808.js → p-d9de678f.js} +2 -2
  174. package/dist/components/{p-cd0bf808.js.map → p-d9de678f.js.map} +1 -1
  175. package/dist/components/{p-b1668ded.js → p-dc3cd550.js} +4 -4
  176. package/dist/components/{p-b1668ded.js.map → p-dc3cd550.js.map} +1 -1
  177. package/dist/components/{p-fc8afe63.js → p-e832e7d0.js} +5 -5
  178. package/dist/components/{p-fc8afe63.js.map → p-e832e7d0.js.map} +1 -1
  179. package/dist/components/{p-0b7ddf83.js → p-f5ce57de.js} +4 -4
  180. package/dist/components/p-f5ce57de.js.map +1 -0
  181. package/dist/esm/{gb-avatar_32.entry.js → gb-avatar_36.entry.js} +274 -82
  182. package/dist/esm/gb-avatar_36.entry.js.map +1 -0
  183. package/dist/esm/gb-header-icon.entry.js +30 -0
  184. package/dist/esm/gb-header-icon.entry.js.map +1 -0
  185. package/dist/esm/gb-header.entry.js +35 -0
  186. package/dist/esm/gb-header.entry.js.map +1 -0
  187. package/dist/esm/gb-notification-content.entry.js +1 -1
  188. package/dist/esm/gb-notification-panel.entry.js +1 -1
  189. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  190. package/dist/esm/gb-pagination-number-base.entry.js +1 -1
  191. package/dist/esm/gb-progress-bar.entry.js +1 -1
  192. package/dist/esm/gb-progress-circle.entry.js +1 -1
  193. package/dist/esm/gb-rich-text.entry.js +1 -1
  194. package/dist/esm/gb-scrollbar.entry.js +1 -1
  195. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  196. package/dist/esm/gb-slider.entry.js +1 -1
  197. package/dist/esm/gb-toggle-base.entry.js +2 -2
  198. package/dist/esm/gb-toggle.entry.js +1 -1
  199. package/dist/esm/gb-token-field.entry.js +2 -2
  200. package/dist/esm/gb-token-field.entry.js.map +1 -1
  201. package/dist/esm/globuscomponents.js +1 -1
  202. package/dist/esm/loader.js +1 -1
  203. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  204. package/dist/globuscomponents/gb-button.tsx +3 -3
  205. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  206. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  207. package/dist/globuscomponents/{p-40a8904d.entry.js → p-0638166b.entry.js} +2 -2
  208. package/dist/globuscomponents/{p-922821b6.entry.js → p-19d2f500.entry.js} +2 -2
  209. package/dist/globuscomponents/p-2fa5bdb6.entry.js +2 -0
  210. package/dist/globuscomponents/p-2fa5bdb6.entry.js.map +1 -0
  211. package/dist/globuscomponents/{p-bc401188.entry.js → p-355ee2b7.entry.js} +2 -2
  212. package/dist/globuscomponents/{p-91d5bce7.entry.js → p-38ddb08d.entry.js} +2 -2
  213. package/dist/globuscomponents/{p-ac73163c.entry.js → p-3bfd70d1.entry.js} +2 -2
  214. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  215. package/dist/globuscomponents/{p-626cb855.entry.js → p-4e99fdd9.entry.js} +2 -2
  216. package/dist/globuscomponents/p-530f2020.entry.js +2 -0
  217. package/dist/globuscomponents/p-530f2020.entry.js.map +1 -0
  218. package/dist/globuscomponents/{p-32b0b977.entry.js → p-61836d01.entry.js} +2 -2
  219. package/dist/globuscomponents/{p-6a3a7691.entry.js → p-64588b88.entry.js} +2 -2
  220. package/dist/globuscomponents/{p-d54be15f.entry.js → p-87664bb3.entry.js} +2 -2
  221. package/dist/globuscomponents/p-8b29407e.entry.js +2 -0
  222. package/dist/globuscomponents/{p-54de529a.entry.js → p-9d5dfa56.entry.js} +2 -2
  223. package/dist/globuscomponents/{p-0ff9fb66.entry.js → p-e51aa524.entry.js} +2 -2
  224. package/dist/globuscomponents/p-e51aa524.entry.js.map +1 -0
  225. package/dist/globuscomponents/{p-c5f36e24.entry.js → p-ea10b389.entry.js} +2 -2
  226. package/dist/globuscomponents/{p-e8c4960e.entry.js → p-fdadcae8.entry.js} +2 -2
  227. package/dist/globuscomponents/p-fdadcae8.entry.js.map +1 -0
  228. package/dist/globuscomponents/readme.md +44 -40
  229. package/dist/types/components/gb-btn/gb-btn.d.ts +2 -2
  230. package/dist/types/components/gb-button/gb-button.d.ts +3 -3
  231. package/dist/types/components/gb-header/gb-header.d.ts +3 -0
  232. package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +1 -1
  233. package/dist/types/components/gb-input-field/gb-input-field.d.ts +10 -2
  234. package/dist/types/components/gb-password-button/gb-password-button.d.ts +2 -0
  235. package/dist/types/components/gb-verification-code-field/gb-verification-code-field.d.ts +1 -1
  236. package/dist/types/components.d.ts +35 -10
  237. package/dist/types/models/reusableModels.d.ts +2 -1
  238. package/package.json +1 -1
  239. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -35
  240. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
  241. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -77
  242. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
  243. package/dist/cjs/gb-avatar_32.cjs.entry.js.map +0 -1
  244. package/dist/cjs/gb-checkbox.cjs.entry.js +0 -55
  245. package/dist/cjs/gb-checkbox.cjs.entry.js.map +0 -1
  246. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -31
  247. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
  248. package/dist/cjs/gb-megainput-field.cjs.entry.js +0 -42
  249. package/dist/cjs/gb-megainput-field.cjs.entry.js.map +0 -1
  250. package/dist/cjs/gb-verification-code-field.cjs.entry.js +0 -32
  251. package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +0 -1
  252. package/dist/components/p-0b7ddf83.js.map +0 -1
  253. package/dist/components/p-65e3a60b.js.map +0 -1
  254. package/dist/components/p-8ae04b5e.js.map +0 -1
  255. package/dist/esm/gb-avatar-dropdown.entry.js +0 -31
  256. package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
  257. package/dist/esm/gb-avatar-label-group.entry.js +0 -73
  258. package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
  259. package/dist/esm/gb-avatar_32.entry.js.map +0 -1
  260. package/dist/esm/gb-checkbox.entry.js +0 -51
  261. package/dist/esm/gb-checkbox.entry.js.map +0 -1
  262. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -27
  263. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
  264. package/dist/esm/gb-megainput-field.entry.js +0 -38
  265. package/dist/esm/gb-megainput-field.entry.js.map +0 -1
  266. package/dist/esm/gb-verification-code-field.entry.js +0 -28
  267. package/dist/esm/gb-verification-code-field.entry.js.map +0 -1
  268. package/dist/globuscomponents/p-02d7e7ad.entry.js +0 -2
  269. package/dist/globuscomponents/p-0eb9a7fa.entry.js +0 -2
  270. package/dist/globuscomponents/p-0eb9a7fa.entry.js.map +0 -1
  271. package/dist/globuscomponents/p-0ff9fb66.entry.js.map +0 -1
  272. package/dist/globuscomponents/p-18daffd5.entry.js +0 -2
  273. package/dist/globuscomponents/p-18daffd5.entry.js.map +0 -1
  274. package/dist/globuscomponents/p-3573409d.entry.js +0 -2
  275. package/dist/globuscomponents/p-3573409d.entry.js.map +0 -1
  276. package/dist/globuscomponents/p-6be1f290.entry.js +0 -2
  277. package/dist/globuscomponents/p-6be1f290.entry.js.map +0 -1
  278. package/dist/globuscomponents/p-a0c86da9.entry.js +0 -2
  279. package/dist/globuscomponents/p-a0c86da9.entry.js.map +0 -1
  280. package/dist/globuscomponents/p-da71e4b5.entry.js +0 -2
  281. package/dist/globuscomponents/p-da71e4b5.entry.js.map +0 -1
  282. package/dist/globuscomponents/p-e8c4960e.entry.js.map +0 -1
  283. /package/dist/globuscomponents/{p-40a8904d.entry.js.map → p-0638166b.entry.js.map} +0 -0
  284. /package/dist/globuscomponents/{p-922821b6.entry.js.map → p-19d2f500.entry.js.map} +0 -0
  285. /package/dist/globuscomponents/{p-bc401188.entry.js.map → p-355ee2b7.entry.js.map} +0 -0
  286. /package/dist/globuscomponents/{p-91d5bce7.entry.js.map → p-38ddb08d.entry.js.map} +0 -0
  287. /package/dist/globuscomponents/{p-ac73163c.entry.js.map → p-3bfd70d1.entry.js.map} +0 -0
  288. /package/dist/globuscomponents/{p-626cb855.entry.js.map → p-4e99fdd9.entry.js.map} +0 -0
  289. /package/dist/globuscomponents/{p-32b0b977.entry.js.map → p-61836d01.entry.js.map} +0 -0
  290. /package/dist/globuscomponents/{p-6a3a7691.entry.js.map → p-64588b88.entry.js.map} +0 -0
  291. /package/dist/globuscomponents/{p-d54be15f.entry.js.map → p-87664bb3.entry.js.map} +0 -0
  292. /package/dist/globuscomponents/{p-02d7e7ad.entry.js.map → p-8b29407e.entry.js.map} +0 -0
  293. /package/dist/globuscomponents/{p-54de529a.entry.js.map → p-9d5dfa56.entry.js.map} +0 -0
  294. /package/dist/globuscomponents/{p-c5f36e24.entry.js.map → p-ea10b389.entry.js.map} +0 -0
@@ -8,7 +8,7 @@ export class GbPagination {
8
8
  this.totalPages = 10;
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '60d4b32ba178d6099eea791285e6cfcc3988dbce', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '6bea169a829fff47d6d190ac4725d8bb809196f0', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '2f19b52803ad3e60ba5f5a29ab0b091c6ff00c43' }, "Previous")), h("gb-button", { key: '64225116654af3709a857e1a658323ef6dcdadf9', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '6144543401df9fd7a1bf84198c6f08b9c4470af0' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '254defc808938e91c53d6beed49483a29a1ff0a5', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '73af6f801d327f59ddee71a88fcd37b2a585d33a' }, "Previous")), h("gb-button", { key: '1acafe0d93a452263f05a57841fcbf3d5235e9a0', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '86bc06852d441d274f095dc394994721e61e95b9' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'a153b5d310163eac213bdf712e812aff3c6d448c', class: "entries" }, "Entries"), h("div", { key: '14fc49a6a789bd39b84b297603be9c4935b7536c', class: "page_numbers" }), h("div", { key: '61640e4eeb134dd911b4a061bc4df7e453f99c68', class: "buttons" }, h("gb-button", { key: 'fdd3525d9b24fd485167d28a99084ddae70eb2e5', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("gb-button", { key: '3ba262aa0c006b3e4b89dc3fb6bdc4861112c3c7', 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: 'f8af2187e7eb29b79ed8ffa0036310d37799f94a', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("div", { key: 'a46bad71bce5c68e2e06a44facd98c4140e3abc9', class: "page_number_text" }, h("p", { key: 'ed75e07bf647f1984c504e937b3ab65ee4e99d42', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '7eb606a0f4447a8ba07efb0ebc638cef89b8b859', 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: 'ccf5d989941c21b5718efc9586a5da37e973bde9', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '2fdc86d497c04aead9836e96a61846bedb28d7ed', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: 'e85a0f141a665479d12a388e62825f800dd26471' }, "Previous")), h("gb-button", { key: '7fcac6b8e075bf79c844015a4f6c303fc70b9c54', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '240895a212ed14498eb6447850f4ffcb38d415bb' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: 'f34e3110134cdaca3ade2147a03bc72e857d9682', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: 'b962dc873a69c0a5c567506a646f0f39315b8e38' }, "Previous")), h("gb-button", { key: '3bc4c0e7e5d4b23a7845be184ae32b413e3dd211', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '1a93b1f943eedce44a2fed380c53d670c190a01d' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: 'e69408075acac39836716b364a6b31a15fb5315d', class: "entries" }, "Entries"), h("div", { key: '0b0edc0067ec7376a2e1177c8a77238bd7bfffc5', class: "page_numbers" }), h("div", { key: '671cee855484b8e510088ff38889aa4e03a542b6', class: "buttons" }, h("gb-button", { key: '9426468ceb70a4a20a9b637c3297f36cdb3a3645', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("gb-button", { key: '9a2869e21abf91624316b96758d7af1c15a6f9ab', 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: '17268fb325f921d9797f31f0a002d8699f998839', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("div", { key: '95ae664f9f650f5acb7f740cfa7955d5bd00c58e', class: "page_number_text" }, h("p", { key: '075b4e1a9312956044fbbc5d275b065a1f464195', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '058a6357c539f9bdb872bb6fb549639b7f72b610', 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"; }
@@ -29,7 +29,7 @@ export class GbPagination {
29
29
  "mutable": false,
30
30
  "complexType": {
31
31
  "original": "PaginationTypes",
32
- "resolved": "\"card_button_group_center_aligned\" | \"card_button_group_left_aligned\" | \"card_button_group_right_aligned\" | \"card_default\" | \"card_minimal_center_aligned\" | \"card_minimal_left_aligned\" | \"card_minimal_right_aligned\" | \"page_default\" | \"page_minimal_center_aligned\"",
32
+ "resolved": "\"card_button_group_ right_aligned\" | \"card_button_group_center_aligned\" | \"card_button_group_left_aligned\" | \"card_default\" | \"card_minimal_center_aligned\" | \"card_minimal_left_aligned\" | \"card_minimal_right_aligned\" | \"page_default\" | \"page_minimal_center_aligned\"",
33
33
  "references": {
34
34
  "PaginationTypes": {
35
35
  "location": "import",
@@ -12,7 +12,7 @@ export class GbPaginationButtonGroupBase {
12
12
  }
13
13
  }
14
14
  render() {
15
- return (h("div", { key: '9f07970d436f01afe10418c7e239394ff3adc637', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: '228170e6c18937e73f4292b495476e1f00b0fd62' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: 'afbd17657532b5b7c4139a15f0c8955d46bb5eed', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd85b848e7f6a30510d3da71b8de35fb6ed68825e', 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: 'b42da4347745beff71b4ffbd9d16974c4d8af351' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: 'f42a427748ddf2e614e21cfed0784a41d8e78ecf' }), this.iconTrailing && (h("svg", { key: '69b0505a4dbe553298dd819410884e4b7b344328', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '1660ebbd347384e975f4d84ab144e970af63f27e', 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: 'bd658d0c2c7d5fec8e5f53c297128fbf6db7e35c', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: '46ac516d11c2991f4cb8688f49af7a0993eb6f14' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: '299dff7353d41e50665227113f24ecb190f92341', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4c81ad3a2c2dd7e4570aa535cec10bca921efb0d', 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: 'f3c1736e92e01a3d160e13bfa3d03b13602d279a' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: '23e9794b3b43fd20cea33f42453eb00abae58711' }), this.iconTrailing && (h("svg", { key: 'aba44f3fd7cf7b6ca88052ce9350fecff4e241b6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0d34fdc541153964b86708b6ec134d4f9d35e26f', 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: '7c796daa95e0222e5a5bd702cf00e6f4049b582b', class: `dot_indicator_div
9
+ return h("div", { key: '149ef69015821f44c2df18265a202694896e97ef', 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: 'c20eded58ebaec5ece4d041ea00a51de39947397', class: `page_number_base ${this.shape}` }, h("slot", { key: 'd2b2d9aea9fb9d8be66b387f3d127eefee7746a6', name: "page_number" })));
13
+ return (h("div", { key: '5a9e6b20e583927ddf029a75ff8ff35fa515023b', class: `page_number_base ${this.shape}` }, h("slot", { key: 'b97979e6e3a226afb66fd944e773761b1b2dfbff', name: "page_number" })));
14
14
  }
15
15
  static get is() { return "gb-pagination-number-base"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -2148,6 +2148,11 @@
2148
2148
  line-height: var(--text-xs-regular-line-height);
2149
2149
  }
2150
2150
 
2151
+ :host{
2152
+ display: flex;
2153
+ align-items: center;
2154
+ }
2155
+
2151
2156
  div {
2152
2157
  display: inline-flex;
2153
2158
  align-items: flex-start;
@@ -2,12 +2,13 @@ import { h } from "@stencil/core";
2
2
  export class GbPasswordButton {
3
3
  constructor() {
4
4
  this.isPasswordVisible = false;
5
+ this.state = undefined;
5
6
  }
6
7
  togglePasswordVisibility() {
7
8
  this.isPasswordVisible = !this.isPasswordVisible;
8
9
  }
9
10
  render() {
10
- return (h("div", { key: '522a7fc2ab5962e8cbbf8694a0cf97491ae9568a' }, h("gb-btn", { key: '8ab8cde1f71b258e4eb8b8285c5cd5d0622c2157', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? 'HIDE' : 'SHOW')));
11
+ return (h("div", { key: 'd820755627599e39e4443b9c956de1e601178bcd' }, h("gb-btn", { key: 'b15e7551fe0c1ebc3e6bac751d7f66c209557d6d', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
11
12
  }
12
13
  static get is() { return "gb-password-button"; }
13
14
  static get encapsulation() { return "shadow"; }
@@ -21,6 +22,33 @@ export class GbPasswordButton {
21
22
  "$": ["gb-password-button.css"]
22
23
  };
23
24
  }
25
+ static get properties() {
26
+ return {
27
+ "state": {
28
+ "type": "string",
29
+ "mutable": false,
30
+ "complexType": {
31
+ "original": "StateEnum",
32
+ "resolved": "StateEnum.Default | StateEnum.Disabled",
33
+ "references": {
34
+ "StateEnum": {
35
+ "location": "import",
36
+ "path": "../../components",
37
+ "id": "src/components.d.ts::StateEnum"
38
+ }
39
+ }
40
+ },
41
+ "required": false,
42
+ "optional": false,
43
+ "docs": {
44
+ "tags": [],
45
+ "text": ""
46
+ },
47
+ "attribute": "state",
48
+ "reflect": false
49
+ }
50
+ };
51
+ }
24
52
  static get states() {
25
53
  return {
26
54
  "isPasswordVisible": {}
@@ -1 +1 @@
1
- {"version":3,"file":"gb-password-button.js","sourceRoot":"","sources":["../../../src/components/gb-password-button/gb-password-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOpD,MAAM,OAAO,gBAAgB;;iCACW,KAAK;;IAE3C,wBAAwB;QACtB,IAAI,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC;IACnD,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACE,+DACE,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,WAAW,EACrB,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,IAE7C,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAClC,CACL,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, State } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-password-button',\r\n styleUrl: 'gb-password-button.css',\r\n shadow: true\r\n})\r\nexport class GbPasswordButton {\r\n @State() isPasswordVisible: boolean = false;\r\n\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n }\r\n\r\n render() {\r\n return (\r\n <div>\r\n <gb-btn\r\n size=\"sm\"\r\n hierarchy=\"link_gray\"\r\n state=\"default\"\r\n onClick={() => this.togglePasswordVisibility()}\r\n >\r\n {this.isPasswordVisible ? 'HIDE' : 'SHOW'}\r\n </gb-btn>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"gb-password-button.js","sourceRoot":"","sources":["../../../src/components/gb-password-button/gb-password-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAQ1D,MAAM,OAAO,gBAAgB;;iCACW,KAAK;;;IAG3C,wBAAwB;QACtB,IAAI,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC;IACnD,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACE,+DAAQ,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,IACnG,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CACxB,iBAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK;gBACzE,oBAAW,CACD,CACb,CAAC,CAAC,CAAC,CACF,iBAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK;gBACzE,oBAAW,CACD,CACb,CACM,CACL,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\r\nimport { StateEnum } from '../../components';\r\n\r\n@Component({\r\n tag: 'gb-password-button',\r\n styleUrl: 'gb-password-button.css',\r\n shadow: true\r\n})\r\nexport class GbPasswordButton {\r\n @State() isPasswordVisible: boolean = false;\r\n @Prop() state: StateEnum;\r\n\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n }\r\n\r\n render() {\r\n return (\r\n <div>\r\n <gb-btn size=\"sm\" hierarchy=\"link_gray\" state=\"default\" onClick={() => this.togglePasswordVisibility()}>\r\n {this.isPasswordVisible ? (\r\n <gb-button size=\"sm\" hierarchy=\"link_gray\" icon=\"default\" state={this.state}>\r\n <p>HIDE</p>\r\n </gb-button>\r\n ) : (\r\n <gb-button size=\"sm\" hierarchy=\"link_gray\" icon=\"default\" state={this.state}>\r\n <p>SHOW</p>\r\n </gb-button>\r\n )}\r\n </gb-btn>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
@@ -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: '959898017a1b7c43c2d9c6090baf824c11f838ca', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: '17ac1002882bee7828ce8f154b4fe98a2d3acd03', class: "progress_bar" }, h("div", { key: '02f82af1ac74af2bb21bcb51a06652172c8452c1', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: '258cdd7aedb3907187ccc51278b2181bc540991a', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: 'a4d706d9596d3d12723da3ca59ae0b4fda6d5eb8', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: 'd0216c7cf1424a81628af530d3413f5218d5d30e', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: 'd7345d70aee55ca09cf918bbeca399aba7abe10b', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: 'ca56f4fc79c50a31f967d24b6d13890537d2e261', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: 'd8b750f39550b493f4e50b4141388131b41bbb4f', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: '0896e6d734ef5838c215ac551ef1081f2f35678d', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
11
+ return (h("div", { key: '2ca4f762f24955fb8064942a386d1ba6f03de282', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: '114e0d306dfdd04941f64ca75fa52833c60ac575', class: "progress_bar" }, h("div", { key: '0f17f894ef4d021e18e03b49658b31e991701cc0', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: 'c18f2ffd256e33a2893c82f76284be01c9de328d', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: 'bf470f3960033d7ecb5d16f7111af15d03d3c367', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: 'a9e50807a951ec9a156bea03167fcbe1b490fd3e', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: 'de4b8184c62c31403631c7c9faf07cd284b1c738', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: '3a21082cc1e4bc34b4b31c845cd4e46310a5f426', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: 'fb1d3844c69c5ca0e37e6543a0298243ac25cb8d', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: 'a2aa5a4309f46ec677b99429460e4c02cf355e45', 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: 'cdafe984f6db8aa755bace33db64334d756945aa', class: "progress" }, h("svg", { key: 'f2722717868b9c369c1b652b91e8cc7d1053c2e2', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '10b82ebad41619836944ce18226db0eac2046202', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), h("circle", { key: '1e8359e2669b53ab9635e9cee3c9bfc77c4e107e', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), h("div", { key: '9b8caf4c0e4dbb2be1b3f1761346b89ff48ea8bd', class: "progress-text", "data-progress": "0" }, "50%")));
10
+ return (h("div", { key: 'f5a5bd34beb1179b24810af7fc7d086452d801f2', class: "progress" }, h("svg", { key: 'ae271a52ddfea697638591da3781b785f18b20e3', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: 'ef12bde384a834500c8bc608a759f34768d3c8c5', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), h("circle", { key: '0d1a676f38841d23d5322fd5863fcdc5784d2360', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), h("div", { key: '7d30572417a85acd8fa35a259e6f5b2c2889067f', 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: 'a000c6789510017724b8b2acb7290ed15cc7cfda', class: classes }, h("div", { key: '350619ddd70ce434652cae0ff0662e02feecd7fd', class: "input-with-label" }, h("label", { key: '07ed3cacf06f0610527d840be9f448bd19595ed6' }, this.label), h("div", { key: '1997bb5497f869fc2ab7ea06216986e1bc6069a0', class: "input-container" }, h("div", { key: 'ca898deddbbda54edd133d2d0e1a674ea24de330', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '41bd66f5024baa1a0bf1a2eb2425d8c1866383f9', 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: '624b673eb49793293548650eab2f8e549a029adb', class: "error-icon" }, h("svg", { key: 'aa2303307101499c4357e8179280fc0aaf154e4b', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '5db7ca84f495ff2302d8ba16f1c3dd1f275fd0ba', 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: '8f3b69158a5501bfcf6b1c90ebd737a460cfd7bd', class: "text-container" }, h("textarea", { key: '2a5ebf3f206caa6ee85356dcdd75a62e9332d5cc' }, this.showPlaceholder && (h("div", { key: '752ad5d419911663006a97697962b62aea349c1f' }, this.placeholder)))))), this.showHintText && (h("div", { key: 'b7d8d2180b34291411a3e2883fb91e1bc07b4143', class: "hint-text" }, this.hintText))));
18
+ return (h("div", { key: '0a38df183f771a47ce9b287e541462d0afc0a6fb', class: classes }, h("div", { key: '194a87a4e7ed387843cbbd17fb3018f8d5f1c19e', class: "input-with-label" }, h("label", { key: 'fd9a420f4142f6c186334beb087370e63aacedf8' }, this.label), h("div", { key: '3ce0da855ce45ec17f2c4380aa4707f43436a020', class: "input-container" }, h("div", { key: 'c8e18fa1fdc0f818fce1bd1905f796816d1b30b3', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '88b0383d4a0aa258ec4e49b30681b752088e1f92', 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: '7d9779477c40c929f004100b3e416e12d11fcf3f', class: "error-icon" }, h("svg", { key: 'c6b7855ce3ae1c75f9b852a29e61cc26bc7023f8', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '4f12d2e5bc788e4dd59e9bd4bd369a58909d13f1', 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: '64571ea544f2fe2f2f377098969684570688616d', class: "text-container" }, h("textarea", { key: '7a7fbc4823eeb0be0b35a32f55f30917c6f357d1' }, this.showPlaceholder && (h("div", { key: '9d7660e9dff89065b6d6eefba61ffd7d165e7556' }, this.placeholder)))))), this.showHintText && (h("div", { key: '89053468bb6c5fe5771b0b140d7bfccc3820bb5b', 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: '39ded787f1eab3d7c83713df76f8e1cda852fd43', class: "scrollbar-container" }, h("div", { key: '9c0027652f83f91b779728d50b3b48642cbb236e', class: "scrollbar", style: { height: this.length } }, h("slot", { key: '8cb90bd1dcff5b869de74e954a2455c6ad21ae56' }))));
7
+ return (h("div", { key: 'f4651019986c90ec6fc9057da08820076d9dd699', class: "scrollbar-container" }, h("div", { key: '22f9d4a3c32befbe9137b5edc6724a68ea33751f', class: "scrollbar", style: { height: this.length } }, h("slot", { key: 'eef2d11181b2c76240a9b123c61a14ced840c14a' }))));
8
8
  }
9
9
  static get is() { return "gb-scrollbar"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class GbSideBarItem {
33
33
  render() {
34
34
  const redBarSrc = getAssetPath(`assets/bar.svg`);
35
35
  const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
36
- return (h("div", { key: '48063b3d7651d860a6b505c3217b027f3ba7673c', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '099bd6c5123f96b827bfdb040e4787560d84ebc8', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'dad6837aa0c362d74c648891b1a7c3d8983d7809', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '8eb17d92639ce8721b56cb1ff3214048993b3d11', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: 'c209b551f21151c46e02ba4de45096cde85eb7f0', class: "content" }, h("div", { key: '41c5343e1de00d35774444f2f413ee8a05d4b050', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: 'f0b62ac18f69e79f8b586b5af496ab5c7cf2e04e', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: '7d186822b209f194ddcb320d34a1db28c80f3bba', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '12dce1be89913b3d72715df36422daa6d5382631' }, "10"))), this.showArrow && (h("svg", { key: '3edc2f8d93482e8b5b093a270e71886b8a35f6f9', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: '20545729dc0bcf3168d117ae5d88a17645d2e072', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: '030aa4482d1a3b42b3d45851801cf89025b7a62c', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '75c6b97e863558ac02c113bef699e79bfe587fde', slot: "label" }, this.label)))));
36
+ return (h("div", { key: '53a12bcbe034a8503a360806cb66067592056ce5', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '5f9902cc959a5f8b03ef1f5e3c3a9ca4bef16d99', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '4fab0f29fa6116e0a884762741d99a4c5ae62c79', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '93aa3614949f6b9c6fc606ab22e381a4031b4e3d', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: 'b96f910ba1e2c4cfb28d929fc6717eb87c2387c9', class: "content" }, h("div", { key: 'e6c43985c7fa146703add86806cc71880c2f2783', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '227da432a9fd0983d14168755337269a50b48dc0', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: '835e03d3c19287f7f264d13c27bdc3c04737719c', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '81cedca2e7d4a270598779b7f46c66083e902bc6' }, "10"))), this.showArrow && (h("svg", { key: '2e2e4aa2caca277e4678fa44fd8320770cdd9f4a', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: '6eb28c96c4b68010a0e7a56067f247de17a10133', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: 'b2bb56da321003b49872116bd612b221ae84e05e', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: 'c724e917c935fd33358de56a89aef5226ad4dfcf', slot: "label" }, this.label)))));
37
37
  }
38
38
  static get is() { return "gb-side-bar-item"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -2696,7 +2696,7 @@
2696
2696
  display: inline-flex;
2697
2697
  flex-direction: column;
2698
2698
  justify-content: space-between;
2699
- width: 16.75rem;
2699
+ width: 100%;
2700
2700
  }
2701
2701
 
2702
2702
  .sidebar_div.collapsed{
@@ -48,6 +48,7 @@ export class GbSidebar {
48
48
  }
49
49
  async sideBarItemClicked(index) {
50
50
  this.activeIndex = index;
51
+ localStorage.setItem('activeIndex', index.toString());
51
52
  this.sidebarItemClicked.emit(index);
52
53
  }
53
54
  componentDidLoad() {
@@ -56,6 +57,10 @@ export class GbSidebar {
56
57
  }
57
58
  componentWillLoad() {
58
59
  this.loadIcon(this.iconInstance);
60
+ const storedIndex = localStorage.getItem('activeIndex');
61
+ if (storedIndex !== null) {
62
+ this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage
63
+ }
59
64
  }
60
65
  render() {
61
66
  const textClass = this.category === 'plain_background' ? 'plain_background_color' : 'colored_background_color';
@@ -63,7 +68,7 @@ export class GbSidebar {
63
68
  const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
64
69
  const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
65
70
  const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
66
- return (h("div", { key: '685d80cb497e2ca6c9901683051fcbb23cce2da9', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'a20c4078e1c07342bfa2c71899d88df5155a8073', class: "pattern" }, h("img", { key: '25e46571105ab4115fb4c1c024e414fdb13b4826', src: patternSrc, alt: "" }))), h("div", { key: '0465385aa6d43048e91559df5a328d9011e831f9', class: "nav" }, h("div", { key: '5637da2122ef618d41517153ccd52648313c68b9', class: `sidebar_header ${this.state}` }, h("div", { key: '86c67dbe0dc0cdce9e21f2f870e26f4042d270f2', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && (h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc }))), this.state === 'collapsed' && h("img", { key: '15c8905a000bec97630d27aecf93075ada20d0f5', src: logoSrc, alt: "" })), h("div", { key: 'c2399e4ba6dbc48a8e70699032c48311d4cfe567', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'ecc7329a6c35036adac398ae7dc71f76d6bd5a4d', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '832fec1b6455e62b562239ff31d8256dfe662337', class: "navigation" }, h("div", { key: '9eebd73465479edce5173219440f05bd203dbc1e', class: "item" }, h("gb-side-bar-item", { key: '1cc5f8ee19c05e8e3b2b649832cadc6070ad6a2d', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: '084c6c28db3473c512fce1173da531149728b623', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: 'b38ed6c889a9e1a95c6a573d0dff3484f5a9ddb7', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: '1d0a1bf51ea6b9482da6488daae10b3ddfbf7501', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '02fec60d88c6fa056512dc44c29fa1cfa57da301', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: '2eb685a1b5d60c82acd987a82e9eac22d5082013', class: "navigation" }, h("div", { key: '06bf2b59bdb2091a4b40d717bf427c36cc1ac762', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: 'e00f51605664017b42e0cda91b6ff73ddc70ffb2', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '5bc97db43e92ce8edcad707a93fd6dfaed3ab809', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: 'b85beb79374997caa00139e642671d2555ce76dc', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: 'b187000898a9434851ebebc291fa969486fb2474', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: '8d1e9217082907fbdc53c017113549651484ff55', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: '567ac7d8a1b684a06cb7c6cbaa221b75a639b573', class: "application_name" }, h("div", { key: 'c58eb11a72496f1954f09d1a1062a2080343e8dc', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: 'a2d1ffe32e530834b50d6aba64de87f02b41522b', class: "application_name_pattern" }, h("img", { key: '9f77aff6969bfef10ede223b8b1194eb579eaa94', src: patternSrc, alt: "" }))), h("div", { key: 'ff8303990a622db955b49363102acc94fc7947cd', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '8c9e56078d0337215efa4409b9b1cd19c8192e3c', class: textClass }, h("slot", { key: '56885bddd934d56fd2fcc4471e1370bffe6f6ecb', name: "application_name" })))))));
71
+ return (h("div", { key: 'ac5f9ea6b31b2268d0b4d8498f7a066313b9fab2', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'a0ae6c3ead121cd399e0da3bb3f49aa3853ae7a5', class: "pattern" }, h("img", { key: '11b204c0c52da3286c4dad48956811d8be7808f5', src: patternSrc, alt: "" }))), h("div", { key: '84d7489c4cb1b215bf5b649f0f8dc29908aafc20', class: "nav" }, h("div", { key: '930c55b08a229dff5b49ca9c02d06d5a09e0ee73', class: `sidebar_header ${this.state}` }, h("div", { key: '3402f937736c72a72b7211e34c211eaebe470d26', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: 'a2a4560137a54312a5169c453ecffc85d4469078', src: logoSrc, alt: "" })), h("div", { key: '544d660b8fda57ca1de227567c985fa8025860db', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '87808d41881a162ba78ea6b5ee1a3e3081d68a4b', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '9e91071f6f2054a9c84312075327344a6c94ffa6', class: "navigation" }, h("div", { key: 'f7fd92844388f5944c3d5ab4f5bd4b5a7cdebcd7', class: "item" }, h("gb-side-bar-item", { key: 'd585f587317e2735a2216c7ea17345dac8352727', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: '692902e30b8a625b1049ba8180ffa66e49a3539e', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: 'a5e34783ae2a475c0bed96ac19451c77edc5c42f', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: '52aa0843f165880f9590182776be95ebe02f7110', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '108f8f98fee03f0be3d2893d6ff6230824f0ea8a', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: '50e7ffc1ac280452b925b1e9fb659aa6b3b8fc95', class: "navigation" }, h("div", { key: 'c6fa960f8b1b8fa85939ae620aea41fcee9d1d68', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: '03649924672858d889c1beb35464f622d69b0c14', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '1cba7e8b96cae4dae7b826511996559cbf6100c0', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: '51bfc99e348d89c024f2a448657e3aaf7799aa0f', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: '2ed2e3ff10f88c817a5e7d091f8e8baf0fb832d2', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: '7e4434774992a4e67bc48e038313a2da7f93b798', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: 'e63acf28d1257843847d8398f912fd0f657ff770', class: "application_name" }, h("div", { key: 'd74c0300fbe5738dbbf0921a3254202abddb71f6', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '16ef6ad1419726c2bd9b33a7eac8b9824b4ae0ba', class: "application_name_pattern" }, h("img", { key: '9a1ba585585eb36fd55d3e6a58ed04b95b6ac9e5', src: patternSrc, alt: "" }))), h("div", { key: '5c4bcbd8765f79f06c8edf551689f72dfd4f67ee', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: 'db88c931f3116db1dd8cce0396f50d1e786b3991', class: textClass }, h("slot", { key: '80117fa0d922d6eddd50ac933d3fd3e3ef6a10df', name: "application_name" })))))));
67
72
  }
68
73
  static get is() { return "gb-sidebar"; }
69
74
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-sidebar.js","sourceRoot":"","sources":["../../../src/components/gb-sidebar/gb-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAQxH,MAAM,OAAO,SAAS;;;;kCAGkB,KAAK;+BACT,EAAE;6BACJ,EAAE;8BACD,EAAE;6BACH,EAAE;8BACD,EAAE;6BACH,EAAE;6BACF,EAAE;+BACA,EAAE;8BACH,EAAE;6BACH,EAAE;6BACF,EAAE;4BACH,EAAE;qBACT,EAAE;8BACO,EAAE;+BACD,EAAE;8BACH,EAAE;+BACD,EAAE;8BACH,EAAE;8BACF,EAAE;gCACA,EAAE;+BACH,EAAE;8BACH,EAAE;8BACF,EAAE;2BAEJ,CAAC;8BACE,EAAE;;IAGpC,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;QACvC,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,eAAe;QACb,IAAI,IAAI,CAAC,KAAK,KAAK,UAAU,EAAE,CAAC;YAC9B,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;QAC3B,CAAC;IACH,CAAC;IAED,aAAa;QACX,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;YAC/B,IAAI,CAAC,KAAK,GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, Fragment, State, getAssetPath, Method, Event, EventEmitter } from \"@stencil/core\";\r\nimport { GeneralBackgroundCategories } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-sidebar',\r\n styleUrl: 'gb-sidebar.css',\r\n shadow: true,\r\n})\r\nexport class GbSidebar {\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() showSecondCategory: boolean = false;\r\n @Prop() applicationName: string = '';\r\n @Prop() firstItemIcon: string = '';\r\n @Prop() secondItemIcon: string = '';\r\n @Prop() thirdItemIcon: string = '';\r\n @Prop() fourthItemIcon: string = '';\r\n @Prop() fifthItemIcon: string = '';\r\n @Prop() sixthItemIcon: string = '';\r\n @Prop() seventhItemIcon: string = '';\r\n @Prop() eighthItemIcon: string = '';\r\n @Prop() ninthItemIcon: string = '';\r\n @Prop() tenthItemIcon: string = '';\r\n @Prop() iconInstance: string = '';\r\n @Prop() label: string = '';\r\n @Prop() firstItemLabel: string = '';\r\n @Prop() secondItemLabel: string = '';\r\n @Prop() thirdItemLabel: string = '';\r\n @Prop() fourthItemLabel: string = '';\r\n @Prop() fifthItemLabel: string = '';\r\n @Prop() sixthItemLabel: string = '';\r\n @Prop() seventhItemLabel: string = '';\r\n @Prop() eighthItemLabel: string = '';\r\n @Prop() ninthItemLabel: string = '';\r\n @Prop() tenthItemLabel: string = '';\r\n @Element() el: HTMLElement;\r\n @State() activeIndex: number = 0;\r\n @State() leadingIconSvg: string = '';\r\n @Event() sidebarItemClicked: EventEmitter<number>;\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n collapseSideBar() {\r\n if (this.state === 'expanded') {\r\n this.state = 'collapsed';\r\n }\r\n }\r\n\r\n expandSideBar() {\r\n if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n }\r\n\r\n @Method()\r\n async sideBarItemClicked(index: number) {\r\n this.activeIndex = index;\r\n this.sidebarItemClicked.emit(index);\r\n }\r\n\r\n componentDidLoad() {\r\n const applicationName = this.el.querySelector('[slot=\"application_name\"]');\r\n\r\n applicationName.classList.add('text-lg-bold');\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.iconInstance);\r\n }\r\n\r\n render() {\r\n const textClass = this.category === 'plain_background' ? 'plain_background_color' : 'colored_background_color';\r\n const patternSrc = getAssetPath(`assets/pattern_wrapper.svg`);\r\n const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);\r\n const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);\r\n const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);\r\n\r\n return (\r\n <div class={`sidebar_div ${this.state} ${this.category}`}>\r\n {this.category === 'colored_background' && (\r\n <div class=\"pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class=\"nav\">\r\n <div class={`sidebar_header ${this.state}`}>\r\n <div class={`logo_and_name ${this.state}`}>\r\n {this.state === 'expanded' && (\r\n <>{this.category === 'plain_background' ? <img src={blueLogoSrc} /> : <img src={whiteLogoSrc} />}</>\r\n )}\r\n {this.state === 'collapsed' && <img src={logoSrc} alt=\"\" />}\r\n </div>\r\n <div class={`collapse_button ${this.state}`}>\r\n <gb-collapse-button\r\n color={this.category === 'plain_background' ? 'gray' : 'white'}\r\n action={this.state === 'collapsed' ? 'expand' : 'collapse'}\r\n onClick={() => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar())}\r\n ></gb-collapse-button>\r\n </div>\r\n </div>\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n <gb-side-bar-item\r\n state={this.activeIndex === 0 ? 'active' : 'default'}\r\n icon={this.firstItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(0)}\r\n label={this.firstItemLabel}\r\n ></gb-side-bar-item>\r\n <gb-side-bar-item\r\n state={this.activeIndex === 1 ? 'active' : 'default'}\r\n icon={this.secondItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(1)}\r\n label={this.secondItemLabel}\r\n ></gb-side-bar-item>\r\n {this.thirdItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 2 ? 'active' : 'default'}\r\n icon={this.thirdItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(2)}\r\n label={this.thirdItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fourthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 3 ? 'active' : 'default'}\r\n icon={this.fourthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(3)}\r\n label={this.fourthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fifthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 4 ? 'active' : 'default'}\r\n icon={this.fifthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(4)}\r\n label={this.fifthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n {this.showSecondCategory && (\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n {this.sixthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 5 ? 'active' : 'default'}\r\n icon={this.sixthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(5)}\r\n label={this.sixthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.seventhItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 6 ? 'active' : 'default'}\r\n icon={this.seventhItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(6)}\r\n label={this.seventhItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.eighthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 7 ? 'active' : 'default'}\r\n icon={this.eighthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(7)}\r\n label={this.eighthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.ninthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 8 ? 'active' : 'default'}\r\n icon={this.ninthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(8)}\r\n label={this.ninthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.tenthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 9 ? 'active' : 'default'}\r\n icon={this.tenthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(9)}\r\n label={this.tenthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n {this.state === 'expanded' && (\r\n <div class=\"application_name\">\r\n <div class={`wrapper ${this.category}`}>\r\n {this.category === 'plain_background' && (\r\n <div class=\"application_name_pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class={`application_icon ${this.category}`} innerHTML={this.leadingIconSvg}></div>\r\n <span class={textClass}>\r\n <slot name=\"application_name\"></slot>\r\n </span>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-sidebar.js","sourceRoot":"","sources":["../../../src/components/gb-sidebar/gb-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAQxH,MAAM,OAAO,SAAS;;;;kCAGkB,KAAK;+BACT,EAAE;6BACJ,EAAE;8BACD,EAAE;6BACH,EAAE;8BACD,EAAE;6BACH,EAAE;6BACF,EAAE;+BACA,EAAE;8BACH,EAAE;6BACH,EAAE;6BACF,EAAE;4BACH,EAAE;qBACT,EAAE;8BACO,EAAE;+BACD,EAAE;8BACH,EAAE;+BACD,EAAE;8BACH,EAAE;8BACF,EAAE;gCACA,EAAE;+BACH,EAAE;8BACH,EAAE;8BACF,EAAE;2BAEJ,CAAC;8BACE,EAAE;;IAGpC,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;QACvC,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,eAAe;QACb,IAAI,IAAI,CAAC,KAAK,KAAK,UAAU,EAAE,CAAC;YAC9B,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;QAC3B,CAAC;IACH,CAAC;IAED,aAAa;QACX,IAAI,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;YAC/B,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;QA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, Fragment, State, getAssetPath, Method, Event, EventEmitter } from \"@stencil/core\";\r\nimport { GeneralBackgroundCategories } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-sidebar',\r\n styleUrl: 'gb-sidebar.css',\r\n shadow: true,\r\n})\r\nexport class GbSidebar {\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() showSecondCategory: boolean = false;\r\n @Prop() applicationName: string = '';\r\n @Prop() firstItemIcon: string = '';\r\n @Prop() secondItemIcon: string = '';\r\n @Prop() thirdItemIcon: string = '';\r\n @Prop() fourthItemIcon: string = '';\r\n @Prop() fifthItemIcon: string = '';\r\n @Prop() sixthItemIcon: string = '';\r\n @Prop() seventhItemIcon: string = '';\r\n @Prop() eighthItemIcon: string = '';\r\n @Prop() ninthItemIcon: string = '';\r\n @Prop() tenthItemIcon: string = '';\r\n @Prop() iconInstance: string = '';\r\n @Prop() label: string = '';\r\n @Prop() firstItemLabel: string = '';\r\n @Prop() secondItemLabel: string = '';\r\n @Prop() thirdItemLabel: string = '';\r\n @Prop() fourthItemLabel: string = '';\r\n @Prop() fifthItemLabel: string = '';\r\n @Prop() sixthItemLabel: string = '';\r\n @Prop() seventhItemLabel: string = '';\r\n @Prop() eighthItemLabel: string = '';\r\n @Prop() ninthItemLabel: string = '';\r\n @Prop() tenthItemLabel: string = '';\r\n @Element() el: HTMLElement;\r\n @State() activeIndex: number = 0;\r\n @State() leadingIconSvg: string = '';\r\n @Event() sidebarItemClicked: EventEmitter<number>;\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n collapseSideBar() {\r\n if (this.state === 'expanded') {\r\n this.state = 'collapsed';\r\n }\r\n }\r\n\r\n expandSideBar() {\r\n if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n }\r\n\r\n @Method()\r\n async sideBarItemClicked(index: number) {\r\n this.activeIndex = index;\r\n localStorage.setItem('activeIndex', index.toString());\r\n this.sidebarItemClicked.emit(index);\r\n }\r\n\r\n componentDidLoad() {\r\n const applicationName = this.el.querySelector('[slot=\"application_name\"]');\r\n\r\n applicationName.classList.add('text-lg-bold');\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.iconInstance);\r\n const storedIndex = localStorage.getItem('activeIndex');\r\n if (storedIndex !== null) {\r\n this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage\r\n }\r\n }\r\n\r\n render() {\r\n const textClass = this.category === 'plain_background' ? 'plain_background_color' : 'colored_background_color';\r\n const patternSrc = getAssetPath(`assets/pattern_wrapper.svg`);\r\n const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);\r\n const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);\r\n const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);\r\n\r\n return (\r\n <div class={`sidebar_div ${this.state} ${this.category}`}>\r\n {this.category === 'colored_background' && (\r\n <div class=\"pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class=\"nav\">\r\n <div class={`sidebar_header ${this.state}`}>\r\n <div class={`logo_and_name ${this.state}`}>\r\n {this.state === 'expanded' && <>{this.category === 'plain_background' ? <img src={blueLogoSrc} /> : <img src={whiteLogoSrc} />}</>}\r\n {this.state === 'collapsed' && <img src={logoSrc} alt=\"\" />}\r\n </div>\r\n <div class={`collapse_button ${this.state}`}>\r\n <gb-collapse-button\r\n color={this.category === 'plain_background' ? 'gray' : 'white'}\r\n action={this.state === 'collapsed' ? 'expand' : 'collapse'}\r\n onClick={() => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar())}\r\n ></gb-collapse-button>\r\n </div>\r\n </div>\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n <gb-side-bar-item\r\n state={this.activeIndex === 0 ? 'active' : 'default'}\r\n icon={this.firstItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(0)}\r\n label={this.firstItemLabel}\r\n ></gb-side-bar-item>\r\n <gb-side-bar-item\r\n state={this.activeIndex === 1 ? 'active' : 'default'}\r\n icon={this.secondItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(1)}\r\n label={this.secondItemLabel}\r\n ></gb-side-bar-item>\r\n {this.thirdItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 2 ? 'active' : 'default'}\r\n icon={this.thirdItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(2)}\r\n label={this.thirdItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fourthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 3 ? 'active' : 'default'}\r\n icon={this.fourthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(3)}\r\n label={this.fourthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.fifthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 4 ? 'active' : 'default'}\r\n icon={this.fifthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(4)}\r\n label={this.fifthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n {this.showSecondCategory && (\r\n <div class=\"navigation\">\r\n <div class=\"item\">\r\n {this.sixthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 5 ? 'active' : 'default'}\r\n icon={this.sixthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(5)}\r\n label={this.sixthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.seventhItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 6 ? 'active' : 'default'}\r\n icon={this.seventhItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(6)}\r\n label={this.seventhItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.eighthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 7 ? 'active' : 'default'}\r\n icon={this.eighthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(7)}\r\n label={this.eighthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.ninthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 8 ? 'active' : 'default'}\r\n icon={this.ninthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(8)}\r\n label={this.ninthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n {this.tenthItemLabel && (\r\n <gb-side-bar-item\r\n state={this.activeIndex === 9 ? 'active' : 'default'}\r\n icon={this.tenthItemIcon}\r\n category={this.category}\r\n type={this.state === 'collapsed' ? 'icon_only' : 'full_with_label'}\r\n onClick={() => this.sideBarItemClicked(9)}\r\n label={this.tenthItemLabel}\r\n ></gb-side-bar-item>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n {this.state === 'expanded' && (\r\n <div class=\"application_name\">\r\n <div class={`wrapper ${this.category}`}>\r\n {this.category === 'plain_background' && (\r\n <div class=\"application_name_pattern\">\r\n <img src={patternSrc} alt=\"\" />\r\n </div>\r\n )}\r\n <div class={`application_icon ${this.category}`} innerHTML={this.leadingIconSvg}></div>\r\n <span class={textClass}>\r\n <slot name=\"application_name\"></slot>\r\n </span>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -19,7 +19,7 @@ export class SliderControlHandle {
19
19
  this.isFocused = false;
20
20
  }
21
21
  render() {
22
- return (h("div", { key: 'ff78b84faf6c9a119a55371583652b3fd183e059', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '304d9c04d11ba1cb0526c8043ad37941d9d2d76f', class: "tooltip-container" }, h("gb-tooltip", { key: '8c2991292f97d6ae4c24ed128e606b5287bbbe9a', arrow: 'none' }, h("p", { key: '96b270a6cfcfea492068a4b2e6b4eb9ac0a6b827', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: '2b795f5c32a6ebb41122d5baf1b241107bc67a59', class: "thumb-label" }, this.value, "%"))));
22
+ return (h("div", { key: 'a4c6590ef09f8f67692d2703ef45e81fd14988b0', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '2414a16e7dc53e6b5fabc8571c825b531745a32e', class: "tooltip-container" }, h("gb-tooltip", { key: 'adbb9eff4708b231802df85dac5d184f2ad0c268', arrow: 'none' }, h("p", { key: '276a46eb3a7d39f4a93c238c47f60a2a685875b2', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: 'c804d04483e8e829688451f6655e14b1975a8348', class: "thumb-label" }, this.value, "%"))));
23
23
  }
24
24
  static get is() { return "gb-slider-control-handle"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -56,7 +56,7 @@ export class GbSlider {
56
56
  this.trackEl.style.width = `${rightPos - leftPos}%`;
57
57
  }
58
58
  render() {
59
- return (h("div", { key: '231a330b81a12a7995bb088f6f8cc2f8b0827712', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '7f29040b25b4f922ab0b0c44093643c5ecb195dd', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: 'f01c432240cb30162c09f1f2514235d8afa1e1ae', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '5c768934f12f4b072518299e07eb1118af41ac8f', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
59
+ return (h("div", { key: '791cb0adc44475c8015b1a168871189045052340', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '95402212ef90fd43ccdaf3eab3b7a6eb6e4ae391', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: '6523f8e3ad6b1b54858d807985d713ab7fccf0a1', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: 'f0fa265da00ae190ecf41012c7a0d6036a8e7984', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
60
60
  }
61
61
  static get is() { return "gb-slider"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class GbStatusIndicator {
9
9
  }
10
10
  render() {
11
11
  return [
12
- h("div", { key: '604ae5d102d89eaebdd12e5eb92fd5d8d61768b9' }, this.statusIcon === 'online_indicator' && h("div", { key: '0eb20bb80cc3a8cd1a80888be2c13c822db9bc99', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: 'b1ed86db6cb469638e104799e9c8d69d08741392', xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", class: `verified ${this.size}` }, h("g", { key: 'af4947ec969b969f9adec3cbfd6984a4dffbf886', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '0050b072ab2eef11583411e2a67b762df4a1b721', d: "M24.7109 5.66715C25.0148 6.40217 25.5982 6.98642 26.3328 7.29145L28.9086 8.35837C29.6436 8.66285 30.2277 9.24688 30.5321 9.98196C30.8366 10.717 30.8366 11.543 30.5321 12.2781L29.466 14.852C29.1614 15.5874 29.1609 16.4142 29.467 17.1492L30.5313 19.7224C30.6822 20.0865 30.7599 20.4767 30.76 20.8708C30.7601 21.265 30.6825 21.6553 30.5316 22.0194C30.3808 22.3835 30.1597 22.7143 29.881 22.993C29.6022 23.2716 29.2713 23.4926 28.9072 23.6433L26.3332 24.7095C25.5982 25.0134 25.0139 25.5968 24.7089 26.3314L23.642 28.9071C23.3375 29.6422 22.7535 30.2262 22.0184 30.5307C21.2833 30.8352 20.4574 30.8352 19.7223 30.5307L17.1484 29.4646C16.4133 29.1608 15.5876 29.1614 14.853 29.4663L12.2772 30.5317C11.5425 30.8355 10.7173 30.8352 9.98284 30.531C9.24835 30.2267 8.66466 29.6434 8.35997 28.9091L7.29273 26.3326C6.98881 25.5975 6.40543 25.0133 5.67087 24.7083L3.09509 23.6413C2.36033 23.337 1.77648 22.7533 1.47188 22.0187C1.16729 21.284 1.16688 20.4585 1.47073 19.7235L2.53689 17.1496C2.84062 16.4145 2.84 15.5888 2.53517 14.8542L1.47054 12.2766C1.3196 11.9125 1.24188 11.5222 1.24181 11.1281C1.24175 10.734 1.31935 10.3437 1.47017 9.97956C1.621 9.61544 1.8421 9.2846 2.12083 9.00595C2.39957 8.72731 2.73047 8.50632 3.09465 8.35561L5.66858 7.28945C6.40297 6.98579 6.98687 6.40316 7.29212 5.66944L8.35904 3.09366C8.66352 2.35857 9.24754 1.77455 9.98263 1.47007C10.7177 1.16559 11.5436 1.16559 12.2787 1.47007L14.8527 2.53623C15.5878 2.83996 16.4134 2.83934 17.148 2.5345L19.7249 1.47172C20.4599 1.16741 21.2856 1.16748 22.0206 1.4719C22.7555 1.77632 23.3395 2.36017 23.644 3.09507L24.7112 5.67161L24.7109 5.66715Z", fill: "#0086C9" }), h("path", { key: 'f6c472cd629a73a0a878f84d18651b88a7482bd7', d: "M10 18.1818C10 18.1818 11.2857 18.1818 13 22C13 22 17.7647 12 22 10", stroke: "white", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("defs", { key: 'e9bd19d8d01255c1b993afcc8f4a5161aed44223' }, h("clipPath", { key: '444f68cd6b1271d035190b35699245dbeb6c2fbd', id: "clip0_0_21453" }, h("rect", { key: '0fbb4778963a058a3fab0da261c5f910f1c61038', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: '97ae14e52054f2618b16a6b3993c3bd594b4f8e2', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `company ${this.size}` }, h("path", { key: 'eb2fe62ed8c6813644171d1181ed63aad30431b8', d: "M18.8322 3.70039C16.9123 2.11995 14.5039 1.25399 12.0172 1.25001C10.6041 1.24776 9.20439 1.52413 7.89818 2.06333C6.59198 2.60252 5.4049 3.39397 4.40485 4.39237C2.64504 6.1493 1.54876 8.462 1.30275 10.9365C1.05674 13.411 1.67622 15.8943 3.05566 17.9633C4.43511 20.0323 6.48919 21.5591 8.86802 22.2836C11.2469 23.0081 13.8033 22.8855 16.1019 21.9367C18.4004 20.9878 20.299 19.2715 21.474 17.0799C22.6491 14.8884 23.0281 12.3572 22.5464 9.91759C22.0647 7.47798 20.7521 5.28082 18.8322 3.70039Z", fill: "#FF0033", stroke: "white", "stroke-width": "1.5" }), h("path", { key: '34e8a5a2f1190bc7b8ca596311ca89dca6cca0d0', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8942 13.7488V11.865L15.2835 11.8807C15.5231 11.8822 15.7598 11.9336 15.9785 12.0314C16.1973 12.1293 16.3933 12.2715 16.5541 12.449C16.715 12.6266 16.8373 12.8357 16.9131 13.063C16.989 13.2903 17.0168 13.5308 16.9948 13.7694C16.9948 16.4275 12.901 16.9969 12.8973 13.7488M12.8973 8.75316C17.3054 6.44066 17.6942 11.5213 15.0323 11.2788H12.886L12.8973 8.75316ZM16.7385 11.5113C19.8985 10.3013 17.2573 5.5894 12.0854 8.5044C11.5544 8.07132 10.9218 7.78073 10.2473 7.66004C8.96979 7.40066 7.25604 7.62628 6.29479 8.52378L6.75917 8.97941C7.2569 8.55053 7.86627 8.27194 8.51626 8.17611C9.16625 8.08028 9.83009 8.17117 10.4304 8.43816C10.6321 8.53335 10.8098 8.67262 10.9505 8.8457C11.0911 9.01879 11.191 9.22127 11.2429 9.43817L11.266 13.7669C11.0785 16.7738 7.20354 16.5413 7.20354 13.7669V11.8682H10.2492V11.295H5.59729V13.1644C5.60917 16.7175 9.93104 17.315 12.0717 15.5863C12.9471 16.2353 14.0184 16.5649 15.1073 16.52C18.9442 16.4938 19.7323 12.3563 16.7273 11.5144L16.7385 11.5113Z", fill: "white" })))),
12
+ h("div", { key: '681d60237f881ba442e040296b63130ce963cd27' }, this.statusIcon === 'online_indicator' && h("div", { key: '53424641ae0194aab569f7d4bb9f1025b8e9a6d0', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: '6f28f7a13d94e239df9acf492560fe7cb3b67169', xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", class: `verified ${this.size}` }, h("g", { key: '95444a93532a2e96d39bc255737268e106ef6e70', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '3413313dd5eb884e5223b48801d7fb73c0d0c3ca', d: "M24.7109 5.66715C25.0148 6.40217 25.5982 6.98642 26.3328 7.29145L28.9086 8.35837C29.6436 8.66285 30.2277 9.24688 30.5321 9.98196C30.8366 10.717 30.8366 11.543 30.5321 12.2781L29.466 14.852C29.1614 15.5874 29.1609 16.4142 29.467 17.1492L30.5313 19.7224C30.6822 20.0865 30.7599 20.4767 30.76 20.8708C30.7601 21.265 30.6825 21.6553 30.5316 22.0194C30.3808 22.3835 30.1597 22.7143 29.881 22.993C29.6022 23.2716 29.2713 23.4926 28.9072 23.6433L26.3332 24.7095C25.5982 25.0134 25.0139 25.5968 24.7089 26.3314L23.642 28.9071C23.3375 29.6422 22.7535 30.2262 22.0184 30.5307C21.2833 30.8352 20.4574 30.8352 19.7223 30.5307L17.1484 29.4646C16.4133 29.1608 15.5876 29.1614 14.853 29.4663L12.2772 30.5317C11.5425 30.8355 10.7173 30.8352 9.98284 30.531C9.24835 30.2267 8.66466 29.6434 8.35997 28.9091L7.29273 26.3326C6.98881 25.5975 6.40543 25.0133 5.67087 24.7083L3.09509 23.6413C2.36033 23.337 1.77648 22.7533 1.47188 22.0187C1.16729 21.284 1.16688 20.4585 1.47073 19.7235L2.53689 17.1496C2.84062 16.4145 2.84 15.5888 2.53517 14.8542L1.47054 12.2766C1.3196 11.9125 1.24188 11.5222 1.24181 11.1281C1.24175 10.734 1.31935 10.3437 1.47017 9.97956C1.621 9.61544 1.8421 9.2846 2.12083 9.00595C2.39957 8.72731 2.73047 8.50632 3.09465 8.35561L5.66858 7.28945C6.40297 6.98579 6.98687 6.40316 7.29212 5.66944L8.35904 3.09366C8.66352 2.35857 9.24754 1.77455 9.98263 1.47007C10.7177 1.16559 11.5436 1.16559 12.2787 1.47007L14.8527 2.53623C15.5878 2.83996 16.4134 2.83934 17.148 2.5345L19.7249 1.47172C20.4599 1.16741 21.2856 1.16748 22.0206 1.4719C22.7555 1.77632 23.3395 2.36017 23.644 3.09507L24.7112 5.67161L24.7109 5.66715Z", fill: "#0086C9" }), h("path", { key: 'bbc02062d8413fc2a95096d90e35a11bd01f5980', d: "M10 18.1818C10 18.1818 11.2857 18.1818 13 22C13 22 17.7647 12 22 10", stroke: "white", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("defs", { key: '86f4fd7f55d9db9f78958c1725ad4b61f79fe2ee' }, h("clipPath", { key: '2276b9bed36bc47823e4156a39d83634a7be07b2', id: "clip0_0_21453" }, h("rect", { key: '87d6ec81b6808a57a6e427a2927a41dc8c6e99b1', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: 'da5c13d9e25730437c56a518efd53c82ef422d88', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `company ${this.size}` }, h("path", { key: 'f813fa0c7d79f0ea7d94f8d202e7d38d9fa081ce', d: "M18.8322 3.70039C16.9123 2.11995 14.5039 1.25399 12.0172 1.25001C10.6041 1.24776 9.20439 1.52413 7.89818 2.06333C6.59198 2.60252 5.4049 3.39397 4.40485 4.39237C2.64504 6.1493 1.54876 8.462 1.30275 10.9365C1.05674 13.411 1.67622 15.8943 3.05566 17.9633C4.43511 20.0323 6.48919 21.5591 8.86802 22.2836C11.2469 23.0081 13.8033 22.8855 16.1019 21.9367C18.4004 20.9878 20.299 19.2715 21.474 17.0799C22.6491 14.8884 23.0281 12.3572 22.5464 9.91759C22.0647 7.47798 20.7521 5.28082 18.8322 3.70039Z", fill: "#FF0033", stroke: "white", "stroke-width": "1.5" }), h("path", { key: '8b9ecfa436bdda99f25270e40380d8bed1767a71', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8942 13.7488V11.865L15.2835 11.8807C15.5231 11.8822 15.7598 11.9336 15.9785 12.0314C16.1973 12.1293 16.3933 12.2715 16.5541 12.449C16.715 12.6266 16.8373 12.8357 16.9131 13.063C16.989 13.2903 17.0168 13.5308 16.9948 13.7694C16.9948 16.4275 12.901 16.9969 12.8973 13.7488M12.8973 8.75316C17.3054 6.44066 17.6942 11.5213 15.0323 11.2788H12.886L12.8973 8.75316ZM16.7385 11.5113C19.8985 10.3013 17.2573 5.5894 12.0854 8.5044C11.5544 8.07132 10.9218 7.78073 10.2473 7.66004C8.96979 7.40066 7.25604 7.62628 6.29479 8.52378L6.75917 8.97941C7.2569 8.55053 7.86627 8.27194 8.51626 8.17611C9.16625 8.08028 9.83009 8.17117 10.4304 8.43816C10.6321 8.53335 10.8098 8.67262 10.9505 8.8457C11.0911 9.01879 11.191 9.22127 11.2429 9.43817L11.266 13.7669C11.0785 16.7738 7.20354 16.5413 7.20354 13.7669V11.8682H10.2492V11.295H5.59729V13.1644C5.60917 16.7175 9.93104 17.315 12.0717 15.5863C12.9471 16.2353 14.0184 16.5649 15.1073 16.52C18.9442 16.4938 19.7323 12.3563 16.7273 11.5144L16.7385 11.5113Z", fill: "white" })))),
13
13
  ];
14
14
  }
15
15
  static get is() { return "gb-status-indicator"; }
@@ -33,14 +33,7 @@ export class GbTabButtonBase {
33
33
  }
34
34
  }
35
35
  componentDidLoad() {
36
- const tabName = this.el.querySelector('[slot="name"]');
37
36
  const tabCount = this.el.querySelector('[slot="count"]');
38
- if (this.current) {
39
- tabName.classList.add(this.getCurrentTextClasses());
40
- }
41
- else {
42
- tabName.classList.add(this.getTextClasses());
43
- }
44
37
  if (tabCount) {
45
38
  tabCount.classList.add(this.getCountTextClasses());
46
39
  }
@@ -49,12 +42,12 @@ export class GbTabButtonBase {
49
42
  this.tabClicked.emit();
50
43
  }
51
44
  render() {
52
- return (h("div", { key: '54c260d1e1df654e093080657f6e53c2287af742', class: `tab_button_div ${this.type}
45
+ return (h("div", { key: '16124aae972f494fff77a78d26639cf308fa3fa5', class: `tab_button_div ${this.type}
53
46
  ${this.current ? 'current' : ''}
54
47
  ${this.fullWidth ? 'full_width' : ''}
55
- ${this.size}`, onClick: () => this.handleClick() }, h("p", { key: 'e349c3a50aca8249f015416c2b449f205d48d42d', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: 'c0cf3755b8c8c65e66cba7475bca1e8f5f8cb059', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary' ? 'information' :
48
+ ${this.size}`, onClick: () => this.handleClick() }, h("p", { key: '7c0b2c16344a5520655274755125012f455a88d9', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: '8122c5d40d5f39353f3f449beaba48809ad41ac1', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary' ? 'information' :
56
49
  this.current && this.type === 'underline' ? 'information' :
57
- this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '0cb0cb762aed23356eeb9c733682291c9769a547', name: "count" })))));
50
+ this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '3c91099c4ad447cec7d562303e342c9ea5a5ab80', name: "count" })))));
58
51
  }
59
52
  static get is() { return "gb-tab-button-base"; }
60
53
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-tab-button-base.js","sourceRoot":"","sources":["../../../src/components/gb-tab-button-base/gb-tab-button-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQjF,MAAM,OAAO,eAAe;;uBACC,KAAK;;yBAEH,KAAK;qBAC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AI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;QAC7B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE;QAClC,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE;YAC9C,0DAAG,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAG,IAAI,CAAC,OAAO,CAAK;YACrG,IAAI,CAAC,KAAK,IAAI,CACb,iEACE,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,YAAY,EACjB,KAAK,EACH,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;oBAChE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;wBAC3D,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM;gBAG/D,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACjB,CACZ,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport { GeneralSizes, TabTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-tab-button-base',\r\n styleUrl: 'gb-tab-button-base.css',\r\n shadow: true,\r\n})\r\nexport class GbTabButtonBase {\r\n @Prop() current: boolean = false;\r\n @Prop() size: GeneralSizes;\r\n @Prop() fullWidth: boolean = false;\r\n @Prop() badge: boolean = false;\r\n @Prop() type: TabTypes;\r\n @Prop() tabName: string = '';\r\n @Element() el: HTMLElement;\r\n @Event() tabClicked: EventEmitter<void>;\r\n\r\n getTextClasses() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'text-sm-medium';\r\n case 'md':\r\n return 'text-md-medium';\r\n }\r\n }\r\n\r\n getCurrentTextClasses() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n case 'md':\r\n return 'text-md-semi-bold';\r\n }\r\n }\r\n\r\n getCountTextClasses() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'text-xs-medium';\r\n case 'md':\r\n return 'text-sm-medium';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const tabName = this.el.querySelector('[slot=\"name\"]');\r\n const tabCount = this.el.querySelector('[slot=\"count\"]');\r\n\r\n if (this.current) {\r\n tabName.classList.add(this.getCurrentTextClasses());\r\n } else {\r\n tabName.classList.add(this.getTextClasses());\r\n }\r\n\r\n if(tabCount) {\r\n tabCount.classList.add(this.getCountTextClasses());\r\n }\r\n }\r\n\r\n handleClick() {\r\n this.tabClicked.emit();\r\n }\r\n\r\n render() {\r\n return (\r\n <div \r\n class={`tab_button_div ${this.type}\r\n ${this.current ? 'current' : ''} \r\n ${this.fullWidth ? 'full_width' : ''} \r\n ${this.size}`} onClick={() => this.handleClick()}>\r\n <p class={`${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}`}>{this.tabName}</p>\r\n {this.badge && (\r\n <gb-badge\r\n size=\"sm\"\r\n type=\"pill_color\"\r\n color={\r\n this.current && this.type === 'button_primary' ? 'information' :\r\n this.current && this.type === 'underline' ? 'information' :\r\n this.current && this.type === 'line' ? 'information' : 'gray'\r\n }\r\n >\r\n <slot name=\"count\"></slot>\r\n </gb-badge>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-tab-button-base.js","sourceRoot":"","sources":["../../../src/components/gb-tab-button-base/gb-tab-button-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQjF,MAAM,OAAO,eAAe;;uBACC,KAAK;;yBAEH,KAAK;qBACT,KAAK;;uBAEJ,EAAE;;IAI5B,cAAc;QACZ,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,IAAI;gBACP,OAAO,gBAAgB,CAAC;YAC1B,KAAK,IAAI;gBACP,OAAO,gBAAgB,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,qBAAqB;QACnB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,IAAI;gBACP,OAAO,mBAAmB,CAAC;YAC7B,KAAK,IAAI;gBACP,OAAO,mBAAmB,CAAC;QAC/B,CAAC;IACH,CAAC;IAED,mBAAmB;QACjB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,IAAI;gBACP,OAAO,gBAAgB,CAAC;YAC1B,KAAK,IAAI;gBACP,OAAO,gBAAgB,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,gBAAgB;QACd,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;QAEzD,IAAG,QAAQ,EAAE,CAAC;YACV,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC;QACvD,CAAC;IACH,CAAC;IAED,WAAW;QACT,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;IACzB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DACA,KAAK,EAAE,kBAAkB,IAAI,CAAC,IAAI;QAChC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;QAC7B,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE;QAClC,IAAI,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE;YAC9C,0DAAG,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAG,IAAI,CAAC,OAAO,CAAK;YACrG,IAAI,CAAC,KAAK,IAAI,CACb,iEACE,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,YAAY,EACjB,KAAK,EACH,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;oBAChE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;wBAC3D,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM;gBAG/D,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACjB,CACZ,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport { GeneralSizes, TabTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-tab-button-base',\r\n styleUrl: 'gb-tab-button-base.css',\r\n shadow: true,\r\n})\r\nexport class GbTabButtonBase {\r\n @Prop() current: boolean = false;\r\n @Prop() size: GeneralSizes;\r\n @Prop() fullWidth: boolean = false;\r\n @Prop() badge: boolean = false;\r\n @Prop() type: TabTypes;\r\n @Prop() tabName: string = '';\r\n @Element() el: HTMLElement;\r\n @Event() tabClicked: EventEmitter<void>;\r\n\r\n getTextClasses() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'text-sm-medium';\r\n case 'md':\r\n return 'text-md-medium';\r\n }\r\n }\r\n\r\n getCurrentTextClasses() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n case 'md':\r\n return 'text-md-semi-bold';\r\n }\r\n }\r\n\r\n getCountTextClasses() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'text-xs-medium';\r\n case 'md':\r\n return 'text-sm-medium';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const tabCount = this.el.querySelector('[slot=\"count\"]');\r\n\r\n if(tabCount) {\r\n tabCount.classList.add(this.getCountTextClasses());\r\n }\r\n }\r\n\r\n handleClick() {\r\n this.tabClicked.emit();\r\n }\r\n\r\n render() {\r\n return (\r\n <div \r\n class={`tab_button_div ${this.type}\r\n ${this.current ? 'current' : ''} \r\n ${this.fullWidth ? 'full_width' : ''} \r\n ${this.size}`} onClick={() => this.handleClick()}>\r\n <p class={`${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}`}>{this.tabName}</p>\r\n {this.badge && (\r\n <gb-badge\r\n size=\"sm\"\r\n type=\"pill_color\"\r\n color={\r\n this.current && this.type === 'button_primary' ? 'information' :\r\n this.current && this.type === 'underline' ? 'information' :\r\n this.current && this.type === 'line' ? 'information' : 'gray'\r\n }\r\n >\r\n <slot name=\"count\"></slot>\r\n </gb-badge>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -6,7 +6,7 @@ export class GbTagCheckbox {
6
6
  this.disabled = false;
7
7
  }
8
8
  render() {
9
- return (h("label", { key: 'cf22ec199af5275f3cc0e8b1c2cd10d56b00d403', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: 'dc13e095d3a30cd278f1f9fa2ffd5ade2d984fe3', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: 'b7b9551dea35e680bb679c264965a12227012d8a', class: `custom-checkbox ${this.size}` }, h("svg", { key: '09e1048959afd954123a8d8ea1c9cb2e0d8f59e1', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '48bea8c949813c2232915c87fe74b6fe95a7ee17', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
9
+ return (h("label", { key: 'ff5b494b341797163442a02bffd14fb88ce4024e', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '830be4351cf83816fe1dc5c6f7ea513944838cbc', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '4fc13df6979698d4327a328836f374fca3697846', class: `custom-checkbox ${this.size}` }, h("svg", { key: '4ad2be9119bcd92b1e0168d35b22194c2c272f66', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: 'd742afbe022ff6e19797c0a6fb98722d54c64567', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
10
10
  }
11
11
  static get is() { return "gb-tag-checkbox"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class GbTagClose {
4
4
  this.size = undefined;
5
5
  }
6
6
  render() {
7
- return (h("div", { key: '15864fc629e13fa75a5298af44f0af70bb94e722', class: this.size }, h("svg", { key: '44ff78120699575a95f717be03d9708afbc65013', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '8e830b90217236b74088dfb66e76a20dc7c91c0c', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
7
+ return (h("div", { key: 'e72ab72f3419a6442aff8022e8e0e51e8f68b94e', class: this.size }, h("svg", { key: '1b11dc4dc1a85c159111c730f3450845f61c1185', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '76bc551c85354add94aa7dd0302d1d7f3a7c586f', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
8
8
  }
9
9
  static get is() { return "gb-tag-close"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class GbTagCount {
4
4
  this.size = undefined;
5
5
  }
6
6
  render() {
7
- return (h("div", { key: 'a142152d34fffe1334049b3a2a1f5432d9f846a1', class: this.size }, h("slot", { key: '7fb0fcf742705d6a9ca35da9029c6a7d110fba46', name: "count" })));
7
+ return (h("div", { key: '4055dbee70d0bfca92be32e63f215d482d5211dd', class: this.size }, h("slot", { key: '6b88af61f886f41f1200506e11c88368de740961', name: "count" })));
8
8
  }
9
9
  static get is() { return "gb-tag-count"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class GbTag {
9
9
  }
10
10
  render() {
11
11
  const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);
12
- return (h("div", { key: 'c2a0e56c94367cd14daa25ba22fdc91b3eb8aa6b', class: `container ${this.size}` }, h("div", { key: '091e4cb9c008eb549d0b5ce0cdd3c59b5c4ff26e', class: `content ${this.size}` }, this.checkbox && (h("gb-tag-checkbox", { key: '6550aa861b9d8a6078a3695c638e5c3d32423ffe', size: this.size })), this.icon === 'country' && (h("div", { key: '91ef7e283206919343ddd0baff09849b156a57cf', class: "icon left-icon" }, h("img", { key: '5f114c47a04a6eb11b76813fbcf1a3a772772d98', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'bb0cda0b5ebbf645324fdc583dd293492858095c', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: 'fe0125da01a7780bae5c69109c3070bb147ac41a', name: 'image', slot: 'image' }))), this.icon === 'dot' && (h("svg", { key: '01a417ca6e4b1ec5cbf07efa7860251b6e7c68c5', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: '98ed660d033823d5b18bb05f2f4af90ccdfa4c2e', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: '68c1e98305ff8176d893c7c0c719a9b593029f43' }), this.action === 'count' && (h("gb-tag-count", { key: 'aa517dac59df35ea2a6630261e948d353a0347a9', size: this.size }, h("slot", { key: '3b772ac7f946b889b94d4fea0b9bf6b82db9298a', slot: "count", name: "count" })))), this.action === 'X_close' && (h("gb-tag-close", { key: '1e485df6fd945d935f25dd141f8ce946b07078a8', size: this.size }))));
12
+ return (h("div", { key: 'f7f45f739bad24d9962cccc2e4e97418f12c89f8', class: `container ${this.size}` }, h("div", { key: 'cd23b66ae42eaf4702f73ca4d231ef010591c0c0', class: `content ${this.size}` }, this.checkbox && (h("gb-tag-checkbox", { key: '11845e9c8eb4705e02eab8853606d305596eb9e4', size: this.size })), this.icon === 'country' && (h("div", { key: '094e97ecf28fc802761a76620521ea178609dc2f', class: "icon left-icon" }, h("img", { key: 'ca1c8c9c29cbcd4402e6d459cdb9c52908458dc1', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: '85431ab0ca87986cde3eaba9f881828b8d258b85', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '5b73639ea9699ae504d0aeeb8d5dc19dfeded146', name: 'image', slot: 'image' }))), this.icon === 'dot' && (h("svg", { key: '7fed1c336a0c0452212b9c07377dbc6214d1899d', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: '69b960443d9d0246f21feaa9af1fb62b1e9e638c', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: 'e0eee5a573b564884f9612045f72e45516e9b106' }), this.action === 'count' && (h("gb-tag-count", { key: '63731582f12ab09c1b09875f5b083fe2aa860639', size: this.size }, h("slot", { key: 'a65d79c08244775763ab14d00074372326413eeb', slot: "count", name: "count" })))), this.action === 'X_close' && (h("gb-tag-close", { key: 'a843c47a296ab8e244d8ab085e68a33549870e37', size: this.size }))));
13
13
  }
14
14
  static get is() { return "gb-tag"; }
15
15
  static get encapsulation() { return "shadow"; }