globuswebcomponents 2.8.2 → 2.8.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 (485) hide show
  1. package/dist/cjs/{gb-approval-modal_64.cjs.entry.js → gb-approval-modal_68.cjs.entry.js} +668 -112
  2. package/dist/cjs/gb-detail-cell.cjs.entry.js +1 -1
  3. package/dist/cjs/gb-logo.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
  5. package/dist/cjs/gb-nav-bar-item.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-nav-bar-sidemenu.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-nav-bar.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-prompt-modal.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-quick-action-card.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-quick-action-icon.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-sidebar.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-step-base_2.cjs.entry.js +2 -2
  19. package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
  21. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
  22. package/dist/cjs/gb-stepper-horizontal-minimal-icons.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
  24. package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
  25. package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
  26. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
  27. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  28. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/globuscomponents.cjs.js +1 -1
  30. package/dist/cjs/loader.cjs.js +1 -1
  31. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  32. package/dist/collection/assets/dollar-icon.svg +4 -0
  33. package/dist/collection/assets/mail-at-sign-02.svg +3 -0
  34. package/dist/collection/assets/naira-icon.svg +5 -0
  35. package/dist/collection/assets/pound-icon.svg +3 -0
  36. package/dist/collection/collection-manifest.json +2 -0
  37. package/dist/collection/components/gb-button/gb-button.css +1 -1
  38. package/dist/collection/components/gb-contact-help-dropdown/gb-contact-help-dropdown.css +2837 -0
  39. package/dist/collection/components/gb-contact-help-dropdown/gb-contact-help-dropdown.js +88 -0
  40. package/dist/collection/components/gb-contact-help-dropdown/gb-contact-help-dropdown.js.map +1 -0
  41. package/dist/collection/components/gb-date-picker/gb-date-picker.css +71 -16
  42. package/dist/collection/components/gb-date-picker/gb-date-picker.js +186 -4
  43. package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
  44. package/dist/collection/components/gb-date-picker-list-item/gb-date-picker-list-item.css +2820 -0
  45. package/dist/collection/components/gb-date-picker-list-item/gb-date-picker-list-item.js +67 -0
  46. package/dist/collection/components/gb-date-picker-list-item/gb-date-picker-list-item.js.map +1 -0
  47. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +1 -1
  48. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +1 -0
  49. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  50. package/dist/collection/components/gb-empty-state/gb-empty-state.js +1 -1
  51. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +3 -3
  52. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
  53. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
  54. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
  55. package/dist/collection/components/gb-featured-icon/gb-featured-icon.js +1 -1
  56. package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +1 -1
  57. package/dist/collection/components/gb-file-upload/gb-file-upload.js +14 -53
  58. package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +1 -1
  59. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +6 -6
  60. package/dist/collection/components/gb-filter-button/gb-filter-button.js +1 -1
  61. package/dist/collection/components/gb-header/gb-header.js +71 -68
  62. package/dist/collection/components/gb-header/gb-header.js.map +1 -1
  63. package/dist/collection/components/gb-header-icon/gb-header-icon.js +1 -1
  64. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +1 -1
  65. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  66. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  67. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +2 -2
  68. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +97 -97
  69. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
  70. package/dist/collection/components/gb-icon-button-base/gb-icon-button-base.js +1 -1
  71. package/dist/collection/components/gb-illustration/gb-illustration.js +8 -8
  72. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +3 -3
  73. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  74. package/dist/collection/components/gb-input-field/gb-input-field.css +9 -0
  75. package/dist/collection/components/gb-input-field/gb-input-field.js +58 -31
  76. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  77. package/dist/collection/components/gb-logo/gb-logo.js +1 -1
  78. package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
  79. package/dist/collection/components/gb-metric-card/gb-metric-card.js +1 -1
  80. package/dist/collection/components/gb-metric-featured-icon/gb-metric-featured-icon.js +1 -1
  81. package/dist/collection/components/gb-modal-header/gb-modal-header.js +2 -2
  82. package/dist/collection/components/gb-nav-bar/gb-nav-bar.js +1 -1
  83. package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js +1 -1
  84. package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js +1 -1
  85. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  86. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
  87. package/dist/collection/components/gb-pagination/gb-pagination.js +4 -4
  88. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  89. package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
  90. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  91. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  92. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  93. package/dist/collection/components/gb-pattern/gb-pattern.js +1 -1
  94. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  95. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  96. package/dist/collection/components/gb-prompt-modal/gb-prompt-modal.js +1 -1
  97. package/dist/collection/components/gb-quick-action-card/gb-quick-action-card.js +1 -1
  98. package/dist/collection/components/gb-quick-action-icon/gb-quick-action-icon.js +1 -1
  99. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  100. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  101. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +2 -2
  102. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  103. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  104. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  105. package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
  106. package/dist/collection/components/gb-step-icon-base/gb-step-icon-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-icons-connected/gb-stepper-horizontal-icons-connected.js +1 -1
  109. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
  110. package/dist/collection/components/gb-stepper-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
  111. package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
  112. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +4 -0
  113. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  114. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +1 -1
  115. package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
  116. package/dist/collection/components/gb-table-header/gb-table-header.js +1 -1
  117. package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -1
  118. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  119. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  120. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  121. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  122. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
  123. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  124. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  125. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  126. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  127. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  128. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  129. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  130. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  131. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  132. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  133. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  134. package/dist/components/gb-action-panel.js +2 -2
  135. package/dist/components/gb-approval-modal.js +13 -13
  136. package/dist/components/gb-avatar-add-button.js +1 -1
  137. package/dist/components/gb-avatar-dropdown.js +1 -1
  138. package/dist/components/gb-avatar-group.js +4 -4
  139. package/dist/components/gb-avatar-label-group.js +1 -1
  140. package/dist/components/gb-avatar-profile-photo.js +2 -2
  141. package/dist/components/gb-avatar.js +1 -1
  142. package/dist/components/gb-badge.js +1 -1
  143. package/dist/components/gb-btn.js +1 -1
  144. package/dist/components/gb-button.js +1 -1
  145. package/dist/components/gb-checkbox-group-item.js +1 -1
  146. package/dist/components/gb-checkbox-group.js +5 -5
  147. package/dist/components/gb-collapse-button.js +1 -1
  148. package/dist/components/gb-comment.js +2 -2
  149. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  150. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  151. package/dist/components/gb-contact-help-dropdown.d.ts +11 -0
  152. package/dist/components/gb-contact-help-dropdown.js +9 -0
  153. package/dist/components/gb-contact-help-dropdown.js.map +1 -0
  154. package/dist/components/gb-date-picker-list-item.d.ts +11 -0
  155. package/dist/components/gb-date-picker-list-item.js +9 -0
  156. package/dist/components/gb-date-picker-list-item.js.map +1 -0
  157. package/dist/components/gb-date-picker.js +1 -1
  158. package/dist/components/gb-detail-cell.js +7 -7
  159. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  160. package/dist/components/gb-empty-state.js +7 -7
  161. package/dist/components/gb-export-dropdown-item.js +1 -1
  162. package/dist/components/gb-export-dropdown.js +1 -1
  163. package/dist/components/gb-export-sub-dropdown-item.js +1 -1
  164. package/dist/components/gb-export-sub-dropdown.js +1 -1
  165. package/dist/components/gb-featured-icon.js +1 -1
  166. package/dist/components/gb-file-type-icon.js +1 -1
  167. package/dist/components/gb-file-upload-item-base.js +1 -1
  168. package/dist/components/gb-file-upload.js +18 -61
  169. package/dist/components/gb-file-upload.js.map +1 -1
  170. package/dist/components/gb-filter-button.js +1 -1
  171. package/dist/components/gb-header-icon.js +1 -1
  172. package/dist/components/gb-header.js +69 -57
  173. package/dist/components/gb-header.js.map +1 -1
  174. package/dist/components/gb-help-dropdown.js +1 -1
  175. package/dist/components/gb-help-tooltip.js +1 -1
  176. package/dist/components/gb-horizontal-tabs.js +101 -101
  177. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  178. package/dist/components/gb-icon-button-base.js +1 -1
  179. package/dist/components/gb-illustration.js +1 -1
  180. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  181. package/dist/components/gb-input-dropdown.js +1 -1
  182. package/dist/components/gb-input-field.js +1 -1
  183. package/dist/components/gb-logo.js +1 -1
  184. package/dist/components/gb-mega-input-field-base.js +1 -1
  185. package/dist/components/gb-metric-card.js +5 -5
  186. package/dist/components/gb-metric-featured-icon.js +1 -1
  187. package/dist/components/gb-modal-action.js +1 -1
  188. package/dist/components/gb-modal-header.js +1 -1
  189. package/dist/components/gb-nav-bar-item.js +1 -1
  190. package/dist/components/gb-nav-bar-sidemenu.js +6 -6
  191. package/dist/components/gb-nav-bar.js +4 -4
  192. package/dist/components/gb-notification-content.js +1 -1
  193. package/dist/components/gb-notification-pane.js +1 -1
  194. package/dist/components/gb-pagination-button-group-base.js +1 -1
  195. package/dist/components/gb-pagination-dot-group.js +1 -1
  196. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  197. package/dist/components/gb-pagination-number-base.js +1 -1
  198. package/dist/components/gb-pagination.js +20 -20
  199. package/dist/components/gb-password-button.js +1 -1
  200. package/dist/components/gb-pattern.js +1 -1
  201. package/dist/components/gb-progress-bar.js +1 -1
  202. package/dist/components/gb-progress-circle.js +1 -1
  203. package/dist/components/gb-prompt-modal.js +3 -3
  204. package/dist/components/gb-quick-action-card.js +1 -1
  205. package/dist/components/gb-quick-action-icon.js +1 -1
  206. package/dist/components/gb-scrollbar.js +1 -1
  207. package/dist/components/gb-sidebar.js +9 -9
  208. package/dist/components/gb-simple-side-bar-item.js +1 -1
  209. package/dist/components/gb-slider-control-handle.js +1 -1
  210. package/dist/components/gb-slider.js +3 -3
  211. package/dist/components/gb-status-indicator.js +1 -1
  212. package/dist/components/gb-step-base.js +1 -1
  213. package/dist/components/gb-step-icon-base.js +1 -1
  214. package/dist/components/gb-stepper-horizontal-icons-centered.js +4 -4
  215. package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
  216. package/dist/components/gb-stepper-horizontal-line-with-text.js +4 -4
  217. package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
  218. package/dist/components/gb-stepper-vertical-icons-with-text.js +4 -4
  219. package/dist/components/gb-tab-button-base.js +1 -1
  220. package/dist/components/gb-table-cell.js +1 -1
  221. package/dist/components/gb-table-header.js +45 -39
  222. package/dist/components/gb-table-header.js.map +1 -1
  223. package/dist/components/gb-tag-checkbox.js +1 -1
  224. package/dist/components/gb-tag-close.js +1 -1
  225. package/dist/components/gb-tag-count.js +1 -1
  226. package/dist/components/gb-tag.js +1 -1
  227. package/dist/components/gb-textarea-input-field.js +1 -1
  228. package/dist/components/gb-theme-tab.js +1 -1
  229. package/dist/components/gb-toast-button.js +1 -1
  230. package/dist/components/gb-toast.js +4 -4
  231. package/dist/components/gb-toggle-base.js +1 -1
  232. package/dist/components/gb-toggle.js +2 -2
  233. package/dist/components/gb-token-field-compact.js +1 -1
  234. package/dist/components/gb-token-field-compressed.js +3 -3
  235. package/dist/components/gb-tooltip.js +1 -1
  236. package/dist/components/gb-vertical-tabs.js +1 -1
  237. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  238. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  239. package/dist/components/{p-Db9T6018.js → p--I_gPQUE.js} +10 -10
  240. package/dist/components/{p-Db9T6018.js.map → p--I_gPQUE.js.map} +1 -1
  241. package/dist/components/{p-BeATbKS7.js → p-BG8JW_rw.js} +3 -3
  242. package/dist/components/{p-BeATbKS7.js.map → p-BG8JW_rw.js.map} +1 -1
  243. package/dist/components/{p-WIRPmweM.js → p-BGCnKfl0.js} +4 -4
  244. package/dist/components/{p-WIRPmweM.js.map → p-BGCnKfl0.js.map} +1 -1
  245. package/dist/components/{p-aeAn9gEA.js → p-BHd1jYEi.js} +3 -3
  246. package/dist/components/{p-aeAn9gEA.js.map → p-BHd1jYEi.js.map} +1 -1
  247. package/dist/components/{p-brGtAur-.js → p-BL5J0XvE.js} +56 -30
  248. package/dist/components/p-BL5J0XvE.js.map +1 -0
  249. package/dist/components/{p-DI5VmfPJ.js → p-BNtBaG1Q.js} +6 -6
  250. package/dist/components/{p-DI5VmfPJ.js.map → p-BNtBaG1Q.js.map} +1 -1
  251. package/dist/components/{p-D5VakMaB.js → p-BSigLF7e.js} +179 -10
  252. package/dist/components/p-BSigLF7e.js.map +1 -0
  253. package/dist/components/{p-CV6g9soz.js → p-BTQdW4ZB.js} +8 -8
  254. package/dist/components/{p-CV6g9soz.js.map → p-BTQdW4ZB.js.map} +1 -1
  255. package/dist/components/{p-DC9eRciK.js → p-BTelYyP2.js} +8 -8
  256. package/dist/components/{p-DC9eRciK.js.map → p-BTelYyP2.js.map} +1 -1
  257. package/dist/components/{p-CouV5zM8.js → p-BTtfwaye.js} +9 -9
  258. package/dist/components/p-BTtfwaye.js.map +1 -0
  259. package/dist/components/{p-CNNymMFJ.js → p-BUK7YTYS.js} +12 -12
  260. package/dist/components/{p-CNNymMFJ.js.map → p-BUK7YTYS.js.map} +1 -1
  261. package/dist/components/{p-DW4pKXr4.js → p-Bbs_ehuC.js} +3 -3
  262. package/dist/components/{p-DW4pKXr4.js.map → p-Bbs_ehuC.js.map} +1 -1
  263. package/dist/components/{p-BaWXQ__r.js → p-BckwqSbm.js} +3 -3
  264. package/dist/components/{p-BaWXQ__r.js.map → p-BckwqSbm.js.map} +1 -1
  265. package/dist/components/{p-CBLQlDC-.js → p-BdVeX7Rd.js} +3 -3
  266. package/dist/components/{p-CBLQlDC-.js.map → p-BdVeX7Rd.js.map} +1 -1
  267. package/dist/components/{p-ZqHAkmEL.js → p-BjhnL_t_.js} +6 -6
  268. package/dist/components/{p-ZqHAkmEL.js.map → p-BjhnL_t_.js.map} +1 -1
  269. package/dist/components/{p-CwBrH_Gy.js → p-BltLlHPc.js} +5 -5
  270. package/dist/components/p-BltLlHPc.js.map +1 -0
  271. package/dist/components/{p-BnXOyD9E.js → p-BuSk8ic2.js} +4 -4
  272. package/dist/components/{p-BnXOyD9E.js.map → p-BuSk8ic2.js.map} +1 -1
  273. package/dist/components/{p-C6bmJSrL.js → p-BxAHT2oZ.js} +6 -6
  274. package/dist/components/{p-C6bmJSrL.js.map → p-BxAHT2oZ.js.map} +1 -1
  275. package/dist/components/{p-BBa4Fn7D.js → p-C1uwcl31.js} +4 -4
  276. package/dist/components/{p-BBa4Fn7D.js.map → p-C1uwcl31.js.map} +1 -1
  277. package/dist/components/{p-DZnKLe8d.js → p-C2g47NTt.js} +3 -3
  278. package/dist/components/{p-DZnKLe8d.js.map → p-C2g47NTt.js.map} +1 -1
  279. package/dist/components/{p-R_kUzXjS.js → p-C3RUMHia.js} +3 -3
  280. package/dist/components/{p-R_kUzXjS.js.map → p-C3RUMHia.js.map} +1 -1
  281. package/dist/components/{p-DLYIM3pP.js → p-CBO7F6qZ.js} +3 -3
  282. package/dist/components/{p-DLYIM3pP.js.map → p-CBO7F6qZ.js.map} +1 -1
  283. package/dist/components/{p-TWikQ7cn.js → p-CD8xzR4K.js} +3 -3
  284. package/dist/components/{p-TWikQ7cn.js.map → p-CD8xzR4K.js.map} +1 -1
  285. package/dist/components/{p-BQeaURIB.js → p-CIVRbulm.js} +3 -3
  286. package/dist/components/{p-BQeaURIB.js.map → p-CIVRbulm.js.map} +1 -1
  287. package/dist/components/{p-CbQeOmOy.js → p-CI_7a6LG.js} +5 -5
  288. package/dist/components/{p-CbQeOmOy.js.map → p-CI_7a6LG.js.map} +1 -1
  289. package/dist/components/{p-Bjw2gC89.js → p-CKakiJz5.js} +4 -4
  290. package/dist/components/{p-Bjw2gC89.js.map → p-CKakiJz5.js.map} +1 -1
  291. package/dist/components/{p-BnyM5qjj.js → p-CNvg1TqW.js} +8 -8
  292. package/dist/components/{p-BnyM5qjj.js.map → p-CNvg1TqW.js.map} +1 -1
  293. package/dist/components/{p-C-jvyrl1.js → p-ChlJGhjw.js} +7 -7
  294. package/dist/components/{p-C-jvyrl1.js.map → p-ChlJGhjw.js.map} +1 -1
  295. package/dist/components/{p-9FvHspeE.js → p-Ck5p4PIi.js} +8 -8
  296. package/dist/components/{p-9FvHspeE.js.map → p-Ck5p4PIi.js.map} +1 -1
  297. package/dist/components/{p-Cz5H-pJQ.js → p-Cm2tvhIA.js} +12 -12
  298. package/dist/components/{p-Cz5H-pJQ.js.map → p-Cm2tvhIA.js.map} +1 -1
  299. package/dist/components/{p-CYpMSzqG.js → p-D4Z4FxSq.js} +3 -3
  300. package/dist/components/{p-CYpMSzqG.js.map → p-D4Z4FxSq.js.map} +1 -1
  301. package/dist/components/{p-D5KQeC85.js → p-D61pzm5n.js} +3 -3
  302. package/dist/components/{p-D5KQeC85.js.map → p-D61pzm5n.js.map} +1 -1
  303. package/dist/components/{p-CxkzPuqu.js → p-DEiboqAA.js} +3 -3
  304. package/dist/components/{p-CxkzPuqu.js.map → p-DEiboqAA.js.map} +1 -1
  305. package/dist/components/{p-B22NNlLP.js → p-DLije5ss.js} +4 -4
  306. package/dist/components/{p-B22NNlLP.js.map → p-DLije5ss.js.map} +1 -1
  307. package/dist/components/{p-BcuKykSc.js → p-DQkdc5ku.js} +3 -3
  308. package/dist/components/{p-BcuKykSc.js.map → p-DQkdc5ku.js.map} +1 -1
  309. package/dist/components/{p-CTupKoNZ.js → p-DTsau3UZ.js} +3 -3
  310. package/dist/components/{p-CTupKoNZ.js.map → p-DTsau3UZ.js.map} +1 -1
  311. package/dist/components/{p-DYUluAx6.js → p-DVaVVnTA.js} +3 -3
  312. package/dist/components/{p-DYUluAx6.js.map → p-DVaVVnTA.js.map} +1 -1
  313. package/dist/components/{p-CwQUW5_4.js → p-DWyYIqoI.js} +4 -4
  314. package/dist/components/{p-CwQUW5_4.js.map → p-DWyYIqoI.js.map} +1 -1
  315. package/dist/components/{p-C6mRhuUf.js → p-DZGsputt.js} +3 -3
  316. package/dist/components/{p-C6mRhuUf.js.map → p-DZGsputt.js.map} +1 -1
  317. package/dist/components/p-DcH1C0dU.js +41 -0
  318. package/dist/components/p-DcH1C0dU.js.map +1 -0
  319. package/dist/components/{p-CRosXE9B.js → p-DdMrN_HY.js} +18 -18
  320. package/dist/components/{p-CRosXE9B.js.map → p-DdMrN_HY.js.map} +1 -1
  321. package/dist/components/{p-CVc4qPGI.js → p-DdkYqLoI.js} +4 -4
  322. package/dist/components/{p-CVc4qPGI.js.map → p-DdkYqLoI.js.map} +1 -1
  323. package/dist/components/{p-ClWO8gQx.js → p-DeiWo5G4.js} +4 -4
  324. package/dist/components/{p-ClWO8gQx.js.map → p-DeiWo5G4.js.map} +1 -1
  325. package/dist/components/{p-uyKTZeg_.js → p-DrG6ye5R.js} +4 -4
  326. package/dist/components/{p-uyKTZeg_.js.map → p-DrG6ye5R.js.map} +1 -1
  327. package/dist/components/{p-BHLaov0_.js → p-Ds-0Jit3.js} +4 -4
  328. package/dist/components/p-Ds-0Jit3.js.map +1 -0
  329. package/dist/components/{p-CbzrQ01V.js → p-DvENBFqd.js} +4 -4
  330. package/dist/components/{p-CbzrQ01V.js.map → p-DvENBFqd.js.map} +1 -1
  331. package/dist/components/{p-2pZTNei2.js → p-DvdNTQK4.js} +4 -4
  332. package/dist/components/{p-2pZTNei2.js.map → p-DvdNTQK4.js.map} +1 -1
  333. package/dist/components/{p-BIHVkNE4.js → p-Dvh4x44z.js} +3 -3
  334. package/dist/components/{p-BIHVkNE4.js.map → p-Dvh4x44z.js.map} +1 -1
  335. package/dist/components/{p-DfQWKCbs.js → p-Dvuh1e61.js} +3 -3
  336. package/dist/components/{p-DfQWKCbs.js.map → p-Dvuh1e61.js.map} +1 -1
  337. package/dist/components/{p-ZcCwFehb.js → p-Dwsw8Uzh.js} +3 -3
  338. package/dist/components/{p-ZcCwFehb.js.map → p-Dwsw8Uzh.js.map} +1 -1
  339. package/dist/components/{p-XX_ozutB.js → p-DzNJmip2.js} +5 -5
  340. package/dist/components/{p-XX_ozutB.js.map → p-DzNJmip2.js.map} +1 -1
  341. package/dist/components/{p-Cwxr0uHc.js → p-E_g3eyui.js} +3 -3
  342. package/dist/components/{p-Cwxr0uHc.js.map → p-E_g3eyui.js.map} +1 -1
  343. package/dist/components/{p-Db-mzjAD.js → p-HUMvPq4Q.js} +8 -8
  344. package/dist/components/{p-Db-mzjAD.js.map → p-HUMvPq4Q.js.map} +1 -1
  345. package/dist/components/{p-AjEGQ2qL.js → p-J8bXkFDh.js} +4 -4
  346. package/dist/components/{p-AjEGQ2qL.js.map → p-J8bXkFDh.js.map} +1 -1
  347. package/dist/components/{p-BQduwH1K.js → p-Q2RLvSZY.js} +10 -10
  348. package/dist/components/{p-BQduwH1K.js.map → p-Q2RLvSZY.js.map} +1 -1
  349. package/dist/components/{p-CT6fjdgY.js → p-_gz48ITT.js} +3 -3
  350. package/dist/components/{p-CT6fjdgY.js.map → p-_gz48ITT.js.map} +1 -1
  351. package/dist/components/p-j_DTJur2.js +84 -0
  352. package/dist/components/p-j_DTJur2.js.map +1 -0
  353. package/dist/components/{p-Q19MNh6U.js → p-p172yHzQ.js} +3 -3
  354. package/dist/components/{p-Q19MNh6U.js.map → p-p172yHzQ.js.map} +1 -1
  355. package/dist/components/{p-D2gq0J26.js → p-v-UJtHAn.js} +4 -4
  356. package/dist/components/{p-D2gq0J26.js.map → p-v-UJtHAn.js.map} +1 -1
  357. package/dist/components/{p-Ca4eFkIg.js → p-wqXQDcCc.js} +3 -3
  358. package/dist/components/{p-Ca4eFkIg.js.map → p-wqXQDcCc.js.map} +1 -1
  359. package/dist/components/test-input-tag.js +9 -9
  360. package/dist/docs.json +316 -103
  361. package/dist/esm/{gb-approval-modal_64.entry.js → gb-approval-modal_68.entry.js} +665 -113
  362. package/dist/esm/gb-detail-cell.entry.js +1 -1
  363. package/dist/esm/gb-logo.entry.js +1 -1
  364. package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
  365. package/dist/esm/gb-nav-bar-item.entry.js +1 -1
  366. package/dist/esm/gb-nav-bar-sidemenu.entry.js +1 -1
  367. package/dist/esm/gb-nav-bar.entry.js +1 -1
  368. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  369. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  370. package/dist/esm/gb-progress-circle.entry.js +1 -1
  371. package/dist/esm/gb-prompt-modal.entry.js +1 -1
  372. package/dist/esm/gb-quick-action-card.entry.js +1 -1
  373. package/dist/esm/gb-quick-action-icon.entry.js +1 -1
  374. package/dist/esm/gb-scrollbar.entry.js +1 -1
  375. package/dist/esm/gb-sidebar.entry.js +1 -1
  376. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  377. package/dist/esm/gb-slider.entry.js +1 -1
  378. package/dist/esm/gb-step-base_2.entry.js +2 -2
  379. package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
  380. package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
  381. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
  382. package/dist/esm/gb-stepper-horizontal-minimal-icons.entry.js +1 -1
  383. package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
  384. package/dist/esm/gb-table-cell.entry.js +1 -1
  385. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  386. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  387. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  388. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  389. package/dist/esm/globuscomponents.js +1 -1
  390. package/dist/esm/loader.js +1 -1
  391. package/dist/esm/test-input-tag.entry.js +2 -2
  392. package/dist/globuscomponents/assets/dollar-icon.svg +4 -0
  393. package/dist/globuscomponents/assets/mail-at-sign-02.svg +3 -0
  394. package/dist/globuscomponents/assets/naira-icon.svg +5 -0
  395. package/dist/globuscomponents/assets/pound-icon.svg +3 -0
  396. package/dist/globuscomponents/gb-button.css +1 -1
  397. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  398. package/dist/globuscomponents/{p-3b9e055e.entry.js → p-0dcf4650.entry.js} +2 -2
  399. package/dist/globuscomponents/{p-1703f77f.entry.js → p-183e2f99.entry.js} +2 -2
  400. package/dist/globuscomponents/{p-20fff5d8.entry.js → p-244a44ef.entry.js} +2 -2
  401. package/dist/globuscomponents/{p-ac3fd31f.entry.js → p-2c0cfc82.entry.js} +2 -2
  402. package/dist/globuscomponents/{p-54c68582.entry.js → p-5a7d9cfd.entry.js} +2 -2
  403. package/dist/globuscomponents/{p-85d1d2d5.entry.js → p-5be9a48c.entry.js} +2 -2
  404. package/dist/globuscomponents/{p-57a403e7.entry.js → p-5cdf6c25.entry.js} +2 -2
  405. package/dist/globuscomponents/{p-b68c5922.entry.js → p-61641b20.entry.js} +2 -2
  406. package/dist/globuscomponents/{p-aac97719.entry.js → p-62341b6c.entry.js} +2 -2
  407. package/dist/globuscomponents/{p-787066a5.entry.js → p-6acfadc2.entry.js} +2 -2
  408. package/dist/globuscomponents/{p-7899b855.entry.js → p-6f8ebe8f.entry.js} +2 -2
  409. package/dist/globuscomponents/{p-bbe2e087.entry.js → p-79068ae4.entry.js} +2 -2
  410. package/dist/globuscomponents/p-79068ae4.entry.js.map +1 -0
  411. package/dist/globuscomponents/p-809229ba.entry.js +2 -0
  412. package/dist/globuscomponents/{p-450e1ee6.entry.js → p-84225ac6.entry.js} +2 -2
  413. package/dist/globuscomponents/{p-372d8c17.entry.js → p-88baed16.entry.js} +2 -2
  414. package/dist/globuscomponents/{p-5e62edcf.entry.js → p-8b42f385.entry.js} +2 -2
  415. package/dist/globuscomponents/{p-e7fd0d37.entry.js → p-903d51f0.entry.js} +2 -2
  416. package/dist/globuscomponents/{p-baa375e0.entry.js → p-a272a3ad.entry.js} +2 -2
  417. package/dist/globuscomponents/{p-cedaf7eb.entry.js → p-af6d38ae.entry.js} +2 -2
  418. package/dist/globuscomponents/{p-ca85617a.entry.js → p-b54d41f2.entry.js} +2 -2
  419. package/dist/globuscomponents/{p-cc2e644f.entry.js → p-b9e4f38b.entry.js} +2 -2
  420. package/dist/globuscomponents/p-bafd6f15.entry.js +2 -0
  421. package/dist/globuscomponents/{p-a0c00b44.entry.js → p-cf8ffa25.entry.js} +2 -2
  422. package/dist/globuscomponents/{p-3665eb5a.entry.js → p-d0d613ab.entry.js} +2 -2
  423. package/dist/globuscomponents/{p-b6acb1cb.entry.js → p-d509024a.entry.js} +2 -2
  424. package/dist/globuscomponents/{p-b91dac9e.entry.js → p-df563979.entry.js} +2 -2
  425. package/dist/globuscomponents/{p-47a16997.entry.js → p-df84097e.entry.js} +2 -2
  426. package/dist/globuscomponents/{p-51cd3859.entry.js → p-e0c068f5.entry.js} +2 -2
  427. package/dist/globuscomponents/p-f407b695.entry.js +2 -0
  428. package/dist/types/components/gb-contact-help-dropdown/gb-contact-help-dropdown.d.ts +19 -0
  429. package/dist/types/components/gb-date-picker/gb-date-picker.d.ts +13 -0
  430. package/dist/types/components/gb-date-picker-list-item/gb-date-picker-list-item.d.ts +5 -0
  431. package/dist/types/components/gb-header/gb-header.d.ts +7 -5
  432. package/dist/types/components/gb-input-field/gb-input-field.d.ts +4 -3
  433. package/dist/types/components.d.ts +119 -29
  434. package/package.json +2 -2
  435. package/dist/cjs/gb-file-upload.cjs.entry.js +0 -198
  436. package/dist/cjs/gb-file-upload.entry.cjs.js.map +0 -1
  437. package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +0 -167
  438. package/dist/cjs/gb-horizontal-tabs.entry.cjs.js.map +0 -1
  439. package/dist/components/p-BHLaov0_.js.map +0 -1
  440. package/dist/components/p-CouV5zM8.js.map +0 -1
  441. package/dist/components/p-CwBrH_Gy.js.map +0 -1
  442. package/dist/components/p-D5VakMaB.js.map +0 -1
  443. package/dist/components/p-brGtAur-.js.map +0 -1
  444. package/dist/esm/gb-file-upload.entry.js +0 -196
  445. package/dist/esm/gb-file-upload.entry.js.map +0 -1
  446. package/dist/esm/gb-horizontal-tabs.entry.js +0 -165
  447. package/dist/esm/gb-horizontal-tabs.entry.js.map +0 -1
  448. package/dist/globuscomponents/gb-file-upload.entry.esm.js.map +0 -1
  449. package/dist/globuscomponents/gb-horizontal-tabs.entry.esm.js.map +0 -1
  450. package/dist/globuscomponents/p-0fa4e90b.entry.js +0 -2
  451. package/dist/globuscomponents/p-2d348616.entry.js +0 -2
  452. package/dist/globuscomponents/p-5a96576d.entry.js +0 -2
  453. package/dist/globuscomponents/p-5ed1035a.entry.js +0 -2
  454. package/dist/globuscomponents/p-5ed1035a.entry.js.map +0 -1
  455. package/dist/globuscomponents/p-a3fe950e.entry.js +0 -2
  456. package/dist/globuscomponents/p-a3fe950e.entry.js.map +0 -1
  457. package/dist/globuscomponents/p-bbe2e087.entry.js.map +0 -1
  458. /package/dist/globuscomponents/{p-3b9e055e.entry.js.map → p-0dcf4650.entry.js.map} +0 -0
  459. /package/dist/globuscomponents/{p-1703f77f.entry.js.map → p-183e2f99.entry.js.map} +0 -0
  460. /package/dist/globuscomponents/{p-20fff5d8.entry.js.map → p-244a44ef.entry.js.map} +0 -0
  461. /package/dist/globuscomponents/{p-ac3fd31f.entry.js.map → p-2c0cfc82.entry.js.map} +0 -0
  462. /package/dist/globuscomponents/{p-54c68582.entry.js.map → p-5a7d9cfd.entry.js.map} +0 -0
  463. /package/dist/globuscomponents/{p-85d1d2d5.entry.js.map → p-5be9a48c.entry.js.map} +0 -0
  464. /package/dist/globuscomponents/{p-57a403e7.entry.js.map → p-5cdf6c25.entry.js.map} +0 -0
  465. /package/dist/globuscomponents/{p-b68c5922.entry.js.map → p-61641b20.entry.js.map} +0 -0
  466. /package/dist/globuscomponents/{p-aac97719.entry.js.map → p-62341b6c.entry.js.map} +0 -0
  467. /package/dist/globuscomponents/{p-787066a5.entry.js.map → p-6acfadc2.entry.js.map} +0 -0
  468. /package/dist/globuscomponents/{p-7899b855.entry.js.map → p-6f8ebe8f.entry.js.map} +0 -0
  469. /package/dist/globuscomponents/{p-5a96576d.entry.js.map → p-809229ba.entry.js.map} +0 -0
  470. /package/dist/globuscomponents/{p-450e1ee6.entry.js.map → p-84225ac6.entry.js.map} +0 -0
  471. /package/dist/globuscomponents/{p-372d8c17.entry.js.map → p-88baed16.entry.js.map} +0 -0
  472. /package/dist/globuscomponents/{p-5e62edcf.entry.js.map → p-8b42f385.entry.js.map} +0 -0
  473. /package/dist/globuscomponents/{p-e7fd0d37.entry.js.map → p-903d51f0.entry.js.map} +0 -0
  474. /package/dist/globuscomponents/{p-baa375e0.entry.js.map → p-a272a3ad.entry.js.map} +0 -0
  475. /package/dist/globuscomponents/{p-cedaf7eb.entry.js.map → p-af6d38ae.entry.js.map} +0 -0
  476. /package/dist/globuscomponents/{p-ca85617a.entry.js.map → p-b54d41f2.entry.js.map} +0 -0
  477. /package/dist/globuscomponents/{p-cc2e644f.entry.js.map → p-b9e4f38b.entry.js.map} +0 -0
  478. /package/dist/globuscomponents/{p-2d348616.entry.js.map → p-bafd6f15.entry.js.map} +0 -0
  479. /package/dist/globuscomponents/{p-a0c00b44.entry.js.map → p-cf8ffa25.entry.js.map} +0 -0
  480. /package/dist/globuscomponents/{p-3665eb5a.entry.js.map → p-d0d613ab.entry.js.map} +0 -0
  481. /package/dist/globuscomponents/{p-b6acb1cb.entry.js.map → p-d509024a.entry.js.map} +0 -0
  482. /package/dist/globuscomponents/{p-b91dac9e.entry.js.map → p-df563979.entry.js.map} +0 -0
  483. /package/dist/globuscomponents/{p-47a16997.entry.js.map → p-df84097e.entry.js.map} +0 -0
  484. /package/dist/globuscomponents/{p-51cd3859.entry.js.map → p-e0c068f5.entry.js.map} +0 -0
  485. /package/dist/globuscomponents/{p-0fa4e90b.entry.js.map → p-f407b695.entry.js.map} +0 -0
@@ -0,0 +1,88 @@
1
+ import { h } from "@stencil/core";
2
+ export class GbContactHelpDropdown {
3
+ constructor() {
4
+ this.items = [
5
+ {
6
+ id: 'contactcentre',
7
+ label: 'contactcentre@globusbank.com',
8
+ action: 'email',
9
+ icon: 'assets/mail-at-sign-02.svg',
10
+ disabled: true,
11
+ },
12
+ {
13
+ id: 'contactcentre',
14
+ label: '(+234) 123 4324 122',
15
+ action: 'email',
16
+ icon: 'assets/mail-at-sign-02.svg',
17
+ },
18
+ {
19
+ id: 'contactcentre',
20
+ label: 'Download user guide',
21
+ action: 'email',
22
+ icon: 'assets/mail-at-sign-02.svg',
23
+ },
24
+ ];
25
+ }
26
+ handleDropdownItemClick(item) {
27
+ if (item.disabled)
28
+ return;
29
+ this.itemSelected.emit(item.action);
30
+ console.log(item);
31
+ }
32
+ render() {
33
+ return (h("div", { key: '3d4d71261d56ecc187deb962075d57eea2ee0027', class: "contact_help_dropdown_wrapper" }, h("div", { key: '3c533d9acfabda15405e6cf3afc4759a19c44809', class: "contact_help_dropdown_header" }, h("div", { key: 'd7a9f11a53574ef983e4f045dc65c35f9aa521ab', class: "headphone_icon_wrapper" }, h("svg", { key: 'c3dd7307c844999e46b7df64a78120e3f87913df', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: "headphone_icon" }, h("path", { key: '23099bd9f5eeaa0ab84d70485f0f8780af69dc5d', opacity: "0.4", d: "M17 13.8045C17 13.4588 17 13.286 17.052 13.132C17.2032 12.6844 17.6018 12.5108 18.0011 12.3289C18.45 12.1244 18.6744 12.0222 18.8968 12.0042C19.1493 11.9838 19.4022 12.0382 19.618 12.1593C19.9041 12.3198 20.1036 12.6249 20.3079 12.873C21.2512 14.0188 21.7229 14.5918 21.8955 15.2236C22.0348 15.7334 22.0348 16.2666 21.8955 16.7764C21.6438 17.6979 20.8485 18.4704 20.2598 19.1854C19.9587 19.5511 19.8081 19.734 19.618 19.8407C19.4022 19.9618 19.1493 20.0162 18.8968 19.9958C18.6744 19.9778 18.45 19.8756 18.0011 19.6711C17.6018 19.4892 17.2032 19.3156 17.052 18.868C17 18.714 17 18.5412 17 18.1955V13.8045Z", fill: "var(--color-icon-information, #064E94)" }), h("path", { key: '6711e9ca5e494663ea63a3f32628e4ef6d1893aa', opacity: "0.4", d: "M7 13.8045C7 13.3693 6.98778 12.9782 6.63591 12.6722C6.50793 12.5609 6.33825 12.4836 5.99891 12.329C5.55001 12.1246 5.32556 12.0224 5.10316 12.0044C4.43591 11.9504 4.07692 12.4058 3.69213 12.8731C2.74875 14.0189 2.27706 14.5918 2.10446 15.2236C1.96518 15.7334 1.96518 16.2666 2.10446 16.7764C2.3562 17.6979 3.15152 18.4702 3.74021 19.1852C4.11129 19.6359 4.46577 20.0472 5.10316 19.9956C5.32556 19.9776 5.55001 19.8754 5.99891 19.6709C6.33825 19.5164 6.50793 19.4391 6.63591 19.3278C6.98778 19.0218 7 18.6307 7 18.1954V13.8045Z", fill: "var(--color-icon-information, #064E94)" }), h("path", { key: '4a9ffa0f7dab3a092dbcbec496a89bdfd565f968', d: "M17 13.8045C17 13.4588 17 13.286 17.052 13.132C17.2032 12.6844 17.6018 12.5108 18.0011 12.3289C18.45 12.1244 18.6744 12.0222 18.8968 12.0042C19.1493 11.9838 19.4022 12.0382 19.618 12.1593C19.9041 12.3198 20.1036 12.6249 20.3079 12.873C21.2512 14.0188 21.7229 14.5918 21.8955 15.2236C22.0348 15.7334 22.0348 16.2666 21.8955 16.7764C21.6438 17.6979 20.8485 18.4704 20.2598 19.1854C19.9587 19.5511 19.8081 19.734 19.618 19.8407C19.4022 19.9618 19.1493 20.0162 18.8968 19.9958C18.6744 19.9778 18.45 19.8756 18.0011 19.6711C17.6018 19.4892 17.2032 19.3156 17.052 18.868C17 18.714 17 18.5412 17 18.1955V13.8045Z", stroke: "var(--color-icon-information, #064E94)", "stroke-width": "1.5" }), h("path", { key: 'd9f45c0c56593435f01ea62c6e085f3d5d303d0c', d: "M9.5 21C10.8807 22.3333 13.1193 22.3333 14.5 21", stroke: "var(--color-icon-information, #064E94)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'e4b0c5613d5f2b1785acd36daf837e83ef133778', d: "M7 13.8045C7 13.3693 6.98778 12.9782 6.63591 12.6722C6.50793 12.5609 6.33825 12.4836 5.99891 12.329C5.55001 12.1246 5.32556 12.0224 5.10316 12.0044C4.43591 11.9504 4.07692 12.4058 3.69213 12.8731C2.74875 14.0189 2.27706 14.5918 2.10446 15.2236C1.96518 15.7334 1.96518 16.2666 2.10446 16.7764C2.3562 17.6979 3.15152 18.4702 3.74021 19.1852C4.11129 19.6359 4.46577 20.0472 5.10316 19.9956C5.32556 19.9776 5.55001 19.8754 5.99891 19.6709C6.33825 19.5164 6.50793 19.4391 6.63591 19.3278C6.98778 19.0218 7 18.6307 7 18.1954V13.8045Z", stroke: "var(--color-icon-information, #064E94)", "stroke-width": "1.5" }), h("path", { key: 'cf1fe5134a6695ae2f0ecb2b4f514cd15982206e', d: "M2 16V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12L22.0001 16", stroke: "var(--color-icon-information, #064E94)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("p", { key: 'ae4710bb7d84e84c0fae2b66b058069da816e3ef', class: "heading text-lg-semi-bold" }, "NEED HELP? REACH OUT")), h("div", { key: 'f333e552211f80484aee36931ad28450682d86d9', class: "contact_dropdown_items" }, this.items.map(item => (h("div", { class: "item" }, h("gb-dropdown-items-with-shortcut", { icon: true, iconSrc: item.icon, label: item.label, state: item.disabled ? 'disabled' : 'default', onClick: () => this.handleDropdownItemClick(item) })))))));
34
+ }
35
+ static get is() { return "gb-contact-help-dropdown"; }
36
+ static get encapsulation() { return "shadow"; }
37
+ static get originalStyleUrls() {
38
+ return {
39
+ "$": ["gb-contact-help-dropdown.css"]
40
+ };
41
+ }
42
+ static get styleUrls() {
43
+ return {
44
+ "$": ["gb-contact-help-dropdown.css"]
45
+ };
46
+ }
47
+ static get properties() {
48
+ return {
49
+ "items": {
50
+ "type": "unknown",
51
+ "mutable": false,
52
+ "complexType": {
53
+ "original": "{\r\n id?: string;\r\n label: string;\r\n icon?: string;\r\n action: string;\r\n disabled?: boolean;\r\n }[]",
54
+ "resolved": "{ id?: string; label: string; icon?: string; action: string; disabled?: boolean; }[]",
55
+ "references": {}
56
+ },
57
+ "required": false,
58
+ "optional": false,
59
+ "docs": {
60
+ "tags": [],
61
+ "text": ""
62
+ },
63
+ "getter": false,
64
+ "setter": false,
65
+ "defaultValue": "[\r\n {\r\n id: 'contactcentre',\r\n label: 'contactcentre@globusbank.com',\r\n action: 'email',\r\n icon: 'assets/mail-at-sign-02.svg',\r\n disabled: true,\r\n },\r\n {\r\n id: 'contactcentre',\r\n label: '(+234) 123 4324 122',\r\n action: 'email',\r\n icon: 'assets/mail-at-sign-02.svg',\r\n },\r\n {\r\n id: 'contactcentre',\r\n label: 'Download user guide',\r\n action: 'email',\r\n icon: 'assets/mail-at-sign-02.svg',\r\n },\r\n ]"
66
+ }
67
+ };
68
+ }
69
+ static get events() {
70
+ return [{
71
+ "method": "itemSelected",
72
+ "name": "itemSelected",
73
+ "bubbles": true,
74
+ "cancelable": true,
75
+ "composed": true,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": ""
79
+ },
80
+ "complexType": {
81
+ "original": "string",
82
+ "resolved": "string",
83
+ "references": {}
84
+ }
85
+ }];
86
+ }
87
+ }
88
+ //# sourceMappingURL=gb-contact-help-dropdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gb-contact-help-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-contact-help-dropdown/gb-contact-help-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOxE,MAAM,OAAO,qBAAqB;IALlC;QAMU,UAAK,GAMP;YACJ;gBACE,EAAE,EAAE,eAAe;gBACnB,KAAK,EAAE,8BAA8B;gBACrC,MAAM,EAAE,OAAO;gBACf,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,EAAE,EAAE,eAAe;gBACnB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,OAAO;gBACf,IAAI,EAAE,4BAA4B;aACnC;YACD;gBACE,EAAE,EAAE,eAAe;gBACnB,KAAK,EAAE,qBAAqB;gBAC5B,MAAM,EAAE,OAAO;gBACf,IAAI,EAAE,4BAA4B;aACnC;SACF,CAAC;KAgEH;IA7DC,uBAAuB,CAAC,IAAuF;QAC7G,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAE1B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,+BAA+B;YACxC,4DAAK,KAAK,EAAC,8BAA8B;gBACvC,4DAAK,KAAK,EAAC,wBAAwB;oBACjC,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,gBAAgB;wBACnH,6DACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,+lBAA+lB,EACjmB,IAAI,EAAC,wCAAwC,GAC7C;wBACF,6DACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,ihBAAihB,EACnhB,IAAI,EAAC,wCAAwC,GAC7C;wBACF,6DACE,CAAC,EAAC,+lBAA+lB,EACjmB,MAAM,EAAC,wCAAwC,kBAClC,KAAK,GAClB;wBACF,6DACE,CAAC,EAAC,iDAAiD,EACnD,MAAM,EAAC,wCAAwC,kBAClC,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB;wBACF,6DACE,CAAC,EAAC,ihBAAihB,EACnhB,MAAM,EAAC,wCAAwC,kBAClC,KAAK,GAClB;wBACF,6DACE,CAAC,EAAC,yEAAyE,EAC3E,MAAM,EAAC,wCAAwC,kBAClC,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB,CACE,CACF;gBACN,0DAAG,KAAK,EAAC,2BAA2B,2BAAyB,CACzD;YACN,4DAAK,KAAK,EAAC,wBAAwB,IAChC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACtB,WAAK,KAAK,EAAC,MAAM;gBACf,uCAAiC,IAAI,QAAC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,GAAoC,CAC7M,CACP,CAAC,CACE,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-contact-help-dropdown',\r\n styleUrl: 'gb-contact-help-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbContactHelpDropdown {\r\n @Prop() items: {\r\n id?: string;\r\n label: string;\r\n icon?: string;\r\n action: string;\r\n disabled?: boolean;\r\n }[] = [\r\n {\r\n id: 'contactcentre',\r\n label: 'contactcentre@globusbank.com',\r\n action: 'email',\r\n icon: 'assets/mail-at-sign-02.svg',\r\n disabled: true,\r\n },\r\n {\r\n id: 'contactcentre',\r\n label: '(+234) 123 4324 122',\r\n action: 'email',\r\n icon: 'assets/mail-at-sign-02.svg',\r\n },\r\n {\r\n id: 'contactcentre',\r\n label: 'Download user guide',\r\n action: 'email',\r\n icon: 'assets/mail-at-sign-02.svg',\r\n },\r\n ];\r\n @Event() itemSelected: EventEmitter<string>;\r\n\r\n handleDropdownItemClick(item: { id?: string; label: string; icon?: string; action: string; disabled?: boolean }) {\r\n if (item.disabled) return;\r\n\r\n this.itemSelected.emit(item.action);\r\n console.log(item);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"contact_help_dropdown_wrapper\">\r\n <div class=\"contact_help_dropdown_header\">\r\n <div class=\"headphone_icon_wrapper\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" class=\"headphone_icon\">\r\n <path\r\n opacity=\"0.4\"\r\n d=\"M17 13.8045C17 13.4588 17 13.286 17.052 13.132C17.2032 12.6844 17.6018 12.5108 18.0011 12.3289C18.45 12.1244 18.6744 12.0222 18.8968 12.0042C19.1493 11.9838 19.4022 12.0382 19.618 12.1593C19.9041 12.3198 20.1036 12.6249 20.3079 12.873C21.2512 14.0188 21.7229 14.5918 21.8955 15.2236C22.0348 15.7334 22.0348 16.2666 21.8955 16.7764C21.6438 17.6979 20.8485 18.4704 20.2598 19.1854C19.9587 19.5511 19.8081 19.734 19.618 19.8407C19.4022 19.9618 19.1493 20.0162 18.8968 19.9958C18.6744 19.9778 18.45 19.8756 18.0011 19.6711C17.6018 19.4892 17.2032 19.3156 17.052 18.868C17 18.714 17 18.5412 17 18.1955V13.8045Z\"\r\n fill=\"var(--color-icon-information, #064E94)\"\r\n />\r\n <path\r\n opacity=\"0.4\"\r\n d=\"M7 13.8045C7 13.3693 6.98778 12.9782 6.63591 12.6722C6.50793 12.5609 6.33825 12.4836 5.99891 12.329C5.55001 12.1246 5.32556 12.0224 5.10316 12.0044C4.43591 11.9504 4.07692 12.4058 3.69213 12.8731C2.74875 14.0189 2.27706 14.5918 2.10446 15.2236C1.96518 15.7334 1.96518 16.2666 2.10446 16.7764C2.3562 17.6979 3.15152 18.4702 3.74021 19.1852C4.11129 19.6359 4.46577 20.0472 5.10316 19.9956C5.32556 19.9776 5.55001 19.8754 5.99891 19.6709C6.33825 19.5164 6.50793 19.4391 6.63591 19.3278C6.98778 19.0218 7 18.6307 7 18.1954V13.8045Z\"\r\n fill=\"var(--color-icon-information, #064E94)\"\r\n />\r\n <path\r\n d=\"M17 13.8045C17 13.4588 17 13.286 17.052 13.132C17.2032 12.6844 17.6018 12.5108 18.0011 12.3289C18.45 12.1244 18.6744 12.0222 18.8968 12.0042C19.1493 11.9838 19.4022 12.0382 19.618 12.1593C19.9041 12.3198 20.1036 12.6249 20.3079 12.873C21.2512 14.0188 21.7229 14.5918 21.8955 15.2236C22.0348 15.7334 22.0348 16.2666 21.8955 16.7764C21.6438 17.6979 20.8485 18.4704 20.2598 19.1854C19.9587 19.5511 19.8081 19.734 19.618 19.8407C19.4022 19.9618 19.1493 20.0162 18.8968 19.9958C18.6744 19.9778 18.45 19.8756 18.0011 19.6711C17.6018 19.4892 17.2032 19.3156 17.052 18.868C17 18.714 17 18.5412 17 18.1955V13.8045Z\"\r\n stroke=\"var(--color-icon-information, #064E94)\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M9.5 21C10.8807 22.3333 13.1193 22.3333 14.5 21\"\r\n stroke=\"var(--color-icon-information, #064E94)\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n <path\r\n d=\"M7 13.8045C7 13.3693 6.98778 12.9782 6.63591 12.6722C6.50793 12.5609 6.33825 12.4836 5.99891 12.329C5.55001 12.1246 5.32556 12.0224 5.10316 12.0044C4.43591 11.9504 4.07692 12.4058 3.69213 12.8731C2.74875 14.0189 2.27706 14.5918 2.10446 15.2236C1.96518 15.7334 1.96518 16.2666 2.10446 16.7764C2.3562 17.6979 3.15152 18.4702 3.74021 19.1852C4.11129 19.6359 4.46577 20.0472 5.10316 19.9956C5.32556 19.9776 5.55001 19.8754 5.99891 19.6709C6.33825 19.5164 6.50793 19.4391 6.63591 19.3278C6.98778 19.0218 7 18.6307 7 18.1954V13.8045Z\"\r\n stroke=\"var(--color-icon-information, #064E94)\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n d=\"M2 16V12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12L22.0001 16\"\r\n stroke=\"var(--color-icon-information, #064E94)\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n <p class=\"heading text-lg-semi-bold\">NEED HELP? REACH OUT</p>\r\n </div>\r\n <div class=\"contact_dropdown_items\">\r\n {this.items.map(item => (\r\n <div class=\"item\">\r\n <gb-dropdown-items-with-shortcut icon iconSrc={item.icon} label={item.label} state={item.disabled ? 'disabled' : 'default'} onClick={() => this.handleDropdownItemClick(item)}></gb-dropdown-items-with-shortcut>\r\n </div>\r\n ))}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
@@ -2837,7 +2837,7 @@
2837
2837
  }
2838
2838
 
2839
2839
  .calendar-container {
2840
- width: fit-content;
2840
+ width: max-content;
2841
2841
  position: absolute;
2842
2842
  z-index: 9;
2843
2843
  }
@@ -2862,12 +2862,34 @@
2862
2862
  border: 1px solid var(--color-border-subtle, #cdd5df);
2863
2863
  }
2864
2864
 
2865
+ .fp-layout {
2866
+ display: flex;
2867
+ }
2868
+
2869
+ .fp-sidebar {
2870
+ display: flex;
2871
+ padding: 0 1rem 0 0;
2872
+ flex-direction: column;
2873
+ align-items: flex-start;
2874
+ gap: 0.25rem;
2875
+ align-self: stretch;
2876
+ border-right: 1px solid var(--color-border-subtler, #E3E8EF);
2877
+ }
2878
+
2879
+ .fp-main{
2880
+ display: flex;
2881
+ flex-direction: column;
2882
+ justify-content: center;
2883
+ padding: 0 1rem 0 0;
2884
+ }
2885
+
2865
2886
  .flatpickr-calendar *,
2866
2887
  input {
2867
2888
  font-family: var(--font-family-body);
2868
2889
  }
2869
2890
 
2870
2891
  .flatpickr-calendar {
2892
+ display: flex;
2871
2893
  background: var(--color-background-card, #fff);
2872
2894
  border: 1px solid var(--color-border-subtle, #cdd5df);
2873
2895
  box-shadow: var(--shadow-md);
@@ -2876,6 +2898,9 @@ input {
2876
2898
  padding: var(--spacing-3);
2877
2899
  white-space: normal !important;
2878
2900
  overflow: visible;
2901
+ width: auto !important;
2902
+ min-width: unset !important;
2903
+ max-width: unset !important;
2879
2904
  }
2880
2905
 
2881
2906
  .calendar-container.hidden {
@@ -2891,13 +2916,29 @@ input {
2891
2916
  padding: var(--spacing-2) 0;
2892
2917
  }
2893
2918
 
2919
+ .flatpickr-weekdays {
2920
+ display: flex;
2921
+ justify-content: space-between;
2922
+ flex: 1 0 auto !important;
2923
+ }
2924
+
2894
2925
  .flatpickr-weekday {
2926
+ display: flex;
2927
+ width: 2.5rem;
2928
+ height: 2.5rem;
2929
+ padding: 0.625rem 0.5rem;
2930
+ justify-content: center;
2931
+ align-items: center;
2895
2932
  color: var(--color-text, #4b5565);
2896
2933
  }
2897
2934
 
2898
2935
  .flatpickr-day {
2936
+ display: flex;
2899
2937
  width: 2.5rem;
2900
2938
  height: 2.5rem;
2939
+ padding: 0 0.5rem;
2940
+ justify-content: center;
2941
+ align-items: center;
2901
2942
  cursor: pointer;
2902
2943
  }
2903
2944
 
@@ -2931,15 +2972,39 @@ input {
2931
2972
  }
2932
2973
 
2933
2974
  .flatpickr-days {
2934
- width: 17.5rem; /* whatever width you need */
2975
+ display: flex;
2976
+ flex: 1 0 auto !important;
2977
+ gap: var(--spacing-12);
2935
2978
  box-sizing: border-box;
2936
2979
  padding: 0;
2980
+ width: auto !important;
2981
+ min-width: unset !important;
2982
+ max-width: unset !important;
2983
+ font-family: var(--Font-Family-Body, Sora);
2984
+ font-size: var(--Font-Size-T-sm, 0.875rem);
2985
+ font-style: normal;
2986
+ font-weight: var(--Font-Weight-Regular, 400);
2987
+ line-height: var(--Font-Line-height-T-sm, 1.5rem);
2988
+ letter-spacing: var(--Font-Letter-spacing-T-sm, 0);
2989
+ color: var(--color-text, #4b5565);
2990
+ }
2991
+
2992
+ .flatpickr-innerContainer {
2993
+ display: flex;
2994
+ flex-wrap: nowrap;
2995
+ }
2996
+
2997
+ .flatpickr-innerContainer .flatpickr-month:not(:last-child) {
2998
+ border-right: 1px solid var(--color-border-subtle, #cdd5df);
2999
+ padding-right: var(--spacing-3);
3000
+ margin-right: var(--spacing-3);
2937
3001
  }
2938
3002
 
2939
3003
  .flatpickr-days .dayContainer {
2940
3004
  display: flex !important;
3005
+ flex: 1 0 auto !important;
2941
3006
  flex-wrap: wrap !important;
2942
- width: 100%;
3007
+ width: 17.5rem;
2943
3008
  box-sizing: border-box;
2944
3009
  align-items: stretch;
2945
3010
  }
@@ -2972,16 +3037,6 @@ input {
2972
3037
  line-height: 1.25rem;
2973
3038
  }
2974
3039
 
2975
- .flatpickr-day {
2976
- font-family: var(--Font-Family-Body, Sora);
2977
- font-size: var(--Font-Size-T-sm, 0.875rem);
2978
- font-style: normal;
2979
- font-weight: var(--Font-Weight-Regular, 400);
2980
- line-height: var(--Font-Line-height-T-sm, 1.5rem); /* 171.429% */
2981
- letter-spacing: var(--Font-Letter-spacing-T-sm, 0);
2982
- color: var(--color-text, #4b5565);
2983
- }
2984
-
2985
3040
  .flatpickr-day.prevMonthDay,
2986
3041
  .flatpickr-day.nextMonthDay {
2987
3042
  color: var(--color-text-disabled, #808c9e);
@@ -3165,12 +3220,12 @@ input {
3165
3220
  border-radius: 0.5rem;
3166
3221
  }
3167
3222
 
3168
- .flatpickr-am-pm:hover{
3223
+ .flatpickr-am-pm:hover {
3169
3224
  background-color: var(--color-background-gray-subtlest, #f6f8fa);
3170
3225
  }
3171
3226
 
3172
- .flatpickr-am-pm:active{
3173
- background-color: var(--color-background-gray-subtler, #eef2f6);
3227
+ .flatpickr-am-pm:active {
3228
+ background-color: var(--color-background-gray-subtler, #eef2f6);
3174
3229
  }
3175
3230
 
3176
3231
  .apply_button_wrapper {
@@ -15,11 +15,24 @@ export class GbDatePicker {
15
15
  this.enableTime = false;
16
16
  this.noCalendar = false;
17
17
  this.twentyfourHr = false;
18
+ this.showMonths = 1;
18
19
  this.isCalendarShown = false;
20
+ this.breakpoint = 'desktop';
21
+ this.width = window.innerWidth;
22
+ this.handleResize = () => {
23
+ this.width = window.innerWidth;
24
+ this.updateCalendarDropdown();
25
+ };
19
26
  }
20
27
  componentDidLoad() {
21
28
  this.initializePicker();
22
- this.injectApplyButton();
29
+ // this.injectApplyButton();
30
+ }
31
+ componentWillLoad() {
32
+ window.addEventListener('resize', this.handleResize);
33
+ }
34
+ updateCalendarDropdown() {
35
+ this.breakpoint = this.width < 860 ? 'mobile' : 'desktop';
23
36
  }
24
37
  disconnectedCallback() {
25
38
  if (this.picker)
@@ -39,9 +52,17 @@ export class GbDatePicker {
39
52
  console.warn('Calendar container or input not found.');
40
53
  return;
41
54
  }
55
+ const fixDaysWidth = () => {
56
+ var _a;
57
+ const days = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.flatpickr-days');
58
+ if (days) {
59
+ days.style.width = 'auto';
60
+ }
61
+ };
42
62
  this.picker = flatpickr(input, {
43
63
  dateFormat: this.format,
44
64
  mode: this.mode,
65
+ showMonths: this.breakpoint === 'mobile' ? 1 : 2,
45
66
  defaultDate: this.value,
46
67
  appendTo: calendarContainer, // keep inside shadow root
47
68
  clickOpens: false,
@@ -93,13 +114,23 @@ export class GbDatePicker {
93
114
  this.preventTimePickerClosing();
94
115
  }
95
116
  }
117
+ fixDaysWidth();
96
118
  },
97
119
  onOpen: () => {
98
120
  this.isCalendarShown = true;
121
+ fixDaysWidth();
99
122
  },
100
123
  onClose: () => {
101
124
  this.isCalendarShown = false;
102
125
  },
126
+ onReady: (_, __, fp) => {
127
+ this.picker = fp;
128
+ // Defer DOM surgery until Flatpickr finishes layout
129
+ requestAnimationFrame(() => {
130
+ this.injectSidebarLayout(fp);
131
+ this.maybeCreateSidebar(fp.calendarContainer);
132
+ });
133
+ },
103
134
  });
104
135
  input.addEventListener('input', () => {
105
136
  const dateStr = input.value;
@@ -110,6 +141,135 @@ export class GbDatePicker {
110
141
  }
111
142
  });
112
143
  }
144
+ clearDateSelection() {
145
+ if (this.picker) {
146
+ this.picker.clear();
147
+ }
148
+ }
149
+ maybeCreateSidebar(calendar) {
150
+ // Remove existing sidebar first
151
+ const existing = calendar.querySelector('.fp-sidebar');
152
+ if (existing) {
153
+ existing.remove();
154
+ }
155
+ // Only show sidebar when months === 2
156
+ if (this.breakpoint === 'mobile' || this.picker.config.showMonths !== 2) {
157
+ calendar.classList.remove('has-sidebar');
158
+ return;
159
+ }
160
+ const sidebar = this.createSidebar();
161
+ calendar.classList.add('has-sidebar');
162
+ calendar.prepend(sidebar);
163
+ }
164
+ injectSidebarLayout(fp) {
165
+ const calendar = fp.calendarContainer;
166
+ if (!calendar || calendar.querySelector('.fp-layout'))
167
+ return;
168
+ const months = calendar.querySelector('.flatpickr-months');
169
+ const inner = calendar.querySelector('.flatpickr-innerContainer');
170
+ const time = calendar.querySelector('.flatpickr-time');
171
+ if (!months || !inner)
172
+ return;
173
+ const layout = document.createElement('div');
174
+ layout.className = 'fp-layout';
175
+ const main = document.createElement('div');
176
+ main.className = 'fp-main';
177
+ main.append(months, inner);
178
+ if (time && this.enableTime)
179
+ main.appendChild(time); // 🔥 preserve time picker
180
+ layout.appendChild(main);
181
+ calendar.appendChild(layout);
182
+ this.injectApplyButton();
183
+ }
184
+ createSidebar() {
185
+ const sidebar = document.createElement('div');
186
+ sidebar.className = 'fp-sidebar';
187
+ const ranges = [
188
+ { key: 'today', label: 'Today' },
189
+ { key: 'yesterday', label: 'Yesterday' },
190
+ { key: 'this-week', label: 'This week' },
191
+ { key: 'last-week', label: 'Last week' },
192
+ { key: 'this-month', label: 'This month' },
193
+ { key: 'last-month', label: 'Last month' },
194
+ { key: 'this-year', label: 'This year' },
195
+ { key: 'all-time', label: 'All time' },
196
+ ];
197
+ ranges.forEach(r => {
198
+ const item = document.createElement('gb-date-picker-list-item');
199
+ item.setAttribute('label', r.label);
200
+ item.dataset.range = r.key;
201
+ item.addEventListener('mousedown', e => {
202
+ e.preventDefault();
203
+ e.stopPropagation();
204
+ this.clearPresetSelection(sidebar);
205
+ item.selected = true;
206
+ this.applyPreset(r.key);
207
+ });
208
+ sidebar.appendChild(item);
209
+ });
210
+ return sidebar;
211
+ }
212
+ applyPreset(key) {
213
+ if (!this.picker)
214
+ return;
215
+ const today = new Date();
216
+ let start;
217
+ let end;
218
+ switch (key) {
219
+ case 'today':
220
+ start = end = today;
221
+ break;
222
+ case 'yesterday':
223
+ start = end = new Date(today.setDate(today.getDate() - 1));
224
+ break;
225
+ case 'this-week':
226
+ start = new Date(today);
227
+ start.setDate(today.getDate() - today.getDay());
228
+ end = new Date();
229
+ break;
230
+ case 'last-week':
231
+ end = new Date(today);
232
+ end.setDate(today.getDate() - today.getDay() - 1);
233
+ start = new Date(end);
234
+ start.setDate(end.getDate() - 6);
235
+ break;
236
+ case 'this-month':
237
+ start = new Date(today.getFullYear(), today.getMonth(), 1);
238
+ end = today;
239
+ break;
240
+ case 'last-month':
241
+ start = new Date(today.getFullYear(), today.getMonth() - 1, 1);
242
+ end = new Date(today.getFullYear(), today.getMonth(), 0);
243
+ break;
244
+ case 'this-year':
245
+ start = new Date(today.getFullYear(), 0, 1);
246
+ end = today;
247
+ break;
248
+ case 'all-time':
249
+ start = new Date(2000, 0, 1);
250
+ end = today;
251
+ break;
252
+ default:
253
+ return;
254
+ }
255
+ // 🔥 THIS is the missing piece
256
+ this.picker.setDate(this.mode === 'range' ? [start, end] : start, true);
257
+ this.preventTimePickerClosing();
258
+ }
259
+ clearPresetSelection(sidebar) {
260
+ const items = sidebar.querySelectorAll('gb-date-picker-list-item');
261
+ items.forEach(item => {
262
+ item.selected = false;
263
+ });
264
+ }
265
+ // private updateActivePreset(activeKey: string) {
266
+ // const sidebar = this.picker.calendarContainer?.querySelector('.fp-sidebar');
267
+ // if (!sidebar) return;
268
+ // const items = sidebar.querySelectorAll('gb-date-picker-list-item');
269
+ // items.forEach((el: any) => {
270
+ // el.selected = el.dataset.range === activeKey;
271
+ // });
272
+ // }
113
273
  injectApplyButton() {
114
274
  const calendarContainer = this.el.shadowRoot.querySelector('.calendar-container');
115
275
  const timeContainer = calendarContainer.querySelector('.flatpickr-time');
@@ -188,9 +348,9 @@ export class GbDatePicker {
188
348
  return timePart ? `${datePart} ${timePart}` : datePart;
189
349
  }
190
350
  render() {
191
- return (h("div", { key: '98c9ef6e465b504bbd3dd72fafed30d1ecd796dc', class: "date_picker_container" }, this.label && (h(Fragment, null, this.formatLabel ? (h("p", { class: "date_picker_label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase())) : (h("p", { class: "date_picker_label text-sm-medium" }, this.label)))), h("div", { key: '1ee82453ec4dfd039a1a9da03c76b94962d3ae46', class: "date-picker-wrapper" }, h("div", { key: 'b17baf81627fd038a3da6234f3dde53c1b8b77a3', class: "inner_container", onClick: () => {
351
+ return (h("div", { key: 'a55291203e8de26948f181c127a40a81b70d3087', class: "date_picker_container" }, this.label && (h(Fragment, null, this.formatLabel ? (h("p", { class: "date_picker_label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase())) : (h("p", { class: "date_picker_label text-sm-medium" }, this.label)))), h("div", { key: 'd25f43a3c8e6a688db9a53c22f91561804a0eb76', class: "date-picker-wrapper" }, h("div", { key: 'f95b7a97f7834775493a05d1f874f7968b2fbdf2', class: "inner_container", onClick: () => {
192
352
  this.toggleCalendar();
193
- } }, this.iconPosition === 'left' && (h("svg", { key: 'd6b33b9c2b817ef6236fbba5434564db4fa137d2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '1a96c4a4b8ba12a26aad0205b9e0ca514db05690', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" }))), h("input", { key: 'f3c769bbcf2a05c57534ea5a63928d55cb9a42f6', type: "text", ref: el => (this.inputEl = el), placeholder: this.placeholder, disabled: this.disabled, value: this.value, contentEditable: false }), this.iconPosition === 'right' && (h("svg", { key: '1ec7c4fad84e7a3f4c364d7b31e3104d3207f06b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'da46f2f1a4aec56bdbc8c291ae61ca6e127bcd05', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" })))), h("div", { key: 'd2262a239fc5d03df0f4e398f716f7370fc7cd36', class: `calendar-container ${!this.isCalendarShown ? 'hidden' : ''} ${this.dropdownAlignment}` }))));
353
+ } }, this.iconPosition === 'left' && (h("svg", { key: '004d7629f7512e6fdd77c414ec1901f3f7351eba', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'cb3b3913c589548003c6fcdaad2f34fda9899b2b', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" }))), h("input", { key: 'd7a47e7aedf3ef71ad08e24e41c0ec2441ef7460', type: "text", ref: el => (this.inputEl = el), placeholder: this.placeholder, disabled: this.disabled, value: this.value, contentEditable: false }), this.iconPosition === 'right' && (h("svg", { key: 'c31cba5ba4732dce3c3408875a8713429fdf56c3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3fcfd495c43d5b25c367b5e704ff85760b493bed', d: "M9.16658 10.0833C8.75237 10.0833 8.41658 10.4191 8.41658 10.8333C8.41658 11.2475 8.75237 11.5833 9.16658 11.5833V10.8333V10.0833ZM13.3333 11.5833C13.7475 11.5833 14.0833 11.2475 14.0833 10.8333C14.0833 10.4191 13.7475 10.0833 13.3333 10.0833V10.8333V11.5833ZM6.66658 10.0833C6.25237 10.0833 5.91659 10.4191 5.91659 10.8333C5.91659 11.2475 6.25237 11.5833 6.66658 11.5833V10.8333V10.0833ZM6.67407 11.5833C7.08828 11.5833 7.42407 11.2475 7.42407 10.8333C7.42407 10.4191 7.08828 10.0833 6.67407 10.0833V10.8333V11.5833ZM10.8333 14.9166C11.2475 14.9166 11.5833 14.5808 11.5833 14.1666C11.5833 13.7524 11.2475 13.4166 10.8333 13.4166V14.1666V14.9166ZM6.66658 13.4166C6.25237 13.4166 5.91659 13.7524 5.91659 14.1666C5.91659 14.5808 6.25237 14.9166 6.66658 14.9166V14.1666V13.4166ZM13.3333 14.9166C13.7475 14.9166 14.0833 14.5808 14.0833 14.1666C14.0833 13.7524 13.7475 13.4166 13.3333 13.4166V14.1666V14.9166ZM13.3258 13.4166C12.9116 13.4166 12.5758 13.7524 12.5758 14.1666C12.5758 14.5808 12.9116 14.9166 13.3258 14.9166V14.1666V13.4166ZM15.7499 1.66663C15.7499 1.25241 15.4141 0.916626 14.9999 0.916626C14.5857 0.916626 14.2499 1.25241 14.2499 1.66663H14.9999H15.7499ZM14.2499 3.33329C14.2499 3.74751 14.5857 4.08329 14.9999 4.08329C15.4141 4.08329 15.7499 3.74751 15.7499 3.33329H14.9999H14.2499ZM5.74992 1.66663C5.74992 1.25241 5.41413 0.916626 4.99992 0.916626C4.58571 0.916626 4.24992 1.25241 4.24992 1.66663H4.99992H5.74992ZM4.24992 3.33329C4.24992 3.74751 4.58571 4.08329 4.99992 4.08329C5.41413 4.08329 5.74992 3.74751 5.74992 3.33329H4.99992H4.24992ZM2.49992 5.91663C2.08571 5.91663 1.74992 6.25241 1.74992 6.66663C1.74992 7.08084 2.08571 7.41663 2.49992 7.41663V6.66663V5.91663ZM17.4999 7.41663C17.9141 7.41663 18.2499 7.08084 18.2499 6.66663C18.2499 6.25241 17.9141 5.91663 17.4999 5.91663V6.66663V7.41663ZM9.16658 10.8333V11.5833H13.3333V10.8333V10.0833H9.16658V10.8333ZM6.66658 10.8333V11.5833H6.67407V10.8333V10.0833H6.66658V10.8333ZM10.8333 14.1666V13.4166H6.66658V14.1666V14.9166H10.8333V14.1666ZM13.3333 14.1666V13.4166H13.3258V14.1666V14.9166H13.3333V14.1666ZM14.9999 1.66663H14.2499V3.33329H14.9999H15.7499V1.66663H14.9999ZM4.99992 1.66663H4.24992V3.33329H4.99992H5.74992V1.66663H4.99992ZM9.20825 2.49996V3.24996H10.7916V2.49996V1.74996H9.20825V2.49996ZM17.9166 10.2027H17.1666V10.6306H17.9166H18.6666V10.2027H17.9166ZM10.7916 18.3333V17.5833H9.20825V18.3333V19.0833H10.7916V18.3333ZM2.08325 10.6306H2.83325V10.2027H2.08325H1.33325V10.6306H2.08325ZM9.20825 18.3333V17.5833C7.506 17.5833 6.31079 17.5814 5.4071 17.4501C4.53136 17.3228 4.03943 17.0875 3.67726 16.696L3.12668 17.2053L2.57611 17.7145C3.25737 18.451 4.12685 18.7798 5.19134 18.9345C6.22789 19.0851 7.55174 19.0833 9.20825 19.0833V18.3333ZM2.08325 10.6306H1.33325C1.33325 12.4265 1.33189 13.8433 1.46941 14.9491C1.60893 16.071 1.90254 16.9864 2.57611 17.7145L3.12668 17.2053L3.67726 16.696C3.30739 16.2961 3.07929 15.7397 2.95795 14.764C2.83462 13.7723 2.83325 12.4658 2.83325 10.6306H2.08325ZM17.9166 10.6306H17.1666C17.1666 12.4658 17.1652 13.7723 17.0419 14.764C16.9205 15.7397 16.6924 16.2961 16.3226 16.696L16.8732 17.2053L17.4237 17.7145C18.0973 16.9864 18.3909 16.071 18.5304 14.9491C18.668 13.8433 18.6666 12.4265 18.6666 10.6306H17.9166ZM10.7916 18.3333V19.0833C12.4481 19.0833 13.7719 19.0851 14.8085 18.9345C15.873 18.7798 16.7425 18.451 17.4237 17.7145L16.8732 17.2053L16.3226 16.696C15.9604 17.0875 15.4685 17.3228 14.5927 17.4501C13.689 17.5814 12.4938 17.5833 10.7916 17.5833V18.3333ZM10.7916 2.49996V3.24996C12.4938 3.24996 13.689 3.25182 14.5927 3.38316C15.4685 3.51045 15.9604 3.74573 16.3226 4.13728L16.8732 3.62799L17.4237 3.11871C16.7425 2.38222 15.873 2.05348 14.8085 1.89876C13.7719 1.7481 12.4481 1.74996 10.7916 1.74996V2.49996ZM17.9166 10.2027H18.6666C18.6666 8.40677 18.668 6.98999 18.5304 5.88412C18.3909 4.76229 18.0973 3.84689 17.4237 3.11871L16.8732 3.62799L16.3226 4.13728C16.6924 4.53713 16.9205 5.09352 17.0419 6.06924C17.1652 7.06093 17.1666 8.36747 17.1666 10.2027H17.9166ZM9.20825 2.49996V1.74996C7.55174 1.74996 6.22789 1.7481 5.19134 1.89876C4.12685 2.05348 3.25737 2.38222 2.57611 3.11871L3.12668 3.62799L3.67726 4.13728C4.03943 3.74573 4.53136 3.51045 5.4071 3.38316C6.31079 3.25182 7.506 3.24996 9.20825 3.24996V2.49996ZM2.08325 10.2027H2.83325C2.83325 8.36747 2.83462 7.06093 2.95795 6.06924C3.07929 5.09352 3.30739 4.53713 3.67726 4.13728L3.12668 3.62799L2.57611 3.11871C1.90254 3.84689 1.60893 4.76229 1.46941 5.88412C1.33189 6.98999 1.33325 8.40677 1.33325 10.2027H2.08325ZM2.49992 6.66663V7.41663H17.4999V6.66663V5.91663H2.49992V6.66663Z", fill: "var(--color-icon, #4B5565)" })))), h("div", { key: '8b075df1e23c09cc194acd90d3ad748182f3c573', class: `calendar-container ${!this.isCalendarShown ? 'hidden' : ''} ${this.dropdownAlignment}` }))));
194
354
  }
195
355
  static get is() { return "gb-date-picker"; }
196
356
  static get encapsulation() { return "shadow"; }
@@ -476,12 +636,34 @@ export class GbDatePicker {
476
636
  "reflect": false,
477
637
  "attribute": "twentyfour-hr",
478
638
  "defaultValue": "false"
639
+ },
640
+ "showMonths": {
641
+ "type": "number",
642
+ "mutable": false,
643
+ "complexType": {
644
+ "original": "number",
645
+ "resolved": "number",
646
+ "references": {}
647
+ },
648
+ "required": false,
649
+ "optional": false,
650
+ "docs": {
651
+ "tags": [],
652
+ "text": ""
653
+ },
654
+ "getter": false,
655
+ "setter": false,
656
+ "reflect": false,
657
+ "attribute": "show-months",
658
+ "defaultValue": "1"
479
659
  }
480
660
  };
481
661
  }
482
662
  static get states() {
483
663
  return {
484
- "isCalendarShown": {}
664
+ "isCalendarShown": {},
665
+ "breakpoint": {},
666
+ "width": {}
485
667
  };
486
668
  }
487
669
  static get events() {