globuswebcomponents 2.13.3 → 2.13.4

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 (271) hide show
  1. package/dist/cjs/gb-action-panel_61.cjs.entry.js +90 -64
  2. package/dist/cjs/gb-avatar-label-group_3.cjs.entry.js +1 -1
  3. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-step-base_2.cjs.entry.js +2 -2
  6. package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-stepper-horizontal-minimal-icons.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  12. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  13. package/dist/collection/assets/sent.svg +2 -1
  14. package/dist/collection/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.css +71 -14
  15. package/dist/collection/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.js +28 -7
  16. package/dist/collection/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.js.map +1 -1
  17. package/dist/collection/components/gb-input-field/gb-input-field.js +27 -27
  18. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  19. package/dist/collection/components/gb-sidebar/gb-sidebar.css +9 -2
  20. package/dist/collection/components/gb-sidebar/gb-sidebar.js +15 -7
  21. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  22. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +2 -2
  23. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  24. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  25. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  26. package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
  27. package/dist/collection/components/gb-step-icon-base/gb-step-icon-base.js +1 -1
  28. package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
  29. package/dist/collection/components/gb-stepper-horizontal-icons-connected/gb-stepper-horizontal-icons-connected.js +1 -1
  30. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
  31. package/dist/collection/components/gb-stepper-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
  32. package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
  33. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +2 -2
  34. package/dist/collection/components/gb-table/gb-table.js +4 -4
  35. package/dist/collection/components/gb-table-header/gb-table-header.js +2 -2
  36. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  37. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  38. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  39. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  40. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
  41. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  42. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  43. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  44. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  45. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  46. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  47. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  48. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  49. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  50. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  51. package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js +1 -1
  52. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  53. package/dist/components/gb-action-panel.js +2 -2
  54. package/dist/components/gb-approval-modal.js +12 -12
  55. package/dist/components/gb-avatar-add-button.js +1 -1
  56. package/dist/components/gb-avatar-dropdown.js +1 -1
  57. package/dist/components/gb-avatar-group.js +4 -4
  58. package/dist/components/gb-avatar-label-group.js +1 -1
  59. package/dist/components/gb-avatar-profile-photo.js +2 -2
  60. package/dist/components/gb-avatar.js +1 -1
  61. package/dist/components/gb-badge.js +1 -1
  62. package/dist/components/gb-btn.js +1 -1
  63. package/dist/components/gb-button.js +1 -1
  64. package/dist/components/gb-checkbox-group-item.js +1 -1
  65. package/dist/components/gb-checkbox-group.js +5 -5
  66. package/dist/components/gb-collapse-button.js +1 -1
  67. package/dist/components/gb-comment.js +2 -2
  68. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  69. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  70. package/dist/components/gb-date-picker.js +1 -1
  71. package/dist/components/gb-detail-cell.js +5 -5
  72. package/dist/components/gb-empty-state.js +1 -1
  73. package/dist/components/gb-file-upload-item-base.js +1 -1
  74. package/dist/components/gb-file-upload.js +4 -4
  75. package/dist/components/gb-filter-button.js +1 -1
  76. package/dist/components/gb-filter-modal.js +1 -1
  77. package/dist/components/gb-header.js +19 -19
  78. package/dist/components/gb-help-tooltip.js +1 -1
  79. package/dist/components/gb-horizontal-tabs.js +4 -4
  80. package/dist/components/gb-icon-button-base.js +1 -1
  81. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  82. package/dist/components/gb-input-dropdown.js +1 -1
  83. package/dist/components/gb-input-field.js +1 -1
  84. package/dist/components/gb-metric-card.js +3 -3
  85. package/dist/components/gb-modal-action.js +1 -1
  86. package/dist/components/gb-nav-bar-item.js +1 -1
  87. package/dist/components/gb-nav-bar-sidemenu.js +5 -5
  88. package/dist/components/gb-nav-bar.js +2 -2
  89. package/dist/components/gb-notification-pane.js +1 -1
  90. package/dist/components/gb-pagination.js +1 -1
  91. package/dist/components/gb-password-button.js +1 -1
  92. package/dist/components/gb-progress-bar.js +1 -1
  93. package/dist/components/gb-prompt-modal.js +2 -2
  94. package/dist/components/gb-rich-text.js +16 -16
  95. package/dist/components/gb-sidebar.js +21 -13
  96. package/dist/components/gb-sidebar.js.map +1 -1
  97. package/dist/components/gb-simple-side-bar-item.js +1 -1
  98. package/dist/components/gb-slider-control-handle.js +1 -1
  99. package/dist/components/gb-slider.js +3 -3
  100. package/dist/components/gb-status-indicator.js +1 -1
  101. package/dist/components/gb-step-base.js +1 -1
  102. package/dist/components/gb-step-icon-base.js +1 -1
  103. package/dist/components/gb-stepper-horizontal-icons-centered.js +3 -3
  104. package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
  105. package/dist/components/gb-stepper-horizontal-line-with-text.js +3 -3
  106. package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
  107. package/dist/components/gb-stepper-vertical-icons-with-text.js +3 -3
  108. package/dist/components/gb-tab-button-base.js +1 -1
  109. package/dist/components/gb-table-header.js +1 -1
  110. package/dist/components/gb-table.js +29 -29
  111. package/dist/components/gb-tag-checkbox.js +1 -1
  112. package/dist/components/gb-tag-close.js +1 -1
  113. package/dist/components/gb-tag-count.js +1 -1
  114. package/dist/components/gb-tag.js +1 -1
  115. package/dist/components/gb-textarea-input-field.js +1 -1
  116. package/dist/components/gb-theme-tab.js +1 -1
  117. package/dist/components/gb-toast-button.js +1 -1
  118. package/dist/components/gb-toast.js +1 -1
  119. package/dist/components/gb-toggle-base.js +1 -1
  120. package/dist/components/gb-toggle.js +1 -1
  121. package/dist/components/gb-token-field-compact.js +1 -1
  122. package/dist/components/gb-token-field-compressed.js +2 -2
  123. package/dist/components/gb-tooltip.js +1 -1
  124. package/dist/components/gb-vertical-tabs.js +1 -1
  125. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  126. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  127. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  128. package/dist/components/{p-QHFMnid1.js → p--bAArL4Z.js} +40 -40
  129. package/dist/components/p--bAArL4Z.js.map +1 -0
  130. package/dist/components/{p-DiUcRtK-.js → p-2J8ZftlY.js} +3 -3
  131. package/dist/components/{p-DiUcRtK-.js.map → p-2J8ZftlY.js.map} +1 -1
  132. package/dist/components/{p-Iipr6_wN.js → p-3ewGJEV-.js} +3 -3
  133. package/dist/components/{p-Iipr6_wN.js.map → p-3ewGJEV-.js.map} +1 -1
  134. package/dist/components/{p-CDGXfTAS.js → p-B1p1yrsO.js} +8 -8
  135. package/dist/components/{p-CDGXfTAS.js.map → p-B1p1yrsO.js.map} +1 -1
  136. package/dist/components/{p-QDzOpU8a.js → p-B9RbHUbf.js} +4 -4
  137. package/dist/components/{p-QDzOpU8a.js.map → p-B9RbHUbf.js.map} +1 -1
  138. package/dist/components/{p-CnM7ZwCv.js → p-BFIJRkjV.js} +6 -6
  139. package/dist/components/{p-CnM7ZwCv.js.map → p-BFIJRkjV.js.map} +1 -1
  140. package/dist/components/{p-jkP_FXBw.js → p-BH9YGI6U.js} +3 -3
  141. package/dist/components/{p-jkP_FXBw.js.map → p-BH9YGI6U.js.map} +1 -1
  142. package/dist/components/{p-Blu09IWZ.js → p-BHNl7IfH.js} +4 -4
  143. package/dist/components/{p-Blu09IWZ.js.map → p-BHNl7IfH.js.map} +1 -1
  144. package/dist/components/{p-CI7cPk_x.js → p-BJw4kzfF.js} +5 -5
  145. package/dist/components/{p-CI7cPk_x.js.map → p-BJw4kzfF.js.map} +1 -1
  146. package/dist/components/{p-CFV37CON.js → p-BKZLQVBE.js} +4 -4
  147. package/dist/components/{p-CFV37CON.js.map → p-BKZLQVBE.js.map} +1 -1
  148. package/dist/components/{p-Br16o-rx.js → p-BWIeE3vN.js} +18 -18
  149. package/dist/components/{p-Br16o-rx.js.map → p-BWIeE3vN.js.map} +1 -1
  150. package/dist/components/{p-DyO-WCvw.js → p-BYeGeB4V.js} +4 -4
  151. package/dist/components/{p-DyO-WCvw.js.map → p-BYeGeB4V.js.map} +1 -1
  152. package/dist/components/{p-D0UZXcRz.js → p-Bd5vCt6h.js} +5 -5
  153. package/dist/components/{p-D0UZXcRz.js.map → p-Bd5vCt6h.js.map} +1 -1
  154. package/dist/components/{p-CRQBsns0.js → p-BfrpLK-5.js} +4 -4
  155. package/dist/components/{p-CRQBsns0.js.map → p-BfrpLK-5.js.map} +1 -1
  156. package/dist/components/{p-D_YD59D1.js → p-BmfcIu5Q.js} +3 -3
  157. package/dist/components/{p-D_YD59D1.js.map → p-BmfcIu5Q.js.map} +1 -1
  158. package/dist/components/{p-DRoDIQwF.js → p-BnykYnIE.js} +3 -3
  159. package/dist/components/{p-DRoDIQwF.js.map → p-BnykYnIE.js.map} +1 -1
  160. package/dist/components/{p-BDoGfwvg.js → p-Bo3aINNh.js} +3 -3
  161. package/dist/components/{p-BDoGfwvg.js.map → p-Bo3aINNh.js.map} +1 -1
  162. package/dist/components/{p-Bllp0vbv.js → p-BsdKFpjH.js} +4 -4
  163. package/dist/components/{p-Bllp0vbv.js.map → p-BsdKFpjH.js.map} +1 -1
  164. package/dist/components/{p-kQlhdlBh.js → p-Bu5M8dZL.js} +3 -3
  165. package/dist/components/{p-kQlhdlBh.js.map → p-Bu5M8dZL.js.map} +1 -1
  166. package/dist/components/{p-BhVoEnfv.js → p-BwtlzUNO.js} +3 -3
  167. package/dist/components/{p-BhVoEnfv.js.map → p-BwtlzUNO.js.map} +1 -1
  168. package/dist/components/{p-CQg5uJVz.js → p-BzReSK_u.js} +4 -4
  169. package/dist/components/{p-CQg5uJVz.js.map → p-BzReSK_u.js.map} +1 -1
  170. package/dist/components/{p-CGHS2An9.js → p-C4mGSjWn.js} +3 -3
  171. package/dist/components/{p-CGHS2An9.js.map → p-C4mGSjWn.js.map} +1 -1
  172. package/dist/components/{p-B5Gg3C_a.js → p-C5oxCE5y.js} +4 -4
  173. package/dist/components/{p-B5Gg3C_a.js.map → p-C5oxCE5y.js.map} +1 -1
  174. package/dist/components/{p-hpq8ebuF.js → p-CDXH3neN.js} +3 -3
  175. package/dist/components/{p-hpq8ebuF.js.map → p-CDXH3neN.js.map} +1 -1
  176. package/dist/components/{p-BS8xCBdu.js → p-CEuRrv7n.js} +7 -7
  177. package/dist/components/{p-BS8xCBdu.js.map → p-CEuRrv7n.js.map} +1 -1
  178. package/dist/components/{p-CoivCGR3.js → p-CZUzXdtF.js} +3 -3
  179. package/dist/components/{p-CoivCGR3.js.map → p-CZUzXdtF.js.map} +1 -1
  180. package/dist/components/{p-CZ4KU_T2.js → p-CgYl6phh.js} +4 -4
  181. package/dist/components/{p-CZ4KU_T2.js.map → p-CgYl6phh.js.map} +1 -1
  182. package/dist/components/{p-CCZGHKuD.js → p-CoXfU9ro.js} +5 -5
  183. package/dist/components/{p-CCZGHKuD.js.map → p-CoXfU9ro.js.map} +1 -1
  184. package/dist/components/{p-DQzSNn6d.js → p-D2cydojA.js} +8 -8
  185. package/dist/components/{p-DQzSNn6d.js.map → p-D2cydojA.js.map} +1 -1
  186. package/dist/components/{p-BXe-k47p.js → p-D3KszGCy.js} +4 -4
  187. package/dist/components/{p-BXe-k47p.js.map → p-D3KszGCy.js.map} +1 -1
  188. package/dist/components/{p-BT3qlXvE.js → p-D3_diMYR.js} +6 -6
  189. package/dist/components/{p-BT3qlXvE.js.map → p-D3_diMYR.js.map} +1 -1
  190. package/dist/components/{p-KhL7ozXB.js → p-DC9f7E9A.js} +3 -3
  191. package/dist/components/{p-KhL7ozXB.js.map → p-DC9f7E9A.js.map} +1 -1
  192. package/dist/components/{p-B9OaQ8IO.js → p-DD9r6aV6.js} +20 -20
  193. package/dist/components/{p-B9OaQ8IO.js.map → p-DD9r6aV6.js.map} +1 -1
  194. package/dist/components/{p-CfGTBchH.js → p-DDZFBTdE.js} +3 -3
  195. package/dist/components/{p-CfGTBchH.js.map → p-DDZFBTdE.js.map} +1 -1
  196. package/dist/components/{p-DT0m5qpo.js → p-DGb-ZHvw.js} +4 -4
  197. package/dist/components/{p-DT0m5qpo.js.map → p-DGb-ZHvw.js.map} +1 -1
  198. package/dist/components/{p-iQxeojAw.js → p-DJ4Wfupi.js} +16 -16
  199. package/dist/components/{p-iQxeojAw.js.map → p-DJ4Wfupi.js.map} +1 -1
  200. package/dist/components/{p-Dh2Cyht7.js → p-DJf2ZdZo.js} +7 -7
  201. package/dist/components/{p-Dh2Cyht7.js.map → p-DJf2ZdZo.js.map} +1 -1
  202. package/dist/components/{p-BAz_Vt1i.js → p-DKGCAYmN.js} +25 -7
  203. package/dist/components/p-DKGCAYmN.js.map +1 -0
  204. package/dist/components/{p-C9OKT7Zi.js → p-DNufmLoG.js} +15 -15
  205. package/dist/components/{p-C9OKT7Zi.js.map → p-DNufmLoG.js.map} +1 -1
  206. package/dist/components/{p-CnwFBTLJ.js → p-DPhEpE4J.js} +3 -3
  207. package/dist/components/{p-CnwFBTLJ.js.map → p-DPhEpE4J.js.map} +1 -1
  208. package/dist/components/{p-BeGFmd5J.js → p-DiuQr5RS.js} +7 -7
  209. package/dist/components/{p-BeGFmd5J.js.map → p-DiuQr5RS.js.map} +1 -1
  210. package/dist/components/{p-CyPw5YoV.js → p-Veh1dYb0.js} +3 -3
  211. package/dist/components/{p-CyPw5YoV.js.map → p-Veh1dYb0.js.map} +1 -1
  212. package/dist/components/{p-2XuiJtzO.js → p-e07jiJem.js} +3 -3
  213. package/dist/components/{p-2XuiJtzO.js.map → p-e07jiJem.js.map} +1 -1
  214. package/dist/components/{p-BtlPSJ-r.js → p-eV5kIoPB.js} +5 -5
  215. package/dist/components/{p-BtlPSJ-r.js.map → p-eV5kIoPB.js.map} +1 -1
  216. package/dist/components/{p-Dd4XDMhP.js → p-j3tW-cau.js} +9 -9
  217. package/dist/components/{p-Dd4XDMhP.js.map → p-j3tW-cau.js.map} +1 -1
  218. package/dist/components/{p-GuLHgTQK.js → p-mlWgLRfP.js} +3 -3
  219. package/dist/components/{p-GuLHgTQK.js.map → p-mlWgLRfP.js.map} +1 -1
  220. package/dist/components/{p-DY_80Vnz.js → p-s8E0rrpP.js} +12 -12
  221. package/dist/components/{p-DY_80Vnz.js.map → p-s8E0rrpP.js.map} +1 -1
  222. package/dist/components/{p-BqTCck1h.js → p-zJakTqrw.js} +3 -3
  223. package/dist/components/{p-BqTCck1h.js.map → p-zJakTqrw.js.map} +1 -1
  224. package/dist/components/test-input-tag.js +9 -9
  225. package/dist/docs.json +32 -14
  226. package/dist/esm/gb-action-panel_61.entry.js +90 -64
  227. package/dist/esm/gb-avatar-label-group_3.entry.js +1 -1
  228. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  229. package/dist/esm/gb-slider.entry.js +1 -1
  230. package/dist/esm/gb-step-base_2.entry.js +2 -2
  231. package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
  232. package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
  233. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
  234. package/dist/esm/gb-stepper-horizontal-minimal-icons.entry.js +1 -1
  235. package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
  236. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  237. package/dist/esm/test-input-tag.entry.js +2 -2
  238. package/dist/globuscomponents/assets/sent.svg +2 -1
  239. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  240. package/dist/globuscomponents/{p-a151a893.entry.js → p-1ee95c72.entry.js} +2 -2
  241. package/dist/globuscomponents/{p-5051191c.entry.js → p-215b848f.entry.js} +2 -2
  242. package/dist/globuscomponents/{p-e2a71662.entry.js → p-55f67879.entry.js} +2 -2
  243. package/dist/globuscomponents/p-55f67879.entry.js.map +1 -0
  244. package/dist/globuscomponents/p-850f4675.entry.js +2 -0
  245. package/dist/globuscomponents/{p-27f7a9c6.entry.js → p-8ed59414.entry.js} +2 -2
  246. package/dist/globuscomponents/{p-4fa3af47.entry.js → p-92a04ce2.entry.js} +2 -2
  247. package/dist/globuscomponents/p-a3da7f6e.entry.js +2 -0
  248. package/dist/globuscomponents/{p-7e17ac32.entry.js → p-a4949b58.entry.js} +2 -2
  249. package/dist/globuscomponents/{p-1a60ecdb.entry.js → p-e7db5a73.entry.js} +2 -2
  250. package/dist/globuscomponents/{p-2f7946e2.entry.js → p-ed65ba6d.entry.js} +2 -2
  251. package/dist/globuscomponents/{p-adedbe7a.entry.js → p-eefeb176.entry.js} +2 -2
  252. package/dist/globuscomponents/{p-7d813e92.entry.js → p-f3a8ed87.entry.js} +2 -2
  253. package/dist/types/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.d.ts +1 -1
  254. package/dist/types/components.d.ts +28 -10
  255. package/package.json +1 -1
  256. package/dist/components/p-BAz_Vt1i.js.map +0 -1
  257. package/dist/components/p-QHFMnid1.js.map +0 -1
  258. package/dist/globuscomponents/p-55fd0c0c.entry.js +0 -2
  259. package/dist/globuscomponents/p-6e8e8b44.entry.js +0 -2
  260. package/dist/globuscomponents/p-e2a71662.entry.js.map +0 -1
  261. /package/dist/globuscomponents/{p-a151a893.entry.js.map → p-1ee95c72.entry.js.map} +0 -0
  262. /package/dist/globuscomponents/{p-5051191c.entry.js.map → p-215b848f.entry.js.map} +0 -0
  263. /package/dist/globuscomponents/{p-6e8e8b44.entry.js.map → p-850f4675.entry.js.map} +0 -0
  264. /package/dist/globuscomponents/{p-27f7a9c6.entry.js.map → p-8ed59414.entry.js.map} +0 -0
  265. /package/dist/globuscomponents/{p-4fa3af47.entry.js.map → p-92a04ce2.entry.js.map} +0 -0
  266. /package/dist/globuscomponents/{p-55fd0c0c.entry.js.map → p-a3da7f6e.entry.js.map} +0 -0
  267. /package/dist/globuscomponents/{p-7e17ac32.entry.js.map → p-a4949b58.entry.js.map} +0 -0
  268. /package/dist/globuscomponents/{p-1a60ecdb.entry.js.map → p-e7db5a73.entry.js.map} +0 -0
  269. /package/dist/globuscomponents/{p-2f7946e2.entry.js.map → p-ed65ba6d.entry.js.map} +0 -0
  270. /package/dist/globuscomponents/{p-adedbe7a.entry.js.map → p-eefeb176.entry.js.map} +0 -0
  271. /package/dist/globuscomponents/{p-7d813e92.entry.js.map → p-f3a8ed87.entry.js.map} +0 -0
@@ -143,7 +143,7 @@ const GbThemeTab = class {
143
143
  const systemIconSrc = index.getAssetPath(`assets/laptop.svg`);
144
144
  const sunSrc = index.getAssetPath(`assets/sun-02.svg`);
145
145
  const moonSrc = index.getAssetPath(`assets/moon-02.svg`);
146
- return (index.h("div", { key: '61e7f8f1081729012f93efa3283e42b717840c0d', class: `theme_tab_div` }, index.h("div", { key: 'a613367fcc6ef68c2fa7941fa230ce85890b84a2', class: "tab" }, index.h("gb-icon-button-base", { key: 'b6eab15aaa1645e5b0a792faacb73a25b928517d', current: this.currentActiveTab === 'system' ? true : false, icon: systemIconSrc, label: "System", onClick: () => this.tabClicked('system') })), index.h("div", { key: 'cda5e5a1969889dbab1ec8480cc2c38c00012b33', class: "tab" }, index.h("gb-icon-button-base", { key: '69ba55e04e8e3e71c2e15ac84133b9ae03d2afe9', current: this.currentActiveTab === 'light' ? true : false, icon: sunSrc, label: "Light", onClick: () => this.tabClicked('light') })), index.h("div", { key: '165afd0251b317e284a61e44f41aa96bbe497ef1', class: "tab" }, index.h("gb-icon-button-base", { key: 'c7497e2396e8af6bfe0b3ca7f28f9458765afddc', current: this.currentActiveTab === 'dark' ? true : false, icon: moonSrc, label: "Dark", onClick: () => this.tabClicked('dark') }))));
146
+ return (index.h("div", { key: 'ffb2bcce33216853cda0bc036051520f6471eebf', class: `theme_tab_div` }, index.h("div", { key: '8692ba05cb3658fca76f4e757fe0ecf161d0e8b8', class: "tab" }, index.h("gb-icon-button-base", { key: 'ee1d8857c34b5828d4952ebf71d9646f30a560d5', current: this.currentActiveTab === 'system' ? true : false, icon: systemIconSrc, label: "System", onClick: () => this.tabClicked('system') })), index.h("div", { key: '92f2dac8b0389a341fa1aa12e7c485254bb19bbb', class: "tab" }, index.h("gb-icon-button-base", { key: '6696a6e10dd567674708cc1854ab2bff0b0c1189', current: this.currentActiveTab === 'light' ? true : false, icon: sunSrc, label: "Light", onClick: () => this.tabClicked('light') })), index.h("div", { key: '047e25e2870ed84edd25a543641e6311667d9077', class: "tab" }, index.h("gb-icon-button-base", { key: '5154745e1e327be999f66e0c90969c73293241a8', current: this.currentActiveTab === 'dark' ? true : false, icon: moonSrc, label: "Dark", onClick: () => this.tabClicked('dark') }))));
147
147
  }
148
148
  get el() { return index.getElement(this); }
149
149
  };
@@ -24,7 +24,7 @@ const GbSliderControlHandle = class {
24
24
  this.isFocused = false;
25
25
  }
26
26
  render() {
27
- return (index.h("div", { key: 'ffe9201c9e905242352012c210a64ab13d502477', 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' && (index.h("div", { key: '0ced2d7da09f4e9f04db9148b51cbb47bddf4468', class: "tooltip-container" }, index.h("gb-tooltip", { key: '286351db60d5286f9d03a928929bc4e74ced4acf', "show-arrow": false, arrow: "none", "show-supporting-text": false }, index.h("p", { key: 'e91549a7ba636bfab0a31a3d39a1ebd0670a8584', class: "text-xs-semi-bold", slot: "label" }, this.value)))), this.type === 'text' && (index.h("div", { key: 'f1044c5ee4619def0868171f3851f4c33c078a77', class: "thumb-label" }, index.h("p", { key: '351f74720c0351428859b1b483d232134146fc6c', class: "thumb_label text-md-medium" }, this.value)))));
27
+ return (index.h("div", { key: '755e330214a56a9164c35e918409421324f57b93', 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' && (index.h("div", { key: 'e726f49f16573cd3e8d5f0156967d455930a6600', class: "tooltip-container" }, index.h("gb-tooltip", { key: '878340f8b487e032b29fcc9584b8cc7d9a7c02c1', "show-arrow": false, arrow: "none", "show-supporting-text": false }, index.h("p", { key: '0f40c9724f815618bc3340829b41a474b4353c90', class: "text-xs-semi-bold", slot: "label" }, this.value)))), this.type === 'text' && (index.h("div", { key: '8322f0062a48f9950cdcba8ab4544fa49f42195e', class: "thumb-label" }, index.h("p", { key: '94001ac9388a758d638c40980ac4dda07e684032', class: "thumb_label text-md-medium" }, this.value)))));
28
28
  }
29
29
  };
30
30
  GbSliderControlHandle.style = gbSliderControlHandleCss;
@@ -81,7 +81,7 @@ const GbSlider = class {
81
81
  return this.unitPosition === 'left' ? `${this.unit}${value}` : `${value}${this.unit}`;
82
82
  }
83
83
  render() {
84
- return (index.h("div", { key: '78d700fcf9ca425ecc6f22c27ebbdc48c27f1165', class: `slider_wrapper ${this.label}` }, this.showHeading && (index.h(index.Fragment, null, this.formatHeading ? (index.h("p", { class: "slider_label text-sm-medium" }, this.heading.charAt(0).toUpperCase() + this.heading.slice(1).toLowerCase())) : (index.h("p", { class: "slider_label text-sm-medium" }, this.heading)))), index.h("div", { key: '40f718d1d8a87baecaa2b50cb9594452e47023fe', class: "slider-container", ref: el => (this.containerEl = el) }, index.h("div", { key: '3d08fcb9fe2c42da9fc6a6c346e99e6f10935be1', class: "track", ref: el => (this.trackEl = el) }), index.h("gb-slider-control-handle", { key: 'e1a3755fff9d2f72cc38a80dc4f2292475ede2bd', 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') }), index.h("gb-slider-control-handle", { key: '1e69bd130c5c2c54e03584e41b32da51627a562a', 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') }))));
84
+ return (index.h("div", { key: 'fe4133f14cbbdf960861cfd3209fb6a38bb39bdf', class: `slider_wrapper ${this.label}` }, this.showHeading && (index.h(index.Fragment, null, this.formatHeading ? (index.h("p", { class: "slider_label text-sm-medium" }, this.heading.charAt(0).toUpperCase() + this.heading.slice(1).toLowerCase())) : (index.h("p", { class: "slider_label text-sm-medium" }, this.heading)))), index.h("div", { key: '19a705d3df04535f37805f0486ddd2e62a6bf5d7', class: "slider-container", ref: el => (this.containerEl = el) }, index.h("div", { key: 'e11420b7dad76b4f6426317eaf0917e3a046a3d5', class: "track", ref: el => (this.trackEl = el) }), index.h("gb-slider-control-handle", { key: '1d64be7e1ee5fb705854c33261928e19747b0a8c', 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') }), index.h("gb-slider-control-handle", { key: '0dc296c7d6b0778570b942a7bc41ce6fd7186f15', 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') }))));
85
85
  }
86
86
  get el() { return index.getElement(this); }
87
87
  };
@@ -44,7 +44,7 @@ const GbStepBase = class {
44
44
  this.internalState = newValue;
45
45
  }
46
46
  render() {
47
- return (index.h(index.Fragment, null, this.type === 'text_line' && (index.h(index.Fragment, null, index.h("div", { key: '4662a6c79e84c5154f7e40f6646781591685c0e8', class: `bar ${this.size} ${this.status} ${this.internalState}` }), this.showContent && (index.h("div", { key: '45e393b6352ac2bc5ba539c8a89ca894c0a496e9', class: `text_line_div ${this.size} ${this.status} ${this.internalState}` }, index.h("div", { key: '9de71d4fa8c1c8ed9f942e149cc95643337404c3', class: `text_line_div_content` }, index.h("p", { key: 'd1c8b77394118b4caa27b1cebd7564024f2736a8', class: `text_line_label text-sm-semi-bold ${this.status} ${this.internalState}` }, this.label), this.showSupportingText && index.h("p", { key: 'c1ae49cc80645aa44b2f11fa5fa5302e7e20fa64', class: `text_line_text text-xs-regular ${this.status} ${this.internalState}` }, this.supportingText)))))), this.type === 'icon_only' && (index.h("div", { key: 'bc8a91739bc1ff97f583be9a35c05337d78d0cc6', class: `icon_only_div ${this.status} ${this.internalState} ${this.size}` }, this.status !== 'complete' && index.h("div", { key: '13e0728f15d45a17e434f2fe2c3cdbc38f1ca125', class: `dot ${this.status} ${this.internalState} ${this.size}` }), this.status === 'complete' && (index.h("svg", { key: '77ea2c652a4342c000c5e432cf47ee552566a6dd', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.internalState} ${this.size}` }, index.h("path", { key: 'a98d3888e463d3f0cd0bf406474ba191bbdfc1bc', 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' && (index.h("div", { key: 'f0885cd97e40b55eeb0b96156e9ca58ce269d67c', class: `icon_left_div ${this.size}` }, index.h("div", { key: 'c68940b63ef897564a6db047095abca5fffe575e', class: "connector_wrap" }, index.h("gb-step-icon-base", { key: '8f06339e9c4c85bc6353001d188e287f39466607', size: this.size, status: this.internalStatus, state: this.internalState }), this.connector && (index.h("div", { key: '4b3ccc20dc14a64574c887488b8da1e9035b37b0', class: "connector_div" }, index.h("div", { key: 'e232f40e2e1d07ee8c17712b932ebf21cb628bee', class: `icon_left_connector ${this.internalState} ${this.status}` })))), index.h("div", { key: 'beb26865f9b4cf222ecc657b5ade2dc5780ee159', class: "icon_left_text" }, index.h("p", { key: 'de56128e45762c2d2d2e0f2062bc9bdfae120b65', class: `text_line_label text-sm-semi-bold ${this.status} ${this.internalState}` }, this.label), index.h("p", { key: 'c7f0503c18ab6714df76d2d8bbb724bb52775742', class: `text_line_text ${this.breakpoint} text-xs-regular ${this.status} ${this.internalState}` }, this.supportingText)))), this.type === 'icon_top' && (index.h("div", { key: '517b547e5ae544c2cf305787e51aeb2df5d67329', class: `icon_top_div ${this.size}` }, index.h("div", { key: 'b04030b475abd8b41b05928718ac87b07d539d20', class: "step_icon_div" }, index.h("div", { key: '927ea927ce7be4d3d07578395094646b53f55b57', class: "step_icon" }, index.h("div", { key: '8b22a3bce21841f4e4248475ba6dec1550bfa9fd', class: `icon_only_div ${this.status} ${this.internalState} ${this.size}` }, this.status !== 'complete' && index.h("div", { key: '6b84f1424cbcec310e2420bca1cac98f906266f4', class: `dot ${this.status} ${this.internalState} ${this.size}` }), this.status === 'complete' && (index.h("svg", { key: '33d65f76d257721fe7802fc5ac55c4aabc315614', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.internalState} ${this.size}` }, index.h("path", { key: 'fe98915b9b04b509afe77fc766a12e99c201e288', 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" })))))), index.h("div", { key: 'dd117a41bae1d0a221c27fc25c30081dfc065b95', class: "icon_top_content" }, index.h("p", { key: 'a51f24b79902583c76863796da3a21057b20de56', class: `text_line_label text-sm-semi-bold ${this.status} ${this.internalState}` }, this.label), index.h("p", { key: '19b1b22a4a2462cccfe6e326437d89374615da92', class: `text_line_text ${this.breakpoint} text-xs-regular ${this.status} ${this.internalState}` }, this.supportingText)))), this.type === 'featured_icon_left' && (index.h("div", { key: '0daaa67dc0c54c4f25f0b2e08c936f972bdf4747', class: "featured_icon_left_div" }, index.h("div", { key: '2c4a37d03f28e448d05041dc8ff3918595ca02fa', class: "connector_wrap" }, index.h("gb-featured-icon", { key: '57b3cf87551b3a323e092701238045ff2684e72e', size: "sm", icon: "assets/user.svg", destructive: this.internalState === 'destructive' ? true : false }), this.connector && (index.h("div", { key: '9d3dc52f0b9141892034b98ee25517608e040d35', class: "connector_div" }, index.h("div", { key: '9329dd72eb81131076f0ac500f94a126a447723c', class: `featured_icon_left_connector ${this.size} ${this.internalState} ${this.status}` })))), index.h("div", { key: 'a39d3d6ac43d56c5852f24015eafa645ef55ee07', class: "featured_icon_left_content" }, index.h("p", { key: '79d146dce37811b894cb5a47d1546c62c40b4075', class: `featured_icon_left_label ${this.featuredIconLeftLabelClasses()} ${this.status} ${this.internalState}` }, this.label), index.h("p", { key: '0aaafe28c7a103da270e2cd780abd0b8b9f11305', class: `featured_icon_left_text ${this.featuredIconLeftTextClasses()} ${this.status} ${this.internalState}` }, this.supportingText))))));
47
+ return (index.h(index.Fragment, null, this.type === 'text_line' && (index.h(index.Fragment, null, index.h("div", { key: 'bbac21b829737c56dadb364e3865225c4a34fae1', class: `bar ${this.size} ${this.status} ${this.internalState}` }), this.showContent && (index.h("div", { key: '546993561d43f85540e30ac2b2dc39310191f774', class: `text_line_div ${this.size} ${this.status} ${this.internalState}` }, index.h("div", { key: 'fc687b65bb1aa956c5b03ed8c981219fa71057f0', class: `text_line_div_content` }, index.h("p", { key: 'd569a483b205996d3282f1f6d5f45a83a5121c6d', class: `text_line_label text-sm-semi-bold ${this.status} ${this.internalState}` }, this.label), this.showSupportingText && index.h("p", { key: 'f8bdfcb5417642cd5957fa0c8a6a539d7a4ebe90', class: `text_line_text text-xs-regular ${this.status} ${this.internalState}` }, this.supportingText)))))), this.type === 'icon_only' && (index.h("div", { key: 'd5019894f1032a8db58f7c7b465eb47bca21a68d', class: `icon_only_div ${this.status} ${this.internalState} ${this.size}` }, this.status !== 'complete' && index.h("div", { key: '6a2dfe1239243e33bff1fb6c1423ab7ea576e880', class: `dot ${this.status} ${this.internalState} ${this.size}` }), this.status === 'complete' && (index.h("svg", { key: 'a13fefa4b803769190ad281a2e2d8faac6df1aec', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.internalState} ${this.size}` }, index.h("path", { key: 'c4dd819eac00998b099eb142712afcac96d7a952', 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' && (index.h("div", { key: 'cbb816393c026e56f9dcb63d41d81babf862818e', class: `icon_left_div ${this.size}` }, index.h("div", { key: '728f3e5dc2d88ea35dc406721532254825e080ed', class: "connector_wrap" }, index.h("gb-step-icon-base", { key: '6f96ef0e1ca966f14cfff0830e8fdb3eb7cda2da', size: this.size, status: this.internalStatus, state: this.internalState }), this.connector && (index.h("div", { key: '466b60ed1d23a2397a0dbc89effa0449f3e9bb60', class: "connector_div" }, index.h("div", { key: '724321478b44369cdf49460c29c073b9151eda79', class: `icon_left_connector ${this.internalState} ${this.status}` })))), index.h("div", { key: '05c9edb1478a5fe7e88508c201e04f829b1ab25b', class: "icon_left_text" }, index.h("p", { key: '8f687fd3371f16722cf3e40ef2af03700cbc77da', class: `text_line_label text-sm-semi-bold ${this.status} ${this.internalState}` }, this.label), index.h("p", { key: '94dd7eb4743ee0dc2a5ea095ff38c3e83ea42ce3', class: `text_line_text ${this.breakpoint} text-xs-regular ${this.status} ${this.internalState}` }, this.supportingText)))), this.type === 'icon_top' && (index.h("div", { key: 'b3fb1a3726b34375bebddbf119f226ef83f48806', class: `icon_top_div ${this.size}` }, index.h("div", { key: '8000a62568e45d706d6b73ea9218d2ff73a29268', class: "step_icon_div" }, index.h("div", { key: '798904a2a498833e11875693c16d0cf38c095c3b', class: "step_icon" }, index.h("div", { key: 'cc51a374660bcebeeebfddb8454b19c56375a078', class: `icon_only_div ${this.status} ${this.internalState} ${this.size}` }, this.status !== 'complete' && index.h("div", { key: '6d2d4d92600c96a9c35c745e74fb05869e8196aa', class: `dot ${this.status} ${this.internalState} ${this.size}` }), this.status === 'complete' && (index.h("svg", { key: '60b291b02d9e86ac18854a9d9a9ffc7bd58b0c33', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.status} ${this.internalState} ${this.size}` }, index.h("path", { key: '16bd5b01931b7f10d788c942b036617dcddbe0a6', 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" })))))), index.h("div", { key: 'a2457eb4b2d80d6d9fe29fa590bb9279b0396236', class: "icon_top_content" }, index.h("p", { key: 'd648fc2a86dcd08aba96bbf34ae3fd28922bc904', class: `text_line_label text-sm-semi-bold ${this.status} ${this.internalState}` }, this.label), index.h("p", { key: 'f01ed307958f3ee239fc9aa8f36388d027713447', class: `text_line_text ${this.breakpoint} text-xs-regular ${this.status} ${this.internalState}` }, this.supportingText)))), this.type === 'featured_icon_left' && (index.h("div", { key: '040b9182a1458f16914eb82f9995a9ce63e1adcf', class: "featured_icon_left_div" }, index.h("div", { key: '20820f940049c935409b0bc403680b7554b5a21b', class: "connector_wrap" }, index.h("gb-featured-icon", { key: 'c788260e7d67163b2c72d5e02099146263ce5406', size: "sm", icon: "assets/user.svg", destructive: this.internalState === 'destructive' ? true : false }), this.connector && (index.h("div", { key: '89cea474a02384a3ed0b7e51a9fb12058c1f7680', class: "connector_div" }, index.h("div", { key: '5d7729fe0b94dd66fd408c22ce399976b7580242', class: `featured_icon_left_connector ${this.size} ${this.internalState} ${this.status}` })))), index.h("div", { key: 'db1c6b983e9b0ef607def2a85b084212264e2da6', class: "featured_icon_left_content" }, index.h("p", { key: 'cba9abd409fd142428729c58ccb1cece25cf9f81', class: `featured_icon_left_label ${this.featuredIconLeftLabelClasses()} ${this.status} ${this.internalState}` }, this.label), index.h("p", { key: 'e99e90440e7e9f2735dcf45983de06e8da197652', class: `featured_icon_left_text ${this.featuredIconLeftTextClasses()} ${this.status} ${this.internalState}` }, this.supportingText))))));
48
48
  }
49
49
  static get watchers() { return {
50
50
  "status": ["onStatusChange"],
@@ -70,7 +70,7 @@ const GbStepIconBase = class {
70
70
  this.internalState = newValue;
71
71
  }
72
72
  render() {
73
- return (index.h("div", { key: 'b03c62fded57a030bd724b9601d0ced9daadc88c', class: `icon_base_div ${this.internalStatus} ${this.internalState} ${this.size}` }, this.status !== 'complete' && index.h("div", { key: '17945b0617b82fea3cc03417ee7f70b8186726a1', class: `dot ${this.internalStatus} ${this.internalState} ${this.size}` }), this.status === 'complete' && (index.h("svg", { key: '936d4069b66dd5f39c0971eef91c87cbe00fa76a', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.internalStatus} ${this.internalState} ${this.size}` }, index.h("path", { key: 'c9287b92f85d509d9fa55e3475950b07184f98dc', 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" })))));
73
+ return (index.h("div", { key: '2e884bd43d4180e7277dfdd2a156e4604ab7de83', class: `icon_base_div ${this.internalStatus} ${this.internalState} ${this.size}` }, this.status !== 'complete' && index.h("div", { key: 'f18c6d322ff63255255099a5527ba03d770c9182', class: `dot ${this.internalStatus} ${this.internalState} ${this.size}` }), this.status === 'complete' && (index.h("svg", { key: 'debd2e201428b6225484a3c7676512624ac86326', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", class: `tick ${this.internalStatus} ${this.internalState} ${this.size}` }, index.h("path", { key: '45eef9a71a796a97c7c7987cbd9368666586755b', 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" })))));
74
74
  }
75
75
  static get watchers() { return {
76
76
  "status": ["onStatusChange"],
@@ -35,7 +35,7 @@ const GbStepperHorizontalIconsCentered = class {
35
35
  ];
36
36
  }
37
37
  render() {
38
- return (index.h(index.Fragment, null, this.type === 'icon' && (index.h("div", { key: 'bbc9ec63ddcc288a688b11e3410b614e95a9b4f8', class: "icons_centered_div" }, this.breakpoint === 'desktop' && (index.h("div", { key: 'eb847a2e9e2550564881178e44b26b93cece7193', class: "step_div" }, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "icon_top", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText, breakpoint: "desktop" }), index$1 !== this.steps.length - 1 ? (index.h("div", { class: "connector_div" }, index.h("div", { class: `icon_top_connector ${step.state} ` }))) : null))))), this.breakpoint === 'mobile' && (index.h(index.Fragment, null, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "icon_left", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText })))))))), this.type === 'featured_icon' && (index.h("div", { key: '7f47315907dadde7326031c37e01dc70bc3c8d13', class: "icons_centered_div" }, this.breakpoint === 'desktop' && (index.h("div", { key: 'da64ca8c855a37703941566b8b6d74bfd61beb1f', class: "step_div" }, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "icon_top", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText, breakpoint: "desktop" }), index$1 !== this.steps.length - 1 ? (index.h("div", { class: "connector_div" }, index.h("div", { class: `icon_top_connector ${step.state} ` }))) : null))))), this.breakpoint === 'mobile' && (index.h(index.Fragment, null, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "featured_icon_left", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText }))))))))));
38
+ return (index.h(index.Fragment, null, this.type === 'icon' && (index.h("div", { key: '09e93bf913277d8b71102cd2334346c908072952', class: "icons_centered_div" }, this.breakpoint === 'desktop' && (index.h("div", { key: 'ce8afe0fb379ed11246a1eff5d7809fcc9e35342', class: "step_div" }, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "icon_top", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText, breakpoint: "desktop" }), index$1 !== this.steps.length - 1 ? (index.h("div", { class: "connector_div" }, index.h("div", { class: `icon_top_connector ${step.state} ` }))) : null))))), this.breakpoint === 'mobile' && (index.h(index.Fragment, null, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "icon_left", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText })))))))), this.type === 'featured_icon' && (index.h("div", { key: '1d417ecc61ca9dc80324648eb194feef5296552c', class: "icons_centered_div" }, this.breakpoint === 'desktop' && (index.h("div", { key: '5019171556f1fd3f9838cd0a2400d293df4b1ce1', class: "step_div" }, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "icon_top", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText, breakpoint: "desktop" }), index$1 !== this.steps.length - 1 ? (index.h("div", { class: "connector_div" }, index.h("div", { class: `icon_top_connector ${step.state} ` }))) : null))))), this.breakpoint === 'mobile' && (index.h(index.Fragment, null, this.steps.map((step, index$1) => (index.h(index.Fragment, null, index.h("gb-step-base", { size: this.size, type: "featured_icon_left", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : true, label: step.label, "supporting-text": step.supportingText }))))))))));
39
39
  }
40
40
  };
41
41
  GbStepperHorizontalIconsCentered.style = gbStepperHorizontalIconsCenteredCss;
@@ -27,7 +27,7 @@ const GbStepperHorizontalIconsCentered = class {
27
27
  ];
28
28
  }
29
29
  render() {
30
- return (index.h("div", { key: '8667d8e997830a0080de281d5e289a69900bb085', class: "icons_centered_container" }, index.h("div", { key: '2efcfd5d6a2d19bd3ecb235e57265db154fddee5', class: "icons_centered_div" })));
30
+ return (index.h("div", { key: '9d4e134e23b1ca5b9f8216e6c2b0a36995759a3f', class: "icons_centered_container" }, index.h("div", { key: '8afb200432d236cca7ee39ff5df9ec65edf29b8a', class: "icons_centered_div" })));
31
31
  }
32
32
  };
33
33
  GbStepperHorizontalIconsCentered.style = gbStepperHorizontalIconsConnectedCss;
@@ -47,7 +47,7 @@ const GbStepperHorizontalLineWithText = class {
47
47
  this.showSupportingText = this.width < 768 ? false : true;
48
48
  }
49
49
  render() {
50
- return (index.h("div", { key: 'e4ed87570eb726eaa6dd907fc6526abe8b11e6d4', class: "text_with_line" }, this.internalSteps.map(step => (index.h("gb-step-base", { size: this.size, type: "text_line", state: step.state, status: step.status, label: step.label, "supporting-text": step.supportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })))));
50
+ return (index.h("div", { key: '32fc087ee90403e4d97d833b39fc388be7d386e5', class: "text_with_line" }, this.internalSteps.map(step => (index.h("gb-step-base", { size: this.size, type: "text_line", state: step.state, status: step.status, label: step.label, "supporting-text": step.supportingText, "show-content": this.showContent, "show-supporting-text": this.showSupportingText })))));
51
51
  }
52
52
  static get watchers() { return {
53
53
  "steps": ["onStepsChanged"]
@@ -32,7 +32,7 @@ const GbStepperHorizontalMinimalIcons = class {
32
32
  }
33
33
  render() {
34
34
  const indexOfCurrentStep = this.steps.findIndex(step => step.status === 'current');
35
- return (index.h("div", { key: 'f0b6c6908391bcfc99dea20c2045e236b1f8d664', class: `minimai_icons_container ${this.position}` }, index.h("div", { key: '82fd04e7e2e3d524e3fcd78a2e9e71735af26408', class: `minimai_icons_div ${this.size} ${this.position}` }, this.position !== 'left' && (index.h(index.Fragment, null, this.text && (index.h("p", { key: 'c3fed5524674eed51afcabf0f6118b98aebdb52c', class: "step_text text-sm-medium" }, this.stepLabel, " ", indexOfCurrentStep + 1, " of ", this.steps.length)))), this.steps.map(step => (index.h("gb-step-icon-base", { size: this.size, status: step.status, state: step.state }))), this.position === 'left' && (index.h(index.Fragment, null, this.text && (index.h("p", { key: 'b11feeec3b256c1c9c3b6017a9d128ec839736e2', class: "step_text text-sm-medium" }, this.stepLabel, " ", indexOfCurrentStep + 1, " of ", this.steps.length)))))));
35
+ return (index.h("div", { key: '99a677572046f00d36a4e56599005ca77a4ff925', class: `minimai_icons_container ${this.position}` }, index.h("div", { key: '8f63d2be5b01f360303d7809e524e4296661aa8d', class: `minimai_icons_div ${this.size} ${this.position}` }, this.position !== 'left' && (index.h(index.Fragment, null, this.text && (index.h("p", { key: 'bd3b37b4187bcbea05d251a01b49a2065706866c', class: "step_text text-sm-medium" }, this.stepLabel, " ", indexOfCurrentStep + 1, " of ", this.steps.length)))), this.steps.map(step => (index.h("gb-step-icon-base", { size: this.size, status: step.status, state: step.state }))), this.position === 'left' && (index.h(index.Fragment, null, this.text && (index.h("p", { key: '228b2d9c0d40db8491c4d20bb3b9492023517114', class: "step_text text-sm-medium" }, this.stepLabel, " ", indexOfCurrentStep + 1, " of ", this.steps.length)))))));
36
36
  }
37
37
  };
38
38
  GbStepperHorizontalMinimalIcons.style = gbStepperHorizontalMinimalIconsCss;
@@ -38,7 +38,7 @@ const GbstepperVerticalIconsWithText = class {
38
38
  this.stepClicked.emit(index);
39
39
  }
40
40
  render() {
41
- return (index.h("div", { key: '14b85cafc4938404d37dbff4bad1a02387f0272b', class: "vertical_stepper_div" }, this.type === 'icon' && (index.h(index.Fragment, null, this.internalSteps.map((step, index$1) => (index.h("gb-step-base", { size: this.size, type: "icon_left", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : this.connector, label: step.label, "supporting-text": step.supportingText, onClick: () => this.emitIndex(index$1) })))))));
41
+ return (index.h("div", { key: 'd99777efdb5eb30cc70ccf75c5ffba93a9f9e264', class: "vertical_stepper_div" }, this.type === 'icon' && (index.h(index.Fragment, null, this.internalSteps.map((step, index$1) => (index.h("gb-step-base", { size: this.size, type: "icon_left", state: step.state, status: step.status, connector: index$1 === this.steps.length - 1 ? false : this.connector, label: step.label, "supporting-text": step.supportingText, onClick: () => this.emitIndex(index$1) })))))));
42
42
  }
43
43
  static get watchers() { return {
44
44
  "steps": ["onStepsChanged"]
@@ -32,7 +32,7 @@ const GbVerticalTabs = class {
32
32
  this.tabItemClicked.emit({ index, label });
33
33
  }
34
34
  render() {
35
- return (index.h("div", { key: 'bcb7f6a7da16cfda2c2b54b10c15208f0aa0339d', class: `vertical_tab_div` }, this.internalTabs.map((tab, index$1) => (index.h("gb-tab-button-base", { size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": tab.name, current: this.activeIndex === index$1, onClick: () => this.handleTabClick(index$1, tab.name), alignment: "vertical" })))));
35
+ return (index.h("div", { key: '3e1fc1b6d97df5a6a063e9f8e6e83e017f62b544', class: `vertical_tab_div` }, this.internalTabs.map((tab, index$1) => (index.h("gb-tab-button-base", { size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": tab.name, current: this.activeIndex === index$1, onClick: () => this.handleTabClick(index$1, tab.name), alignment: "vertical" })))));
36
36
  }
37
37
  static get watchers() { return {
38
38
  "tabs": ["onTabsChanged"]
@@ -78,7 +78,7 @@ const TestInputTag = class {
78
78
  this.exportValue.emit(this.selectedStaff);
79
79
  }
80
80
  render() {
81
- return (index.h("div", { key: 'e265282f76a759d969599c185ad5e9a3c46db44a', class: "input_group", ref: el => (this.inputGroupElement = el) }, index.h("label", { key: '732b65546f9f004ae104517c410121ad8725e89d', htmlFor: this.idOfInput }, this.labelText), index.h("div", { key: '26e4ec22abedfbdbc09e36970f5b9a5d5b218fee', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, index.h("input", { key: '5d297acfcd26a3df02100bb15b8bda330dcaf7a4', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), index.h("div", { key: '3b942313cc8808ee9ac9a32fce77bc8646e6eec2', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index$1) => (
81
+ return (index.h("div", { key: 'ae201263df9ce6ce9a269b7ada1d54d20222385f', class: "input_group", ref: el => (this.inputGroupElement = el) }, index.h("label", { key: 'a0ada4646f088d1c6684d5e9b42a17b9dec1a815', htmlFor: this.idOfInput }, this.labelText), index.h("div", { key: 'a3c9e7d8b3501965a3465c71cfc1d77731a9bfd4', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, index.h("input", { key: '309f94fedfbb6772cbefbb73702421c348bee970', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), index.h("div", { key: '8481e65dfbb3ed828e72e651a4285c389217fd20', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index$1) => (
82
82
  // <span>
83
83
  // {staff.fullname}
84
84
  // <img
@@ -87,7 +87,7 @@ const TestInputTag = class {
87
87
  // onClick={() => this.removeStaff(index)}
88
88
  // />
89
89
  // </span>
90
- index.h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index$1) }, index.h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), index.h("p", null, staff.fullname.split(' ')[0])))))), this.show && (index.h("div", { key: '6c3533aca559fcf2b05cfa7e0d7424a3dd45037f', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
90
+ index.h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index$1) }, index.h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), index.h("p", null, staff.fullname.split(' ')[0])))))), this.show && (index.h("div", { key: 'f17e9758f35b957710387c60a1181b0d2e8d600c', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
91
91
  // <li class="aList" onClick={() => this.selectStaff(staff)}>
92
92
  // <div>{staff.fullname}</div>
93
93
  // <div>{staff.email}</div>
@@ -1,3 +1,4 @@
1
1
  <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.88903 10.1324L8.68643 10.8545H8.68643L8.88903 10.1324ZM10.2175 11.5657L9.48496 11.7268V11.7268L10.2175 11.5657ZM12.6675 17.917L12.7006 17.1677L12.6675 17.917ZM2.08301 7.12649L2.833 7.12165L2.08301 7.12649ZM17.5394 2.54476L16.9899 3.0551V3.0551L17.5394 2.54476ZM9.05265 9.88697C8.75975 10.1799 8.75975 10.6547 9.05265 10.9476C9.34554 11.2405 9.82041 11.2405 10.1133 10.9476L9.58298 10.4173L9.05265 9.88697ZM13.03 8.03096C13.3229 7.73807 13.3229 7.2632 13.03 6.9703C12.7371 6.67741 12.2622 6.67741 11.9693 6.9703L12.4996 7.50063L13.03 8.03096ZM2.08301 7.12649L1.33303 7.13132C1.33866 8.00428 1.93369 8.60931 2.53398 9.00196C3.14885 9.40415 3.94356 9.70382 4.72363 9.93644C5.5137 10.172 6.34322 10.3543 7.05326 10.5014C7.78845 10.6537 8.35111 10.7604 8.68643 10.8545L8.88903 10.1324L9.09162 9.41025C8.68981 9.29751 8.03474 9.17287 7.35759 9.03257C6.65528 8.88706 5.87784 8.71536 5.15229 8.49899C4.41673 8.27964 3.78718 8.02929 3.35507 7.74666C2.90839 7.45448 2.83376 7.23989 2.833 7.12165L2.08301 7.12649ZM10.2175 11.5657L10.95 11.4046C10.8435 10.9204 10.7001 10.4515 10.3589 10.0837C10.0142 9.71196 9.55911 9.5414 9.09162 9.41025L8.88903 10.1324L8.68643 10.8545C9.1055 10.9721 9.21243 11.0533 9.25915 11.1037C9.30941 11.1579 9.38701 11.2814 9.48496 11.7268L10.2175 11.5657ZM2.08301 7.12649L2.833 7.12165C2.83384 7.25161 2.77611 7.29231 2.83072 7.22086C2.87733 7.15986 2.97069 7.06431 3.13202 6.93791C3.45261 6.68673 3.94325 6.3894 4.57792 6.0668C5.8398 5.4254 7.56307 4.73817 9.35616 4.16099C11.1506 3.58337 12.9802 3.12723 14.4546 2.93383C15.1945 2.83679 15.8141 2.81019 16.2818 2.85527C16.785 2.90378 16.9582 3.02097 16.9899 3.0551L17.5394 2.54476L18.089 2.03441C17.667 1.57989 17.0164 1.41913 16.4257 1.36219C15.7994 1.30183 15.0547 1.34228 14.2595 1.44657C12.6639 1.65586 10.7407 2.13953 8.89655 2.73314C7.05101 3.32721 5.24979 4.04265 3.89825 4.72962C3.22621 5.07121 2.6379 5.41949 2.20693 5.75715C1.99248 5.92516 1.79191 6.10982 1.63888 6.31008C1.49385 6.49987 1.33078 6.78284 1.33303 7.13132L2.08301 7.12649ZM12.6675 17.917L12.6344 18.6663C12.9894 18.682 13.2784 18.5199 13.4672 18.3797C13.6674 18.231 13.8521 18.0343 14.0198 17.8249C14.3572 17.4034 14.7082 16.8248 15.0548 16.1625C15.7519 14.8302 16.4885 13.0474 17.1111 11.2156C17.7334 9.38464 18.2531 7.47173 18.5038 5.87851C18.6288 5.08435 18.6917 4.34114 18.6568 3.71436C18.624 3.12567 18.4984 2.47521 18.089 2.03441L17.5394 2.54476L16.9899 3.0551C17.0234 3.09119 17.1304 3.28111 17.1591 3.79769C17.1857 4.27617 17.1389 4.90309 17.0221 5.64532C16.7892 7.12489 16.2969 8.94982 15.6909 10.7328C15.0852 12.515 14.3771 14.2222 13.7257 15.4671C13.398 16.0935 13.0987 16.5752 12.8488 16.8874C12.7229 17.0448 12.6297 17.1332 12.5727 17.1755C12.5043 17.2264 12.5567 17.1614 12.7006 17.1677L12.6675 17.917ZM10.2175 11.5657L9.48496 11.7268C9.94334 13.8113 10.3013 15.4402 10.6834 16.5474C10.8739 17.0992 11.0919 17.5888 11.3738 17.9547C11.6699 18.3389 12.0833 18.6419 12.6344 18.6663L12.6675 17.917L12.7006 17.1677C12.6971 17.1676 12.6954 17.1684 12.6836 17.1613C12.6664 17.1509 12.6241 17.1197 12.5621 17.0392C12.4299 16.8677 12.2752 16.5618 12.1014 16.058C11.7548 15.0538 11.4174 13.5304 10.95 11.4046L10.2175 11.5657ZM9.58298 10.4173L10.1133 10.9476L13.03 8.03096L12.4996 7.50063L11.9693 6.9703L9.05265 9.88697L9.58298 10.4173Z" fill="#4B5565"/>
2
+ <path opacity="0.4" d="M17.5399 2.54427C15.7249 0.589632 2.07223 5.37783 2.0835 7.126C2.09628 9.10839 7.41523 9.71826 8.88952 10.1319C9.77607 10.3806 10.0135 10.6355 10.2179 11.5652C11.1438 15.7756 11.6086 17.8697 12.668 17.9165C14.3566 17.9911 19.3113 4.45183 17.5399 2.54427Z" fill="#042F59"/>
3
+ <path d="M8.88952 10.1319L8.68692 10.854H8.68692L8.88952 10.1319ZM10.2179 11.5652L9.48544 11.7263V11.7263L10.2179 11.5652ZM12.668 17.9165L12.7011 17.1673L12.668 17.9165ZM2.0835 7.126L2.83349 7.12116L2.0835 7.126ZM17.5399 2.54427L16.9903 3.05461V3.05461L17.5399 2.54427ZM9.05314 9.88648C8.76024 10.1794 8.76024 10.6542 9.05314 10.9471C9.34603 11.24 9.8209 11.24 10.1138 10.9471L9.58347 10.4168L9.05314 9.88648ZM13.0305 8.03048C13.3234 7.73758 13.3234 7.26271 13.0305 6.96982C12.7376 6.67692 12.2627 6.67692 11.9698 6.96982L12.5001 7.50014L13.0305 8.03048ZM2.0835 7.126L1.33352 7.13083C1.33915 8.00379 1.93418 8.60883 2.53447 9.00148C3.14933 9.40366 3.94405 9.70333 4.72412 9.93595C5.51418 10.1716 6.34371 10.3538 7.05375 10.5009C7.78894 10.6532 8.3516 10.7599 8.68692 10.854L8.88952 10.1319L9.09211 9.40976C8.69029 9.29703 8.03523 9.17239 7.35808 9.03208C6.65577 8.88657 5.87833 8.71487 5.15278 8.4985C4.41722 8.27916 3.78766 8.0288 3.35556 7.74617C2.90888 7.45399 2.83425 7.2394 2.83349 7.12116L2.0835 7.126ZM10.2179 11.5652L10.9504 11.4042C10.844 10.9199 10.7006 10.451 10.3594 10.0832C10.0147 9.71147 9.5596 9.54092 9.09211 9.40976L8.88952 10.1319L8.68692 10.854C9.10599 10.9716 9.21292 11.0528 9.25964 11.1032C9.3099 11.1574 9.3875 11.2809 9.48544 11.7263L10.2179 11.5652ZM2.0835 7.126L2.83349 7.12116C2.83433 7.25112 2.7766 7.29182 2.83121 7.22037C2.87782 7.15938 2.97118 7.06382 3.13251 6.93742C3.4531 6.68625 3.94373 6.38891 4.57841 6.06631C5.84029 5.42491 7.56356 4.73768 9.35665 4.16051C11.1511 3.58288 12.9807 3.12674 14.4551 2.93335C15.195 2.8363 15.8145 2.8097 16.2823 2.85478C16.7855 2.90329 16.9586 3.02048 16.9903 3.05461L17.5399 2.54427L18.0895 2.03392C17.6675 1.5794 17.0169 1.41864 16.4262 1.3617C15.7999 1.30134 15.0551 1.34179 14.26 1.44608C12.6644 1.65537 10.7412 2.13904 8.89704 2.73265C7.0515 3.32672 5.25028 4.04216 3.89874 4.72913C3.2267 5.07072 2.63839 5.419 2.20742 5.75666C1.99297 5.92467 1.7924 6.10934 1.63937 6.30959C1.49434 6.49938 1.33127 6.78235 1.33352 7.13083L2.0835 7.126ZM12.668 17.9165L12.6349 18.6658C12.9898 18.6815 13.2789 18.5194 13.4676 18.3792C13.6679 18.2305 13.8526 18.0338 14.0203 17.8244C14.3577 17.403 14.7087 16.8243 15.0552 16.1621C15.7524 14.8298 16.489 13.0469 17.1116 11.2151C17.7339 9.38415 18.2536 7.47125 18.5043 5.87802C18.6293 5.08386 18.6921 4.34065 18.6573 3.71387C18.6245 3.12519 18.4988 2.47472 18.0895 2.03392L17.5399 2.54427L16.9903 3.05461C17.0239 3.0907 17.1308 3.28062 17.1596 3.7972C17.1862 4.27568 17.1394 4.9026 17.0226 5.64483C16.7897 7.1244 16.2974 8.94933 15.6914 10.7324C15.0856 12.5145 14.3776 14.2217 13.7262 15.4666C13.3985 16.093 13.0992 16.5748 12.8493 16.887C12.7234 17.0443 12.6302 17.1327 12.5732 17.1751C12.5048 17.2259 12.5572 17.1609 12.7011 17.1673L12.668 17.9165ZM10.2179 11.5652L9.48544 11.7263C9.94383 13.8109 10.3018 15.4397 10.6839 16.5469C10.8744 17.0987 11.0924 17.5883 11.3743 17.9542C11.6703 18.3384 12.0837 18.6414 12.6349 18.6658L12.668 17.9165L12.7011 17.1673C12.6976 17.1671 12.6959 17.1679 12.6841 17.1608C12.6669 17.1504 12.6246 17.1192 12.5625 17.0387C12.4304 16.8672 12.2757 16.5613 12.1018 16.0575C11.7553 15.0533 11.4179 13.5299 10.9504 11.4042L10.2179 11.5652ZM9.58347 10.4168L10.1138 10.9471L13.0305 8.03048L12.5001 7.50014L11.9698 6.96982L9.05314 9.88648L9.58347 10.4168Z" fill="#042F59"/>
3
4
  </svg>
@@ -2869,10 +2869,14 @@
2869
2869
  }
2870
2870
 
2871
2871
  /* Icon Color Styles */
2872
- .icon.plain_background path[stroke] {
2872
+ .icon.plain_background.default path[stroke] {
2873
2873
  stroke: var(--color-icon, #4b5565);
2874
2874
  }
2875
2875
 
2876
+ .icon.plain_background.default path[fill] {
2877
+ fill: var(--color-icon, #4b5565);
2878
+ }
2879
+
2876
2880
  .icon.plain_background.active path[stroke] {
2877
2881
  stroke: var(--color-icon-information-bold, #042f59);
2878
2882
  }
@@ -2881,19 +2885,31 @@
2881
2885
  fill: var(--color-icon-information-bold, #042f59);
2882
2886
  }
2883
2887
 
2884
- .icon.plain_background path#Icon[fill] {
2888
+ .icon.plain_background.default path#Icon[stroke] {
2889
+ stroke: var(--color-icon, #4b5565);
2890
+ }
2891
+
2892
+ .icon.plain_background.default path#Icon[fill] {
2885
2893
  fill: var(--color-icon, #4b5565);
2886
2894
  }
2887
2895
 
2896
+ .icon.plain_background.active path#Icon[stroke] {
2897
+ stroke: var(--color-icon-information-bold, #042f59);
2898
+ }
2899
+
2888
2900
  .icon.plain_background.active path#Icon[fill] {
2889
2901
  fill: var(--color-icon-information-bold, #042f59);
2890
2902
  }
2891
2903
 
2904
+ .icon.plain_background.active path#Accent[stroke] {
2905
+ stroke: var(--color-icon-information-bold, #042f59);
2906
+ }
2907
+
2892
2908
  .icon.plain_background.active path#Accent[fill] {
2893
2909
  fill: var(--color-icon-information-bold, #042f59);
2894
2910
  }
2895
2911
 
2896
- .icon.plain_background circle[stroke] {
2912
+ .icon.plain_background.default circle[stroke] {
2897
2913
  stroke: var(--color-icon, #4b5565);
2898
2914
  }
2899
2915
 
@@ -2901,45 +2917,86 @@
2901
2917
  fill: var(--color-icon-information-bold, #042f59);
2902
2918
  }
2903
2919
 
2904
- .icon.colored_background path[stroke] {
2905
- stroke: var(--color-icon, #4B5565);
2920
+ .icon.colored_background.default path[stroke] {
2921
+ stroke: var(--color-icon, #4b5565);
2922
+ }
2923
+
2924
+ .icon.colored_background.default path[fill] {
2925
+ fill: var(--color-icon, #4b5565);
2906
2926
  }
2907
2927
 
2908
2928
  .icon.colored_background.active path[stroke] {
2909
- stroke: var(--color-icon-information-bold, #042F59);
2929
+ stroke: var(--color-icon-information-bold, #042f59);
2910
2930
  }
2911
2931
 
2912
2932
  .icon.colored_background.active path[fill] {
2913
- fill: var(--color-icon-information-bold, #042F59);
2933
+ fill: var(--color-icon-information-bold, #042f59);
2934
+ }
2935
+
2936
+ .icon.colored_background path#Icon[stroke] {
2937
+ stroke: var(--color-icon, #4b5565);
2914
2938
  }
2915
2939
 
2916
2940
  .icon.colored_background path#Icon[fill] {
2917
- fill: var(--color-icon, #4B5565);
2941
+ fill: var(--color-icon, #4b5565);
2918
2942
  }
2919
2943
 
2920
- .icon.colored_background.active path#Icon[fill] {
2921
- fill: var(--color-icon-information-bold, #042F59);
2944
+ .icon.colored_background.active path#Accent[stroke] {
2945
+ stroke: var(--color-icon-information-bold, #042f59);
2922
2946
  }
2923
2947
 
2924
2948
  .icon.colored_background.active path#Accent[fill] {
2925
- fill: var(--color-icon-information-bold, #042F59);
2949
+ fill: var(--color-icon-information-bold, #042f59);
2926
2950
  }
2927
2951
 
2928
2952
  .icon.colored_background circle[stroke] {
2929
- stroke: var(--color-icon, #4B5565);
2953
+ stroke: var(--color-icon, #4b5565);
2954
+ }
2955
+
2956
+ .icon.colored_background circle[fill] {
2957
+ fill: var(--color-icon, #4b5565);
2958
+ }
2959
+
2960
+ .icon.colored_background.active circle[stroke] {
2961
+ stroke: var(--color-icon-information-bold, #042f59);
2930
2962
  }
2931
2963
 
2932
2964
  .icon.colored_background.active circle[fill] {
2933
- fill: var(--color-icon-information-bold, #042F59);
2965
+ fill: var(--color-icon-information-bold, #042f59);
2934
2966
  }
2935
2967
 
2936
- .icon.plain_background.default path[fill],
2968
+ /* .icon.plain_background.default path[fill],
2937
2969
  .icon.colored_background.default path[fill],
2938
2970
  .icon.plain_background.default circle[fill],
2939
2971
  .icon.colored_background.default circle[fill] {
2940
2972
  fill: transparent;
2973
+ } */
2974
+
2975
+ .icon.plain_background.default path.has_opacity,
2976
+ .icon.plain_background.default g.has_opacity,
2977
+ .icon.plain_background.default circle.has_opacity,
2978
+ .icon.colored_background.default path.has_opacity,
2979
+ .icon.colored_background.default g.has_opacity,
2980
+ .icon.colored_background.default circle.has_opacity {
2981
+ opacity: 0;
2941
2982
  }
2942
2983
 
2984
+ .icon.plain_background.active path.has_opacity,
2985
+ .icon.plain_background.active g.has_opacity,
2986
+ .icon.plain_background.active circle.has_opacity,
2987
+ .icon.colored_background.active path.has_opacity,
2988
+ .icon.colored_background.active g.has_opacity,
2989
+ .icon.colored_background.active circle.has_opacity {
2990
+ opacity: 0.5;
2991
+ }
2992
+
2993
+ /* .icon.plain_background.default path[fill].has_opacity,
2994
+ .icon.plain_background.default g.has_opacity,
2995
+ .icon.colored_background.default path[fill].has_opacity,
2996
+ .icon.colored_background.default g.has_opacity{
2997
+ fill: transparent;
2998
+ } */
2999
+
2943
3000
  /* Text Styles */
2944
3001
  .label_text {
2945
3002
  max-width: 100%;
@@ -1,7 +1,10 @@
1
1
  import { getAssetPath, h } from "@stencil/core";
2
2
  export class GbComplexSecondarySideBarItem {
3
3
  constructor() {
4
- this.label = 'Appraisal';
4
+ this.state = 'default';
5
+ this.type = 'full_with_label';
6
+ this.category = 'colored_background';
7
+ this.label = '';
5
8
  this.icon = '';
6
9
  this.showTooltip = false;
7
10
  this.leadingIconSvg = '';
@@ -10,13 +13,28 @@ export class GbComplexSecondarySideBarItem {
10
13
  const iconPath = getAssetPath(`${iconName}`);
11
14
  const response = await fetch(iconPath);
12
15
  const svg = await response.text();
13
- this.leadingIconSvg = svg;
16
+ const parser = new DOMParser();
17
+ const svgDoc = parser.parseFromString(svg, 'image/svg+xml');
18
+ const svgElement = svgDoc.documentElement;
19
+ // Add `has-opacity` class to all elements that have an opacity attribute
20
+ const elementsWithOpacity = svgElement.querySelectorAll('[opacity]');
21
+ elementsWithOpacity.forEach(el => {
22
+ el.classList.add('has_opacity');
23
+ });
24
+ const gWithOpacity = svgElement.querySelectorAll('g[opacity]');
25
+ gWithOpacity.forEach(g => {
26
+ g.classList.add('has_opacity');
27
+ });
28
+ // Serialize and store
29
+ const modifiedSvg = svgElement.outerHTML;
30
+ // console.log(modifiedSvg)
31
+ this.leadingIconSvg = modifiedSvg;
14
32
  }
15
33
  componentDidLoad() {
16
34
  this.loadIcon(this.icon);
17
35
  }
18
36
  render() {
19
- return (h("div", { key: '95c40ef250a694615cc791e8cbb4bdda9ff0fec7', class: `container ${this.type}` }, h("div", { key: '0e06a973c81b77f6f87d650b20fdf87e9f7f5726', class: `secondary_side_bar_item_div ${this.state} ${this.type} ${this.category}`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: 'c701dee78b2640b9bb3d11e0c21915fd603fa5b7', class: "icon" }, h("div", { key: '709c32f14cc432f00b6c825e972c3f9a1c609824', class: "icon_container" }, h("div", { key: '4fdb39198fb0aa17940b0687ab0b93e1cb51eb31', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }))), this.type === 'full_with_label' && (h("div", { key: '235ba2b2b915822789876161c547b1d05b770f93', class: "text" }, h("p", { key: 'c3f423d6d0ccb97a2a141d83af55155e2b939909', class: `label_text ${this.state} ${this.category} ${this.state !== 'active' ? 'text-md-medium' : 'text-md-semi-bold'}` }, this.label))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: '229619866f0f2e8f8547b38444afe03ffc022040', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: 'f2cc0006265365e9049603d3352468f3bc8294f4', slot: "label" }, this.label))))));
37
+ return (h("div", { key: '57632db7fd548e55a471fb6fb51f784b579d6dde', class: `container ${this.type}` }, h("div", { key: '9e53f1559c074d85ff745d7d4dc40d7286a19cec', class: `secondary_side_bar_item_div ${this.state} ${this.type} ${this.category}`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: 'bfaa8ae13149b4decc820663850bdbcadd3a4edf', class: "icon" }, h("div", { key: '4566c395d1b2204ad346dfa79db6229817f35946', class: "icon_container" }, h("div", { key: 'a39d5902b0e852bfd9516ae5aef27ace8364431f', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }))), this.type === 'full_with_label' && (h("div", { key: 'e64f1b9b1d91b25205690894e884db2aa102cd46', class: "text" }, h("p", { key: 'd6b5bd96634d311ad825457a2b97da6988a3946c', class: `label_text ${this.state} ${this.category} ${this.state !== 'active' ? 'text-md-medium' : 'text-md-semi-bold'}` }, this.label))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: 'a381ca7df1756f7875ae463088d05d7e39d25a92', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '6e742a6c19798eb3dbcee7c24ebd2fb9c96d44b7', slot: "label" }, this.label))))));
20
38
  }
21
39
  static get is() { return "gb-complex-secondary-side-bar-item"; }
22
40
  static get encapsulation() { return "shadow"; }
@@ -49,7 +67,8 @@ export class GbComplexSecondarySideBarItem {
49
67
  "getter": false,
50
68
  "setter": false,
51
69
  "reflect": false,
52
- "attribute": "state"
70
+ "attribute": "state",
71
+ "defaultValue": "'default'"
53
72
  },
54
73
  "type": {
55
74
  "type": "string",
@@ -68,7 +87,8 @@ export class GbComplexSecondarySideBarItem {
68
87
  "getter": false,
69
88
  "setter": false,
70
89
  "reflect": false,
71
- "attribute": "type"
90
+ "attribute": "type",
91
+ "defaultValue": "'full_with_label'"
72
92
  },
73
93
  "category": {
74
94
  "type": "string",
@@ -93,7 +113,8 @@ export class GbComplexSecondarySideBarItem {
93
113
  "getter": false,
94
114
  "setter": false,
95
115
  "reflect": false,
96
- "attribute": "category"
116
+ "attribute": "category",
117
+ "defaultValue": "'colored_background'"
97
118
  },
98
119
  "label": {
99
120
  "type": "string",
@@ -113,7 +134,7 @@ export class GbComplexSecondarySideBarItem {
113
134
  "setter": false,
114
135
  "reflect": false,
115
136
  "attribute": "label",
116
- "defaultValue": "'Appraisal'"
137
+ "defaultValue": "''"
117
138
  },
118
139
  "icon": {
119
140
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"gb-complex-secondary-side-bar-item.js","sourceRoot":"","sources":["../../../src/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AASjF,MAAM,OAAO,6BAA6B;IAN1C;QAUY,UAAK,GAAW,WAAW,CAAC;QAC5B,SAAI,GAAW,EAAE,CAAC;QACD,gBAAW,GAAY,KAAK,CAAC;QAE7C,mBAAc,GAAW,EAAE,CAAC;KAwCxC;IAtCG,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;QACvC,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAED,MAAM;QACF,OAAO,CACL,4DAAK,KAAK,EAAE,aAAa,IAAI,CAAC,IAAI,EAAE;YAClC,4DACE,KAAK,EAAE,+BAA+B,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE,EAChF,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAC7C,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;gBAE9C,4DAAK,KAAK,EAAC,MAAM;oBACf,4DAAK,KAAK,EAAC,gBAAgB;wBACzB,4DAAK,KAAK,EAAE,QAAQ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ,CACrF,CACF;gBACL,IAAI,CAAC,IAAI,KAAK,iBAAiB,IAAI,CAClC,4DAAK,KAAK,EAAC,MAAM;oBACf,0DAAG,KAAK,EAAE,cAAc,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,mBAAmB,EAAE,IAAG,IAAI,CAAC,KAAK,CAAK,CACvI,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,WAAW,IAAI,IAAI,CAAC,WAAW,IAAI,CAChD,iFAAwB,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS;oBACxD,0DAAG,IAAI,EAAC,OAAO,IAAE,IAAI,CAAC,KAAK,CAAK,CACrB,CACd,CACG,CACF,CACP,CAAC;IACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Element, Prop, State, getAssetPath, h } from \"@stencil/core\";\r\nimport { GeneralBackgroundCategories } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-complex-secondary-side-bar-item',\r\n styleUrl: 'gb-complex-secondary-side-bar-item.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbComplexSecondarySideBarItem {\r\n @Prop() state: 'default' | 'active';\r\n @Prop() type: 'full_with_label' | 'icon_only';\r\n @Prop() category: GeneralBackgroundCategories;\r\n @Prop() label: string = 'Appraisal';\r\n @Prop() icon: string = '';\r\n @Prop({ mutable: true }) showTooltip: boolean = false;\r\n @Element() el: HTMLElement;\r\n @State() leadingIconSvg: 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 componentDidLoad() {\r\n this.loadIcon(this.icon);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`container ${this.type}`}>\r\n <div\r\n class={`secondary_side_bar_item_div ${this.state} ${this.type} ${this.category}`}\r\n onMouseEnter={() => (this.showTooltip = true)}\r\n onMouseLeave={() => (this.showTooltip = false)}\r\n >\r\n <div class=\"icon\">\r\n <div class=\"icon_container\">\r\n <div class={`icon ${this.state} ${this.category}`} innerHTML={this.leadingIconSvg}></div>\r\n </div>\r\n </div>\r\n {this.type === 'full_with_label' && (\r\n <div class=\"text\">\r\n <p class={`label_text ${this.state} ${this.category} ${this.state !== 'active' ? 'text-md-medium' : 'text-md-semi-bold'}`}>{this.label}</p>\r\n </div>\r\n )}\r\n {this.type === 'icon_only' && this.showTooltip && (\r\n <gb-tooltip show-arrow={true} arrow=\"left\" class=\"tooltip\">\r\n <p slot=\"label\">{this.label}</p>\r\n </gb-tooltip>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-complex-secondary-side-bar-item.js","sourceRoot":"","sources":["../../../src/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQjF,MAAM,OAAO,6BAA6B;IAL1C;QAMU,UAAK,GAAyB,SAAS,CAAC;QACxC,SAAI,GAAoC,iBAAiB,CAAC;QAC1D,aAAQ,GAAgC,oBAAoB,CAAC;QAC7D,UAAK,GAAW,EAAE,CAAC;QACnB,SAAI,GAAW,EAAE,CAAC;QACD,gBAAW,GAAY,KAAK,CAAC;QAE7C,mBAAc,GAAW,EAAE,CAAC;KA4DtC;IA1DC,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;QACvC,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAElC,MAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;QAC/B,MAAM,MAAM,GAAG,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;QAC5D,MAAM,UAAU,GAAG,MAAM,CAAC,eAAe,CAAC;QAE1C,yEAAyE;QACzE,MAAM,mBAAmB,GAAG,UAAU,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACrE,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YAC/B,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;QAEH,MAAM,YAAY,GAAG,UAAU,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;QAE/D,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACvB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;QAEH,sBAAsB;QACtB,MAAM,WAAW,GAAG,UAAU,CAAC,SAAS,CAAC;QACzC,2BAA2B;QAC3B,IAAI,CAAC,cAAc,GAAG,WAAW,CAAC;IACpC,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAE,aAAa,IAAI,CAAC,IAAI,EAAE;YAClC,4DACE,KAAK,EAAE,+BAA+B,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE,EAChF,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAC7C,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;gBAE9C,4DAAK,KAAK,EAAC,MAAM;oBACf,4DAAK,KAAK,EAAC,gBAAgB;wBACzB,4DAAK,KAAK,EAAE,QAAQ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ,CACrF,CACF;gBACL,IAAI,CAAC,IAAI,KAAK,iBAAiB,IAAI,CAClC,4DAAK,KAAK,EAAC,MAAM;oBACf,0DAAG,KAAK,EAAE,cAAc,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,mBAAmB,EAAE,IAAG,IAAI,CAAC,KAAK,CAAK,CACvI,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,WAAW,IAAI,IAAI,CAAC,WAAW,IAAI,CAChD,iFAAwB,IAAI,EAAE,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS;oBACxD,0DAAG,IAAI,EAAC,OAAO,IAAE,IAAI,CAAC,KAAK,CAAK,CACrB,CACd,CACG,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Prop, State, getAssetPath, h } from '@stencil/core';\r\nimport { GeneralBackgroundCategories } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-complex-secondary-side-bar-item',\r\n styleUrl: 'gb-complex-secondary-side-bar-item.css',\r\n shadow: true,\r\n})\r\nexport class GbComplexSecondarySideBarItem {\r\n @Prop() state: 'default' | 'active' = 'default';\r\n @Prop() type: 'full_with_label' | 'icon_only' = 'full_with_label';\r\n @Prop() category: GeneralBackgroundCategories = 'colored_background';\r\n @Prop() label: string = '';\r\n @Prop() icon: string = '';\r\n @Prop({ mutable: true }) showTooltip: boolean = false;\r\n @Element() el: HTMLElement;\r\n @State() leadingIconSvg: 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\r\n const parser = new DOMParser();\r\n const svgDoc = parser.parseFromString(svg, 'image/svg+xml');\r\n const svgElement = svgDoc.documentElement;\r\n\r\n // Add `has-opacity` class to all elements that have an opacity attribute\r\n const elementsWithOpacity = svgElement.querySelectorAll('[opacity]');\r\n elementsWithOpacity.forEach(el => {\r\n el.classList.add('has_opacity');\r\n });\r\n\r\n const gWithOpacity = svgElement.querySelectorAll('g[opacity]');\r\n\r\n gWithOpacity.forEach(g => {\r\n g.classList.add('has_opacity');\r\n });\r\n\r\n // Serialize and store\r\n const modifiedSvg = svgElement.outerHTML;\r\n // console.log(modifiedSvg)\r\n this.leadingIconSvg = modifiedSvg;\r\n }\r\n\r\n componentDidLoad() {\r\n this.loadIcon(this.icon);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`container ${this.type}`}>\r\n <div\r\n class={`secondary_side_bar_item_div ${this.state} ${this.type} ${this.category}`}\r\n onMouseEnter={() => (this.showTooltip = true)}\r\n onMouseLeave={() => (this.showTooltip = false)}\r\n >\r\n <div class=\"icon\">\r\n <div class=\"icon_container\">\r\n <div class={`icon ${this.state} ${this.category}`} innerHTML={this.leadingIconSvg}></div>\r\n </div>\r\n </div>\r\n {this.type === 'full_with_label' && (\r\n <div class=\"text\">\r\n <p class={`label_text ${this.state} ${this.category} ${this.state !== 'active' ? 'text-md-medium' : 'text-md-semi-bold'}`}>{this.label}</p>\r\n </div>\r\n )}\r\n {this.type === 'icon_only' && this.showTooltip && (\r\n <gb-tooltip show-arrow={true} arrow=\"left\" class=\"tooltip\">\r\n <p slot=\"label\">{this.label}</p>\r\n </gb-tooltip>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}