globuswebcomponents 0.8.6 → 0.8.9

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 (212) hide show
  1. package/dist/cjs/{gb-avatar_39.cjs.entry.js → gb-avatar_38.cjs.entry.js} +148 -150
  2. package/dist/cjs/gb-avatar_38.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-megainput-field.cjs.entry.js +2 -2
  4. package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  12. package/dist/cjs/globuscomponents.cjs.js +1 -1
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/test-input-tag.cjs.entry.js +108 -0
  15. package/dist/cjs/test-input-tag.cjs.entry.js.map +1 -0
  16. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +25 -5
  17. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  18. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +6 -0
  19. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +25 -3
  20. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
  21. package/dist/collection/components/gb-input-field/gb-input-field.css +108 -6
  22. package/dist/collection/components/gb-input-field/gb-input-field.js +220 -33
  23. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  24. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  25. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  26. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
  27. package/dist/collection/components/gb-pagination/gb-pagination.css +4 -4
  28. package/dist/collection/components/gb-pagination/gb-pagination.js +3 -4
  29. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  30. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  31. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  32. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  33. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  34. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  35. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  36. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  37. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  38. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  39. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  40. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  41. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  42. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  43. package/dist/collection/components/gb-tag/gb-tag.js +2 -2
  44. package/dist/collection/components/gb-tag/gb-tag.js.map +1 -1
  45. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  46. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  47. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  48. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  49. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  50. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  51. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  52. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  53. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  54. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  55. package/dist/collection/components/test-input-tag/test-input-tag.css +6 -26
  56. package/dist/collection/components/test-input-tag/test-input-tag.js +5 -5
  57. package/dist/collection/components/test-input-tag/test-input-tag.js.map +1 -1
  58. package/dist/components/gb-avatar-add-button.js +1 -1
  59. package/dist/components/gb-avatar-dropdown.js +3 -3
  60. package/dist/components/gb-avatar-group.js +4 -4
  61. package/dist/components/gb-avatar-label-group.js +1 -1
  62. package/dist/components/gb-avatar-profile-photo.js +2 -2
  63. package/dist/components/gb-avatar.js +1 -1
  64. package/dist/components/gb-badge.js +1 -1
  65. package/dist/components/gb-checkbox-group-item.js +1 -1
  66. package/dist/components/gb-checkbox-group.js +3 -3
  67. package/dist/components/gb-collapse-button.js +1 -1
  68. package/dist/components/gb-control-handle.js +1 -1
  69. package/dist/components/gb-file-upload-item-base.js +1 -1
  70. package/dist/components/gb-file-upload.js +3 -3
  71. package/dist/components/gb-header.js +2 -2
  72. package/dist/components/gb-help-tooltip.js +1 -1
  73. package/dist/components/gb-horizontal-tabs.js +4 -4
  74. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  75. package/dist/components/gb-input-dropdown.js +1 -1
  76. package/dist/components/gb-input-field.js +168 -39
  77. package/dist/components/gb-input-field.js.map +1 -1
  78. package/dist/components/gb-megainput-field.js +1 -1
  79. package/dist/components/gb-notification-content.js +1 -1
  80. package/dist/components/gb-notification-pane.js +4 -4
  81. package/dist/components/gb-pagination-button-group-base.js +1 -1
  82. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  83. package/dist/components/gb-pagination-number-base.js +1 -1
  84. package/dist/components/gb-pagination.js +15 -16
  85. package/dist/components/gb-pagination.js.map +1 -1
  86. package/dist/components/gb-password-button.js +1 -1
  87. package/dist/components/gb-progress-bar.js +1 -1
  88. package/dist/components/gb-progress-circle.js +1 -1
  89. package/dist/components/gb-rich-text.js +12 -12
  90. package/dist/components/gb-scrollbar.js +1 -1
  91. package/dist/components/gb-side-bar-item.js +1 -1
  92. package/dist/components/gb-sidebar.js +7 -7
  93. package/dist/components/gb-slider.js +1 -1
  94. package/dist/components/gb-status-indicator.js +1 -1
  95. package/dist/components/gb-tab-button-base.js +1 -1
  96. package/dist/components/gb-tag-checkbox.js +1 -1
  97. package/dist/components/gb-tag-close.js +1 -1
  98. package/dist/components/gb-tag-count.js +1 -1
  99. package/dist/components/gb-tag.js +1 -1
  100. package/dist/components/gb-toast-button.js +1 -1
  101. package/dist/components/gb-toast.js +2 -2
  102. package/dist/components/gb-toggle-base.js +1 -1
  103. package/dist/components/gb-toggle.js +2 -2
  104. package/dist/components/gb-token-field.js +2 -2
  105. package/dist/components/gb-tooltip.js +1 -1
  106. package/dist/components/gb-verification-code-field.js +3 -3
  107. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  108. package/dist/components/{p-3a3cf40b.js → p-12cba9c1.js} +3 -3
  109. package/dist/components/{p-3a3cf40b.js.map → p-12cba9c1.js.map} +1 -1
  110. package/dist/components/{p-8e94ef1f.js → p-1bd85bd9.js} +11 -11
  111. package/dist/components/{p-8e94ef1f.js.map → p-1bd85bd9.js.map} +1 -1
  112. package/dist/components/{p-975f4986.js → p-33e637b4.js} +2 -2
  113. package/dist/components/{p-975f4986.js.map → p-33e637b4.js.map} +1 -1
  114. package/dist/components/{p-ce28f03f.js → p-346195bc.js} +3 -3
  115. package/dist/components/{p-ce28f03f.js.map → p-346195bc.js.map} +1 -1
  116. package/dist/components/{p-a256dcad.js → p-3aafc7e4.js} +2 -2
  117. package/dist/components/{p-a256dcad.js.map → p-3aafc7e4.js.map} +1 -1
  118. package/dist/components/{p-7d9f8280.js → p-513c1eee.js} +3 -3
  119. package/dist/components/{p-7d9f8280.js.map → p-513c1eee.js.map} +1 -1
  120. package/dist/components/{p-cc01acce.js → p-56bcffa8.js} +2 -2
  121. package/dist/components/{p-cc01acce.js.map → p-56bcffa8.js.map} +1 -1
  122. package/dist/components/{p-8873386a.js → p-5dbcc06e.js} +2 -2
  123. package/dist/components/{p-8873386a.js.map → p-5dbcc06e.js.map} +1 -1
  124. package/dist/components/{p-d30290b2.js → p-5f678e32.js} +2 -2
  125. package/dist/components/{p-d30290b2.js.map → p-5f678e32.js.map} +1 -1
  126. package/dist/components/{p-2ad354d5.js → p-64a56327.js} +3 -3
  127. package/dist/components/{p-2ad354d5.js.map → p-64a56327.js.map} +1 -1
  128. package/dist/components/{p-85b56ca0.js → p-696a1f4a.js} +2 -2
  129. package/dist/components/{p-85b56ca0.js.map → p-696a1f4a.js.map} +1 -1
  130. package/dist/components/{p-dfe9194c.js → p-6dfe1ebf.js} +2 -2
  131. package/dist/components/{p-dfe9194c.js.map → p-6dfe1ebf.js.map} +1 -1
  132. package/dist/components/{p-09708c58.js → p-82a3ab58.js} +2 -2
  133. package/dist/components/{p-09708c58.js.map → p-82a3ab58.js.map} +1 -1
  134. package/dist/components/{p-8f5f3aa5.js → p-8710e0f4.js} +2 -2
  135. package/dist/components/{p-8f5f3aa5.js.map → p-8710e0f4.js.map} +1 -1
  136. package/dist/components/{p-073ef656.js → p-89c70ab8.js} +2 -2
  137. package/dist/components/{p-073ef656.js.map → p-89c70ab8.js.map} +1 -1
  138. package/dist/components/{p-55c3c2f3.js → p-8be88187.js} +3 -3
  139. package/dist/components/{p-55c3c2f3.js.map → p-8be88187.js.map} +1 -1
  140. package/dist/components/{p-260fe4d2.js → p-8c105c41.js} +10 -8
  141. package/dist/components/p-8c105c41.js.map +1 -0
  142. package/dist/components/{p-72f2c088.js → p-96d8d9cd.js} +2 -2
  143. package/dist/components/{p-72f2c088.js.map → p-96d8d9cd.js.map} +1 -1
  144. package/dist/components/{p-8c57e5da.js → p-9d5851d0.js} +18 -15
  145. package/dist/components/p-9d5851d0.js.map +1 -0
  146. package/dist/components/{p-4da41d2e.js → p-9ef75780.js} +2 -2
  147. package/dist/components/{p-4da41d2e.js.map → p-9ef75780.js.map} +1 -1
  148. package/dist/components/{p-2bd54aaa.js → p-b6b7d110.js} +6 -6
  149. package/dist/components/{p-2bd54aaa.js.map → p-b6b7d110.js.map} +1 -1
  150. package/dist/components/{p-cb684a84.js → p-beff7573.js} +2 -2
  151. package/dist/components/{p-cb684a84.js.map → p-beff7573.js.map} +1 -1
  152. package/dist/components/{p-4d2dad1c.js → p-d75d024a.js} +7 -7
  153. package/dist/components/{p-4d2dad1c.js.map → p-d75d024a.js.map} +1 -1
  154. package/dist/components/{p-2aefd84f.js → p-db801532.js} +3 -3
  155. package/dist/components/{p-2aefd84f.js.map → p-db801532.js.map} +1 -1
  156. package/dist/components/{p-57be9ed0.js → p-ea4ef5f2.js} +3 -3
  157. package/dist/components/{p-57be9ed0.js.map → p-ea4ef5f2.js.map} +1 -1
  158. package/dist/components/{p-07b3e0e2.js → p-f41d7ec5.js} +8 -8
  159. package/dist/components/p-f41d7ec5.js.map +1 -0
  160. package/dist/components/test-input-tag.js +13 -13
  161. package/dist/components/test-input-tag.js.map +1 -1
  162. package/dist/esm/{gb-avatar_39.entry.js → gb-avatar_38.entry.js} +149 -150
  163. package/dist/esm/gb-avatar_38.entry.js.map +1 -0
  164. package/dist/esm/gb-megainput-field.entry.js +2 -2
  165. package/dist/esm/gb-progress-bar.entry.js +1 -1
  166. package/dist/esm/gb-progress-circle.entry.js +1 -1
  167. package/dist/esm/gb-rich-text.entry.js +1 -1
  168. package/dist/esm/gb-scrollbar.entry.js +1 -1
  169. package/dist/esm/gb-slider.entry.js +1 -1
  170. package/dist/esm/gb-toggle.entry.js +1 -1
  171. package/dist/esm/gb-token-field.entry.js +1 -1
  172. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  173. package/dist/esm/globuscomponents.js +1 -1
  174. package/dist/esm/loader.js +1 -1
  175. package/dist/esm/test-input-tag.entry.js +104 -0
  176. package/dist/esm/test-input-tag.entry.js.map +1 -0
  177. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  178. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  179. package/dist/globuscomponents/{p-5f8111cf.entry.js → p-15215034.entry.js} +2 -2
  180. package/dist/globuscomponents/{p-b5ff56f6.entry.js → p-19383348.entry.js} +2 -2
  181. package/dist/globuscomponents/{p-6194ba21.entry.js → p-31d21f36.entry.js} +2 -2
  182. package/dist/globuscomponents/{p-bfe20997.entry.js → p-557f65a4.entry.js} +2 -2
  183. package/dist/globuscomponents/{p-4d400d11.entry.js → p-5c7d1754.entry.js} +2 -2
  184. package/dist/globuscomponents/p-7682d7e8.entry.js +2 -0
  185. package/dist/globuscomponents/p-7682d7e8.entry.js.map +1 -0
  186. package/dist/globuscomponents/{p-817c9a0f.entry.js → p-77859fd7.entry.js} +2 -2
  187. package/dist/globuscomponents/{p-109a1a02.entry.js → p-89d90763.entry.js} +2 -2
  188. package/dist/globuscomponents/p-89d90763.entry.js.map +1 -0
  189. package/dist/globuscomponents/{p-8611fc78.entry.js → p-939426f9.entry.js} +2 -2
  190. package/dist/globuscomponents/{p-b91d2c78.entry.js → p-ab4ad2bd.entry.js} +2 -2
  191. package/dist/globuscomponents/{p-308d65ef.entry.js → p-d5ea1db7.entry.js} +2 -2
  192. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +2 -0
  193. package/dist/types/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.d.ts +1 -1
  194. package/dist/types/components/gb-input-field/gb-input-field.d.ts +26 -2
  195. package/dist/types/components/test-input-tag/test-input-tag.d.ts +1 -1
  196. package/dist/types/components.d.ts +31 -4
  197. package/package.json +1 -1
  198. package/dist/cjs/gb-avatar_39.cjs.entry.js.map +0 -1
  199. package/dist/components/p-07b3e0e2.js.map +0 -1
  200. package/dist/components/p-260fe4d2.js.map +0 -1
  201. package/dist/components/p-8c57e5da.js.map +0 -1
  202. package/dist/esm/gb-avatar_39.entry.js.map +0 -1
  203. package/dist/globuscomponents/p-109a1a02.entry.js.map +0 -1
  204. /package/dist/globuscomponents/{p-5f8111cf.entry.js.map → p-15215034.entry.js.map} +0 -0
  205. /package/dist/globuscomponents/{p-b5ff56f6.entry.js.map → p-19383348.entry.js.map} +0 -0
  206. /package/dist/globuscomponents/{p-6194ba21.entry.js.map → p-31d21f36.entry.js.map} +0 -0
  207. /package/dist/globuscomponents/{p-bfe20997.entry.js.map → p-557f65a4.entry.js.map} +0 -0
  208. /package/dist/globuscomponents/{p-4d400d11.entry.js.map → p-5c7d1754.entry.js.map} +0 -0
  209. /package/dist/globuscomponents/{p-817c9a0f.entry.js.map → p-77859fd7.entry.js.map} +0 -0
  210. /package/dist/globuscomponents/{p-8611fc78.entry.js.map → p-939426f9.entry.js.map} +0 -0
  211. /package/dist/globuscomponents/{p-b91d2c78.entry.js.map → p-ab4ad2bd.entry.js.map} +0 -0
  212. /package/dist/globuscomponents/{p-308d65ef.entry.js.map → p-d5ea1db7.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"gb-pagination.js","sourceRoot":"","sources":["../../../src/components/gb-pagination/gb-pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAQpE,MAAM,OAAO,YAAY;;;;;;;uBAMsB,CAAC,EAAE,CAAC;gCACK,EAAE;;IAExD,uBAAuB;QACrB,IAAI,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC;YACjE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;IAED,mBAAmB;QACjB,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;YACtE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QAC1C,CAAC;IAC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C,KAAK,EAAC,SAAS,kBAAe,IAAI,uBAAoB,0BAA0B,GAAa;gBACzJ,4DAAK,KAAK,EAAC,kBAAkB;oBAC3B,0DAAG,KAAK,EAAC,gBAAgB;;wBACjB,IAAI,CAAC,WAAW;;wBAAM,IAAI,CAAC,UAAU,CACzC,CACA;gBACN,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,kBAAe,IAAI,uBAAoB,2BAA2B,GAAa,CACzJ,CACJ,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, State } from \"@stencil/core\";\r\nimport { BreakPoints, PaginationNumberShapes, PaginationTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-pagination',\r\n styleUrl: 'gb-pagination.css',\r\n shadow: true,\r\n})\r\nexport class GbPagination {\r\n @Prop() type: PaginationTypes;\r\n @Prop() shape: PaginationNumberShapes;\r\n @Prop() breakpoint: BreakPoints;\r\n @Prop({ mutable: true }) currentPage: number;\r\n @Prop({ mutable: true }) totalPages: number;\r\n @Prop({ mutable: true }) entries: number[] = [10];\r\n @State() selectedPageSize: number | string | object = 10;\r\n\r\n onPreviousButtonClicked() {\r\n if (this.currentPage === this.totalPages || this.currentPage > 1) {\r\n this.currentPage = this.currentPage - 1;\r\n }\r\n }\r\n\r\n onNextButtonClicked() {\r\n if (this.currentPage === 1 || this.currentPage <= this.totalPages - 1) {\r\n this.currentPage = this.currentPage + 1;\r\n }\r\n }\r\n\r\n handlePageSizeSelect(item: number | string | object) {\r\n console.log(this.entries)\r\n this.selectedPageSize = item;\r\n console.log('Selected page size:', item);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`pagination_div ${this.type} ${this.breakpoint}`}>\r\n {/* Desktop Breakpoint Pagination */}\r\n {this.type === 'page_default' && this.breakpoint === 'desktop' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"default\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-left-02.svg\">\r\n <p>Previous</p>\r\n </gb-button>\r\n\r\n <div class=\"pagination_numbers\">\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">1</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">2</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 3 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">3</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape}>\r\n <p slot=\"page_number\">...</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 2}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 1}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages}</p>\r\n </gb-pagination-number-base>\r\n </div>\r\n\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"default\" state=\"default\" icon-trailing={true} icon-trailing-swap=\"assets/arrow-right-02.svg\">\r\n <p>Next</p>\r\n </gb-button>\r\n </>\r\n )}\r\n {this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-left-02.svg\">\r\n <p>Previous</p>\r\n </gb-button>\r\n\r\n <div class=\"pagination_numbers\">\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">1</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">2</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 3 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">3</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape}>\r\n <p slot=\"page_number\">...</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 2}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 1}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages}</p>\r\n </gb-pagination-number-base>\r\n </div>\r\n\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" icon-trailing={true} icon-trailing-swap=\"assets/arrow-right-02.svg\">\r\n <p>Next</p>\r\n </gb-button>\r\n </>\r\n )}\r\n {this.type === 'card_default' && this.breakpoint === 'desktop' && (\r\n <>\r\n <div class=\"entries\">\r\n <div class=\"entries_text\">\r\n <p class={`text-sm-medium`} style={{ color: 'var(--color-text, #4B5565)' }}>\r\n Entries\r\n </p>\r\n </div>\r\n <div class={`entries_dropdown`}>\r\n <gb-input-dropdown\r\n type=\"default\"\r\n state=\"default\"\r\n size=\"sm\"\r\n show-label={false}\r\n show-hint-text={false}\r\n show-supporting-text={false}\r\n show-help-icon={false}\r\n items={this.entries}\r\n menu-position=\"bottom\"\r\n ></gb-input-dropdown>\r\n </div>\r\n </div>\r\n <div class=\"pagination_numbers\">\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 1 ? 'active' : 'default'} onClick={() => (this.currentPage = 1)}>\r\n <p slot=\"page_number\">1</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 2 ? 'active' : 'default'} onClick={() => (this.currentPage = 2)}>\r\n <p slot=\"page_number\">2</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 3 ? 'active' : 'default'} onClick={() => (this.currentPage = 3)}>\r\n <p slot=\"page_number\">3</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape} state=\"default\">\r\n <p slot=\"page_number\">...</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base\r\n shape={this.shape}\r\n state={this.currentPage === this.totalPages - 2 ? 'active' : 'default'}\r\n onClick={() => (this.currentPage = this.totalPages - 2)}\r\n >\r\n <p slot=\"page_number\">{this.totalPages - 2}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base\r\n shape={this.shape}\r\n state={this.currentPage === this.totalPages - 1 ? 'active' : 'default'}\r\n onClick={() => (this.currentPage = this.totalPages - 1)}\r\n >\r\n <p slot=\"page_number\">{this.totalPages - 1}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base\r\n shape={this.shape}\r\n state={this.currentPage === this.totalPages ? 'active' : 'default'}\r\n onClick={() => (this.currentPage = this.totalPages)}\r\n >\r\n <p slot=\"page_number\">{this.totalPages}</p>\r\n </gb-pagination-number-base>\r\n </div>\r\n <div class=\"buttons\">\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"secondary_gray\"\r\n icon=\"only\"\r\n state=\"default\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/arrow-left-02.svg\"\r\n onClick={() => this.onPreviousButtonClicked()}\r\n ></gb-button>\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"secondary_gray\"\r\n icon=\"only\"\r\n state=\"default\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/arrow-right-02.svg\"\r\n onClick={() => this.onNextButtonClicked()}\r\n ></gb-button>\r\n </div>\r\n </>\r\n )}\r\n {this.type === 'card_minimal_right_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <div class=\"entries\">\r\n <div class=\"entries_text\">\r\n <p class={`text-sm-medium`} style={{ color: 'var(--color-text, #4B5565)' }}>\r\n Entries\r\n </p>\r\n </div>\r\n <div class={`entries_dropdown`}>\r\n <gb-input-dropdown\r\n type=\"default\"\r\n state={'default'}\r\n size=\"sm\"\r\n show-label={false}\r\n show-hint-text={false}\r\n show-supporting-text={false}\r\n show-hep-icon={false}\r\n items={this.entries}\r\n menu-position=\"top\"\r\n ></gb-input-dropdown>\r\n </div>\r\n </div>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <div class=\"buttons\">\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onPreviousButtonClicked()}>\r\n <p>Previous</p>\r\n </gb-button>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onNextButtonClicked()}>\r\n <p>Next</p>\r\n </gb-button>\r\n </div>\r\n </>\r\n )}\r\n {this.type === 'card_minimal_left_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <div class=\"buttons\">\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onPreviousButtonClicked()}>\r\n <p>Previous</p>\r\n </gb-button>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onNextButtonClicked()}>\r\n <p>Next</p>\r\n </gb-button>\r\n </div>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <div class=\"entries\">\r\n <div class=\"entries_text\">\r\n <p class={`text-sm-medium`} style={{ color: 'var(--color-text, #4B5565)' }}>\r\n Entries\r\n </p>\r\n </div>\r\n <div class={`entries_dropdown`}>\r\n <gb-input-dropdown\r\n type=\"default\"\r\n state={'default'}\r\n size=\"sm\"\r\n show-label={false}\r\n show-hint-text={false}\r\n show-supporting-text={false}\r\n show-hep-icon={false}\r\n items={this.entries}\r\n menu-position=\"top\"\r\n ></gb-input-dropdown>\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n {this.type === 'card_minimal_center_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onPreviousButtonClicked()}>\r\n <p>Previous</p>\r\n </gb-button>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onNextButtonClicked()}>\r\n <p>Next</p>\r\n </gb-button>\r\n </>\r\n )}\r\n {/* Mobile Breakpoint Pagination */}\r\n {this.type === 'page_default' && this.breakpoint === 'mobile' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"only\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-left-02.svg\"></gb-button>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"only\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-right-02.svg\"></gb-button>\r\n </>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, State } from \"@stencil/core\";\r\nimport { BreakPoints, PaginationNumberShapes, PaginationTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-pagination',\r\n styleUrl: 'gb-pagination.css',\r\n shadow: false,\r\n})\r\nexport class GbPagination {\r\n @Prop() type: PaginationTypes;\r\n @Prop() shape: PaginationNumberShapes;\r\n @Prop() breakpoint: BreakPoints;\r\n @Prop({ mutable: true }) currentPage: number;\r\n @Prop({ mutable: true }) totalPages: number;\r\n @Prop({ mutable: true }) entries: number[] = [10, 20, 50, 80, 100];\r\n @State() selectedPageSize: number | string | object = 10;\r\n\r\n onPreviousButtonClicked() {\r\n if (this.currentPage === this.totalPages || this.currentPage > 1) {\r\n this.currentPage = this.currentPage - 1;\r\n }\r\n }\r\n\r\n onNextButtonClicked() {\r\n if (this.currentPage === 1 || this.currentPage <= this.totalPages - 1) {\r\n this.currentPage = this.currentPage + 1;\r\n }\r\n }\r\n\r\n handlePageSizeSelect(item: number | string | object) {\r\n console.log(this.entries);\r\n this.selectedPageSize = item;\r\n console.log('Selected page size:', item);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`pagination_div ${this.type} ${this.breakpoint}`}>\r\n {/* Desktop Breakpoint Pagination */}\r\n {this.type === 'page_default' && this.breakpoint === 'desktop' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"default\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-left-02.svg\">\r\n <p>Previous</p>\r\n </gb-button>\r\n\r\n <div class=\"pagination_numbers\">\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">1</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">2</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 3 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">3</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape}>\r\n <p slot=\"page_number\">...</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 2}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 1}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages}</p>\r\n </gb-pagination-number-base>\r\n </div>\r\n\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"default\" state=\"default\" icon-trailing={true} icon-trailing-swap=\"assets/arrow-right-02.svg\">\r\n <p>Next</p>\r\n </gb-button>\r\n </>\r\n )}\r\n {this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-left-02.svg\">\r\n <p>Previous</p>\r\n </gb-button>\r\n\r\n <div class=\"pagination_numbers\">\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">1</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">2</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 3 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">3</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape}>\r\n <p slot=\"page_number\">...</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 2}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages - 1 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages - 1}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.totalPages}</p>\r\n </gb-pagination-number-base>\r\n </div>\r\n\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" icon-trailing={true} icon-trailing-swap=\"assets/arrow-right-02.svg\">\r\n <p>Next</p>\r\n </gb-button>\r\n </>\r\n )}\r\n {this.type === 'card_default' && this.breakpoint === 'desktop' && (\r\n <>\r\n <div class=\"pagination_entries\">\r\n <div class=\"entries_text\">\r\n <p class={`text-sm-medium`} style={{ color: 'var(--color-text, #4B5565)' }}>\r\n Entries\r\n </p>\r\n </div>\r\n <div class={`entries_dropdown`}>\r\n <gb-input-dropdown\r\n type=\"default\"\r\n state=\"default\"\r\n size=\"sm\"\r\n show-label={false}\r\n show-hint-text={false}\r\n show-supporting-text={false}\r\n show-help-icon={false}\r\n items={this.entries}\r\n menu-position=\"top\"\r\n ></gb-input-dropdown>\r\n </div>\r\n </div>\r\n <div class=\"pagination_numbers\">\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 1 ? 'active' : 'default'} onClick={() => (this.currentPage = 1)}>\r\n <p slot=\"page_number\">1</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 2 ? 'active' : 'default'} onClick={() => (this.currentPage = 2)}>\r\n <p slot=\"page_number\">2</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage === 3 ? 'active' : 'default'} onClick={() => (this.currentPage = 3)}>\r\n <p slot=\"page_number\">3</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > 3 && this.currentPage <= this.totalPages / 2 ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base shape={this.shape} state=\"default\">\r\n <p slot=\"page_number\">...</p>\r\n </gb-pagination-number-base>\r\n {this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages - 2 ? (\r\n <gb-pagination-number-base shape={this.shape} state={this.currentPage > this.totalPages / 2 && this.currentPage < this.totalPages ? 'active' : 'default'}>\r\n <p slot=\"page_number\">{this.currentPage}</p>\r\n </gb-pagination-number-base>\r\n ) : null}\r\n <gb-pagination-number-base\r\n shape={this.shape}\r\n state={this.currentPage === this.totalPages - 2 ? 'active' : 'default'}\r\n onClick={() => (this.currentPage = this.totalPages - 2)}\r\n >\r\n <p slot=\"page_number\">{this.totalPages - 2}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base\r\n shape={this.shape}\r\n state={this.currentPage === this.totalPages - 1 ? 'active' : 'default'}\r\n onClick={() => (this.currentPage = this.totalPages - 1)}\r\n >\r\n <p slot=\"page_number\">{this.totalPages - 1}</p>\r\n </gb-pagination-number-base>\r\n <gb-pagination-number-base\r\n shape={this.shape}\r\n state={this.currentPage === this.totalPages ? 'active' : 'default'}\r\n onClick={() => (this.currentPage = this.totalPages)}\r\n >\r\n <p slot=\"page_number\">{this.totalPages}</p>\r\n </gb-pagination-number-base>\r\n </div>\r\n <div class=\"pagination_btns\">\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"secondary_gray\"\r\n icon=\"only\"\r\n state=\"default\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/arrow-left-02.svg\"\r\n onClick={() => this.onPreviousButtonClicked()}\r\n ></gb-button>\r\n <gb-button\r\n size=\"sm\"\r\n hierarchy=\"secondary_gray\"\r\n icon=\"only\"\r\n state=\"default\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/arrow-right-02.svg\"\r\n onClick={() => this.onNextButtonClicked()}\r\n ></gb-button>\r\n </div>\r\n </>\r\n )}\r\n {this.type === 'card_minimal_right_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <div class=\"pagination_entries\">\r\n <div class=\"entries_text\">\r\n <p class={`text-sm-medium`} style={{ color: 'var(--color-text, #4B5565)' }}>\r\n Entries\r\n </p>\r\n </div>\r\n <div class={`entries_dropdown`}>\r\n <gb-input-dropdown\r\n type=\"default\"\r\n state={'default'}\r\n size=\"sm\"\r\n show-label={false}\r\n show-hint-text={false}\r\n show-supporting-text={false}\r\n show-hep-icon={false}\r\n items={this.entries}\r\n menu-position=\"top\"\r\n ></gb-input-dropdown>\r\n </div>\r\n </div>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <div class=\"pagination_btns\">\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onPreviousButtonClicked()}>\r\n <p>Previous</p>\r\n </gb-button>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onNextButtonClicked()}>\r\n <p>Next</p>\r\n </gb-button>\r\n </div>\r\n </>\r\n )}\r\n {this.type === 'card_minimal_left_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <div class=\"pagination_btns\">\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onPreviousButtonClicked()}>\r\n <p>Previous</p>\r\n </gb-button>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onNextButtonClicked()}>\r\n <p>Next</p>\r\n </gb-button>\r\n </div>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <div class=\"pagination_entries\">\r\n <div class=\"entries_text\">\r\n <p class={`text-sm-medium`} style={{ color: 'var(--color-text, #4B5565)' }}>\r\n Entries\r\n </p>\r\n </div>\r\n <div class={`entries_dropdown`}>\r\n <gb-input-dropdown\r\n type=\"default\"\r\n state={'default'}\r\n size=\"sm\"\r\n show-label={false}\r\n show-hint-text={false}\r\n show-supporting-text={false}\r\n show-hep-icon={false}\r\n items={this.entries}\r\n menu-position=\"top\"\r\n ></gb-input-dropdown>\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n {this.type === 'card_minimal_center_aligned' && this.breakpoint === 'desktop' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onPreviousButtonClicked()}>\r\n <p>Previous</p>\r\n </gb-button>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"default\" state=\"default\" onClick={() => this.onNextButtonClicked()}>\r\n <p>Next</p>\r\n </gb-button>\r\n </>\r\n )}\r\n {/* Mobile Breakpoint Pagination */}\r\n {this.type === 'page_default' && this.breakpoint === 'mobile' && (\r\n <>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"only\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-left-02.svg\"></gb-button>\r\n <div class=\"page_number_text\">\r\n <p class=\"text-sm-medium\">\r\n Page {this.currentPage} of {this.totalPages}\r\n </p>\r\n </div>\r\n <gb-button size=\"sm\" hierarchy=\"secondary_gray\" icon=\"only\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/arrow-right-02.svg\"></gb-button>\r\n </>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -12,7 +12,7 @@ export class GbPaginationButtonGroupBase {
12
12
  }
13
13
  }
14
14
  render() {
15
- return (h("div", { key: 'b9fab3da659e5221e920a98409c7f948f94ee35f', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: '77e65e545ad532c11efd746d6566b1b5b6ece7b3' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: '2891b0433a47fc665d27569934141a56c53d1522', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ff6b200d03783cfd4870b38d06ea094621eecf85', d: "M3.33325 9.99981H16.6666M3.33325 9.99981C3.33326 11.0978 7.49975 14.1667 7.49975 14.1667M3.33325 9.99981C3.33324 8.90182 7.49978 5.83334 7.49978 5.83334", stroke: "#4B5565", "stroke-width": "1.67", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("slot", { key: '6739b0652e5f6c7325b710ee9f7010bd0adf6a8c' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: '8ef5989a0d60eae4ae7164a2ac249dffaca5664a' }), this.iconTrailing && (h("svg", { key: '2bd35321b7954113fc61d7f4fadcf85939d8df66', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b92028aeda8cc1b55cb9634f9144147796472777', d: "M16.6668 9.99984H3.3335M16.6668 9.99984C16.6668 11.0978 12.5003 14.1667 12.5003 14.1667M16.6668 9.99984C16.6669 8.90185 12.5002 5.83337 12.5002 5.83337", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
15
+ return (h("div", { key: 'afad9e14d1d3d611d1596a3b4e1d8886df849dc2', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: '9117cafc1c6c9bc60ed182ecdd91fc141f7d58ac' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: '577976b582c085e4dba57d92e9e4ba9d787c2769', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2a2fb0636e919da8744cc56c65e9ba0b3a8be578', d: "M3.33325 9.99981H16.6666M3.33325 9.99981C3.33326 11.0978 7.49975 14.1667 7.49975 14.1667M3.33325 9.99981C3.33324 8.90182 7.49978 5.83334 7.49978 5.83334", stroke: "#4B5565", "stroke-width": "1.67", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("slot", { key: '8a9d84a0c560b13eb03269b045393d5991934d84' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: 'e5c9d438db6d34c5493149293fc79f4a2dc0fcac' }), this.iconTrailing && (h("svg", { key: '0099f7bd86d13709291a84c65fbeed3fcbd977f7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5fa8104cf1840c458d6c05cc9a7fa9941111d632', d: "M16.6668 9.99984H3.3335M16.6668 9.99984C16.6668 11.0978 12.5003 14.1667 12.5003 14.1667M16.6668 9.99984C16.6669 8.90185 12.5002 5.83337 12.5002 5.83337", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
16
16
  }
17
17
  static get is() { return "gb-pagination-button-group-base"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class GbPaginationDotIndicator {
6
6
  this.size = undefined;
7
7
  }
8
8
  render() {
9
- return h("div", { key: 'cde98b26e7490586b71d7ca2b379e3a159f4e3d6', class: `dot_indicator_div
9
+ return h("div", { key: 'f9eff94dd178ecad5d3aa02e24d54868776da5d5', class: `dot_indicator_div
10
10
  ${this.type} ${this.current ? 'current' : ''}
11
11
  ${this.size}` });
12
12
  }
@@ -17,7 +17,7 @@ export class GbPaginationNumberBase {
17
17
  }
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '883939f9a5ee44cfa2426696c4868d13d119a0ff', class: `page_number_base ${this.shape} ${this.state}` }, h("slot", { key: '80489c23a8e70213254cfbff64ffe20414b59fb6', name: "page_number" })));
20
+ return (h("div", { key: 'eaf62beb1b733fd2c9326e6ca8c107a0456038a3', class: `page_number_base ${this.shape} ${this.state}` }, h("slot", { key: '42c56fa3de4e253b94c93c71a44987d75dae14e5', name: "page_number" })));
21
21
  }
22
22
  static get is() { return "gb-pagination-number-base"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class GbPasswordButton {
8
8
  this.isPasswordVisible = !this.isPasswordVisible;
9
9
  }
10
10
  render() {
11
- return (h("div", { key: 'f762076f0b62a22cc00279c6b1f40610d0a4fe2e' }, h("gb-btn", { key: '47a930e4d5e96d5f8a3d67296cbb8ebad4bfa190', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
11
+ return (h("div", { key: '44c4cd49773121e16bcf89bf47064bb7e4d70c94' }, h("gb-btn", { key: '168abc131c7bd74bbc2836a93fce5414fc2eae09', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
12
12
  }
13
13
  static get is() { return "gb-password-button"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class GbProgressBar {
8
8
  }
9
9
  render() {
10
10
  const progressValue = Math.min(Math.max(this.progress, 0), 100);
11
- return (h("div", { key: 'e35dac441c3f6aeaf9092504edfb182632988ebb', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: 'bce0ea3a169db03b540400891d021e8bdf04417b', class: "progress_bar" }, h("div", { key: '1591c7a56aa4adc512fda45f2eb1b500edde3c58', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: '195d0a3c34a9f6561ba49f711349d789d2e02c5d', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: '8aa492bad0989722792522688fbbd39ab5871ebc', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: '683fd5a9ce2632a538da1551a54853cf229deda3', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: '402e906fa5e11a3c81289bbe86170f9c652053ed', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: '48236d8a38b4d975fdf83632315c6bd00800c344', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '505a782b95b42cad4977cbe132577cf5a392519a', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: '74081afee803ef7486939923326f05e230c2502c', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
11
+ return (h("div", { key: '1070ff9d4098e3505c7051703cdcf70ed25dcdee', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: '2f83a6c4b2930bf7341541ddbc666facf2d453ab', class: "progress_bar" }, h("div", { key: 'f1b58aad0ff51b10baff111a68a14a226ff2b32f', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: '27bf2ea7adf030368ccfb1438458bd97b23b46e3', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: 'db44c9708f598ed4cdb6b5a6cc8076ba7041fc81', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: '71dd9331d6047978587b93c3d9698bf86470d4a4', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: 'd0a3683b773532ca435f9b288f2e390f2022aec9', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: 'f50be7af9ce43ce3d9637fed86622b7264a114aa', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '36e41bf58907dd9a534199c8c3a2da86c20d2256', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: 'fd11aae5cbfe2221e0f0a3bbb549a13fe74d308a', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
12
12
  }
13
13
  static get is() { return "gb-progress-bar"; }
14
14
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,7 @@ export class GbProgressCircle {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h("div", { key: '86a441d6e5ed223c4d7820c4dbdfd0abdba4ae03', class: "gauge" }, h("div", { key: '33764c8e402e63fcd4a40a5dbf7ea487390c0495', class: "arc", ref: el => (this.arcElement = el) }), h("div", { key: '8f440d51077ee43d9048639abf3ca958701668f6', class: "mask" }), this.label && (h("div", { key: '7116e0b31aa17857db6dac890a2deed90e84bbac', class: "label", ref: el => (this.labelElement = el) }, h("p", { key: '5888645e91d2efd3b9f8d165ee6a9587fc76bc20', class: "display-lg-semi-bold" }, `${this.progress}%`)))));
33
+ return (h("div", { key: 'f917fcc84081c8d4b50bec01bafc6a91f9c0ccef', class: "gauge" }, h("div", { key: '257ced75e4409fff171da6d9276586971c1692ac', class: "arc", ref: el => (this.arcElement = el) }), h("div", { key: 'cd7864b6c048b23e8965f103c88264611f244c9d', class: "mask" }), this.label && (h("div", { key: '04c47fc6fcbf526103dc0f507cd6db40825efc7a', class: "label", ref: el => (this.labelElement = el) }, h("p", { key: '0292247ff2f5b729fca817d01e1a212ed63ac8f2', class: "display-lg-semi-bold" }, `${this.progress}%`)))));
34
34
  }
35
35
  static get is() { return "gb-progress-circle"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class GbRichText {
15
15
  destructive: this.destructive,
16
16
  disabled: this.state === 'disabled'
17
17
  };
18
- return (h("div", { key: '9c734bd9c3b20347808fc49afc53e07d59ee2b63', class: classes }, h("div", { key: '2be5c4f7eb0f8492b5aea7807c1ee9f061cc0c13', class: "input-with-label" }, h("label", { key: '7b887091be4c28333339e7c9a398e597d4b4915b' }, this.label), h("div", { key: '712e9fd52334eb221a500c30903ace58f12fcca0', class: "input-container" }, h("div", { key: '0124747e40a6770690ab1a652e999f69991a3914', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: 'a6b657782ca6782763c13f70775595d1cd740a37', breakpoint: "desktop", bold: true, italic: true, h1: true, h2: true, quote: true, link: true, image: true, bulletList: true, numberList: true })), this.destructive && (h("span", { key: '65c8ddb26e76741de42c0ef5399794626c6a6971', class: "error-icon" }, h("svg", { key: '3fb976c43a836d14d658e3f4d0dd0f7dbed17960', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'a95e5055cdeb4a0221f4e4719da80546db192028', d: "M7.99483 10H8.00081M8.00016 8V5.33333M14.6668 8C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667C4.31826 14.6667 1.3335 11.6819 1.3335 8C1.3335 4.3181 4.31826 1.33333 8.00016 1.33333C11.6821 1.33333 14.6668 4.3181 14.6668 8Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '6345bd6ca3d2e85fdcd7c88de31d779c58dc3a2a', class: "text-container" }, h("textarea", { key: '695b05ddb4654ed792350c010b373990bef5b6c5' }, this.showPlaceholder && (h("div", { key: 'e9d883b9663de2dc8844c5c7a54839a27e0f60b7' }, this.placeholder)))))), this.showHintText && (h("div", { key: '4c1b9bf584d6b58c35012e4215f53e8a2108ebc7', class: "hint-text" }, this.hintText))));
18
+ return (h("div", { key: '8fda531f7da62c067e1e90685e8a081397d76bf2', class: classes }, h("div", { key: '8227eedd2cdab22a7e33e5cd351edf3b1e12663a', class: "input-with-label" }, h("label", { key: 'e81a9bdb13f221c7d80a6cfba0cad91c47c6cc8d' }, this.label), h("div", { key: '743638a9433ac47906d2769dd06e7f1083c82b44', class: "input-container" }, h("div", { key: '975f9a3b31d31284bd76f73893a30fc3a802bdbf', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '3728f1551d272af0152f041952d9cb6afb13561d', breakpoint: "desktop", bold: true, italic: true, h1: true, h2: true, quote: true, link: true, image: true, bulletList: true, numberList: true })), this.destructive && (h("span", { key: '424400c4f6b5a855850e6b82dbb4e1e0e7558935', class: "error-icon" }, h("svg", { key: '79b1067a7ce2c5afb80e5832e5602caea0b4da29', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '5e982101ffb08ae898e7838b41d7c03566d66e8e', d: "M7.99483 10H8.00081M8.00016 8V5.33333M14.6668 8C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667C4.31826 14.6667 1.3335 11.6819 1.3335 8C1.3335 4.3181 4.31826 1.33333 8.00016 1.33333C11.6821 1.33333 14.6668 4.3181 14.6668 8Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '216f2c362d54d2a02ada77aeb3ca3b418c845380', class: "text-container" }, h("textarea", { key: '8c45aea65dcab8537feba5819c50212a22cf0ce9' }, this.showPlaceholder && (h("div", { key: 'ea29327d28f402bad39f52fe33eadb2e9d4caf8e' }, this.placeholder)))))), this.showHintText && (h("div", { key: 'fcdb14a42b1aabb9c160ac2206558daf094702c6', class: "hint-text" }, this.hintText))));
19
19
  }
20
20
  static get is() { return "gb-rich-text"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class GbScrollbar {
4
4
  this.length = '25%';
5
5
  }
6
6
  render() {
7
- return (h("div", { key: '49f302e65bcfa9a640e552342405a14cfe59d6e5', class: "scrollbar-container" }, h("div", { key: '6afc4f8b53408efc9a07c6bc217859334e1854ca', class: "scrollbar", style: { height: this.length } }, h("slot", { key: '28f9c940ff901dda0841480fc90310044a634015' }))));
7
+ return (h("div", { key: '0f830ac22bc6481da826a93b2dcf1356ae9a3782', class: "scrollbar-container" }, h("div", { key: '59753243aee37674c4bc975d0e8c385a2c5d266d', class: "scrollbar", style: { height: this.length } }, h("slot", { key: 'cc3389a157c765bb263d8f0974ca6bb167ee6bf4' }))));
8
8
  }
9
9
  static get is() { return "gb-scrollbar"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class GbSideBarItem {
32
32
  render() {
33
33
  const redBarSrc = getAssetPath(`assets/bar.svg`);
34
34
  const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
35
- return (h("div", { key: 'e0ecfcd3d22d61576ada58489087e13861943c46', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: 'e8fd347a55e106086cf802fb1edd33b922df99a4', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '5e36b3899a6786fe3a52bcb8940a7937752a3f5e', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: 'd6ccf0dc6791d48c39cc50248fdc0fecbaa0e49e', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '1a6ebb4e0bbb5a3ea18c6580610822d691d84988', class: "content" }, h("div", { key: '2c87693031314b783c77abd6aef3f578e8129333', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: 'c7338230f3bcf614d58ee78c035699dc3e04d641', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: 'd5fed61f7c10fb3a6f44c65f4a591cccb3797ab1', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '145a532f3510510b9784c68d69dcb97ae0f797cc' }, "10"))), this.showArrow && (h("svg", { key: 'ba108cd0ec3001d26ed98769892fc826f23fbca8', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: '4c12eff30b4cee5ad0b643577264dcee4db60ae6', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: '0246bb45f2e03981b1a79ed53c93e136d22944c6', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '57c698fa93de9e0b7dcabc9005b1c1ae71dbad53', slot: "label" }, this.label)))));
35
+ return (h("div", { key: '2bf3a79f5b642cf386a720c943ea47f5f92a28dd', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '8adadd50edc8f8e0b371d9e5ca915c56e36a1f2d', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'dc03594ca8cb7392fd5419a2dd5b9ee0bf78899e', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '16f87283672c2aa00d5237e8fec4fe106ba3d42a', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '7ac2059c077310677219edff1bde1c88502c0e1f', class: "content" }, h("div", { key: '9b730b46658438dca5416d7479a019f708c58957', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: 'f84994c2f4123d8e866815d2e684b9a73291606b', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: 'ea05a6272ae811ae7bfd052a0fca6b93d5fbe24a', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: 'c17c3ca26a58319bf7eae3d918acee9071d6e8d1' }, "10"))), this.showArrow && (h("svg", { key: 'cae61e6535a5254547ea30c37a211828e56b12a0', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: '2410d978dbc3ba5b6c9f8e3c0aa93854883cd3c1', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: 'd8ea8f0b8d035da0cda085d95a186d0450234fcd', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '87eaf965322dc97aebaa2841faeaaedb3f57c08b', slot: "label" }, this.label)))));
36
36
  }
37
37
  static get is() { return "gb-side-bar-item"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class GbSidebar {
70
70
  const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
71
71
  const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
72
72
  const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
73
- return (h("div", { key: 'b68e4fee989d704fab05f83598c2b5cc35f0d85c', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '8acf00242ade1402968484339b08393de431bd14', class: "pattern" }, h("img", { key: 'df882f92fa4c9a969aedd52b316696efa278c1ce', src: patternSrc, alt: "" }))), h("div", { key: 'b86f8d78bf879cfa7d2b3789f738417a580a13af', class: "nav" }, h("div", { key: '0f46962196fd2287ca6fdf3d2baa77a134aa7e5c', class: `sidebar_header ${this.state}` }, h("div", { key: 'd45dbf8a828fc1280b4b57ad7355a53708309101', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: 'a46736b7860007a808b3ad195580535f4ec803ea', src: logoSrc, alt: "" })), h("div", { key: '768f0f9dfb96a804ed310af4a588c41bb8d8ed7b', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'd3d75191969118005b65f282a9a54b881970e904', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '78b8c2047bbb3c46fa91875802bb337f25ca843c', class: "navigation" }, h("div", { key: 'e6776fce434581fd5bcc5f363c426c0c6e651da7', class: "item" }, h("gb-side-bar-item", { key: '8135aa12de59aef15402aaebf35d13eff3ae328c', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: '447fbc549bae8ae2bdd143b11d46ae26683d3882', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: '93d1a8fd338885f25038f989f5bf297cabffaf5f', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: '41ed7452c5a941d28bbe95f87a9f14b8dad7be01', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '0fa46d214cd64cf0242bd626b59cb61a2033b58d', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: '457316cd30eb66223cddd21f8f8244a1223f2cab', class: "navigation" }, h("div", { key: '42bdd7d2e2013b713edabbd0f876817449ab697b', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: '00bf5b3c9f06f44b2906a9492ee72389b62e9dbb', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: 'add0be7ae3d179634e23d8d0226b67cea6a12a5f', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: '5e683294554a82b1186af8181f97615270d840b4', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: 'a7da141e401a85c34c59aa27b03c1a5a83f643e4', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: '35814988b10cebbf8c610d6fc37586bd618579d4', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: '8b2b2d128b5b2f4bc5d0e262c748fd5e5ff932c3', class: "application_name" }, h("div", { key: '53463b325e14d165d4ffcd107c656df9c891c227', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '7dd4f48c232e266b588944fa36178e5d6d34b5fc', class: "application_name_pattern" }, h("img", { key: '0f5833ae79ef1549212657d16603fdd56fe1f509', src: patternSrc, alt: "" }))), h("div", { key: '158de6d501c22ec865dfb9e5080fa4f572ac9a82', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '8e9919d088e01772d480fe35e26ff21efcfcf6dc', class: textClass }, h("slot", { key: '6b3b8c3d4eb0c1c351a59b8ccce878ee5df2d173', name: "application_name" })))))));
73
+ return (h("div", { key: 'b959fc131d23b098017e349eaacca91f07af8e8b', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '154e8b647e47e565255259755a95636fd7c2b5c7', class: "pattern" }, h("img", { key: '1be071bbe0509db0fba43f6de31b95f6b009b533', src: patternSrc, alt: "" }))), h("div", { key: '5564c9c0cce1cac6350222f6fbc975aee83e693d', class: "nav" }, h("div", { key: 'b8590c60c3fccf99dfd77255524f79f5d460a617', class: `sidebar_header ${this.state}` }, h("div", { key: 'a906f2511518518ae91ca830b2af22f518f7c1a2', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: 'd0ac5ccc25a9d06cf4ee08ca3db89784518bbeb7', src: logoSrc, alt: "" })), h("div", { key: '9e9f6128534ba98f042096b666b0693621fe1b11', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '51d205b42a06d49680b3ca1492f892c9272916ca', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: 'f55668036bb6d7f42ec1651d8da3b98bb9eb7366', class: "navigation" }, h("div", { key: 'e12c24501162ce4471c2bea937eb4e5524cfec31', class: "item" }, h("gb-side-bar-item", { key: 'e07f281485645b72842f373f84ad31d6de3de76f', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: '58da239fbb709c133d8eebecda242b312a981d8c', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: '1acf25619c8d5cd533594c3b648f6470f557e205', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: '7795bf91d2191b7b86aefcf42abda5a939d465e0', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '24a79a313af531d221c10ec391907bde9f84c500', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: 'aa04c4b524d2475533cd64608693172013e65334', class: "navigation" }, h("div", { key: '48e11736f3f7298ea627226a2e91e34a4ea2a921', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: '6a391b34f7238e47fc6b80ea66d84f02990145a8', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '1161b7c4af9ad26ea84cb772d4861d798522daab', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: '0be0b1c6ab8cfc65dcbd87cb7be00e759654e017', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: '777d7faf59246e969e9ce85a85143100df41bb4f', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: 'eadcdd85a1d43052ecaf673a5b788dd968a4eb03', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: 'e42ba69f99f5ba5b35666e36496c67f9af8464e1', class: "application_name" }, h("div", { key: 'b413374b84414240f6db30391b42cfbd098813fd', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: 'd072f946b90c608f6e03ec091c931973be021b43', class: "application_name_pattern" }, h("img", { key: '2d9f3bc11fe7bb71c032584cca43e8f3101a6b4d', src: patternSrc, alt: "" }))), h("div", { key: 'b8fe561c7b140e4c9cae6d04425dd669b342cd40', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '51d6ae9050782fa4ec46e46c967c90c9954548d8', class: textClass }, h("slot", { key: 'ba571379aefc4bd19b98ac5e317b02db2b130715', name: "application_name" })))))));
74
74
  }
75
75
  static get is() { return "gb-sidebar"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -56,7 +56,7 @@ export class GbSlider {
56
56
  this.trackEl.style.width = `${rightPos - leftPos}%`;
57
57
  }
58
58
  render() {
59
- return (h("div", { key: 'b57280228d962f2a2900a48e2c94a3950bb6cf9c', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '90834774de5986f65000aa5aa133ab96a6a9e9cb', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: '1400d4bd5514a74ab38450f0a79981d4efc030a6', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '1605dc127b71ded490ea84ef635f7cc11796a043', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
59
+ return (h("div", { key: 'a0f0f3e1fad981d3fda6387ff32f9e562446875d', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '6a8e98a0c79bb44454b3c5197123897799c46d65', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: '100f40c3a217de1b44371ef7d9c76e0bcb9bfc23', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '828a281e5350cf87df2a01d85946ac2be326ccc3', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
60
60
  }
61
61
  static get is() { return "gb-slider"; }
62
62
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class GbStatusIndicator {
9
9
  }
10
10
  render() {
11
11
  return [
12
- h("div", { key: 'd8009f9474260db0774c5596de5628dfdfa789b1' }, this.statusIcon === 'online_indicator' && h("div", { key: '45a2128fdfddefb745e85b2000c74839af90b55b', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: '1d52ae4baf815a7858674089bc19f4c969e25245', xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", class: `verified ${this.size}` }, h("g", { key: 'a5139525facedcb6daf38cfec37aef1f30b0ad43', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '086c8f1cbf7e1de0959580624792f9d938aa4013', d: "M24.7109 5.66715C25.0148 6.40217 25.5982 6.98642 26.3328 7.29145L28.9086 8.35837C29.6436 8.66285 30.2277 9.24688 30.5321 9.98196C30.8366 10.717 30.8366 11.543 30.5321 12.2781L29.466 14.852C29.1614 15.5874 29.1609 16.4142 29.467 17.1492L30.5313 19.7224C30.6822 20.0865 30.7599 20.4767 30.76 20.8708C30.7601 21.265 30.6825 21.6553 30.5316 22.0194C30.3808 22.3835 30.1597 22.7143 29.881 22.993C29.6022 23.2716 29.2713 23.4926 28.9072 23.6433L26.3332 24.7095C25.5982 25.0134 25.0139 25.5968 24.7089 26.3314L23.642 28.9071C23.3375 29.6422 22.7535 30.2262 22.0184 30.5307C21.2833 30.8352 20.4574 30.8352 19.7223 30.5307L17.1484 29.4646C16.4133 29.1608 15.5876 29.1614 14.853 29.4663L12.2772 30.5317C11.5425 30.8355 10.7173 30.8352 9.98284 30.531C9.24835 30.2267 8.66466 29.6434 8.35997 28.9091L7.29273 26.3326C6.98881 25.5975 6.40543 25.0133 5.67087 24.7083L3.09509 23.6413C2.36033 23.337 1.77648 22.7533 1.47188 22.0187C1.16729 21.284 1.16688 20.4585 1.47073 19.7235L2.53689 17.1496C2.84062 16.4145 2.84 15.5888 2.53517 14.8542L1.47054 12.2766C1.3196 11.9125 1.24188 11.5222 1.24181 11.1281C1.24175 10.734 1.31935 10.3437 1.47017 9.97956C1.621 9.61544 1.8421 9.2846 2.12083 9.00595C2.39957 8.72731 2.73047 8.50632 3.09465 8.35561L5.66858 7.28945C6.40297 6.98579 6.98687 6.40316 7.29212 5.66944L8.35904 3.09366C8.66352 2.35857 9.24754 1.77455 9.98263 1.47007C10.7177 1.16559 11.5436 1.16559 12.2787 1.47007L14.8527 2.53623C15.5878 2.83996 16.4134 2.83934 17.148 2.5345L19.7249 1.47172C20.4599 1.16741 21.2856 1.16748 22.0206 1.4719C22.7555 1.77632 23.3395 2.36017 23.644 3.09507L24.7112 5.67161L24.7109 5.66715Z", fill: "#0086C9" }), h("path", { key: 'f6adfcce54fe6a93f15005b584ba6fd92a3fa648', d: "M10 18.1818C10 18.1818 11.2857 18.1818 13 22C13 22 17.7647 12 22 10", stroke: "white", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("defs", { key: 'd6033cb233fe7ad7eb5b6a9b52dc6d99d7de98ce' }, h("clipPath", { key: '371ad555873962eb6b780da8df0ca5fb2d206806', id: "clip0_0_21453" }, h("rect", { key: 'fb27502af9fcab76dd5eacd038c73b082e023703', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: '7066b2f8a1cc208f3f3515f3374b6e7ff1e58ca1', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `company ${this.size}` }, h("path", { key: 'a373db768b6ca73fc2afb20161e6aa45d7e53c7f', d: "M18.8322 3.70039C16.9123 2.11995 14.5039 1.25399 12.0172 1.25001C10.6041 1.24776 9.20439 1.52413 7.89818 2.06333C6.59198 2.60252 5.4049 3.39397 4.40485 4.39237C2.64504 6.1493 1.54876 8.462 1.30275 10.9365C1.05674 13.411 1.67622 15.8943 3.05566 17.9633C4.43511 20.0323 6.48919 21.5591 8.86802 22.2836C11.2469 23.0081 13.8033 22.8855 16.1019 21.9367C18.4004 20.9878 20.299 19.2715 21.474 17.0799C22.6491 14.8884 23.0281 12.3572 22.5464 9.91759C22.0647 7.47798 20.7521 5.28082 18.8322 3.70039Z", fill: "#FF0033", stroke: "white", "stroke-width": "1.5" }), h("path", { key: '8103d88a0425a5f71a5482dc6f145eb4f738fcd2', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8942 13.7488V11.865L15.2835 11.8807C15.5231 11.8822 15.7598 11.9336 15.9785 12.0314C16.1973 12.1293 16.3933 12.2715 16.5541 12.449C16.715 12.6266 16.8373 12.8357 16.9131 13.063C16.989 13.2903 17.0168 13.5308 16.9948 13.7694C16.9948 16.4275 12.901 16.9969 12.8973 13.7488M12.8973 8.75316C17.3054 6.44066 17.6942 11.5213 15.0323 11.2788H12.886L12.8973 8.75316ZM16.7385 11.5113C19.8985 10.3013 17.2573 5.5894 12.0854 8.5044C11.5544 8.07132 10.9218 7.78073 10.2473 7.66004C8.96979 7.40066 7.25604 7.62628 6.29479 8.52378L6.75917 8.97941C7.2569 8.55053 7.86627 8.27194 8.51626 8.17611C9.16625 8.08028 9.83009 8.17117 10.4304 8.43816C10.6321 8.53335 10.8098 8.67262 10.9505 8.8457C11.0911 9.01879 11.191 9.22127 11.2429 9.43817L11.266 13.7669C11.0785 16.7738 7.20354 16.5413 7.20354 13.7669V11.8682H10.2492V11.295H5.59729V13.1644C5.60917 16.7175 9.93104 17.315 12.0717 15.5863C12.9471 16.2353 14.0184 16.5649 15.1073 16.52C18.9442 16.4938 19.7323 12.3563 16.7273 11.5144L16.7385 11.5113Z", fill: "white" })))),
12
+ h("div", { key: '89e00f8ff59d66396d2ce1eb5aa7548d60a4fee1' }, this.statusIcon === 'online_indicator' && h("div", { key: '5e02a06f10f3f515da67a4b42bdb893b29178815', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: 'c8965cb76192cb58ac72c8166e1a56d170ee9a53', xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", class: `verified ${this.size}` }, h("g", { key: '32b75a39c30c1401f82060d1f869a6cddc939e78', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '7af11735d9c20f5aeff2f2685a172e339c6a19e5', d: "M24.7109 5.66715C25.0148 6.40217 25.5982 6.98642 26.3328 7.29145L28.9086 8.35837C29.6436 8.66285 30.2277 9.24688 30.5321 9.98196C30.8366 10.717 30.8366 11.543 30.5321 12.2781L29.466 14.852C29.1614 15.5874 29.1609 16.4142 29.467 17.1492L30.5313 19.7224C30.6822 20.0865 30.7599 20.4767 30.76 20.8708C30.7601 21.265 30.6825 21.6553 30.5316 22.0194C30.3808 22.3835 30.1597 22.7143 29.881 22.993C29.6022 23.2716 29.2713 23.4926 28.9072 23.6433L26.3332 24.7095C25.5982 25.0134 25.0139 25.5968 24.7089 26.3314L23.642 28.9071C23.3375 29.6422 22.7535 30.2262 22.0184 30.5307C21.2833 30.8352 20.4574 30.8352 19.7223 30.5307L17.1484 29.4646C16.4133 29.1608 15.5876 29.1614 14.853 29.4663L12.2772 30.5317C11.5425 30.8355 10.7173 30.8352 9.98284 30.531C9.24835 30.2267 8.66466 29.6434 8.35997 28.9091L7.29273 26.3326C6.98881 25.5975 6.40543 25.0133 5.67087 24.7083L3.09509 23.6413C2.36033 23.337 1.77648 22.7533 1.47188 22.0187C1.16729 21.284 1.16688 20.4585 1.47073 19.7235L2.53689 17.1496C2.84062 16.4145 2.84 15.5888 2.53517 14.8542L1.47054 12.2766C1.3196 11.9125 1.24188 11.5222 1.24181 11.1281C1.24175 10.734 1.31935 10.3437 1.47017 9.97956C1.621 9.61544 1.8421 9.2846 2.12083 9.00595C2.39957 8.72731 2.73047 8.50632 3.09465 8.35561L5.66858 7.28945C6.40297 6.98579 6.98687 6.40316 7.29212 5.66944L8.35904 3.09366C8.66352 2.35857 9.24754 1.77455 9.98263 1.47007C10.7177 1.16559 11.5436 1.16559 12.2787 1.47007L14.8527 2.53623C15.5878 2.83996 16.4134 2.83934 17.148 2.5345L19.7249 1.47172C20.4599 1.16741 21.2856 1.16748 22.0206 1.4719C22.7555 1.77632 23.3395 2.36017 23.644 3.09507L24.7112 5.67161L24.7109 5.66715Z", fill: "#0086C9" }), h("path", { key: '2efb76c51e4c25bcf4d054108736fdab25319306', d: "M10 18.1818C10 18.1818 11.2857 18.1818 13 22C13 22 17.7647 12 22 10", stroke: "white", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("defs", { key: '7c36878dc56fd1feb25097e434079133d1c8fb67' }, h("clipPath", { key: '2366d1b62478c51dcdd908b68bce62ed0988cecf', id: "clip0_0_21453" }, h("rect", { key: '29a6eb47fb4d141e080f78b12c648bcd7f0e3b2b', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: 'a1bb73a03c78d1e19fcd09a8e8aead5e855b27b5', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `company ${this.size}` }, h("path", { key: '7ae6009ebabd57ed53e0a6bae81eeb28c8ba3041', d: "M18.8322 3.70039C16.9123 2.11995 14.5039 1.25399 12.0172 1.25001C10.6041 1.24776 9.20439 1.52413 7.89818 2.06333C6.59198 2.60252 5.4049 3.39397 4.40485 4.39237C2.64504 6.1493 1.54876 8.462 1.30275 10.9365C1.05674 13.411 1.67622 15.8943 3.05566 17.9633C4.43511 20.0323 6.48919 21.5591 8.86802 22.2836C11.2469 23.0081 13.8033 22.8855 16.1019 21.9367C18.4004 20.9878 20.299 19.2715 21.474 17.0799C22.6491 14.8884 23.0281 12.3572 22.5464 9.91759C22.0647 7.47798 20.7521 5.28082 18.8322 3.70039Z", fill: "#FF0033", stroke: "white", "stroke-width": "1.5" }), h("path", { key: '5ffc0311b525a30cf78f8a379e3a0b2f216cd2f6', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8942 13.7488V11.865L15.2835 11.8807C15.5231 11.8822 15.7598 11.9336 15.9785 12.0314C16.1973 12.1293 16.3933 12.2715 16.5541 12.449C16.715 12.6266 16.8373 12.8357 16.9131 13.063C16.989 13.2903 17.0168 13.5308 16.9948 13.7694C16.9948 16.4275 12.901 16.9969 12.8973 13.7488M12.8973 8.75316C17.3054 6.44066 17.6942 11.5213 15.0323 11.2788H12.886L12.8973 8.75316ZM16.7385 11.5113C19.8985 10.3013 17.2573 5.5894 12.0854 8.5044C11.5544 8.07132 10.9218 7.78073 10.2473 7.66004C8.96979 7.40066 7.25604 7.62628 6.29479 8.52378L6.75917 8.97941C7.2569 8.55053 7.86627 8.27194 8.51626 8.17611C9.16625 8.08028 9.83009 8.17117 10.4304 8.43816C10.6321 8.53335 10.8098 8.67262 10.9505 8.8457C11.0911 9.01879 11.191 9.22127 11.2429 9.43817L11.266 13.7669C11.0785 16.7738 7.20354 16.5413 7.20354 13.7669V11.8682H10.2492V11.295H5.59729V13.1644C5.60917 16.7175 9.93104 17.315 12.0717 15.5863C12.9471 16.2353 14.0184 16.5649 15.1073 16.52C18.9442 16.4938 19.7323 12.3563 16.7273 11.5144L16.7385 11.5113Z", fill: "white" })))),
13
13
  ];
14
14
  }
15
15
  static get is() { return "gb-status-indicator"; }
@@ -42,12 +42,12 @@ export class GbTabButtonBase {
42
42
  this.tabClicked.emit();
43
43
  }
44
44
  render() {
45
- return (h("div", { key: 'dff5ce8d8ebf90168b12b5fd902555ce2a2ad5c7', class: `tab_button_div ${this.type}
45
+ return (h("div", { key: 'fffa4fde43c38180011ca179e88ae0201241fa20', class: `tab_button_div ${this.type}
46
46
  ${this.current ? 'current' : ''}
47
47
  ${this.fullWidth ? 'full_width' : ''}
48
- ${this.size}`, onClick: () => this.handleClick() }, h("p", { key: 'ffe8b5a1061944057f408b2782058b5f900ce911', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: 'c59db7e297d1286283435b8d70d84074b3256b17', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary' ? 'information' :
48
+ ${this.size}`, onClick: () => this.handleClick() }, h("p", { key: '5b12afa39fd0ad0e86d2c534dd775cbff709b474', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: 'b87d0c8a0a9afb0008f10bbc6fac2bd5db419ba6', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary' ? 'information' :
49
49
  this.current && this.type === 'underline' ? 'information' :
50
- this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '39fdc231d74fd0f0784011c4a36c088260eead78', name: "count" })))));
50
+ this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '54fdcd9b6bbd08cd3251806934da82333c6ecf17', name: "count" })))));
51
51
  }
52
52
  static get is() { return "gb-tab-button-base"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
- import { getAssetPath, h } from "@stencil/core";
1
+ import { getAssetPath, h, Fragment } from "@stencil/core";
2
2
  export class GbTag {
3
3
  constructor() {
4
4
  this.size = undefined;
@@ -12,7 +12,7 @@ export class GbTag {
12
12
  }
13
13
  render() {
14
14
  const flagSwap = getAssetPath(`${this.flagSwap}`);
15
- return (h("div", { key: '1a55df7e2aef9128972b4c5b6896754b6f19148a', class: `container ${this.size}` }, h("div", { key: '1e9c23c9a1df82afe1553a84b3bb3a1b7c739ce2', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: '81473c1109b06bfc36dc609c0f6950977843f3b9', size: this.size }), this.icon === 'country' && (h("div", { key: '2eea2d9bb7a8082d40830a4e1a27ac3a364aecae', class: "icon left-icon" }, h("img", { key: 'f888f9834881428014d74098ed6cd4322264185b', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: '24c3518cf0ef5a90c4616e7f4d855d7c2955bb27', class: "avatar-icon", size: "xxs", "status-icon": "false", text: true, color: "gray" }, h("slot", { key: 'd45413b63eb72693087506f507236fbc6f2f6d4e', name: "initials", slot: "initials" }))), this.icon === 'dot' && (h("svg", { key: 'd37ca33c7df622ef91a6335cb7524ae32718d764', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: '2f79a32532d0df09c8639fd58f52ba71c7b176fc', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: 'b918996a516a59bd701ad422d79236854765069a' }), this.action === 'count' && (h("gb-tag-count", { key: '56b2d83fb2571437957a6ca3177e05ce2585814a', size: this.size }, h("slot", { key: 'b5b33f9dc39bae32883908e35af34c7ebe0ca654', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: '69029afc926737b718a3d1df4ea567e7ec760237', size: this.size, onClick: () => this.onTagClose() })));
15
+ return (h("div", { key: 'c74491af471363a7c0b6fab5363a8dbd828339bd', class: `container ${this.size}` }, h("div", { key: '8ae56cd5676393fe35f6b2c07164c383774a3f53', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: '40d5914b2d5464406b80f17e49f920e0dae345fc', size: this.size }), this.icon === 'false' && h(Fragment, null), this.icon === 'country' && (h("div", { key: '6f8318d585b96d17c97f324b82a3617e4182d259', class: "icon left-icon" }, h("img", { key: '167c41b34bfc7ffb11b0d9e1218f2c0fe8f27cdd', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'dab51082375836183bf90afcecaf45589bd9da1d', class: "avatar-icon", size: "xxs", "status-icon": "false", text: true, color: "gray" }, h("slot", { key: 'b2ca2b8df7dc9e346b3d93f02845ae92300aef3f', name: "initials", slot: "initials" }))), this.icon === 'dot' && (h("svg", { key: '6462e5d547c8984b8df60e235e349764581b3b7c', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: 'f2f2c5f891c98670feb8f51581e9ea66391bda67', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: 'e3ce2d6febbce3886417a5ce815bed631fed090e' }), this.action === 'count' && (h("gb-tag-count", { key: '8334b145471d222d063d83320178b01d07123b2e', size: this.size }, h("slot", { key: '1274fc35a79433df406e9e3256659d6caffe6a95', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: '5e22aba047b9a4441f3fb04d89228d563df35047', size: this.size, onClick: () => this.onTagClose() })));
16
16
  }
17
17
  static get is() { return "gb-tag"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-tag.js","sourceRoot":"","sources":["../../../src/components/gb-tag/gb-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQzE,MAAM,OAAO,KAAK;;;;;;;;IAQhB,KAAK,CAAC,UAAU;QACd,oCAAoC;IACtC,CAAC;IAED,MAAM;QACJ,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAElD,OAAO,CACL,4DAAK,KAAK,EAAE,aAAa,IAAI,CAAC,IAAI,EAAE;YAClC,4DAAK,KAAK,EAAE,WAAW,IAAI,CAAC,IAAI,EAAE;gBAC/B,IAAI,CAAC,QAAQ,IAAI,wEAAiB,IAAI,EAAE,IAAI,CAAC,IAAI,GAAoB;gBACrE,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,CAC1B,4DAAK,KAAK,EAAC,gBAAgB;oBACzB,4DAAK,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAC,cAAc,GAAG,CACrC,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,QAAQ,IAAI,CACzB,kEAAW,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,KAAK,iBAAa,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM;oBACpF,6DAAM,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,UAAU,GAAQ,CACnC,CACb;gBACA,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,CACtB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM;oBACxF,+DAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CACP;gBACD,8DAAa;gBACZ,IAAI,CAAC,MAAM,KAAK,OAAO,IAAI,CAC1B,qEAAc,IAAI,EAAE,IAAI,CAAC,IAAI;oBAC3B,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC1B,CAChB,CACG;YACL,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,qEAAc,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,GAAiB,CAC1G,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Method, Prop, getAssetPath, h } from '@stencil/core';\r\nimport { GeneralSizes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-tag',\r\n styleUrl: 'gb-tag.css',\r\n shadow: true,\r\n})\r\nexport class GbTag {\r\n @Prop() size: GeneralSizes;\r\n @Prop() icon?: 'country' | 'avatar' | 'dot' | 'false';\r\n @Prop() action: 'X_close' | 'text_only' | 'count';\r\n @Prop() flagSwap: string;\r\n @Prop() checkbox?: boolean;\r\n\r\n @Method()\r\n async onTagClose() {\r\n // console.log('close tag clicked');\r\n }\r\n\r\n render() {\r\n const flagSwap = getAssetPath(`${this.flagSwap}`);\r\n\r\n return (\r\n <div class={`container ${this.size}`}>\r\n <div class={`content ${this.size}`}>\r\n {this.checkbox && <gb-tag-checkbox size={this.size}></gb-tag-checkbox>}\r\n {this.icon === 'country' && (\r\n <div class=\"icon left-icon\">\r\n <img src={flagSwap} alt=\"Country Icon\" />\r\n </div>\r\n )}\r\n {this.icon === 'avatar' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xxs\" status-icon=\"false\" text={true} color=\"gray\">\r\n <slot name=\"initials\" slot=\"initials\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.icon === 'dot' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill=\"none\">\r\n <circle cx=\"4\" cy=\"4\" r=\"3\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n <slot></slot>\r\n {this.action === 'count' && (\r\n <gb-tag-count size={this.size}>\r\n <slot slot=\"count\" name=\"count\"></slot>\r\n </gb-tag-count>\r\n )}\r\n </div>\r\n {this.action === 'X_close' && <gb-tag-close size={this.size} onClick={() => this.onTagClose()}></gb-tag-close>}\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-tag.js","sourceRoot":"","sources":["../../../src/components/gb-tag/gb-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQnF,MAAM,OAAO,KAAK;;;;;;;;IAQhB,KAAK,CAAC,UAAU;QACd,oCAAoC;IACtC,CAAC;IAED,MAAM;QACJ,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAElD,OAAO,CACL,4DAAK,KAAK,EAAE,aAAa,IAAI,CAAC,IAAI,EAAE;YAClC,4DAAK,KAAK,EAAE,WAAW,IAAI,CAAC,IAAI,EAAE;gBAC/B,IAAI,CAAC,QAAQ,IAAI,wEAAiB,IAAI,EAAE,IAAI,CAAC,IAAI,GAAoB;gBACrE,IAAI,CAAC,IAAI,KAAK,OAAO,IAAI,iBAAK;gBAC9B,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,CAC1B,4DAAK,KAAK,EAAC,gBAAgB;oBACzB,4DAAK,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAC,cAAc,GAAG,CACrC,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,QAAQ,IAAI,CACzB,kEAAW,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,KAAK,iBAAa,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM;oBACpF,6DAAM,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,UAAU,GAAQ,CACnC,CACb;gBACA,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,CACtB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM;oBACxF,+DAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CACP;gBACD,8DAAa;gBACZ,IAAI,CAAC,MAAM,KAAK,OAAO,IAAI,CAC1B,qEAAc,IAAI,EAAE,IAAI,CAAC,IAAI;oBAC3B,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC1B,CAChB,CACG;YACL,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,qEAAc,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,GAAiB,CAC1G,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Method, Prop, getAssetPath, h, Fragment } from '@stencil/core';\r\nimport { GeneralSizes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-tag',\r\n styleUrl: 'gb-tag.css',\r\n shadow: true,\r\n})\r\nexport class GbTag {\r\n @Prop() size: GeneralSizes;\r\n @Prop() icon?: 'country' | 'avatar' | 'dot' | 'false';\r\n @Prop() action: 'X_close' | 'text_only' | 'count';\r\n @Prop() flagSwap: string;\r\n @Prop() checkbox?: boolean;\r\n\r\n @Method()\r\n async onTagClose() {\r\n // console.log('close tag clicked');\r\n }\r\n\r\n render() {\r\n const flagSwap = getAssetPath(`${this.flagSwap}`);\r\n\r\n return (\r\n <div class={`container ${this.size}`}>\r\n <div class={`content ${this.size}`}>\r\n {this.checkbox && <gb-tag-checkbox size={this.size}></gb-tag-checkbox>}\r\n {this.icon === 'false' && <></>}\r\n {this.icon === 'country' && (\r\n <div class=\"icon left-icon\">\r\n <img src={flagSwap} alt=\"Country Icon\" />\r\n </div>\r\n )}\r\n {this.icon === 'avatar' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xxs\" status-icon=\"false\" text={true} color=\"gray\">\r\n <slot name=\"initials\" slot=\"initials\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.icon === 'dot' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill=\"none\">\r\n <circle cx=\"4\" cy=\"4\" r=\"3\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n <slot></slot>\r\n {this.action === 'count' && (\r\n <gb-tag-count size={this.size}>\r\n <slot slot=\"count\" name=\"count\"></slot>\r\n </gb-tag-count>\r\n )}\r\n </div>\r\n {this.action === 'X_close' && <gb-tag-close size={this.size} onClick={() => this.onTagClose()}></gb-tag-close>}\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -6,7 +6,7 @@ export class GbTagCheckbox {
6
6
  this.disabled = false;
7
7
  }
8
8
  render() {
9
- return (h("label", { key: '78930b1bbebffa117d739fb851550badeab9c6b3', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '924ba4739e26c6a637cf49bed2c009defaaade55', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '53316ffc81dcc3e7612299158e4b525fc26bf268', class: `custom-checkbox ${this.size}` }, h("svg", { key: '9254bf7b0aaafbd06777189d3b65ca82310d9a6e', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '4bd4d7e342e7a87fdf124410d98c0c65dbf71772', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
9
+ return (h("label", { key: 'a96d0b469aba985bad7eeece4d5a3728f6469b64', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: 'a54cf4db80468a2a03f4a213918df8a212ca1d6b', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: 'bf16276d2e864a069b27181f1769583848c2df66', class: `custom-checkbox ${this.size}` }, h("svg", { key: 'a56b21a9e498f810d3b4620775c3b92bb0a5cf88', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '7d78764736b492c9e041c0344192f93adafc6bcc', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
10
10
  }
11
11
  static get is() { return "gb-tag-checkbox"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class GbTagClose {
4
4
  this.size = undefined;
5
5
  }
6
6
  render() {
7
- return (h("div", { key: '76747532d51a43ad5120440026d49c7411cb4e78', class: this.size }, h("svg", { key: '97ad828907338d494f040743a6bf24c48e69fe7e', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '3290b6fc56ddd237cc2ee2f89a8cb0a927756604', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
7
+ return (h("div", { key: 'cd334c6d7810a873606ee1138962dee5f0bc1a92', class: this.size }, h("svg", { key: '4cdf2fea404b80d0e480d85d961d81132d07b6eb', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '2b056a446193f4d9c311e719cba6ce63c4a7118c', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
8
8
  }
9
9
  static get is() { return "gb-tag-close"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class GbTagCount {
4
4
  this.size = undefined;
5
5
  }
6
6
  render() {
7
- return (h("div", { key: 'cb2fcbc29ab57322718b279b3aec7fa2d9c5225d', class: this.size }, h("slot", { key: 'b08054da6155120413e3c9802e183f42aa9f3a87', name: "count" })));
7
+ return (h("div", { key: 'd843f4c9670c9013ef4edd2b5aa88484b27e2125', class: this.size }, h("slot", { key: 'ffb5f2b96bb4b493fa6cdd25702752f0ab268c95', name: "count" })));
8
8
  }
9
9
  static get is() { return "gb-tag-count"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -37,7 +37,7 @@ export class GbToast {
37
37
  slottedSupportingText.classList.add(this.getSupportingColorClasses());
38
38
  }
39
39
  render() {
40
- return (h("div", { key: 'e7fe7e5070fbfe96dc8f9b0ed9ce81fb6c2dc45c', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '65ee00afc78dd0e8e77a67721bc4610ba87068f9', class: `icon_container` }, h("svg", { key: '2a628a9c3faee275a60124f63d014afe11e48821', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: '7d11e6560ed9923b15c6b19c64673f5cc44ace8c', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '084310f84c37cec7aefc51b8b4c3d2294a78bd3f', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: '477dc2ce292763cbd32fe70c5acb9b262a249305', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '2333955cf55060efe54f8a464355f1d8a1a9533d', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: 'da23681344b3ee039b02304da85808313c571057', class: `text ${this.size}` }, h("slot", { key: 'e25be6019eb338ab42f7562257fa2bfbeae29dbe', name: "main_text" }), this.showSupportingText && h("slot", { key: 'be2e63acf82df6b036b7bae069589de892e0d0bf', name: "supporting_text" })), this.actions && (h("div", { key: '0b8a0ead7b6121d0164fa0917411eb30490ded6b', class: `actions ${this.size} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes"))))))), h("gb-button-close", { key: 'aba7726602185e1169793bf8c36270540a46c3c6', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.size}` }))), this.size === 'full_width' && (h("div", { key: 'fd756c88e3ce377feb33955bab18473a636cd569', class: `container ${this.breakpoint}` }, h("div", { key: 'b2fb9b887e4bf2910174646f2f455da9dad33063', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '13a2edf6d7315077f24871e1cc0e201fc7438051', class: `inner_content ${this.breakpoint}` }, h("div", { key: 'd5514f2c8e1f758749aaa54461ec6e2919c9ddfe', class: `icon_container` }, h("svg", { key: 'cfe25a80a30aa5cf9e3bec1ff793f0614d98fd44', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: 'edbfac757229300cccb00c437fe4db73466b80a9', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '17d2cadeac842bf470f02146c49edb3925418826', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: '300a6a5d66c1c32e335890fb19ae9fe107ceed7e', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '5b478dda2adf0f8ebf4b04e77fb2f7f8d0d7dea6', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: '9260d3ac218ba0ce10dca60a44aa67cfd0ebe079', name: "main_text" }), this.showSupportingText && h("slot", { key: '8d24c9528915fba2d6c1a5e66ad74e7928814452', name: "supporting_text" }))), this.actions && (h("div", { key: '23dbc5aec9cebb1d2fe1434a2c49fa747c1b3270', class: `actions ${this.size} ${this.breakpoint} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes")))))), h("gb-button-close", { key: 'd16a523e7bdf280a8a6f81d519e815bb3c112384', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.breakpoint}` }))))));
40
+ return (h("div", { key: '0efe2f00fd0e41bcc4f186044649454055994386', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: 'e8d63879a9ac479df21bf3fc57f2ccdc32be41e4', class: `icon_container` }, h("svg", { key: '61d390f7f85b1003b9d56084e525fdc9de13e9f8', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: '4e2c62f4931ced57c670ee379be3a3700bd80a26', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '9b68683a639bd58e817509f578b484dd54893dc1', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: 'e76fbe4d01c589c89b38b24b34b6c5cef49ab179', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '98843ba7edd437375712c5ff1432464f6cb3ec21', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: '2dfa12d558e4ed0f6e5014d1dd8ce7f19635e12a', class: `text ${this.size}` }, h("slot", { key: '6d61dda620311e440f4d751cb6ecfe5bf6fcc67c', name: "main_text" }), this.showSupportingText && h("slot", { key: '75c4ba5d0b9ae8b8b10b8b8e45f4e0c7b937da16', name: "supporting_text" })), this.actions && (h("div", { key: 'f478d18428ad60f920b26d858f69dba441eb1a60', class: `actions ${this.size} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes"))))))), h("gb-button-close", { key: '1d3a89bb0515355d0de885d6c5431f23263b9a81', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.size}` }))), this.size === 'full_width' && (h("div", { key: '7f18e82958b8c940fc5e22a04ef6b3c0c2766335', class: `container ${this.breakpoint}` }, h("div", { key: '2d3e7d11187798ba1142923a7ef58e5f8321f5cb', class: `full_width_content ${this.breakpoint}` }, h("div", { key: 'c8589a2f575ca19a00bb0453c474f56e22e349b0', class: `inner_content ${this.breakpoint}` }, h("div", { key: '19ed8e0cdf9f00511623658f86b0fbcf8eb072a8', class: `icon_container` }, h("svg", { key: 'e1871e5a0b5b8e0d7db17367503399fd07b31388', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: 'e6f8adde4c9c34d15b20708cdea4ac6655c08a4c', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: 'b28cf39a897dee772702c174a2ce05f5fea65266', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: '7019ee4c06db96a774990b67283a3fc0b7b4ae7e', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '5d8d7bb9853a43056fb54cc6ecf10c0545453fb1', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: '200e72b0050ef2b05299c7b853a513905b20eafe', name: "main_text" }), this.showSupportingText && h("slot", { key: 'df3c6a18e179d258e9681ec9689e2595eb1e6377', name: "supporting_text" }))), this.actions && (h("div", { key: '815b0d66a244ce7897b075ce7db70330f00ca01f', class: `actions ${this.size} ${this.breakpoint} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes")))))), h("gb-button-close", { key: 'cce5d891807d71cfe29c254407f32265ce039551', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.breakpoint}` }))))));
41
41
  }
42
42
  static get is() { return "gb-toast"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class GbToastButton {
9
9
  slottedContent.classList.add('text-sm-semi-bold');
10
10
  }
11
11
  render() {
12
- return (h("div", { key: '0d0620b2395cf3993daf52aeb9a088387e701a7a', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: 'd24cd49e6c53eea4630d3dda1f08786a7df8a1df' })));
12
+ return (h("div", { key: '8b3f00566cee02e3e455dd91c32668b010df6687', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: 'a56c1719ef3e0995be63339ecd2e9641b243e8bc' })));
13
13
  }
14
14
  static get is() { return "gb-toast-button"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class GbToggle {
33
33
  }
34
34
  }
35
35
  render() {
36
- return (h("div", { key: '51feb1c0fecb1db9bdd7c1c1e5bc7da37b8983d6', class: `toggle_div ${this.size}` }, h("div", { key: 'ff90bcf8ff29b9920e722c1d609ab6c1efa56156', class: "toggle_base" }, h("gb-toggle-base", { key: 'a009a10b77bee45321dada858aa4444b9027dff8', size: this.size, state: this.state, pressed: this.pressed })), h("div", { key: 'f9b5249785c1637c0a6b81d10e63fac9f548f394', class: "text" }, h("slot", { key: '80a011151cc8298cd240454297cb097a1cfeacc5', name: "main_text" }), this.supportingText && (h("slot", { key: '329b2272d78841cfae2d992c0b4bcd2b4f3eab88', name: "supporting_text" })))));
36
+ return (h("div", { key: '8c0cd7881bd9a6fc457915ea7aac0ae971c9744b', class: `toggle_div ${this.size}` }, h("div", { key: '82f9a522add2d5fd8d0e36105e7c1c207260ffc6', class: "toggle_base" }, h("gb-toggle-base", { key: '76f8bf2833f9af886ca7757693c1b53508b73f4c', size: this.size, state: this.state, pressed: this.pressed })), h("div", { key: '2df514b782020c3c8a210edf15c763133f08d31f', class: "text" }, h("slot", { key: 'b7cd03595e51f6c88e2bb76cd9765b9ddd73e4d5', name: "main_text" }), this.supportingText && (h("slot", { key: '8fe4f2fecc298776a8bb98118edb71ab75169bb8', name: "supporting_text" })))));
37
37
  }
38
38
  static get is() { return "gb-toggle"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -13,8 +13,8 @@ export class GbToggleBase {
13
13
  }
14
14
  render() {
15
15
  return [
16
- h("input", { key: '732e9c809ad4766c79dbf4dd2666331f45f5e3e2', type: "checkbox", id: "customCheckbox", class: `${this.pressed ? 'pressed' : ''}`, readonly: true }),
17
- h("label", { key: 'e7f509b359ac0a84403b92011640a8fbea2b88f6', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#075DB2", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#E3E8EF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
16
+ h("input", { key: '4b6cd7a9e8570f2d956f6961dc2b42e17628a0cd', type: "checkbox", id: "customCheckbox", class: `${this.pressed ? 'pressed' : ''}`, readonly: true }),
17
+ h("label", { key: 'e09b090b0ad5fc380543be54cbfec7c7f39838bb', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#075DB2", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#E3E8EF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
18
18
  ];
19
19
  }
20
20
  static get is() { return "gb-toggle-base"; }