globuswebcomponents 1.8.4 → 1.8.6

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 (512) hide show
  1. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +88 -0
  2. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-avatar-dropdown.entry.cjs.js.map +1 -0
  4. package/dist/cjs/gb-avatar-label-group.gb-theme-tab.entry.cjs.js.map +1 -0
  5. package/dist/cjs/gb-avatar-label-group_2.cjs.entry.js +128 -0
  6. package/dist/cjs/gb-avatar-label-group_2.cjs.entry.js.map +1 -0
  7. package/dist/cjs/{gb-avatar_30.cjs.entry.js → gb-avatar_28.cjs.entry.js} +555 -458
  8. package/dist/cjs/gb-avatar_28.cjs.entry.js.map +1 -0
  9. package/dist/cjs/gb-button-group-base.cjs.entry.js +33 -0
  10. package/dist/cjs/gb-button-group-base.cjs.entry.js.map +1 -0
  11. package/dist/cjs/gb-button-group-base.entry.cjs.js.map +1 -0
  12. package/dist/cjs/gb-button-group.cjs.entry.js +51 -0
  13. package/dist/cjs/gb-button-group.cjs.entry.js.map +1 -0
  14. package/dist/cjs/gb-button-group.entry.cjs.js.map +1 -0
  15. package/dist/cjs/gb-card-icon.cjs.entry.js +31 -0
  16. package/dist/cjs/gb-card-icon.cjs.entry.js.map +1 -0
  17. package/dist/cjs/gb-card-icon.entry.cjs.js.map +1 -0
  18. package/dist/cjs/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.cjs.js.map +1 -0
  19. package/dist/cjs/{gb-collapse-button_3.cjs.entry.js → gb-collapse-button_4.cjs.entry.js} +43 -3
  20. package/dist/cjs/gb-collapse-button_4.cjs.entry.js.map +1 -0
  21. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +38 -0
  22. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -0
  23. package/dist/cjs/gb-dropdown-items-with-shortcut.entry.cjs.js.map +1 -0
  24. package/dist/cjs/gb-featured-icon_2.cjs.entry.js +1 -1
  25. package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +1 -1
  26. package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +47 -0
  27. package/dist/cjs/gb-horizontal-tabs.cjs.entry.js.map +1 -0
  28. package/dist/cjs/gb-horizontal-tabs.entry.cjs.js.map +1 -0
  29. package/dist/cjs/{gb-export-dropdown.cjs.entry.js → gb-icon-button-base.cjs.entry.js} +20 -15
  30. package/dist/cjs/gb-icon-button-base.cjs.entry.js.map +1 -0
  31. package/dist/cjs/gb-icon-button-base.entry.cjs.js.map +1 -0
  32. package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  34. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  35. package/dist/cjs/gb-quick-action-card.cjs.entry.js +22 -0
  36. package/dist/cjs/gb-quick-action-card.cjs.entry.js.map +1 -0
  37. package/dist/cjs/gb-quick-action-card.entry.cjs.js.map +1 -0
  38. package/dist/cjs/gb-quick-action-icon.cjs.entry.js +1 -1
  39. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  40. package/dist/cjs/gb-sidebar.cjs.entry.js +6 -3
  41. package/dist/cjs/gb-sidebar.cjs.entry.js.map +1 -1
  42. package/dist/cjs/gb-sidebar.entry.cjs.js.map +1 -1
  43. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  44. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  45. package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
  46. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
  47. package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
  48. package/dist/cjs/gb-tab-button-base.cjs.entry.js +72 -0
  49. package/dist/cjs/gb-tab-button-base.cjs.entry.js.map +1 -0
  50. package/dist/cjs/gb-tab-button-base.entry.cjs.js.map +1 -0
  51. package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
  52. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +4 -4
  53. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  54. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  55. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  56. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  57. package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
  58. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
  59. package/dist/cjs/gb-top-bar-item.cjs.entry.js +1 -1
  60. package/dist/cjs/gb-top-bar-sidemenu.cjs.entry.js +1 -1
  61. package/dist/cjs/gb-top-bar.cjs.entry.js +1 -1
  62. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  63. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  64. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
  65. package/dist/cjs/globuscomponents.cjs.js +1 -1
  66. package/dist/cjs/loader.cjs.js +1 -1
  67. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  68. package/dist/collection/assets/arrow-down-01.svg +3 -0
  69. package/dist/collection/assets/file-export.svg +3 -0
  70. package/dist/collection/assets/laptop_gray.svg +4 -0
  71. package/dist/collection/assets/refresh.svg +3 -0
  72. package/dist/collection/collection-manifest.json +1 -0
  73. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +1 -1
  74. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +28 -3
  75. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
  76. package/dist/collection/components/gb-button/readme.md +2 -0
  77. package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +1 -1
  78. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.css +5 -5
  79. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +2 -2
  80. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -1
  81. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.css +1 -1
  82. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
  83. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js.map +1 -1
  84. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +1 -2
  85. package/dist/collection/components/gb-pagination/gb-pagination.js +16 -2
  86. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  87. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  88. package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
  89. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  90. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +10 -1
  91. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js.map +1 -1
  92. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  93. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  94. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  95. package/dist/collection/components/gb-quick-action-card/gb-quick-action-card.js +1 -1
  96. package/dist/collection/components/gb-quick-action-icon/gb-quick-action-icon.js +1 -1
  97. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  98. package/dist/collection/components/gb-sidebar/gb-sidebar.css +3 -3
  99. package/dist/collection/components/gb-sidebar/gb-sidebar.js +5 -2
  100. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  101. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.css +9 -9
  102. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +1 -1
  103. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  104. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  105. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  106. package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
  107. package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
  108. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
  109. package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
  110. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  111. package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
  112. package/dist/collection/components/gb-table-header/gb-table-header.css +2731 -0
  113. package/dist/collection/components/gb-table-header/gb-table-header.js +317 -0
  114. package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -0
  115. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  116. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  117. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  118. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  119. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +4 -4
  120. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +21 -6
  121. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js.map +1 -1
  122. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  123. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  124. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  125. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  126. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  127. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  128. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  129. package/dist/collection/components/gb-top-bar/gb-top-bar.js +1 -1
  130. package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js +1 -1
  131. package/dist/collection/components/gb-top-bar-sidemenu/gb-top-bar-sidemenu.js +1 -1
  132. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  133. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  134. package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
  135. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  136. package/dist/components/gb-avatar-add-button.js +1 -1
  137. package/dist/components/gb-avatar-dropdown.js +13 -12
  138. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  139. package/dist/components/gb-avatar-group.js +4 -4
  140. package/dist/components/gb-avatar-label-group.js +1 -1
  141. package/dist/components/gb-avatar-profile-photo.js +2 -2
  142. package/dist/components/gb-avatar.js +1 -1
  143. package/dist/components/gb-badge.js +1 -1
  144. package/dist/components/gb-checkbox-group-item.js +1 -1
  145. package/dist/components/gb-checkbox-group.js +3 -3
  146. package/dist/components/gb-collapse-button.js +1 -1
  147. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  148. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  149. package/dist/components/gb-detail-cell.js +4 -4
  150. package/dist/components/gb-export-dropdown-item.js +1 -1
  151. package/dist/components/gb-export-dropdown.js +1 -60
  152. package/dist/components/gb-export-dropdown.js.map +1 -1
  153. package/dist/components/gb-export-sub-dropdown.js +1 -1
  154. package/dist/components/gb-file-upload-item-base.js +1 -1
  155. package/dist/components/gb-file-upload.js +3 -3
  156. package/dist/components/gb-filter-button.js +1 -76
  157. package/dist/components/gb-filter-button.js.map +1 -1
  158. package/dist/components/gb-header.js +2 -2
  159. package/dist/components/gb-help-tooltip.js +1 -1
  160. package/dist/components/gb-horizontal-tabs.js +4 -4
  161. package/dist/components/gb-icon-button-base.js +1 -1
  162. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  163. package/dist/components/gb-input-dropdown.js +1 -1
  164. package/dist/components/gb-input-field.js +1 -1
  165. package/dist/components/gb-pagination-button-group-base.js +1 -1
  166. package/dist/components/gb-pagination-dot-group.js +1 -1
  167. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  168. package/dist/components/gb-pagination-number-base.js +1 -1
  169. package/dist/components/gb-pagination.js +30 -16
  170. package/dist/components/gb-pagination.js.map +1 -1
  171. package/dist/components/gb-password-button.js +1 -1
  172. package/dist/components/gb-progress-bar.js +1 -1
  173. package/dist/components/gb-progress-circle.js +1 -1
  174. package/dist/components/gb-quick-action-card.js +1 -1
  175. package/dist/components/gb-quick-action-icon.js +1 -1
  176. package/dist/components/gb-scrollbar.js +1 -1
  177. package/dist/components/gb-sidebar.js +14 -11
  178. package/dist/components/gb-sidebar.js.map +1 -1
  179. package/dist/components/gb-simple-side-bar-item.js +1 -1
  180. package/dist/components/gb-slider-control-handle.js +1 -1
  181. package/dist/components/gb-slider.js +3 -3
  182. package/dist/components/gb-status-indicator.js +1 -1
  183. package/dist/components/gb-step-base.js +1 -1
  184. package/dist/components/gb-stepper-horizontal-icons-centered.js +2 -2
  185. package/dist/components/gb-stepper-horizontal-line-with-text.js +2 -2
  186. package/dist/components/gb-stepper-vertical-icons-with-text.js +2 -2
  187. package/dist/components/gb-tab-button-base.js +1 -1
  188. package/dist/components/gb-table-cell.js +1 -1
  189. package/dist/components/gb-table-header.d.ts +11 -0
  190. package/dist/components/gb-table-header.js +229 -0
  191. package/dist/components/gb-table-header.js.map +1 -0
  192. package/dist/components/gb-tag-checkbox.js +1 -1
  193. package/dist/components/gb-tag-close.js +1 -1
  194. package/dist/components/gb-tag-count.js +1 -1
  195. package/dist/components/gb-tag.js +1 -1
  196. package/dist/components/gb-textarea-input-field.js +11 -11
  197. package/dist/components/gb-theme-tab.js +1 -1
  198. package/dist/components/gb-toast-button.js +1 -1
  199. package/dist/components/gb-toast.js +2 -2
  200. package/dist/components/gb-toggle-base.js +1 -1
  201. package/dist/components/gb-toggle.js +2 -2
  202. package/dist/components/gb-token-field-compact.js +1 -1
  203. package/dist/components/gb-token-field-compressed.js +2 -2
  204. package/dist/components/gb-tooltip.js +1 -1
  205. package/dist/components/gb-top-bar-item.js +1 -1
  206. package/dist/components/gb-top-bar-sidemenu.js +6 -6
  207. package/dist/components/gb-top-bar.js +3 -3
  208. package/dist/components/gb-vertical-tabs.js +1 -1
  209. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  210. package/dist/components/gb-wysiwyg-tooltip.js +2 -2
  211. package/dist/components/{p-Di2Q1JQ0.js → p-174-nFyY.js} +4 -4
  212. package/dist/components/{p-Di2Q1JQ0.js.map → p-174-nFyY.js.map} +1 -1
  213. package/dist/components/{p-Dbe9sjzG.js → p-1I0B_p6v.js} +3 -3
  214. package/dist/components/{p-Dbe9sjzG.js.map → p-1I0B_p6v.js.map} +1 -1
  215. package/dist/components/{p-BD5tvfA8.js → p-4uaILzaK.js} +14 -14
  216. package/dist/{globuscomponents/p-3efd5c15.entry.js.map → components/p-4uaILzaK.js.map} +1 -1
  217. package/dist/components/{p-BO22nWS0.js → p-B3h_qGUd.js} +12 -12
  218. package/dist/components/{p-BO22nWS0.js.map → p-B3h_qGUd.js.map} +1 -1
  219. package/dist/components/{p-CkOI-5kd.js → p-B6gScQp0.js} +3 -3
  220. package/dist/components/p-B6gScQp0.js.map +1 -0
  221. package/dist/components/{p-DbSC-PKN.js → p-BF2lryxL.js} +3 -3
  222. package/dist/components/{p-DbSC-PKN.js.map → p-BF2lryxL.js.map} +1 -1
  223. package/dist/components/{p-B-JPWgmI.js → p-BKPMZgXQ.js} +3 -3
  224. package/dist/components/{p-B-JPWgmI.js.map → p-BKPMZgXQ.js.map} +1 -1
  225. package/dist/components/{p-DD2bKMam.js → p-Bbmhg5GU.js} +3 -3
  226. package/dist/components/{p-DD2bKMam.js.map → p-Bbmhg5GU.js.map} +1 -1
  227. package/dist/components/{p-Ce05BLPG.js → p-Bcq-iPNK.js} +4 -4
  228. package/dist/components/{p-Ce05BLPG.js.map → p-Bcq-iPNK.js.map} +1 -1
  229. package/dist/components/{p-qfYLR2nA.js → p-BiJ45ahX.js} +8 -8
  230. package/dist/components/p-BiJ45ahX.js.map +1 -0
  231. package/dist/components/{p-DXEjI2iT.js → p-Bs97bSa5.js} +4 -4
  232. package/dist/components/{p-DXEjI2iT.js.map → p-Bs97bSa5.js.map} +1 -1
  233. package/dist/components/{p-nGv2LMRe.js → p-Bswh0z3A.js} +4 -4
  234. package/dist/components/{p-nGv2LMRe.js.map → p-Bswh0z3A.js.map} +1 -1
  235. package/dist/components/{p-CpT9mhkB.js → p-BtqJnhzw.js} +3 -3
  236. package/dist/components/{p-CpT9mhkB.js.map → p-BtqJnhzw.js.map} +1 -1
  237. package/dist/components/{p-CIrDkfXz.js → p-BuA2roqi.js} +3 -3
  238. package/dist/components/{p-CIrDkfXz.js.map → p-BuA2roqi.js.map} +1 -1
  239. package/dist/components/{p-BIrwac_S.js → p-C-shE7bQ.js} +4 -4
  240. package/dist/components/{p-BIrwac_S.js.map → p-C-shE7bQ.js.map} +1 -1
  241. package/dist/components/{p-BsmmyyVA.js → p-C8S-HrUn.js} +4 -4
  242. package/dist/components/{p-BsmmyyVA.js.map → p-C8S-HrUn.js.map} +1 -1
  243. package/dist/components/{p-BZ0ETjZ_.js → p-CKYaIaMW.js} +3 -3
  244. package/dist/components/{p-BZ0ETjZ_.js.map → p-CKYaIaMW.js.map} +1 -1
  245. package/dist/components/{p-BK2fLoR1.js → p-CUZjZ2-4.js} +7 -7
  246. package/dist/components/{p-BK2fLoR1.js.map → p-CUZjZ2-4.js.map} +1 -1
  247. package/dist/components/{p-CL3REaU6.js → p-CWoCdqkT.js} +3 -3
  248. package/dist/components/{p-CL3REaU6.js.map → p-CWoCdqkT.js.map} +1 -1
  249. package/dist/components/{p-DTSpaLhm.js → p-CdP1Z8uk.js} +3 -3
  250. package/dist/components/{p-DTSpaLhm.js.map → p-CdP1Z8uk.js.map} +1 -1
  251. package/dist/components/{p-DjXzxs-G.js → p-Clr70mrb.js} +11 -3
  252. package/dist/components/p-Clr70mrb.js.map +1 -0
  253. package/dist/components/{p-Dn3qpC4k.js → p-Cq845Oia.js} +6 -6
  254. package/dist/components/p-Cq845Oia.js.map +1 -0
  255. package/dist/components/p-D-s15XVU.js +65 -0
  256. package/dist/components/p-D-s15XVU.js.map +1 -0
  257. package/dist/{esm/gb-filter-button.entry.js → components/p-D0lEjlMs.js} +65 -10
  258. package/dist/components/p-D0lEjlMs.js.map +1 -0
  259. package/dist/components/{p-BDjUXSe6.js → p-D5-W0kkN.js} +3 -3
  260. package/dist/components/{p-BDjUXSe6.js.map → p-D5-W0kkN.js.map} +1 -1
  261. package/dist/components/{p-e3GirOiY.js → p-DGvGQrCn.js} +3 -3
  262. package/dist/components/{p-e3GirOiY.js.map → p-DGvGQrCn.js.map} +1 -1
  263. package/dist/components/{p-rvs_81wL.js → p-DV06uZ9m.js} +4 -4
  264. package/dist/components/{p-rvs_81wL.js.map → p-DV06uZ9m.js.map} +1 -1
  265. package/dist/components/{p-BBSL694I.js → p-DVZ4JdmP.js} +3 -3
  266. package/dist/components/{p-BBSL694I.js.map → p-DVZ4JdmP.js.map} +1 -1
  267. package/dist/components/{p-uOeci2os.js → p-DqZLEacS.js} +4 -4
  268. package/dist/components/p-DqZLEacS.js.map +1 -0
  269. package/dist/components/{p-BF08oPhK.js → p-Dqgom5e9.js} +8 -8
  270. package/dist/components/{p-BF08oPhK.js.map → p-Dqgom5e9.js.map} +1 -1
  271. package/dist/components/{p-BxVBZl-X.js → p-Dtuz6SlR.js} +8 -8
  272. package/dist/components/{p-BxVBZl-X.js.map → p-Dtuz6SlR.js.map} +1 -1
  273. package/dist/components/{p-D8I9rF8S.js → p-KhShaHQL.js} +3 -3
  274. package/dist/components/{p-D8I9rF8S.js.map → p-KhShaHQL.js.map} +1 -1
  275. package/dist/components/{p-BbKP3Ziz.js → p-N_ltr0Qr.js} +4 -4
  276. package/dist/components/{p-BbKP3Ziz.js.map → p-N_ltr0Qr.js.map} +1 -1
  277. package/dist/components/{p-CQGTfRDL.js → p-Ugo9JARM.js} +3 -3
  278. package/dist/components/{p-CQGTfRDL.js.map → p-Ugo9JARM.js.map} +1 -1
  279. package/dist/components/{p-Dv5zBYdK.js → p-aD123sBw.js} +4 -4
  280. package/dist/components/{p-Dv5zBYdK.js.map → p-aD123sBw.js.map} +1 -1
  281. package/dist/components/{p-G5IaOkYA.js → p-dF-bmDhQ.js} +3 -3
  282. package/dist/components/{p-G5IaOkYA.js.map → p-dF-bmDhQ.js.map} +1 -1
  283. package/dist/components/{p-Bw5WoPIS.js → p-pNTKXEWo.js} +3 -3
  284. package/dist/components/{p-Bw5WoPIS.js.map → p-pNTKXEWo.js.map} +1 -1
  285. package/dist/components/{p-58s1T6zX.js → p-xWT4dQY_.js} +3 -3
  286. package/dist/components/{p-58s1T6zX.js.map → p-xWT4dQY_.js.map} +1 -1
  287. package/dist/components/test-input-tag.js +9 -9
  288. package/dist/docs.json +454 -9
  289. package/dist/esm/gb-avatar-dropdown.entry.js +86 -0
  290. package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -0
  291. package/dist/esm/gb-avatar-label-group.gb-theme-tab.entry.js.map +1 -0
  292. package/dist/esm/gb-avatar-label-group_2.entry.js +125 -0
  293. package/dist/esm/gb-avatar-label-group_2.entry.js.map +1 -0
  294. package/dist/esm/{gb-avatar_30.entry.js → gb-avatar_28.entry.js} +547 -448
  295. package/dist/esm/gb-avatar_28.entry.js.map +1 -0
  296. package/dist/esm/gb-button-group-base.entry.js +31 -0
  297. package/dist/esm/gb-button-group-base.entry.js.map +1 -0
  298. package/dist/esm/gb-button-group.entry.js +49 -0
  299. package/dist/esm/gb-button-group.entry.js.map +1 -0
  300. package/dist/esm/gb-card-icon.entry.js +29 -0
  301. package/dist/esm/gb-card-icon.entry.js.map +1 -0
  302. package/dist/esm/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.js.map +1 -0
  303. package/dist/esm/{gb-collapse-button_3.entry.js → gb-collapse-button_4.entry.js} +44 -5
  304. package/dist/esm/gb-collapse-button_4.entry.js.map +1 -0
  305. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +36 -0
  306. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -0
  307. package/dist/esm/gb-featured-icon_2.entry.js +1 -1
  308. package/dist/esm/gb-file-type-icon_2.entry.js +1 -1
  309. package/dist/esm/gb-horizontal-tabs.entry.js +45 -0
  310. package/dist/esm/gb-horizontal-tabs.entry.js.map +1 -0
  311. package/dist/esm/{gb-export-dropdown.entry.js → gb-icon-button-base.entry.js} +21 -16
  312. package/dist/esm/gb-icon-button-base.entry.js.map +1 -0
  313. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  314. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  315. package/dist/esm/gb-progress-circle.entry.js +1 -1
  316. package/dist/esm/gb-quick-action-card.entry.js +20 -0
  317. package/dist/esm/gb-quick-action-card.entry.js.map +1 -0
  318. package/dist/esm/gb-quick-action-icon.entry.js +1 -1
  319. package/dist/esm/gb-scrollbar.entry.js +1 -1
  320. package/dist/esm/gb-sidebar.entry.js +6 -3
  321. package/dist/esm/gb-sidebar.entry.js.map +1 -1
  322. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  323. package/dist/esm/gb-slider.entry.js +1 -1
  324. package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
  325. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
  326. package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
  327. package/dist/esm/gb-tab-button-base.entry.js +70 -0
  328. package/dist/esm/gb-tab-button-base.entry.js.map +1 -0
  329. package/dist/esm/gb-table-cell.entry.js +1 -1
  330. package/dist/esm/gb-textarea-input-field.entry.js +4 -4
  331. package/dist/esm/gb-toast-button.entry.js +1 -1
  332. package/dist/esm/gb-toast.entry.js +1 -1
  333. package/dist/esm/gb-toggle-base.entry.js +2 -2
  334. package/dist/esm/gb-toggle.entry.js +1 -1
  335. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  336. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  337. package/dist/esm/gb-top-bar-item.entry.js +1 -1
  338. package/dist/esm/gb-top-bar-sidemenu.entry.js +1 -1
  339. package/dist/esm/gb-top-bar.entry.js +1 -1
  340. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  341. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  342. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  343. package/dist/esm/globuscomponents.js +1 -1
  344. package/dist/esm/loader.js +1 -1
  345. package/dist/esm/test-input-tag.entry.js +2 -2
  346. package/dist/globuscomponents/assets/arrow-down-01.svg +3 -0
  347. package/dist/globuscomponents/assets/file-export.svg +3 -0
  348. package/dist/globuscomponents/assets/laptop_gray.svg +4 -0
  349. package/dist/globuscomponents/assets/refresh.svg +3 -0
  350. package/dist/globuscomponents/gb-avatar-dropdown.entry.esm.js.map +1 -0
  351. package/dist/globuscomponents/gb-avatar-label-group.gb-theme-tab.entry.esm.js.map +1 -0
  352. package/dist/globuscomponents/gb-button-group-base.entry.esm.js.map +1 -0
  353. package/dist/globuscomponents/gb-button-group.entry.esm.js.map +1 -0
  354. package/dist/globuscomponents/gb-card-icon.entry.esm.js.map +1 -0
  355. package/dist/globuscomponents/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.esm.js.map +1 -0
  356. package/dist/globuscomponents/gb-dropdown-items-with-shortcut.entry.esm.js.map +1 -0
  357. package/dist/globuscomponents/gb-horizontal-tabs.entry.esm.js.map +1 -0
  358. package/dist/globuscomponents/gb-icon-button-base.entry.esm.js.map +1 -0
  359. package/dist/globuscomponents/gb-quick-action-card.entry.esm.js.map +1 -0
  360. package/dist/globuscomponents/gb-sidebar.entry.esm.js.map +1 -1
  361. package/dist/globuscomponents/gb-tab-button-base.entry.esm.js.map +1 -0
  362. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  363. package/dist/globuscomponents/{p-3e11f91c.entry.js → p-13295bc1.entry.js} +2 -2
  364. package/dist/globuscomponents/{p-d42708b8.entry.js → p-1753259c.entry.js} +2 -2
  365. package/dist/globuscomponents/p-1753259c.entry.js.map +1 -0
  366. package/dist/globuscomponents/{p-4526743e.entry.js → p-18535735.entry.js} +2 -2
  367. package/dist/globuscomponents/{p-43e0f83c.entry.js → p-187c5fdf.entry.js} +2 -2
  368. package/dist/globuscomponents/{p-13992547.entry.js → p-18941d67.entry.js} +2 -2
  369. package/dist/globuscomponents/p-35e264ab.entry.js +2 -0
  370. package/dist/globuscomponents/{p-51a14523.entry.js → p-404c6fb8.entry.js} +2 -2
  371. package/dist/globuscomponents/{p-fe09927f.entry.js → p-4c83f905.entry.js} +2 -2
  372. package/dist/globuscomponents/{p-3a434973.entry.js → p-4fbc6a87.entry.js} +2 -2
  373. package/dist/globuscomponents/{p-cb49cd8a.entry.js → p-5ac00fbc.entry.js} +2 -2
  374. package/dist/globuscomponents/{p-a5640646.entry.js → p-5c04c06a.entry.js} +2 -2
  375. package/dist/globuscomponents/{p-7a3d7ceb.entry.js → p-6424171c.entry.js} +2 -2
  376. package/dist/globuscomponents/{p-5e2fa657.entry.js → p-6869d01e.entry.js} +2 -2
  377. package/dist/globuscomponents/p-6e7d5997.entry.js +2 -0
  378. package/dist/globuscomponents/p-6e7d5997.entry.js.map +1 -0
  379. package/dist/globuscomponents/p-7153d340.entry.js +2 -0
  380. package/dist/globuscomponents/p-7153d340.entry.js.map +1 -0
  381. package/dist/globuscomponents/{p-ed96270a.entry.js → p-71824ef8.entry.js} +2 -2
  382. package/dist/globuscomponents/p-74501de9.entry.js +2 -0
  383. package/dist/globuscomponents/p-74501de9.entry.js.map +1 -0
  384. package/dist/globuscomponents/{p-1b5359cc.entry.js → p-76d20289.entry.js} +2 -2
  385. package/dist/globuscomponents/p-78000807.entry.js +2 -0
  386. package/dist/globuscomponents/{p-f23244d8.entry.js → p-78c98392.entry.js} +2 -2
  387. package/dist/globuscomponents/p-78c98392.entry.js.map +1 -0
  388. package/dist/globuscomponents/{p-4743780a.entry.js → p-7db54094.entry.js} +2 -2
  389. package/dist/globuscomponents/p-7db54094.entry.js.map +1 -0
  390. package/dist/globuscomponents/{p-1cbbac32.entry.js → p-8eb046c4.entry.js} +2 -2
  391. package/dist/globuscomponents/p-9ed89197.entry.js +2 -0
  392. package/dist/globuscomponents/p-9ed89197.entry.js.map +1 -0
  393. package/dist/globuscomponents/{p-9f62534b.entry.js → p-a0ed0ec7.entry.js} +2 -2
  394. package/dist/globuscomponents/{p-cd354568.entry.js → p-a0ee3d9a.entry.js} +2 -2
  395. package/dist/globuscomponents/{p-8dc78860.entry.js → p-ad93eaea.entry.js} +2 -2
  396. package/dist/globuscomponents/{p-d20ba3e5.entry.js → p-ae946db6.entry.js} +2 -2
  397. package/dist/globuscomponents/p-b23cd5f0.entry.js +2 -0
  398. package/dist/globuscomponents/p-b23cd5f0.entry.js.map +1 -0
  399. package/dist/globuscomponents/{p-504dd800.entry.js → p-bf8b3b00.entry.js} +2 -2
  400. package/dist/globuscomponents/p-d9debe92.entry.js +2 -0
  401. package/dist/globuscomponents/p-d9debe92.entry.js.map +1 -0
  402. package/dist/globuscomponents/p-db716d96.entry.js +2 -0
  403. package/dist/globuscomponents/p-db716d96.entry.js.map +1 -0
  404. package/dist/globuscomponents/{p-32a3899f.entry.js → p-e80627b7.entry.js} +2 -2
  405. package/dist/globuscomponents/p-e9fa6b2e.entry.js +2 -0
  406. package/dist/globuscomponents/p-e9fa6b2e.entry.js.map +1 -0
  407. package/dist/globuscomponents/p-ee6d6009.entry.js +2 -0
  408. package/dist/globuscomponents/{p-7229e160.entry.js → p-f29cbe1a.entry.js} +2 -2
  409. package/dist/globuscomponents/{p-1da61bd0.entry.js → p-f48acadb.entry.js} +2 -2
  410. package/dist/globuscomponents/{p-96e405f7.entry.js → p-f76d4c54.entry.js} +2 -2
  411. package/dist/globuscomponents/{p-7e5612e3.entry.js → p-f78c4e43.entry.js} +2 -2
  412. package/dist/globuscomponents/p-f78c4e43.entry.js.map +1 -0
  413. package/dist/globuscomponents/{p-158fddde.entry.js → p-faff9abd.entry.js} +2 -2
  414. package/dist/globuscomponents/p-faff9abd.entry.js.map +1 -0
  415. package/dist/globuscomponents/{p-e58c84cb.entry.js → p-ff9ffa46.entry.js} +2 -2
  416. package/dist/globuscomponents/readme.md +2 -0
  417. package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +2 -1
  418. package/dist/types/components/gb-pagination/gb-pagination.d.ts +2 -0
  419. package/dist/types/components/gb-pagination-number-base/gb-pagination-number-base.d.ts +1 -0
  420. package/dist/types/components/gb-table-header/gb-table-header.d.ts +29 -0
  421. package/dist/types/components.d.ts +57 -0
  422. package/package.json +1 -1
  423. package/dist/cjs/gb-avatar_30.cjs.entry.js.map +0 -1
  424. package/dist/cjs/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.cjs.js.map +0 -1
  425. package/dist/cjs/gb-collapse-button_3.cjs.entry.js.map +0 -1
  426. package/dist/cjs/gb-export-dropdown-item.gb-export-sub-dropdown.entry.cjs.js.map +0 -1
  427. package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js +0 -46
  428. package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js.map +0 -1
  429. package/dist/cjs/gb-export-dropdown.cjs.entry.js.map +0 -1
  430. package/dist/cjs/gb-export-dropdown.entry.cjs.js.map +0 -1
  431. package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +0 -39
  432. package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js.map +0 -1
  433. package/dist/cjs/gb-export-sub-dropdown-item.entry.cjs.js.map +0 -1
  434. package/dist/cjs/gb-filter-button.cjs.entry.js +0 -28
  435. package/dist/cjs/gb-filter-button.cjs.entry.js.map +0 -1
  436. package/dist/cjs/gb-filter-button.entry.cjs.js.map +0 -1
  437. package/dist/cjs/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.cjs.js.map +0 -1
  438. package/dist/cjs/gb-input-dropdown_3.cjs.entry.js +0 -391
  439. package/dist/cjs/gb-input-dropdown_3.cjs.entry.js.map +0 -1
  440. package/dist/cjs/gb-pagination.cjs.entry.js +0 -47
  441. package/dist/cjs/gb-pagination.cjs.entry.js.map +0 -1
  442. package/dist/cjs/gb-pagination.entry.cjs.js.map +0 -1
  443. package/dist/components/p-BD5tvfA8.js.map +0 -1
  444. package/dist/components/p-CkOI-5kd.js.map +0 -1
  445. package/dist/components/p-DjXzxs-G.js.map +0 -1
  446. package/dist/components/p-Dn3qpC4k.js.map +0 -1
  447. package/dist/components/p-qfYLR2nA.js.map +0 -1
  448. package/dist/components/p-uOeci2os.js.map +0 -1
  449. package/dist/esm/gb-avatar_30.entry.js.map +0 -1
  450. package/dist/esm/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.js.map +0 -1
  451. package/dist/esm/gb-collapse-button_3.entry.js.map +0 -1
  452. package/dist/esm/gb-export-dropdown-item.gb-export-sub-dropdown.entry.js.map +0 -1
  453. package/dist/esm/gb-export-dropdown-item_2.entry.js +0 -43
  454. package/dist/esm/gb-export-dropdown-item_2.entry.js.map +0 -1
  455. package/dist/esm/gb-export-dropdown.entry.js.map +0 -1
  456. package/dist/esm/gb-export-sub-dropdown-item.entry.js +0 -37
  457. package/dist/esm/gb-export-sub-dropdown-item.entry.js.map +0 -1
  458. package/dist/esm/gb-filter-button.entry.js.map +0 -1
  459. package/dist/esm/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.js.map +0 -1
  460. package/dist/esm/gb-input-dropdown_3.entry.js +0 -387
  461. package/dist/esm/gb-input-dropdown_3.entry.js.map +0 -1
  462. package/dist/esm/gb-pagination.entry.js +0 -45
  463. package/dist/esm/gb-pagination.entry.js.map +0 -1
  464. package/dist/globuscomponents/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.esm.js.map +0 -1
  465. package/dist/globuscomponents/gb-export-dropdown-item.gb-export-sub-dropdown.entry.esm.js.map +0 -1
  466. package/dist/globuscomponents/gb-export-dropdown.entry.esm.js.map +0 -1
  467. package/dist/globuscomponents/gb-export-sub-dropdown-item.entry.esm.js.map +0 -1
  468. package/dist/globuscomponents/gb-filter-button.entry.esm.js.map +0 -1
  469. package/dist/globuscomponents/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.esm.js.map +0 -1
  470. package/dist/globuscomponents/gb-pagination.entry.esm.js.map +0 -1
  471. package/dist/globuscomponents/p-004818f6.entry.js +0 -2
  472. package/dist/globuscomponents/p-03df5ac6.entry.js +0 -2
  473. package/dist/globuscomponents/p-03df5ac6.entry.js.map +0 -1
  474. package/dist/globuscomponents/p-158fddde.entry.js.map +0 -1
  475. package/dist/globuscomponents/p-3b29514b.entry.js +0 -2
  476. package/dist/globuscomponents/p-3efd5c15.entry.js +0 -2
  477. package/dist/globuscomponents/p-4743780a.entry.js.map +0 -1
  478. package/dist/globuscomponents/p-591e675a.entry.js +0 -2
  479. package/dist/globuscomponents/p-591e675a.entry.js.map +0 -1
  480. package/dist/globuscomponents/p-620e9101.entry.js +0 -2
  481. package/dist/globuscomponents/p-7e5612e3.entry.js.map +0 -1
  482. package/dist/globuscomponents/p-d12c4a62.entry.js +0 -2
  483. package/dist/globuscomponents/p-d12c4a62.entry.js.map +0 -1
  484. package/dist/globuscomponents/p-d42708b8.entry.js.map +0 -1
  485. package/dist/globuscomponents/p-f23244d8.entry.js.map +0 -1
  486. /package/dist/globuscomponents/{p-3e11f91c.entry.js.map → p-13295bc1.entry.js.map} +0 -0
  487. /package/dist/globuscomponents/{p-4526743e.entry.js.map → p-18535735.entry.js.map} +0 -0
  488. /package/dist/globuscomponents/{p-43e0f83c.entry.js.map → p-187c5fdf.entry.js.map} +0 -0
  489. /package/dist/globuscomponents/{p-13992547.entry.js.map → p-18941d67.entry.js.map} +0 -0
  490. /package/dist/globuscomponents/{p-3b29514b.entry.js.map → p-35e264ab.entry.js.map} +0 -0
  491. /package/dist/globuscomponents/{p-51a14523.entry.js.map → p-404c6fb8.entry.js.map} +0 -0
  492. /package/dist/globuscomponents/{p-fe09927f.entry.js.map → p-4c83f905.entry.js.map} +0 -0
  493. /package/dist/globuscomponents/{p-3a434973.entry.js.map → p-4fbc6a87.entry.js.map} +0 -0
  494. /package/dist/globuscomponents/{p-cb49cd8a.entry.js.map → p-5ac00fbc.entry.js.map} +0 -0
  495. /package/dist/globuscomponents/{p-a5640646.entry.js.map → p-5c04c06a.entry.js.map} +0 -0
  496. /package/dist/globuscomponents/{p-7a3d7ceb.entry.js.map → p-6424171c.entry.js.map} +0 -0
  497. /package/dist/globuscomponents/{p-5e2fa657.entry.js.map → p-6869d01e.entry.js.map} +0 -0
  498. /package/dist/globuscomponents/{p-ed96270a.entry.js.map → p-71824ef8.entry.js.map} +0 -0
  499. /package/dist/globuscomponents/{p-1b5359cc.entry.js.map → p-76d20289.entry.js.map} +0 -0
  500. /package/dist/globuscomponents/{p-620e9101.entry.js.map → p-78000807.entry.js.map} +0 -0
  501. /package/dist/globuscomponents/{p-1cbbac32.entry.js.map → p-8eb046c4.entry.js.map} +0 -0
  502. /package/dist/globuscomponents/{p-9f62534b.entry.js.map → p-a0ed0ec7.entry.js.map} +0 -0
  503. /package/dist/globuscomponents/{p-cd354568.entry.js.map → p-a0ee3d9a.entry.js.map} +0 -0
  504. /package/dist/globuscomponents/{p-8dc78860.entry.js.map → p-ad93eaea.entry.js.map} +0 -0
  505. /package/dist/globuscomponents/{p-d20ba3e5.entry.js.map → p-ae946db6.entry.js.map} +0 -0
  506. /package/dist/globuscomponents/{p-504dd800.entry.js.map → p-bf8b3b00.entry.js.map} +0 -0
  507. /package/dist/globuscomponents/{p-32a3899f.entry.js.map → p-e80627b7.entry.js.map} +0 -0
  508. /package/dist/globuscomponents/{p-004818f6.entry.js.map → p-ee6d6009.entry.js.map} +0 -0
  509. /package/dist/globuscomponents/{p-7229e160.entry.js.map → p-f29cbe1a.entry.js.map} +0 -0
  510. /package/dist/globuscomponents/{p-1da61bd0.entry.js.map → p-f48acadb.entry.js.map} +0 -0
  511. /package/dist/globuscomponents/{p-96e405f7.entry.js.map → p-f76d4c54.entry.js.map} +0 -0
  512. /package/dist/globuscomponents/{p-e58c84cb.entry.js.map → p-ff9ffa46.entry.js.map} +0 -0
@@ -84,7 +84,10 @@ export class GbSidebar {
84
84
  }
85
85
  componentDidLoad() {
86
86
  const applicationName = this.el.querySelector('[slot="application_name"]');
87
- applicationName.classList.add('text-lg-bold');
87
+ if (applicationName) {
88
+ applicationName.classList.add('text-lg-bold');
89
+ applicationName.classList.add('application_name');
90
+ }
88
91
  }
89
92
  componentWillLoad() {
90
93
  this.loadIcon(this.iconInstance);
@@ -95,7 +98,7 @@ export class GbSidebar {
95
98
  const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
96
99
  const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
97
100
  const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
98
- return (h(Fragment, null, this.type === 'simple' && (h("div", { key: '26ff35518226a7333300195fa0da68febebb220a', class: `simple_sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'e446e01fd338ed21b6aff0ebc44e14e581992bfc', class: "pattern" }, h("img", { key: '1b604874b41788deb7c97bf46de66aef1e0ffeba', src: patternSrc, alt: "" }))), h("div", { key: '652b2296ae7468b9262afbd3f798a76313925a5a', class: "nav" }, h("div", { key: '978504efa1a988c8081a570817e068fa1ece00f3', class: `sidebar_header ${this.state}` }, h("div", { key: 'c4a1641625f36f97598eb3ed55f43fa045841172', 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: '65e9c246e0d1cad6b1d8a7eaf9e49369e8bff819', src: logoSrc, alt: "" })), h("div", { key: '30357be9e0b9359e8871c87aa57293812206112e', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '278111c6407c8ab2a73d0cef63d98c58d180376e', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '9103895ab45946aa3e4119b78ca4ec0645749a86', class: "navigation" }, h("div", { key: '88fa839abc5eac443cb7791f7d8e9cd767fdeddf', class: "item" }, h("gb-simple-side-bar-item", { key: '04f276e3b82354bbf48ed1672a946bbbefec1c3f', 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-simple-side-bar-item", { key: '79b3c6e75885700bb57132e6bd2a988bfae4bf18', 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-simple-side-bar-item", { key: 'e23063b56b49252556a572f3dab87351baf52fff', 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-simple-side-bar-item", { key: '4686b0c26d3643fc1b2571cf864ea205a01e7a85', 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-simple-side-bar-item", { key: '85cae43e5d4f2312e8b5e0ac28af8d4106a5e29d', 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: '471d30b8e3daaddbe23a16852e4ea24b72d5d1e6', class: "navigation" }, h("div", { key: '7ce1526c2d0645f2dfc65ab32abda7160cff623a', class: "item" }, this.sixthItemLabel && (h("gb-simple-side-bar-item", { key: '3d3d997f99b822db81997bc3e2a4cd41a9cec8fe', 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-simple-side-bar-item", { key: '21d4bd3628b829aa4777baa188a1951ff6aeff26', 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-simple-side-bar-item", { key: '5463f9eca20b3fc7c296c88fccbab0ab24a80b99', 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-simple-side-bar-item", { key: '20d8abfc771b7957fb8d7e7e15ea3ce011c1f71c', 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-simple-side-bar-item", { key: 'f78ca5b5a2ffb00f61337175ee1a69d3010120f5', 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: '7f4920ec49a8ba7fa5606c27973598d6f3954cd0', class: "application_name" }, h("div", { key: '8411665e55fb4bddc11d9a2c5e1a2584bad368ba', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '2fe5ea21ee7debe0aee0f2c5e865db956d7ddae0', class: "application_name_pattern" }, h("img", { key: 'ec8012c148ae305c32aaefad0feccafd3c32c97d', src: patternSrc, alt: "" }))), h("div", { key: '68182f251dfc6328b3e39235b5f8b3eeb1b83bdc', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '52f22a6c94a08d133dfaa9df256e74e2e11e8f26', class: textClass }, h("slot", { key: 'bcdf101f44b6d93654ff693355ff2a02900421ae', name: "application_name" }))))))), this.type === 'complex' && (h("div", { key: '4208238c6a9b6833f6b061ec73ee0447ff5321fe', class: `sidebar_and_nav ${this.state}` }, h("div", { key: '8658b1e13c7b01f90729e1f4401a2d578ef39b5e', class: "nav_div" }, h("div", { key: '13a1aacb3aee82d5594c5d9efd3886132c067c8b', class: "logo_and_button" }, this.state === 'expanded' && h("img", { key: '42da6d3bc5275543c486f70515799f6fe376a546', src: blueLogoSrc }), this.state === 'collapsed' && h("img", { key: '1d44d073647dbefc314ba5eefae82e1f48de196e', src: logoSrc, alt: "" }), h("gb-collapse-button", { key: 'f47d56bd977ee71709125d8c3cccbe7977e17bb8', color: "gray", action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '604690fabd684512a9eb14f7c188857e337f8158', class: "complex_sidebar_div" }, h("div", { key: '0228a7041250fb382d1e8df3fbcadc48b86081ae', class: `primary_side_menu ${this.category} ${this.navItemStyle}` }, this.category === 'colored_background' && (h("div", { key: '0ea7009f83643235e905c00600dfe864bdb24bd9', class: "pattern" }, h("img", { key: 'b78c7bc2573673039b73457d2b64fad6fec51981', src: patternSrc, alt: "" }))), h("div", { key: 'b486e8187d3159bc4bb6ed110fd51cb60c0e3ad7', class: "primary_side_menu_container" }, Object.keys(this.complexSidebarData).map((primaryItem, index) => (h("gb-complex-primary-side-bar-item", { key: `${index}`, label: primaryItem, category: this.category, "item-style": this.navItemStyle, icon: this.complexSidebarData[primaryItem].icon, state: this.activePrimaryItem === primaryItem ? 'active' : 'default', onClick: () => this.handlePrimaryClick(primaryItem, index) }))))), h("div", { key: '09b694151943bfa166ca614c36b9bb3de9448a8f', class: `secondary_side_menu ${this.category} ${this.state}` }, h("div", { key: 'a8b355a21e24cae414ac780dd7a35b0490873d08', class: "sside_menu" }, this.complexSidebarData[this.activePrimaryItem].items.map((secondaryItem, index) => (h("gb-complex-secondary-side-bar-item", { key: `${this.activePrimaryItem}-${index}`, type: this.state === 'expanded' ? 'full_with_label' : 'icon_only', label: secondaryItem.label, category: this.category, icon: secondaryItem.icon, state: this.activeSecondaryItem === secondaryItem.label ? 'active' : 'default', onClick: () => this.handleSecondaryClick(secondaryItem.label, index) }))))))))));
101
+ return (h(Fragment, null, this.type === 'simple' && (h("div", { key: '61fcc283d391e8d94b9c1695c9544d713b7ec180', class: `simple_sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '7f461dd29482df19532c7d1df11268877b9f661d', class: "pattern" }, h("img", { key: '1bd878cf97856576695add972b3dcbb0907020f6', src: patternSrc, alt: "" }))), h("div", { key: '044c640ed39e01e28a73b38c76921fda01918d7d', class: "nav" }, h("div", { key: '96e64bbb6926f308c2192327395216b913de5e3d', class: `sidebar_header ${this.state}` }, h("div", { key: '3f9389058dff7a22e3bd0d2e8f13edb146582c7c', 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: 'de343ab75405db786815f6c549afe7861677e3bb', src: logoSrc, alt: "" })), h("div", { key: 'c89002de6020bb8ce3a808092fcde1067fef7fa4', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '0b1e95ab7f272c0772dfb21ae4d0f0826cd6034b', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '6ef42653694fd0bd499d307e1d8ee659becf9262', class: "navigation" }, h("div", { key: '1f76e86b44b00620f38d8851eb0909c83e7b907d', class: "item" }, h("gb-simple-side-bar-item", { key: '0243927a2f62f670cd77d9323221218e5b221763', 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-simple-side-bar-item", { key: 'f0fca3b4edf3e75d6d3247d89b3fbeb1ad9f78bf', 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-simple-side-bar-item", { key: '07208b6d4a1fb9cee629ee12dd0bbffad10c484e', 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-simple-side-bar-item", { key: '75df5aa45c987972251e9f10e8c100b2230837bc', 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-simple-side-bar-item", { key: 'cf00e3b1ade945e67afd42c95c15b8dff5f31767', 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: 'd6aaea86c9ddf4af96959ca13e2d5e0ee379800a', class: "navigation" }, h("div", { key: '50638a57c281b23c64d84f66e7874341d89b10d3', class: "item" }, this.sixthItemLabel && (h("gb-simple-side-bar-item", { key: '5c9ab9696332d6d618368b1a0772d1e9d52a038a', 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-simple-side-bar-item", { key: 'a8be694a37cdacde3cd09840dfaac01f17bd00dc', 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-simple-side-bar-item", { key: '8303bc155a7d50d2499a7614358f510a81e98510', 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-simple-side-bar-item", { key: 'da0ef8e8e64d5419a47144ba4152c0ec317a5f68', 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-simple-side-bar-item", { key: 'f2fc672e7f779dfb09580f9467947149a93625c7', 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: 'b8b07e170ef37922473ba414b013f21db6188992', class: "application_name" }, h("div", { key: 'd4191fba4ea4cfc8bdcc9f4210440b133e247faf', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '0673f83c5ec4691b5505196893cc4d60712bdb59', class: "application_name_pattern" }, h("img", { key: 'd0690452a6965bd538b341ccd7cc0bc5eac1f854', src: patternSrc, alt: "" }))), h("div", { key: 'e000bd4fe79052e08c8810fb629401aa8e38a27c', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: 'c696ed1781e3e151fca48ff5d95602f4183408c6', class: textClass }, h("slot", { key: 'b873bf34139605aa08b8ea9f06c8257caef8540d', name: "application_name" }))))))), this.type === 'complex' && (h("div", { key: 'fde61e033f0630839d8741095c8fc7caa70658d5', class: `sidebar_and_nav ${this.state}` }, h("div", { key: 'f700e5447dcbcf71f489615008827068b48bb892', class: "nav_div" }, h("div", { key: '021d7d838acebb6d02c8fee2f8c5a35df2396a22', class: "logo_and_button" }, this.state === 'expanded' && h("img", { key: '0f8c88ed719209ec83029cd77c8aa85d124662c7', src: blueLogoSrc }), this.state === 'collapsed' && h("img", { key: '760f5bc6b1548289e6c003e956cb6dd9251c6d19', src: logoSrc, alt: "" }), h("gb-collapse-button", { key: '9742dbc937702441b3c63f7d0128c37926bf65cc', color: "gray", action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '758421e598c1a59df8adea98662757e2f79e7f93', class: "complex_sidebar_div" }, h("div", { key: '532dc39accc3534210ce524c8353a4cac17f767c', class: `primary_side_menu ${this.category} ${this.navItemStyle}` }, this.category === 'colored_background' && (h("div", { key: '8e094ea5ac592cffba80ea61f7a2990d6952985c', class: "pattern" }, h("img", { key: 'd3cbfbcdfbc31273c8b9fcd291f680d6f7bc821d', src: patternSrc, alt: "" }))), h("div", { key: 'a128c96d2616fa2fbf0e7c246dfec1eaea3d15a8', class: "primary_side_menu_container" }, Object.keys(this.complexSidebarData).map((primaryItem, index) => (h("gb-complex-primary-side-bar-item", { key: `${index}`, label: primaryItem, category: this.category, "item-style": this.navItemStyle, icon: this.complexSidebarData[primaryItem].icon, state: this.activePrimaryItem === primaryItem ? 'active' : 'default', onClick: () => this.handlePrimaryClick(primaryItem, index) }))))), h("div", { key: 'fbfa72649d0b7e18db0133473195745f5fb05dc9', class: `secondary_side_menu ${this.category} ${this.state}` }, h("div", { key: '4fa20649c4689c62c8a3d47a57916e6e6c3e31fd', class: "sside_menu" }, this.complexSidebarData[this.activePrimaryItem].items.map((secondaryItem, index) => (h("gb-complex-secondary-side-bar-item", { key: `${this.activePrimaryItem}-${index}`, type: this.state === 'expanded' ? 'full_with_label' : 'icon_only', label: secondaryItem.label, category: this.category, icon: secondaryItem.icon, state: this.activeSecondaryItem === secondaryItem.label ? 'active' : 'default', onClick: () => this.handleSecondaryClick(secondaryItem.label, index) }))))))))));
99
102
  }
100
103
  static get is() { return "gb-sidebar"; }
101
104
  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;IALtB;QAM2B,UAAK,GAA6B,UAAU,CAAC;QAI9D,uBAAkB,GAAY,KAAK,CAAC;QACpC,iBAAY,GAAW,EAAE,CAAC;QAC1B,kBAAa,GAAW,EAAE,CAAC;QAC3B,mBAAc,GAAW,EAAE,CAAC;QAC5B,kBAAa,GAAW,EAAE,CAAC;QAC3B,mBAAc,GAAW,EAAE,CAAC;QAC5B,kBAAa,GAAW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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' = 'expanded';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() navItemStyle: 'standard' | 'compact';\r\n @Prop() type: 'simple' | 'complex';\r\n @Prop() showSecondCategory: boolean = false;\r\n @Prop() iconInstance: 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() 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 @Prop() complexSidebarData: any = {\r\n Recruitment: {\r\n icon: 'assets/user-search-01.svg', // Icon class or path for Recruitment\r\n items: [\r\n { label: 'Overview', icon: 'assets/star.svg' },\r\n { label: 'My Profile', icon: 'assets/star.svg' },\r\n { label: 'Appraisal', icon: 'assets/star.svg' },\r\n { label: 'Staff Management', icon: 'assets/star.svg' },\r\n { label: 'Leave Management', icon: 'assets/star.svg' },\r\n { label: 'Resignation Portal', icon: 'assets/star.svg' },\r\n ],\r\n },\r\n Staff: {\r\n icon: 'assets/user-account.svg',\r\n items: [\r\n { label: 'Staff Overview', icon: 'assets/star.svg' },\r\n { label: 'Payroll Management', icon: 'assets/dashboard-square-03.svg' },\r\n { label: 'Attendance', icon: 'assets/dashboard-square-03.svg' },\r\n { label: 'New', icon: 'assets/dashboard-square-03.svg' },\r\n ],\r\n },\r\n };\r\n @Prop({ mutable: true }) activeIndex: number;\r\n @Prop({ mutable: true }) activePrimaryItem: string = 'Staff';\r\n @Prop({ mutable: true }) activeSecondaryItem: string = 'Attendance Tracking';\r\n @Element() el: HTMLElement;\r\n @State() leadingIconSvg: string = '';\r\n @Event() simpleSidebarItemClicked: EventEmitter<number>;\r\n @Event() secondaryItemClicked: EventEmitter<number>;\r\n @Event() primaryItemClicked: EventEmitter<{primary: number, secondary: number}>;\r\n @Event() sidebarState: EventEmitter<string>;\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 this.sidebarState.emit('collapsed');\r\n }\r\n\r\n expandSideBar() {\r\n if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n this.sidebarState.emit('expanded');\r\n }\r\n\r\n @Method()\r\n async sideBarItemClicked(index: number) {\r\n this.activeIndex = index;\r\n // console.log(index);\r\n this.simpleSidebarItemClicked.emit(index);\r\n }\r\n\r\n handlePrimaryClick(item: string, index: number) {\r\n this.activePrimaryItem = item;\r\n this.activeSecondaryItem = this.complexSidebarData[item].items[0].label; // Reset to the first secondary item\r\n console.log(index)\r\n }\r\n\r\n handleSecondaryClick(item: string, index: number) {\r\n this.activeSecondaryItem = item;\r\n console.log(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 <>\r\n {this.type === 'simple' && (\r\n <div class={`simple_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-simple-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-simple-side-bar-item>\r\n <gb-simple-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-simple-side-bar-item>\r\n {this.thirdItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.fourthItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.fifthItemLabel && (\r\n <gb-simple-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-simple-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-simple-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-simple-side-bar-item>\r\n )}\r\n {this.seventhItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.eighthItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.ninthItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.tenthItemLabel && (\r\n <gb-simple-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-simple-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 {this.type === 'complex' && (\r\n <div class={`sidebar_and_nav ${this.state}`}>\r\n <div class=\"nav_div\">\r\n <div class=\"logo_and_button\">\r\n {this.state === 'expanded' && <img src={blueLogoSrc} />}\r\n {this.state === 'collapsed' && <img src={logoSrc} alt=\"\" />}\r\n <gb-collapse-button\r\n color=\"gray\"\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=\"complex_sidebar_div\">\r\n <div class={`primary_side_menu ${this.category} ${this.navItemStyle}`}>\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=\"primary_side_menu_container\">\r\n {Object.keys(this.complexSidebarData).map((primaryItem, index) => (\r\n <gb-complex-primary-side-bar-item\r\n key={`${index}`} // Unique key\r\n label={primaryItem}\r\n category={this.category}\r\n item-style={this.navItemStyle}\r\n icon={this.complexSidebarData[primaryItem].icon}\r\n state={this.activePrimaryItem === primaryItem ? 'active' : 'default'}\r\n onClick={() => this.handlePrimaryClick(primaryItem, index)}\r\n ></gb-complex-primary-side-bar-item>\r\n ))}\r\n </div>\r\n </div>\r\n <div class={`secondary_side_menu ${this.category} ${this.state}`}>\r\n <div class=\"sside_menu\">\r\n {this.complexSidebarData[this.activePrimaryItem].items.map((secondaryItem, index) => (\r\n <gb-complex-secondary-side-bar-item\r\n key={`${this.activePrimaryItem}-${index}`} // Unique key\r\n type={this.state === 'expanded' ? 'full_with_label' : 'icon_only'}\r\n label={secondaryItem.label}\r\n category={this.category}\r\n icon={secondaryItem.icon}\r\n state={this.activeSecondaryItem === secondaryItem.label ? 'active' : 'default'}\r\n onClick={() => this.handleSecondaryClick(secondaryItem.label, index)}\r\n ></gb-complex-secondary-side-bar-item>\r\n ))}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n </>\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;IALtB;QAM2B,UAAK,GAA6B,UAAU,CAAC;QAI9D,uBAAkB,GAAY,KAAK,CAAC;QACpC,iBAAY,GAAW,EAAE,CAAC;QAC1B,kBAAa,GAAW,EAAE,CAAC;QAC3B,mBAAc,GAAW,EAAE,CAAC;QAC5B,kBAAa,GAAW,EAAE,CAAC;QAC3B,mBAAc,GAAW,EAAE,CAAC;QAC5B,kBAAa,GAAW,EAAE,CAAC;QAC3B,kBAAa,GAAW,EAAE,CAAC;QAC3B,oBAAe,GAAW,EAAE,CAAC;QAC7B,mBAAc,GAAW,EAAE,CAAC;QAC5B,kBAAa,GAAW,EAAE,CAAC;QAC3B,kBAAa,GAAW,EAAE,CAAC;QAC3B,mBAAc,GAAW,EAAE,CAAC;QAC5B,oBAAe,GAAW,EAAE,CAAC;QAC7B,mBAAc,GAAW,EAAE,CAAC;QAC5B,oBAAe,GAAW,EAAE,CAAC;QAC7B,mBAAc,GAAW,EAAE,CAAC;QAC5B,mBAAc,GAAW,EAAE,CAAC;QAC5B,qBAAgB,GAAW,EAAE,CAAC;QAC9B,oBAAe,GAAW,EAAE,CAAC;QAC7B,mBAAc,GAAW,EAAE,CAAC;QAC5B,mBAAc,GAAW,EAAE,CAAC;QAC5B,uBAAkB,GAAQ;YAChC,WAAW,EAAE;gBACX,IAAI,EAAE,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AC,CAAC,SAAS,EAC9E,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,GAChC,CACvC,CAAC,CACE,CACF,CACF,CACF,CACP,CACA,CACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, Fragment, State, getAssetPath, Method, Event, EventEmitter } from \"@stencil/core\";\r\nimport { GeneralBackgroundCategories } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-sidebar',\r\n styleUrl: 'gb-sidebar.css',\r\n shadow: true,\r\n})\r\nexport class GbSidebar {\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed' = 'expanded';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() navItemStyle: 'standard' | 'compact';\r\n @Prop() type: 'simple' | 'complex';\r\n @Prop() showSecondCategory: boolean = false;\r\n @Prop() iconInstance: 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() 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 @Prop() complexSidebarData: any = {\r\n Recruitment: {\r\n icon: 'assets/user-search-01.svg', // Icon class or path for Recruitment\r\n items: [\r\n { label: 'Overview', icon: 'assets/star.svg' },\r\n { label: 'My Profile', icon: 'assets/star.svg' },\r\n { label: 'Appraisal', icon: 'assets/star.svg' },\r\n { label: 'Staff Management', icon: 'assets/star.svg' },\r\n { label: 'Leave Management', icon: 'assets/star.svg' },\r\n { label: 'Resignation Portal', icon: 'assets/star.svg' },\r\n ],\r\n },\r\n Staff: {\r\n icon: 'assets/user-account.svg',\r\n items: [\r\n { label: 'Staff Overview', icon: 'assets/star.svg' },\r\n { label: 'Payroll Management', icon: 'assets/dashboard-square-03.svg' },\r\n { label: 'Attendance', icon: 'assets/dashboard-square-03.svg' },\r\n { label: 'New', icon: 'assets/dashboard-square-03.svg' },\r\n ],\r\n },\r\n };\r\n @Prop({ mutable: true }) activeIndex: number;\r\n @Prop({ mutable: true }) activePrimaryItem: string = 'Staff';\r\n @Prop({ mutable: true }) activeSecondaryItem: string = 'Attendance Tracking';\r\n @Element() el: HTMLElement;\r\n @State() leadingIconSvg: string = '';\r\n @Event() simpleSidebarItemClicked: EventEmitter<number>;\r\n @Event() secondaryItemClicked: EventEmitter<number>;\r\n @Event() primaryItemClicked: EventEmitter<{primary: number, secondary: number}>;\r\n @Event() sidebarState: EventEmitter<string>;\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 this.sidebarState.emit('collapsed');\r\n }\r\n\r\n expandSideBar() {\r\n if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n this.sidebarState.emit('expanded');\r\n }\r\n\r\n @Method()\r\n async sideBarItemClicked(index: number) {\r\n this.activeIndex = index;\r\n // console.log(index);\r\n this.simpleSidebarItemClicked.emit(index);\r\n }\r\n\r\n handlePrimaryClick(item: string, index: number) {\r\n this.activePrimaryItem = item;\r\n this.activeSecondaryItem = this.complexSidebarData[item].items[0].label; // Reset to the first secondary item\r\n console.log(index)\r\n }\r\n\r\n handleSecondaryClick(item: string, index: number) {\r\n this.activeSecondaryItem = item;\r\n console.log(index);\r\n }\r\n\r\n componentDidLoad() {\r\n const applicationName = this.el.querySelector('[slot=\"application_name\"]');\r\n\r\n if(applicationName) {\r\n applicationName.classList.add('text-lg-bold');\r\n applicationName.classList.add('application_name')\r\n }\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 <>\r\n {this.type === 'simple' && (\r\n <div class={`simple_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-simple-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-simple-side-bar-item>\r\n <gb-simple-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-simple-side-bar-item>\r\n {this.thirdItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.fourthItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.fifthItemLabel && (\r\n <gb-simple-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-simple-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-simple-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-simple-side-bar-item>\r\n )}\r\n {this.seventhItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.eighthItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.ninthItemLabel && (\r\n <gb-simple-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-simple-side-bar-item>\r\n )}\r\n {this.tenthItemLabel && (\r\n <gb-simple-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-simple-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 {this.type === 'complex' && (\r\n <div class={`sidebar_and_nav ${this.state}`}>\r\n <div class=\"nav_div\">\r\n <div class=\"logo_and_button\">\r\n {this.state === 'expanded' && <img src={blueLogoSrc} />}\r\n {this.state === 'collapsed' && <img src={logoSrc} alt=\"\" />}\r\n <gb-collapse-button\r\n color=\"gray\"\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=\"complex_sidebar_div\">\r\n <div class={`primary_side_menu ${this.category} ${this.navItemStyle}`}>\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=\"primary_side_menu_container\">\r\n {Object.keys(this.complexSidebarData).map((primaryItem, index) => (\r\n <gb-complex-primary-side-bar-item\r\n key={`${index}`} // Unique key\r\n label={primaryItem}\r\n category={this.category}\r\n item-style={this.navItemStyle}\r\n icon={this.complexSidebarData[primaryItem].icon}\r\n state={this.activePrimaryItem === primaryItem ? 'active' : 'default'}\r\n onClick={() => this.handlePrimaryClick(primaryItem, index)}\r\n ></gb-complex-primary-side-bar-item>\r\n ))}\r\n </div>\r\n </div>\r\n <div class={`secondary_side_menu ${this.category} ${this.state}`}>\r\n <div class=\"sside_menu\">\r\n {this.complexSidebarData[this.activePrimaryItem].items.map((secondaryItem, index) => (\r\n <gb-complex-secondary-side-bar-item\r\n key={`${this.activePrimaryItem}-${index}`} // Unique key\r\n type={this.state === 'expanded' ? 'full_with_label' : 'icon_only'}\r\n label={secondaryItem.label}\r\n category={this.category}\r\n icon={secondaryItem.icon}\r\n state={this.activeSecondaryItem === secondaryItem.label ? 'active' : 'default'}\r\n onClick={() => this.handleSecondaryClick(secondaryItem.label, index)}\r\n ></gb-complex-secondary-side-bar-item>\r\n ))}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n </>\r\n );\r\n }\r\n}"]}
@@ -2733,11 +2733,11 @@
2733
2733
  }
2734
2734
 
2735
2735
  .nav_item_base.colored_background.active {
2736
- background: var(--color-background-information-bold, #042f59);
2736
+ background: var(--blue-800, #042f59);
2737
2737
  }
2738
2738
 
2739
2739
  .nav_item_base.default.colored_background:hover {
2740
- background: var(--color-blanket, rgba(33, 44, 101, 0.4));
2740
+ background: rgba(33, 44, 101, 0.4);
2741
2741
  }
2742
2742
 
2743
2743
  .label_text.plain_background.default {
@@ -2749,7 +2749,7 @@
2749
2749
  }
2750
2750
 
2751
2751
  .label_text.colored_background {
2752
- color: var(--color-text-inverse, #ffffff);
2752
+ color: var(--base-white, #ffffff);
2753
2753
  }
2754
2754
 
2755
2755
  /* Icon Color Styles */
@@ -2786,27 +2786,27 @@
2786
2786
  }
2787
2787
 
2788
2788
  .icon.colored_background path[stroke] {
2789
- stroke: var(--color-icon-inverse, #ffffff);
2789
+ stroke: var(--base-white, #ffffff);
2790
2790
  }
2791
2791
 
2792
2792
  .icon.colored_background.active path[fill] {
2793
- fill: var(--color-icon-inverse, #ffffff);
2793
+ fill: var(--base-white, #ffffff);
2794
2794
  }
2795
2795
 
2796
2796
  .icon.colored_background path#Icon[fill] {
2797
- fill: var(--color-icon-inverse, #ffffff);
2797
+ fill: var(--base-white, #ffffff);
2798
2798
  }
2799
2799
 
2800
2800
  .icon.colored_background.active path#Accent[fill] {
2801
- fill: var(--color-icon-inverse, #ffffff);
2801
+ fill: var(--base-white, #ffffff);
2802
2802
  }
2803
2803
 
2804
2804
  .icon.colored_background circle[stroke] {
2805
- stroke: var(--color-icon-inverse, #ffffff);
2805
+ stroke: var(--base-white, #ffffff);
2806
2806
  }
2807
2807
 
2808
2808
  .icon.colored_background.active circle[fill] {
2809
- fill: var(--color-icon-inverse, #ffffff);
2809
+ fill: var(--base-white, #ffffff);
2810
2810
  }
2811
2811
 
2812
2812
  .icon.plain_background.default path[fill],
@@ -28,7 +28,7 @@ export class GbSimpleSideBarItem {
28
28
  render() {
29
29
  const redBarSrc = getAssetPath(`assets/bar.svg`);
30
30
  const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
31
- return (h("div", { key: '62b34bab46a4923ef4a999a1cdcde0504c546395', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '0fbb986d7a8c33a26570b1e6e423b1978ad69f5d', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'e11cea35526b4f0dd9ad0e01f1c6837df532d901', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '83f1e66468f44049a7f313a3d942eb0cf9ee1517', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: 'da9b1315ddc41d30191b4490d8db97bd8c8bc298', class: "content" }, h("div", { key: '3fd529894523699843b773783528889bd14fb81e', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: 'dddf3a4383fad2c4feb4c4d30cff495c12f8a4cf', 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: 'ccabc055cf09c6fc3ff3fb63c8aa5538db49f261', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '704cfb56f964ae503f69ae313c0802663b46f57d' }, "10"))), this.showArrow && (h("svg", { key: 'a65d88c547022672eec03e504a49b8961a89c38b', 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: '48d4c89c6a4ac7b5f53b2c2e416861fbf9cca4c9', 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: '9ae95d8e360e0ca2d52b663288738102967d15ab', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '8aba76b9abd3487012d5a6b63cccf13e8a73b242', slot: "label" }, this.label)))));
31
+ return (h("div", { key: '970a74131222072a0fe64427053272d615758c79', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '220860e01396b85b51407f1d88b151bd8f5b2e5f', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'f609c45d87f0ecc9a9041ab4392c7ed5524c68d7', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '4c5b55c672c65266dd26588553dbcc8db0e91900', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '3bd4751ef8546229edadd5f429e72519410e9430', class: "content" }, h("div", { key: '25680f4910a3e0046ba1598f6c1fda28d13a7d5e', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '7f98bc635e7126ddd413bd6e7671d53ff5c910cc', 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: '0c1e7d1364418b9237d6d498d59c3fb4d6d5c088', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '349daf21dc7a99f6c10cf322bebdec8a331c9d44' }, "10"))), this.showArrow && (h("svg", { key: 'f5ede8fe71326d1074cb98a312a7d402c134a390', 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: 'dcb9026c60e07ca597caa5daee2fe6670e4c6298', 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: '4062b91ad81e0518f39950710a364700691f5409', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '3b414d876f0f2dbb27ada758ec0855e5e27cfce9', slot: "label" }, this.label)))));
32
32
  }
33
33
  static get is() { return "gb-simple-side-bar-item"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class GbSlider {
71
71
  return this.unitPosition === 'left' ? `${this.unit}${value}` : `${value}${this.unit}`;
72
72
  }
73
73
  render() {
74
- return (h("div", { key: 'b0456ca2d1d367ddca8572d9426da0b17086b7b0', class: "slider-container", ref: el => (this.containerEl = el) }, h("div", { key: '4e46a765002d05a6c1f61290f890c405f63531b9', class: "track", ref: el => (this.trackEl = el) }), h("gb-slider-control-handle", { key: 'eba60b7d1e8912f47604b0f25e2485600ba14d6f', class: "left", value: this.formatValue(this.leftValue), type: this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null, style: { left: `${((this.leftValue - this.min) / (this.max - this.min)) * 100}%` }, onMouseDown: e => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '1f8096f0523de812ae9285be2ee10af130356cf4', class: "right", value: this.formatValue(this.rightValue), type: this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null, style: { left: `${((this.rightValue - this.min) / (this.max - this.min)) * 100}%` }, onMouseDown: e => this.handleMouseDown(e, 'right') })));
74
+ return (h("div", { key: '8e1b6d03b2e464f08c74e30bfe2803cf35f373e2', class: "slider-container", ref: el => (this.containerEl = el) }, h("div", { key: 'bc133f1dd39015c2a22d1b728ed45d9b3f1cd08c', class: "track", ref: el => (this.trackEl = el) }), h("gb-slider-control-handle", { key: '7f01a5d83525b501e5c5b296e070f59dbe5a8e27', class: "left", value: this.formatValue(this.leftValue), type: this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null, style: { left: `${((this.leftValue - this.min) / (this.max - this.min)) * 100}%` }, onMouseDown: e => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: 'ea40a42270401fe458e43abb466e41770e2d34c7', class: "right", value: this.formatValue(this.rightValue), type: this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null, style: { left: `${((this.rightValue - this.min) / (this.max - this.min)) * 100}%` }, onMouseDown: e => this.handleMouseDown(e, 'right') })));
75
75
  }
76
76
  static get is() { return "gb-slider"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class GbSliderControlHandle {
18
18
  this.isFocused = false;
19
19
  }
20
20
  render() {
21
- return (h("div", { key: '1fdd1bcb602d49065524dc1b4cfa2807805c6605', 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: 'b341449d289fb1776cc62eb23c70a764060e2f47', class: "tooltip-container" }, h("gb-tooltip", { key: '30cd265e3b2360053492b16eb7698bba78f40fe4', "show-arrow": false, arrow: "none", "show-supporting-text": false }, h("p", { key: 'b6dcaf5b9aa4aa8794e0e0a21d485adf5868e6e6', class: "text-xs-semi-bold", slot: "label" }, this.value)))), this.type === 'text' && (h("div", { key: 'ea025afe708f9d1d5f05833416772fa93888a04c', class: "thumb-label" }, h("p", { key: '8ffc13ccad0d27077f09612af35de5ff114c7390', class: "thumb_label text-md-medium" }, this.value)))));
21
+ return (h("div", { key: '6599a5cccdc4e1a489847d18e08e64868afa3cb4', 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: 'e005b690a2a0137394b539bc89e000383530b8ab', class: "tooltip-container" }, h("gb-tooltip", { key: 'f01d348ac7214d9ca0da81ebaba4d433e91747fa', "show-arrow": false, arrow: "none", "show-supporting-text": false }, h("p", { key: '52a989c1fbea1456552000c88372524d7edd5d4b', class: "text-xs-semi-bold", slot: "label" }, this.value)))), this.type === 'text' && (h("div", { key: '9b3537d73e56c8cfb0ce9bff66216c46e99c2444', class: "thumb-label" }, h("p", { key: '5660f9c53dc73ee4c4fb97e72ab41f6ce5043c5b', class: "thumb_label text-md-medium" }, this.value)))));
22
22
  }
23
23
  static get is() { return "gb-slider-control-handle"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class GbStatusIndicator {
8
8
  }
9
9
  render() {
10
10
  return [
11
- h("div", { key: '7e4b605a177dedddd0f4d055ce2e2524eace3c2c' }, this.statusIcon === 'online_indicator' && h("div", { key: 'b484ea8e760d9e8d6bb0601c0f81bfe625166cfe', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: '033a4ee8844d6b81bf91a718dc8bd23921dc03df', 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: 'b00e8bc969d636fafc093c766a4f00501320309f', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '05d20e3354f19b11b04de24480bdd2edd3f8df2f', 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: '4c1637bb397366f635769abaaf602e9b2d84752d', 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: '754c6deb65fe775ff82f0758b0b5cd33637258b9' }, h("clipPath", { key: 'eb19b5d12fce5a62a3849db22b2a4775e748d09e', id: "clip0_0_21453" }, h("rect", { key: '590e1bd5dfd4a041b16215da16d6837c9c3ff48f', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: '06de7f0b4d2f95a4d82aeaaf71d4c6a9d3af5b56', 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: 'b989e504c5a49c4214f08475b0b6fcdaa5621218', 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: '7db19557481f9a9cc5cd87af3f8a03d2f95f3e58', "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" })))),
11
+ h("div", { key: '0983c5724be54d2f6bbfd9c0964ea81a5fc1a701' }, this.statusIcon === 'online_indicator' && h("div", { key: '50834acc8f9b93304c7fdc523ae1e5ba9b6d370e', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: '8fd98ae8422b585f5c36083d5293525fcdbf90e3', 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: 'bcc3a221390a811419bc3ae59ec1bd608dbc64a3', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '1d2d49f969ca1b07d3c9f6f66a648c59350bd26a', 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: 'cc95428e84e92f6f6f47a96728ecc6b785148163', 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: 'e7630f96d5737b61da2c9f42910fee650a4ef3f6' }, h("clipPath", { key: '39973c07ecca89401af2bfb4841b02db4a5292ed', id: "clip0_0_21453" }, h("rect", { key: '592365b3c699af2770160b2087acb856eea90948', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: '4462352b79a265674737fc8acea736830e79eda2', 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: '9198f63eab96db643b0e650f1e36d9a3af2da42b', 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: '85b6c92e81a4bfbd2709bbc874f7fa71073802b2', "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
12
  ];
13
13
  }
14
14
  static get is() { return "gb-status-indicator"; }
@@ -28,7 +28,7 @@ export class GbStepBase {
28
28
  }
29
29
  }
30
30
  render() {
31
- return (h(Fragment, null, this.type === 'text_line' && (h(Fragment, null, h("div", { key: '36e5d6cf7d46838bdc2eb7b23fa0975877e59c97', class: `bar ${this.size} ${this.status} ${this.state}` }), this.showContent && (h("div", { key: '8acf5adb6c215cc9d77a78d36fed2261774606d2', class: `text_line_div ${this.size} ${this.status} ${this.state}` }, h("div", { key: 'a11df1f00936f5ef5b95bab249c8bb6e230bd684', class: `text_line_div_content` }, h("p", { key: 'e3732d2af74c46742cf43bbe8a8aab99a0fd7467', class: `text_line_label text-sm-semi-bold ${this.status} ${this.state}` }, this.label), this.showSupportingText && h("p", { key: 'aeb0044fab8f44ad1861840b0c7c474177abc3f4', class: `text_line_text text-xs-regular ${this.status} ${this.state}` }, this.supportingText)))))), this.type === 'icon_only' && (h("div", { key: '9dc2e64063da7f86ddfee181ab97493cfc9c7b72', class: `icon_only_div ${this.status} ${this.state} ${this.size}` }, this.status !== 'complete' && h("div", { key: '2830fe4efb58770d15fb4d6fa2796c0e1c1ed597', class: `dot ${this.status} ${this.state} ${this.size}` }), this.status === 'complete' && (h("svg", { key: '3aa39bccf11cfff1229c110535df57549014c4db', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.state} ${this.size}` }, h("path", { key: 'bb1d7e3242b0a483d98b24e24fd3641e0613ad11', d: "M1 6.45455C1 6.45455 2.07143 6.45455 3.5 9C3.5 9 7.47059 2.33333 11 1", stroke: "#075DB2", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.type === 'icon_left' && (h("div", { key: 'a278d3d4d7f291a5788b844fba826250cf3be8fd', class: `icon_left_div ${this.size}` }, h("div", { key: '48ef111a7ae37557a542e55af0b584f59a708d33', class: "connector_wrap" }, h("div", { key: 'aecbcc0dfa0943860cfad0eb57ec5ce14291d99f', class: `icon_only_div ${this.status} ${this.state} ${this.size}` }, this.status !== 'complete' && h("div", { key: '0f22f54722e0bb13701337e75e26f187bbac1ad1', class: `dot ${this.status} ${this.state} ${this.size}` }), this.status === 'complete' && (h("svg", { key: '8a5cf6be65adf85877ddeda6b87890fc3ab7e9b8', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.state} ${this.size}` }, h("path", { key: '90c56fe89a1822650e69bf71d82a41d5d71abe60', d: "M1 6.45455C1 6.45455 2.07143 6.45455 3.5 9C3.5 9 7.47059 2.33333 11 1", stroke: "#075DB2", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.connector && (h("div", { key: '3b91f52b36c1c6b540df775cda5bd18fcf592998', class: "connector_div" }, h("div", { key: 'de59dc0041773027e957b6d767f5425be889cbe0', class: `icon_left_connector ${this.state} ${this.status}` })))), h("div", { key: '00550d80660da5696cc570190faaa971c929e1a1', class: "icon_left_text" }, h("p", { key: '2e4aec55ba203d3aee9dc78a5b8174c1f1c0a5c9', class: `text_line_label text-sm-semi-bold ${this.status} ${this.state}` }, this.label), h("p", { key: '73c914367219fc7c9e3bbea6403587bbc8357e21', class: `text_line_text text-xs-regular ${this.status} ${this.state}` }, this.supportingText)))), this.type === 'icon_top' && (h("div", { key: '8948bb0fdf72e83f4191e02c7b9ec5564f31d2bb', class: `icon_top_div ${this.size}` }, h("div", { key: '805442a2e7e8799f9888bfdd314b98232d7fdc0d', class: "step_icon" }, h("div", { key: '2d83dc8fa69529ad4a0d5cffe5f78db74e09cb13', class: `icon_only_div ${this.status} ${this.state} ${this.size}` }, this.status !== 'complete' && h("div", { key: '920e0e6269502edf4aaf81b081c88df505d5961f', class: `dot ${this.status} ${this.state} ${this.size}` }), this.status === 'complete' && (h("svg", { key: '86eb5d4849426d795b769ffe633652695079e89a', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.state} ${this.size}` }, h("path", { key: '98e344430bc6588ed6f566f2bee87a12011a71f2', d: "M1 6.45455C1 6.45455 2.07143 6.45455 3.5 9C3.5 9 7.47059 2.33333 11 1", stroke: "#075DB2", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.connector && (h("div", { key: 'c13a2f6459e5224c7116a0cd392567ec7d71ba49', class: "connector_div" }, h("div", { key: '9601e8ed5ecb6e5bcfa97b194460da672a89d175', class: `icon_top_connector ${this.state} ${this.status}` })))), h("div", { key: 'e0effa603ab4e38f16f57d6d44c36cffeda6f677', class: "icon_top_content" }, h("p", { key: '03e67d8cfa806680b45ed8d23db3f53a92f1ceda', class: `text_line_label text-sm-semi-bold ${this.status} ${this.state}` }, this.label), h("p", { key: 'ba63fd494783528178def96308f7c251ed4fd59b', class: `text_line_text text-xs-regular ${this.status} ${this.state}` }, this.supportingText)))), this.type === 'featured_icon_left' && (h("div", { key: '8f88148684bd1e87001c52beecdae47916b27757', class: "featured_icon_left_div" }, h("div", { key: '8376fa96c885a23c2c7ea94aeb5f99eda3756048', class: "connector_wrap" }, h("gb-featured-icon", { key: 'e29eb1abf9b54cd9f2a3e16f727d903b0b64adf8', size: this.size, icon: "assets/user.svg", destructive: this.state === 'destructive' ? true : false }), h("div", { key: '4608a356eb2d54d24e728b89fee0c5686fe558a6', class: "connector_div" }, h("div", { key: 'bc729c4ffcecb0febbc71fed334351e6fb90d1e7', class: `featured_icon_left_connector ${this.size} ${this.state} ${this.status}` }))), h("div", { key: 'cde869746cca954fc48d21e6d43fb20bd108c649', class: "featured_icon_left_content" }, h("p", { key: '5c4178f8bf1380c03ed06eb47d6afc4776b0a351', class: `featured_icon_left_label ${this.featuredIconLeftLabelClasses()} ${this.status} ${this.state}` }, this.label), h("p", { key: '936e537dd757a9dc6a644e145352f2e8a1fdab32', class: `featured_icon_left_text ${this.featuredIconLeftTextClasses()} ${this.status} ${this.state}` }, this.supportingText))))));
31
+ return (h(Fragment, null, this.type === 'text_line' && (h(Fragment, null, h("div", { key: '0f310b23fe37dd7ad884bfff25469f20d6f2668c', class: `bar ${this.size} ${this.status} ${this.state}` }), this.showContent && (h("div", { key: 'd1571b9bc2a4e0cce5375a19fd297ca15f2468d4', class: `text_line_div ${this.size} ${this.status} ${this.state}` }, h("div", { key: 'f53745c386b8cfd7dfd65ea4da863053a108de2f', class: `text_line_div_content` }, h("p", { key: '723119ca384ed0ce54fd02de9449b07afebd7fad', class: `text_line_label text-sm-semi-bold ${this.status} ${this.state}` }, this.label), this.showSupportingText && h("p", { key: 'ddbac600f6489917acabf713c486a34608c77917', class: `text_line_text text-xs-regular ${this.status} ${this.state}` }, this.supportingText)))))), this.type === 'icon_only' && (h("div", { key: '41a5273736093140181c690149cade9b1c47a341', class: `icon_only_div ${this.status} ${this.state} ${this.size}` }, this.status !== 'complete' && h("div", { key: 'e6f7b1cb9b1a0ef3bd5202dfd7e1e7e22da4d6c1', class: `dot ${this.status} ${this.state} ${this.size}` }), this.status === 'complete' && (h("svg", { key: '94fac18362f0533caaa891161bd2bd5c235110ae', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.state} ${this.size}` }, h("path", { key: '5b9693290e545f699525c86b571379504a12665e', d: "M1 6.45455C1 6.45455 2.07143 6.45455 3.5 9C3.5 9 7.47059 2.33333 11 1", stroke: "#075DB2", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.type === 'icon_left' && (h("div", { key: '08ddddcafdb36a1c3b1a288165a131c3d4ea0e65', class: `icon_left_div ${this.size}` }, h("div", { key: 'd22d8dc884989e1be01b384e06bc68dec45daab8', class: "connector_wrap" }, h("div", { key: '6ac81cd18f3ced1be9876c1cbf17d2e9e3a6dca4', class: `icon_only_div ${this.status} ${this.state} ${this.size}` }, this.status !== 'complete' && h("div", { key: '73393453132ecd661fa824d06246f7e4e92bf9e5', class: `dot ${this.status} ${this.state} ${this.size}` }), this.status === 'complete' && (h("svg", { key: 'b12b4620db6c12e54b74fe62522e79af4b521949', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.state} ${this.size}` }, h("path", { key: '8a93b78ae0ffc3e63b0147b6b3fc9d761df7e5c9', d: "M1 6.45455C1 6.45455 2.07143 6.45455 3.5 9C3.5 9 7.47059 2.33333 11 1", stroke: "#075DB2", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.connector && (h("div", { key: '16e16fbd41610dd6ce8c235179147683daf97201', class: "connector_div" }, h("div", { key: '39105ed79175c1b466f6124730706811a197cde1', class: `icon_left_connector ${this.state} ${this.status}` })))), h("div", { key: 'f573cf391ec8aadb137478fb21301f1fb7c01350', class: "icon_left_text" }, h("p", { key: 'c4c384be810b6b9bc7692fc5cb6c4e85420a6470', class: `text_line_label text-sm-semi-bold ${this.status} ${this.state}` }, this.label), h("p", { key: '62d3c39f214a44eedbf533962dd2d2f0c96c1dd6', class: `text_line_text text-xs-regular ${this.status} ${this.state}` }, this.supportingText)))), this.type === 'icon_top' && (h("div", { key: 'dacf9eec7a825be28a4030c60ae36ce2e0435867', class: `icon_top_div ${this.size}` }, h("div", { key: '832464a608a58852c06650186efeb80659de29bb', class: "step_icon" }, h("div", { key: 'e6cef2d7eaa1f83f4d1c4f9b46f27c0fb954b3fa', class: `icon_only_div ${this.status} ${this.state} ${this.size}` }, this.status !== 'complete' && h("div", { key: '84189302a8695989f6fb28c0a8aa0140c2f4da1a', class: `dot ${this.status} ${this.state} ${this.size}` }), this.status === 'complete' && (h("svg", { key: '8d0ec4f100021eb0896b62271e77e16f1e539a21', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.state} ${this.size}` }, h("path", { key: '5e5afe42bca3be96573cbe5d667226d78e242303', d: "M1 6.45455C1 6.45455 2.07143 6.45455 3.5 9C3.5 9 7.47059 2.33333 11 1", stroke: "#075DB2", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.connector && (h("div", { key: '2ccfc28374d4f980e57a9f723790da0f428f6e54', class: "connector_div" }, h("div", { key: 'e012d5012d679b176a80e3f6b84532d388cbaf90', class: `icon_top_connector ${this.state} ${this.status}` })))), h("div", { key: '78065af873f77871a3d350906da10a45e030bb60', class: "icon_top_content" }, h("p", { key: 'f14609da3a13b0825c767ac0804df21d140ea881', class: `text_line_label text-sm-semi-bold ${this.status} ${this.state}` }, this.label), h("p", { key: '8a287b3b02db0b5c62eb3a3dec090d443c20b0a4', class: `text_line_text text-xs-regular ${this.status} ${this.state}` }, this.supportingText)))), this.type === 'featured_icon_left' && (h("div", { key: 'bcf282e961051671e5c87cbc15adb6bbb25bdd38', class: "featured_icon_left_div" }, h("div", { key: 'bfac6f103af8460b3e5c0aef7d3ece67d80c0c6e', class: "connector_wrap" }, h("gb-featured-icon", { key: 'f03989fbae6e90a7b6fa251fd36420cb7d700539', size: this.size, icon: "assets/user.svg", destructive: this.state === 'destructive' ? true : false }), h("div", { key: '4e91d6fbf820aec69b4e3c847dd809d2e97ddc41', class: "connector_div" }, h("div", { key: '4e4fd12ac5cb334c2cd1bfdefefd58a0ee13e239', class: `featured_icon_left_connector ${this.size} ${this.state} ${this.status}` }))), h("div", { key: '7905afa634d5d9285315d4d7ad2f89bea6cbedc0', class: "featured_icon_left_content" }, h("p", { key: 'e1c5ef19757796bf0d1c686b599beb0aa49bfa0d', class: `featured_icon_left_label ${this.featuredIconLeftLabelClasses()} ${this.status} ${this.state}` }, this.label), h("p", { key: '01b12d76659aa51b0523fbd6c2c400c40f79b1bb', class: `featured_icon_left_text ${this.featuredIconLeftTextClasses()} ${this.status} ${this.state}` }, this.supportingText))))));
32
32
  }
33
33
  static get is() { return "gb-step-base"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@ export class GbStepperVerticalIconsCentered {
17
17
  this.seventhStepSupportingText = '';
18
18
  }
19
19
  render() {
20
- return (h(Fragment, null, this.type === 'icon' && (h("div", { key: '63246478011b60f2a618064ce5a10daea4d9dff5', class: "icons_centered_div" }, this.breakpoint === 'mobile' && (h(Fragment, null, this.steps === 2 && (h(Fragment, null, h("gb-step-base", { key: '4a5ce4acabfe6aa4c35ec49b02da164daed60add', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: 'a82c66a5faf40effac081b013a3ef6ba661d94ec', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: false, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }))), this.steps === 3 && (h(Fragment, null, h("gb-step-base", { key: '2a20ce869151c9f0e7b136dd47d386a8c82a186c', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: '6b673c75f9c854b4a9dbe1a449783ff0723c731c', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '01fec1bab928f4f0b7ec155ea78a0db0049eea36', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: false, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }))), this.steps === 4 && (h(Fragment, null, h("gb-step-base", { key: '9be89717191711509c3f8b541fc92b8b160c9da7', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: '6f58f0952ec4e0c07e619669af596a74e008195b', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '51e4cb7451a375e32ed94acec5e03c4b26ef2491', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: '34e4824522d34d9bf516baa7c6105bcdb7367633', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: false, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }))), this.steps === 5 && (h(Fragment, null, h("gb-step-base", { key: '64b53caddf399a08b6ccfcd18746e625b31d745b', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: '89ebc89ba6f9d6c906e5cd4b65e0c3f6d020a3af', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '0c7a1b26e6aa17508eb8d8cea614136f44327e52', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: '66bb5a3ac3d15529bdf1bb21b619b30b73d4baf5', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: true, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }), h("gb-step-base", { key: 'c15ba93874045e5010252447f76ccbc5d4e2b285', size: this.size, type: "icon_left", state: this.fifthStepState, status: this.fifthStepStatus, connector: false, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText }))), this.steps === 6 && (h(Fragment, null, h("gb-step-base", { key: '9da78fa98391288282c6fea5b6181ede7c92d89a', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: 'edc0179c728102b23fbc84f0ab96c68cfdfe5a08', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: 'dbdc69fa49ca1b58d632ccd837d25cba1414af39', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: '008fcf789b542af1d18281235d55a69a22f41409', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: true, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }), h("gb-step-base", { key: 'fc454ad5ba56d765c7d6b234cde7bc3042735ff3', size: this.size, type: "icon_left", state: this.fifthStepState, status: this.fifthStepStatus, connector: true, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText }), h("gb-step-base", { key: '5c407e5390785ff6570c8a4f13b4039f4715fbbd', size: this.size, type: "icon_left", state: this.sixthStepState, status: this.sixthStepStatus, connector: false, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText }))), this.steps === 7 && (h(Fragment, null, h("gb-step-base", { key: '57cff11b70651a88d62b22b87456649b9ebba832', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: 'be3cad8faa3a4a8a1d7e75c9d62f06df4b8de868', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: 'ea47634eaa95a37c0c9942b76ce734492a3c1178', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: '9983a1e3788960f111d4d73187fa89852e470e58', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: true, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }), h("gb-step-base", { key: 'c6262031b6e6e7937db24072881513ed731d4530', size: this.size, type: "icon_left", state: this.fifthStepState, status: this.fifthStepStatus, connector: true, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText }), h("gb-step-base", { key: '4e8bb986b3a41cdc0114109d0340d8c0b8b4f978', size: this.size, type: "icon_left", state: this.sixthStepState, status: this.sixthStepStatus, connector: true, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText }), h("gb-step-base", { key: 'bd2bc2c8b0f1edb84b956b9b739bda026a94fc3e', size: this.size, type: "icon_left", state: this.seventhStepState, status: this.seventhStepStatus, connector: false, label: this.seventhStepLabel, "supporting-text": this.seventhStepSupportingText })))))))));
20
+ return (h(Fragment, null, this.type === 'icon' && (h("div", { key: 'fdb2ec3447cee69488f0c51be7b6d0c68e5e4e82', class: "icons_centered_div" }, this.breakpoint === 'mobile' && (h(Fragment, null, this.steps === 2 && (h(Fragment, null, h("gb-step-base", { key: '0f061ba112d14898ce5002174e9a79bb3c14553d', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: 'a5f683e73b52832d6d64d3fc4d0b9ceb52d677ce', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: false, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }))), this.steps === 3 && (h(Fragment, null, h("gb-step-base", { key: '89cea4ea26b8125b23c435fbf8e085cbdb830c7b', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: '97d36bb9e489a4d673c84dae2657073a908e6c38', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '4bde5be58fd3c5e349cd98b10a9dc5647fb35473', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: false, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }))), this.steps === 4 && (h(Fragment, null, h("gb-step-base", { key: '921740dce30c0311c35f46dd6b12ac9bdf69eb17', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: 'd95290251dea31a7e3fe7c9a08ea188b68ec7578', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '3564a940c5aa91d4f13f81093daebba2983b7f90', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: 'e7f78f35243df130959fe70119305821fe94b9ef', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: false, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }))), this.steps === 5 && (h(Fragment, null, h("gb-step-base", { key: 'ff84c81dc7ea9cf66021ecdd65c3b4d34cd0bc35', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: '2cd31d01daffae8570f6fb210eb153e6d09ae59f', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: 'c875551fc3269c318f06ac82fca7d56ab67ec351', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: 'cbfad7fb36919f2bf85e5b40fa8ecb8871fd93a5', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: true, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }), h("gb-step-base", { key: '006b479e7b6aac0a468ee2112e94e8a367e7f194', size: this.size, type: "icon_left", state: this.fifthStepState, status: this.fifthStepStatus, connector: false, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText }))), this.steps === 6 && (h(Fragment, null, h("gb-step-base", { key: 'aec3ac92d20f998687d2a5f3310296303124b585', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: 'c43e32907874681e89685911470bd216b5b357a6', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '68e4252f899a9725b3b7964add9846f88eba9c5f', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: '6161605f1353d50734c45445151c3f1e80e117c5', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: true, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }), h("gb-step-base", { key: 'b6d81e67233d469900f36864b5fbc734b6f01b46', size: this.size, type: "icon_left", state: this.fifthStepState, status: this.fifthStepStatus, connector: true, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText }), h("gb-step-base", { key: '886cb6e4ac7339db631a122d75f76a93b2e34506', size: this.size, type: "icon_left", state: this.sixthStepState, status: this.sixthStepStatus, connector: false, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText }))), this.steps === 7 && (h(Fragment, null, h("gb-step-base", { key: '5ebadb5758ad936e68e3e56f3c22fc4a1e601e8d', size: this.size, type: "icon_left", state: this.firstStepState, status: this.firstStepStatus, connector: true, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText }), h("gb-step-base", { key: '8c0aab44ef2ccf666a99ed0d8660d2bf2bcfeb99', size: this.size, type: "icon_left", state: this.secondStepState, status: this.secondStepStatus, connector: true, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText }), h("gb-step-base", { key: '5712de70e333644b1d5a2114cc75c79704893fd7', size: this.size, type: "icon_left", state: this.thirdStepState, status: this.thirdStepStatus, connector: true, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText }), h("gb-step-base", { key: 'a51d5ef38beca9fc5fc3d4128c321dc08585dd50', size: this.size, type: "icon_left", state: this.fourthStepState, status: this.fourthStepStatus, connector: true, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText }), h("gb-step-base", { key: '308d009b155c468cb1bd611d864ede79943ef925', size: this.size, type: "icon_left", state: this.fifthStepState, status: this.fifthStepStatus, connector: true, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText }), h("gb-step-base", { key: '9701cb097dc3947568b2c25b4e8d0c18a56dda53', size: this.size, type: "icon_left", state: this.sixthStepState, status: this.sixthStepStatus, connector: true, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText }), h("gb-step-base", { key: '0eb6e2743bf2714206db8b6e059f904bc9d2647d', size: this.size, type: "icon_left", state: this.seventhStepState, status: this.seventhStepStatus, connector: false, label: this.seventhStepLabel, "supporting-text": this.seventhStepSupportingText })))))))));
21
21
  }
22
22
  static get is() { return "gb-stepper-horizontal-icons-centered"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -31,7 +31,7 @@ export class GbStepperHorizontalLineWithText {
31
31
  this.showSupportingText = this.width < 768 ? false : true;
32
32
  }
33
33
  render() {
34
- return (h("div", { key: '0d5471bbd7dc370b3e82c6742e24f2eb4594dc61', class: "text_with_line" }, h("gb-step-base", { key: '8d73a70ae338dcbcf3c7b4c3cf37ad3dcc911fe2', size: this.size, type: "text_line", state: this.firstStepState, status: this.firstStepStatus, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), h("gb-step-base", { key: '1d2c6e2359f7625752eab7b48b0690de5f891d3d', size: this.size, type: "text_line", state: this.secondStepState, status: this.secondStepStatus, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), this.thirdStepLabel && (h("gb-step-base", { key: 'b8afc3c93400ab6fdebb013e45c95562034670d0', size: this.size, type: "text_line", state: this.thirdStepState, status: this.thirdStepStatus, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fourthStepLabel && (h("gb-step-base", { key: '2657d9df1a64f8f53b13d095848064b1584f244d', size: this.size, type: "text_line", state: this.fourthStepState, status: this.fourthStepStatus, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fifthStepLabel && (h("gb-step-base", { key: 'ce6b88572396ab96e89bfdc4cf699ee456f44eb2', size: this.size, type: "text_line", state: this.fifthStepState, status: this.fifthStepStatus, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.sixthStepLabel && (h("gb-step-base", { key: 'c4343068edb59f99425a7b41e6f343a631a94b04', size: this.size, type: "text_line", state: this.sixthStepState, status: this.sixthStepStatus, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.seventhStepLabel && (h("gb-step-base", { key: '23f39f65b41278edf51e9d24005b68bff57998b0', size: this.size, type: "text_line", state: this.seventhStepState, status: this.seventhStepStatus, label: this.seventhStepLabel, "supporting-text": this.seventhStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }))));
34
+ return (h("div", { key: '5cf71b58fe5da783b194a982d6a42e80514c17c8', class: "text_with_line" }, h("gb-step-base", { key: '42571039d4a2f70e7cdbaaf46341b9a2345b0812', size: this.size, type: "text_line", state: this.firstStepState, status: this.firstStepStatus, label: this.firstStepLabel, "supporting-text": this.firstStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), h("gb-step-base", { key: '0e035b18e8826dfe405b42d53b67fcc24afb361b', size: this.size, type: "text_line", state: this.secondStepState, status: this.secondStepStatus, label: this.secondStepLabel, "supporting-text": this.secondStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }), this.thirdStepLabel && (h("gb-step-base", { key: '0dd11bc8a82c87249e5671e0aa6b2caeee379981', size: this.size, type: "text_line", state: this.thirdStepState, status: this.thirdStepStatus, label: this.thirdStepLabel, "supporting-text": this.thirdStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fourthStepLabel && (h("gb-step-base", { key: 'a84c83effedeebb1e18e8b85439ce8e9e5f07711', size: this.size, type: "text_line", state: this.fourthStepState, status: this.fourthStepStatus, label: this.fourthStepLabel, "supporting-text": this.fourthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.fifthStepLabel && (h("gb-step-base", { key: '91863ed713242b02aac6030a8a44906376aabf96', size: this.size, type: "text_line", state: this.fifthStepState, status: this.fifthStepStatus, label: this.fifthStepLabel, "supporting-text": this.fifthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.sixthStepLabel && (h("gb-step-base", { key: '0fdab51a05ce3112f63071e29ad8b7993ade77d3', size: this.size, type: "text_line", state: this.sixthStepState, status: this.sixthStepStatus, label: this.sixthStepLabel, "supporting-text": this.sixthStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })), this.seventhStepLabel && (h("gb-step-base", { key: '5a9200548edc7a6eb814ae4b275fea204cb128f3', size: this.size, type: "text_line", state: this.seventhStepState, status: this.seventhStepStatus, label: this.seventhStepLabel, "supporting-text": this.seventhStepSupportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText }))));
35
35
  }
36
36
  static get is() { return "gb-stepper-horizontal-line-with-text"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -84,7 +84,7 @@ export class GbstepperVerticalIconsWithText {
84
84
  ];
85
85
  // Filter out steps that should be displayed
86
86
  const visibleSteps = steps.filter(step => step.show);
87
- return (h("div", { key: 'e6029a2d9d4d5bab5a264ac8ef4f35f34f9e6cb8', class: "vertical_stepper_div" }, this.type === 'icon' && (h(Fragment, null, visibleSteps.map((step, index) => (h("gb-step-base", { size: this.size, type: "icon_left", state: step.state, status: step.status, connector: index === visibleSteps.length - 1 ? false : this.connector, label: step.label, "supporting-text": step.supportingText, onClick: () => step.event() })))))));
87
+ return (h("div", { key: 'e0f892030f0846ea89ef9e84018969509f4458db', class: "vertical_stepper_div" }, this.type === 'icon' && (h(Fragment, null, visibleSteps.map((step, index) => (h("gb-step-base", { size: this.size, type: "icon_left", state: step.state, status: step.status, connector: index === visibleSteps.length - 1 ? false : this.connector, label: step.label, "supporting-text": step.supportingText, onClick: () => step.event() })))))));
88
88
  }
89
89
  static get is() { return "gb-stepper-vertical-icons-with-text"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -40,11 +40,11 @@ export class GbTabButtonBase {
40
40
  this.tabClicked.emit();
41
41
  }
42
42
  render() {
43
- return (h("div", { key: 'b8ece7d0d185b7ac80fa360b40c36cf51fa371af', class: `tab_button_div ${this.type}
43
+ return (h("div", { key: 'b2320f1676dc25540b1b47359b7a02134f9a9544', class: `tab_button_div ${this.type}
44
44
  ${this.current ? 'current' : ''}
45
45
  ${this.fullWidth ? 'full_width' : ''}
46
46
  ${this.size}
47
- ${this.alignment}`, onClick: () => this.handleClick() }, h("p", { key: '4834bff379dbd2053428b9458ddb2988f6c76344', class: `${!this.current ? 'tab_text' : ''} ${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: '4437051fda10a039330723cc83416051fd11e8be', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary'
47
+ ${this.alignment}`, onClick: () => this.handleClick() }, h("p", { key: '81d6f56738db171f542e07cdb465b9f6ed6c1c63', class: `${!this.current ? 'tab_text' : ''} ${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: '63c705f3f1c1af9541d1489dc4f1a159cd643ec4', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary'
48
48
  ? 'information'
49
49
  : this.current && this.type === 'underline'
50
50
  ? 'information'
@@ -53,7 +53,7 @@ export class GbTabButtonBase {
53
53
  :
54
54
  this.current && this.type === 'line'
55
55
  ? 'information'
56
- : 'gray' }, h("slot", { key: 'e6e68c7dda43d8f6f7bb4d87ca048b33b7d94856', name: "count" })))));
56
+ : 'gray' }, h("slot", { key: 'a7df624cad60a1a7d7f57c3d346a0f4061c40800', name: "count" })))));
57
57
  }
58
58
  static get is() { return "gb-tab-button-base"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class GbTableCell {
3
3
  render() {
4
- return (h("div", { key: '06c31b5980807c03cfc13f745272144a31657279', class: "table_cell_div" }));
4
+ return (h("div", { key: '25aa9800bf07da9b6ad38a0d0f08f41dbe14b203', class: "table_cell_div" }));
5
5
  }
6
6
  static get is() { return "gb-table-cell"; }
7
7
  static get encapsulation() { return "shadow"; }