globuswebcomponents 0.5.1 → 0.5.3

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 (516) hide show
  1. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +1 -1
  7. package/dist/cjs/gb-avatar_28.cjs.entry.js +1286 -0
  8. package/dist/cjs/gb-avatar_28.cjs.entry.js.map +1 -0
  9. package/dist/cjs/gb-button-close_2.cjs.entry.js +3 -3
  10. package/dist/cjs/gb-button-close_2.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +1 -1
  13. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
  15. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +1 -1
  17. package/dist/cjs/gb-header-icon.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-header-icon.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
  21. package/dist/cjs/gb-megainput-field.cjs.entry.js +42 -0
  22. package/dist/cjs/gb-megainput-field.cjs.entry.js.map +1 -0
  23. package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
  24. package/dist/cjs/gb-notification-content.cjs.entry.js.map +1 -1
  25. package/dist/cjs/gb-notification-pane.cjs.entry.js +45 -0
  26. package/dist/cjs/gb-notification-pane.cjs.entry.js.map +1 -0
  27. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  28. package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
  29. package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
  31. package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
  33. package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +1 -1
  34. package/dist/cjs/gb-slider.cjs.entry.js +3 -3
  35. package/dist/cjs/gb-slider.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
  37. package/dist/cjs/gb-toast-button.cjs.entry.js.map +1 -1
  38. package/dist/cjs/gb-toast.cjs.entry.js +2 -2
  39. package/dist/cjs/gb-toast.cjs.entry.js.map +1 -1
  40. package/dist/cjs/gb-toggle-base.cjs.entry.js +32 -0
  41. package/dist/cjs/gb-toggle-base.cjs.entry.js.map +1 -0
  42. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  43. package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
  44. package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -1
  45. package/dist/cjs/gb-verification-code-field.cjs.entry.js +32 -0
  46. package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +1 -0
  47. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
  49. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
  50. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -1
  51. package/dist/cjs/globuscomponents.cjs.js +1 -1
  52. package/dist/cjs/loader.cjs.js +1 -1
  53. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  54. package/dist/collection/assets/calendar-02.svg +6 -0
  55. package/dist/collection/assets/database-sync.svg +6 -0
  56. package/dist/collection/assets/search-01.svg +3 -0
  57. package/dist/collection/collection-manifest.json +3 -3
  58. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +2 -0
  59. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2 -0
  60. package/dist/collection/components/gb-avatar/gb-avatar.css +162 -21
  61. package/dist/collection/components/gb-avatar/gb-avatar.js +37 -1
  62. package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
  63. package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2 -0
  64. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -0
  65. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -0
  66. package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +2 -0
  67. package/dist/collection/components/gb-badge-close/gb-badge-close.css +2 -0
  68. package/dist/collection/components/gb-badges/gb-badges.css +2 -0
  69. package/dist/collection/components/gb-btn/gb-btn.css +12 -0
  70. package/dist/collection/components/gb-btn/gb-btn.js +4 -1
  71. package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
  72. package/dist/collection/components/gb-button/gb-button.css +8 -0
  73. package/dist/collection/components/gb-button/gb-button.js +4 -2
  74. package/dist/collection/components/gb-button/gb-button.js.map +1 -1
  75. package/dist/collection/components/gb-button/gb-button.tsx +3 -1
  76. package/dist/collection/components/gb-button-close/gb-button-close.css +2 -0
  77. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +2 -0
  78. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +2 -0
  79. package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +2 -0
  80. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +2 -0
  81. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +2 -0
  82. package/dist/collection/components/gb-header-icon/gb-header-icon.css +2 -0
  83. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +2 -0
  84. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +2 -0
  85. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +60 -3
  86. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +185 -7
  87. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  88. package/dist/collection/components/{gb-input-dropdown-menu → gb-input-dropdown-menu-item}/gb-input-dropdown-menu-item.css +3 -2
  89. package/dist/collection/components/{gb-input-dropdown-menu → gb-input-dropdown-menu-item}/gb-input-dropdown-menu-item.js +31 -12
  90. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -0
  91. package/dist/collection/components/gb-input-field/gb-input-field.css +33 -2
  92. package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
  93. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  94. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +2 -0
  95. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  96. package/dist/collection/components/gb-notification-content/gb-notification-content.css +2 -0
  97. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  98. package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +2 -0
  99. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +1 -1
  100. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  101. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  102. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  103. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +2 -0
  104. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  105. package/dist/collection/components/gb-password-button/gb-password-button.css +3 -0
  106. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  107. package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -1
  108. package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +2 -0
  109. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  110. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  111. package/dist/collection/components/gb-rich-text/gb-rich-text.css +2 -0
  112. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  113. package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +2 -0
  114. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  115. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +2 -0
  116. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  117. package/dist/collection/components/gb-sidebar/gb-sidebar.css +2 -0
  118. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  119. package/dist/collection/components/{gb-sliders/slider.css → gb-slider/gb-slider.css} +3 -2
  120. package/dist/collection/components/{gb-sliders/slider.js → gb-slider/gb-slider.js} +4 -4
  121. package/dist/collection/components/gb-slider/gb-slider.js.map +1 -0
  122. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +2 -0
  123. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  124. package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +2 -0
  125. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  126. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +2 -0
  127. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  128. package/dist/collection/components/{gb-tags/gb-tags.css → gb-tag/gb-tag.css} +7 -0
  129. package/dist/collection/components/{gb-tags/gb-tags.js → gb-tag/gb-tag.js} +28 -4
  130. package/dist/collection/components/gb-tag/gb-tag.js.map +1 -0
  131. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +2 -0
  132. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  133. package/dist/collection/components/gb-tag-close/gb-tag-close.css +2 -0
  134. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  135. package/dist/collection/components/gb-tag-count/gb-tag-count.css +2 -0
  136. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  137. package/dist/collection/components/gb-toast/gb-toast.css +2 -0
  138. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  139. package/dist/collection/components/gb-toast-button/gb-toast-button.css +2 -0
  140. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  141. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  142. package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +1613 -1
  143. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  144. package/dist/collection/components/gb-token-field/gb-token-field.css +2 -0
  145. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  146. package/dist/collection/components/gb-tooltip/gb-tooltip.css +2 -0
  147. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  148. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2 -0
  149. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  150. package/dist/collection/global/global.css +2 -0
  151. package/dist/collection/global/tailwind.css +2 -2
  152. package/dist/collection/models/reusableModels.js.map +1 -1
  153. package/dist/components/gb-avatar-add-button.js +1 -1
  154. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  155. package/dist/components/gb-avatar-dropdown.js +6 -6
  156. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  157. package/dist/components/gb-avatar-group.js +5 -5
  158. package/dist/components/gb-avatar-label-group.js +1 -1
  159. package/dist/components/gb-avatar-profile-photo.js +4 -4
  160. package/dist/components/gb-avatar-profile-photo.js.map +1 -1
  161. package/dist/components/gb-avatar.js +1 -1
  162. package/dist/components/gb-badge-close.js +1 -1
  163. package/dist/components/gb-badge.js +1 -1
  164. package/dist/components/gb-btn.js +1 -1
  165. package/dist/components/gb-button-close.js +1 -1
  166. package/dist/components/gb-button.js +1 -1
  167. package/dist/components/gb-carousel-arrow.js +1 -1
  168. package/dist/components/gb-carousel-arrow.js.map +1 -1
  169. package/dist/components/gb-checkbox-group-item.js +1 -1
  170. package/dist/components/gb-checkbox-group.js +5 -5
  171. package/dist/components/gb-collapse-button.js +1 -1
  172. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  173. package/dist/components/gb-file-upload-item-base.js +1 -1
  174. package/dist/components/gb-file-upload.js +5 -5
  175. package/dist/components/gb-header-icon.js +1 -1
  176. package/dist/components/gb-header.js +4 -4
  177. package/dist/components/gb-help-dropdown.js +2 -2
  178. package/dist/components/gb-help-dropdown.js.map +1 -1
  179. package/dist/components/gb-horizontal-tabs.js +7 -7
  180. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  181. package/dist/components/gb-input-dropdown-menu-item.js +1 -75
  182. package/dist/components/gb-input-dropdown-menu-item.js.map +1 -1
  183. package/dist/components/gb-input-dropdown.js +1 -1
  184. package/dist/components/gb-input-field.js +6 -6
  185. package/dist/components/gb-input-field.js.map +1 -1
  186. package/dist/components/gb-megainput-field.js +1 -1
  187. package/dist/components/gb-notification-content.js +2 -2
  188. package/dist/components/gb-notification-content.js.map +1 -1
  189. package/dist/components/gb-notification-pane.js +3 -3
  190. package/dist/components/gb-notification-pane.js.map +1 -1
  191. package/dist/components/gb-pagination-button-group-base.js +1 -1
  192. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  193. package/dist/components/gb-pagination-number-base.js +2 -2
  194. package/dist/components/gb-pagination-number-base.js.map +1 -1
  195. package/dist/components/gb-pagination.js +2 -2
  196. package/dist/components/gb-password-button.js +1 -1
  197. package/dist/components/gb-progress-bar.js +1 -1
  198. package/dist/components/gb-progress-circle.js +1 -1
  199. package/dist/components/gb-rich-text.js +54 -12
  200. package/dist/components/gb-rich-text.js.map +1 -1
  201. package/dist/components/gb-scrollbar.js +2 -2
  202. package/dist/components/gb-scrollbar.js.map +1 -1
  203. package/dist/components/gb-side-bar-item.js +1 -1
  204. package/dist/components/gb-sidebar.js +10 -10
  205. package/dist/components/gb-sidebar.js.map +1 -1
  206. package/dist/components/gb-slider-control-handle.js +1 -1
  207. package/dist/components/gb-slider.js +5 -5
  208. package/dist/components/gb-slider.js.map +1 -1
  209. package/dist/components/gb-status-indicator.js +1 -1
  210. package/dist/components/gb-tab-button-base.js +1 -1
  211. package/dist/components/gb-tag-checkbox.js +1 -1
  212. package/dist/components/gb-tag-close.js +1 -1
  213. package/dist/components/gb-tag-count.js +1 -1
  214. package/dist/components/gb-tag.js +1 -78
  215. package/dist/components/gb-tag.js.map +1 -1
  216. package/dist/components/gb-toast-button.js +1 -1
  217. package/dist/components/gb-toast.js +5 -5
  218. package/dist/components/gb-toast.js.map +1 -1
  219. package/dist/components/gb-toggle-base.js +1 -1
  220. package/dist/components/gb-toggle.js +2 -2
  221. package/dist/components/gb-token-field.js +3 -3
  222. package/dist/components/gb-token-field.js.map +1 -1
  223. package/dist/components/gb-tooltip.js +1 -1
  224. package/dist/components/gb-verification-code-field.js +4 -4
  225. package/dist/components/gb-verification-code-field.js.map +1 -1
  226. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  227. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  228. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  229. package/dist/components/p-0129a72b.js +37 -0
  230. package/dist/components/{p-58b75242.js.map → p-0129a72b.js.map} +1 -1
  231. package/dist/components/p-0190e346.js +50 -0
  232. package/dist/components/{p-a20359a2.js.map → p-0190e346.js.map} +1 -1
  233. package/dist/components/p-0b8ae984.js +39 -0
  234. package/dist/components/{p-a5850f8c.js.map → p-0b8ae984.js.map} +1 -1
  235. package/dist/components/p-0c3f1ae2.js +79 -0
  236. package/dist/components/{p-ae666b1f.js.map → p-0c3f1ae2.js.map} +1 -1
  237. package/dist/components/p-17144463.js +44 -0
  238. package/dist/components/{p-8907e475.js.map → p-17144463.js.map} +1 -1
  239. package/dist/components/p-18aeff75.js +39 -0
  240. package/dist/components/{p-b0d34887.js.map → p-18aeff75.js.map} +1 -1
  241. package/dist/components/{p-dc7db1b5.js → p-1cf0a465.js} +2 -2
  242. package/dist/components/{p-dc7db1b5.js.map → p-1cf0a465.js.map} +1 -1
  243. package/dist/components/p-26d1508d.js +45 -0
  244. package/dist/components/{p-824a17f3.js.map → p-26d1508d.js.map} +1 -1
  245. package/dist/components/p-32cf95f6.js +50 -0
  246. package/dist/components/{p-a9afcddd.js.map → p-32cf95f6.js.map} +1 -1
  247. package/dist/components/p-35054a6a.js +58 -0
  248. package/dist/components/{p-9dc84aa6.js.map → p-35054a6a.js.map} +1 -1
  249. package/dist/components/p-3fd78bcf.js +37 -0
  250. package/dist/components/{p-4d306827.js.map → p-3fd78bcf.js.map} +1 -1
  251. package/dist/components/p-40b924b3.js +235 -0
  252. package/dist/components/p-40b924b3.js.map +1 -0
  253. package/dist/components/p-43250a93.js +142 -0
  254. package/dist/components/{p-b59eb748.js.map → p-43250a93.js.map} +1 -1
  255. package/dist/components/p-47052b60.js.map +1 -1
  256. package/dist/components/p-5a30e92a.js +64 -0
  257. package/dist/components/{p-5fbe4056.js.map → p-5a30e92a.js.map} +1 -1
  258. package/dist/components/p-623ed6aa.js +46 -0
  259. package/dist/components/{p-fbcd8aaf.js.map → p-623ed6aa.js.map} +1 -1
  260. package/dist/components/p-64964951.js +119 -0
  261. package/dist/components/p-64964951.js.map +1 -0
  262. package/dist/components/p-6c339b3f.js +113 -0
  263. package/dist/components/{p-d78d8fa1.js.map → p-6c339b3f.js.map} +1 -1
  264. package/dist/components/p-7d2b0b60.js +87 -0
  265. package/dist/components/p-7d2b0b60.js.map +1 -0
  266. package/dist/components/p-888acea3.js +48 -0
  267. package/dist/components/p-888acea3.js.map +1 -0
  268. package/dist/components/p-8d1707cb.js +69 -0
  269. package/dist/components/{p-ce25eb27.js.map → p-8d1707cb.js.map} +1 -1
  270. package/dist/components/p-983e2798.js +117 -0
  271. package/dist/components/{p-d9e59617.js.map → p-983e2798.js.map} +1 -1
  272. package/dist/components/p-9e4aaaff.js +162 -0
  273. package/dist/components/{p-caca69ed.js.map → p-9e4aaaff.js.map} +1 -1
  274. package/dist/components/p-a714f550.js +61 -0
  275. package/dist/components/{p-54cefcf0.js.map → p-a714f550.js.map} +1 -1
  276. package/dist/components/p-a7c4e272.js +129 -0
  277. package/dist/components/p-a7c4e272.js.map +1 -0
  278. package/dist/components/p-a9079204.js +55 -0
  279. package/dist/components/{p-123cdd06.js.map → p-a9079204.js.map} +1 -1
  280. package/dist/components/{p-ca6140dc.js → p-ce85b058.js} +19 -5
  281. package/dist/components/p-ce85b058.js.map +1 -0
  282. package/dist/components/p-d947050b.js +86 -0
  283. package/dist/components/p-d947050b.js.map +1 -0
  284. package/dist/components/p-df6f1225.js +63 -0
  285. package/dist/components/{p-68ac53d7.js.map → p-df6f1225.js.map} +1 -1
  286. package/dist/components/p-e198d18d.js +41 -0
  287. package/dist/components/{p-0e1ec56d.js.map → p-e198d18d.js.map} +1 -1
  288. package/dist/components/p-e790d9c3.js +115 -0
  289. package/dist/components/p-e790d9c3.js.map +1 -0
  290. package/dist/components/p-eed6f80c.js +54 -0
  291. package/dist/components/p-eed6f80c.js.map +1 -0
  292. package/dist/components/p-fb46b2b0.js +113 -0
  293. package/dist/components/{p-c9629281.js.map → p-fb46b2b0.js.map} +1 -1
  294. package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
  295. package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -1
  296. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  297. package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
  298. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  299. package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -1
  300. package/dist/esm/gb-avatar_28.entry.js +1255 -0
  301. package/dist/esm/gb-avatar_28.entry.js.map +1 -0
  302. package/dist/esm/gb-button-close_2.entry.js +3 -3
  303. package/dist/esm/gb-button-close_2.entry.js.map +1 -1
  304. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  305. package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -1
  306. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  307. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
  308. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  309. package/dist/esm/gb-file-upload-item-base.entry.js.map +1 -1
  310. package/dist/esm/gb-header-icon.entry.js +1 -1
  311. package/dist/esm/gb-header-icon.entry.js.map +1 -1
  312. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  313. package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
  314. package/dist/esm/gb-megainput-field.entry.js +38 -0
  315. package/dist/esm/gb-megainput-field.entry.js.map +1 -0
  316. package/dist/esm/gb-notification-content.entry.js +2 -2
  317. package/dist/esm/gb-notification-content.entry.js.map +1 -1
  318. package/dist/esm/gb-notification-pane.entry.js +41 -0
  319. package/dist/esm/gb-notification-pane.entry.js.map +1 -0
  320. package/dist/esm/gb-progress-circle.entry.js +1 -1
  321. package/dist/esm/gb-rich-text.entry.js +2 -2
  322. package/dist/esm/gb-rich-text.entry.js.map +1 -1
  323. package/dist/esm/gb-scrollbar.entry.js +2 -2
  324. package/dist/esm/gb-scrollbar.entry.js.map +1 -1
  325. package/dist/esm/gb-slider-control-handle.entry.js +2 -2
  326. package/dist/esm/gb-slider-control-handle.entry.js.map +1 -1
  327. package/dist/esm/gb-slider.entry.js +3 -3
  328. package/dist/esm/gb-slider.entry.js.map +1 -1
  329. package/dist/esm/gb-toast-button.entry.js +2 -2
  330. package/dist/esm/gb-toast-button.entry.js.map +1 -1
  331. package/dist/esm/gb-toast.entry.js +2 -2
  332. package/dist/esm/gb-toast.entry.js.map +1 -1
  333. package/dist/esm/gb-toggle-base.entry.js +28 -0
  334. package/dist/esm/gb-toggle-base.entry.js.map +1 -0
  335. package/dist/esm/gb-toggle.entry.js +1 -1
  336. package/dist/esm/gb-token-field.entry.js +2 -2
  337. package/dist/esm/gb-token-field.entry.js.map +1 -1
  338. package/dist/esm/gb-verification-code-field.entry.js +28 -0
  339. package/dist/esm/gb-verification-code-field.entry.js.map +1 -0
  340. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  341. package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
  342. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  343. package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -1
  344. package/dist/esm/globuscomponents.js +1 -1
  345. package/dist/esm/loader.js +1 -1
  346. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  347. package/dist/globuscomponents/assets/calendar-02.svg +6 -0
  348. package/dist/globuscomponents/assets/database-sync.svg +6 -0
  349. package/dist/globuscomponents/assets/search-01.svg +3 -0
  350. package/dist/globuscomponents/gb-button.css +6 -0
  351. package/dist/globuscomponents/gb-button.tsx +3 -1
  352. package/dist/globuscomponents/global/global.css +2 -0
  353. package/dist/globuscomponents/global/tailwind.css +2 -2
  354. package/dist/globuscomponents/globuscomponents.css +1612 -3
  355. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  356. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  357. package/dist/globuscomponents/p-0179fa9e.entry.js +2 -0
  358. package/dist/globuscomponents/p-0179fa9e.entry.js.map +1 -0
  359. package/dist/globuscomponents/p-2322ea7a.entry.js +2 -0
  360. package/dist/globuscomponents/{p-08a4f9a7.entry.js.map → p-2322ea7a.entry.js.map} +1 -1
  361. package/dist/globuscomponents/p-2b72d966.entry.js +2 -0
  362. package/dist/globuscomponents/{p-add9ec72.entry.js.map → p-2b72d966.entry.js.map} +1 -1
  363. package/dist/globuscomponents/p-34a50ac8.entry.js +2 -0
  364. package/dist/globuscomponents/{p-48ddf6c1.entry.js.map → p-34a50ac8.entry.js.map} +1 -1
  365. package/dist/globuscomponents/p-363fe580.entry.js +2 -0
  366. package/dist/globuscomponents/{p-668477e1.entry.js.map → p-363fe580.entry.js.map} +1 -1
  367. package/dist/globuscomponents/p-37bbc2bf.entry.js +2 -0
  368. package/dist/globuscomponents/{p-115ac3f1.entry.js.map → p-37bbc2bf.entry.js.map} +1 -1
  369. package/dist/globuscomponents/p-42fb642f.entry.js +2 -0
  370. package/dist/globuscomponents/{p-cd91a716.entry.js.map → p-42fb642f.entry.js.map} +1 -1
  371. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  372. package/dist/globuscomponents/p-598cae99.entry.js +2 -0
  373. package/dist/globuscomponents/{p-5d5b638e.entry.js.map → p-598cae99.entry.js.map} +1 -1
  374. package/dist/globuscomponents/p-727bfde6.entry.js +2 -0
  375. package/dist/globuscomponents/{p-4f6eebab.entry.js.map → p-727bfde6.entry.js.map} +1 -1
  376. package/dist/globuscomponents/p-767e5360.entry.js +2 -0
  377. package/dist/globuscomponents/{p-5831017c.entry.js.map → p-767e5360.entry.js.map} +1 -1
  378. package/dist/globuscomponents/p-76c62d1e.entry.js +2 -0
  379. package/dist/globuscomponents/p-78b3b361.entry.js +2 -0
  380. package/dist/globuscomponents/p-78b3b361.entry.js.map +1 -0
  381. package/dist/globuscomponents/p-7a7cdc5c.entry.js +2 -0
  382. package/dist/globuscomponents/{p-01b163c6.entry.js.map → p-7a7cdc5c.entry.js.map} +1 -1
  383. package/dist/globuscomponents/p-840531e9.entry.js +2 -0
  384. package/dist/globuscomponents/p-840531e9.entry.js.map +1 -0
  385. package/dist/globuscomponents/p-8ddf3c50.entry.js +2 -0
  386. package/dist/globuscomponents/{p-3f77703d.entry.js.map → p-8ddf3c50.entry.js.map} +1 -1
  387. package/dist/globuscomponents/p-a2a9d289.entry.js +2 -0
  388. package/dist/globuscomponents/{p-5cc60ae0.entry.js.map → p-a2a9d289.entry.js.map} +1 -1
  389. package/dist/globuscomponents/p-a495b1f4.entry.js +2 -0
  390. package/dist/globuscomponents/{p-3db54b6b.entry.js.map → p-a495b1f4.entry.js.map} +1 -1
  391. package/dist/globuscomponents/p-c69ca52b.entry.js +2 -0
  392. package/dist/globuscomponents/{p-1dc90024.entry.js.map → p-c69ca52b.entry.js.map} +1 -1
  393. package/dist/globuscomponents/p-c7e4235c.entry.js +2 -0
  394. package/dist/globuscomponents/p-c7e4235c.entry.js.map +1 -0
  395. package/dist/globuscomponents/p-d3b5c5b4.entry.js +2 -0
  396. package/dist/globuscomponents/p-d3b5c5b4.entry.js.map +1 -0
  397. package/dist/globuscomponents/p-ded71532.entry.js +2 -0
  398. package/dist/globuscomponents/p-ded71532.entry.js.map +1 -0
  399. package/dist/globuscomponents/p-e25f6faa.entry.js +2 -0
  400. package/dist/globuscomponents/{p-c5541a8c.entry.js.map → p-e25f6faa.entry.js.map} +1 -1
  401. package/dist/globuscomponents/p-e631fbd1.entry.js +2 -0
  402. package/dist/globuscomponents/{p-badef09e.entry.js.map → p-e631fbd1.entry.js.map} +1 -1
  403. package/dist/globuscomponents/p-e718da9d.entry.js +2 -0
  404. package/dist/globuscomponents/{p-cb0453d8.entry.js.map → p-e718da9d.entry.js.map} +1 -1
  405. package/dist/globuscomponents/p-f16ffdee.entry.js +2 -0
  406. package/dist/globuscomponents/p-fc55539e.entry.js +2 -0
  407. package/dist/globuscomponents/{p-e1a6214b.entry.js.map → p-fc55539e.entry.js.map} +1 -1
  408. package/dist/types/components/gb-avatar/gb-avatar.d.ts +3 -1
  409. package/dist/types/components/gb-btn/gb-btn.d.ts +2 -0
  410. package/dist/types/components/gb-button/gb-button.d.ts +2 -0
  411. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +18 -3
  412. package/dist/types/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.d.ts +10 -0
  413. package/dist/types/components/{gb-tags/gb-tags.d.ts → gb-tag/gb-tag.d.ts} +1 -0
  414. package/dist/types/components.d.ts +19 -8
  415. package/dist/types/models/reusableModels.d.ts +2 -0
  416. package/package.json +9 -6
  417. package/dist/cjs/gb-avatar_24.cjs.entry.js +0 -1022
  418. package/dist/cjs/gb-avatar_24.cjs.entry.js.map +0 -1
  419. package/dist/cjs/gb-collapse-button_2.cjs.entry.js +0 -90
  420. package/dist/cjs/gb-collapse-button_2.cjs.entry.js.map +0 -1
  421. package/dist/cjs/gb-sidebar.cjs.entry.js +0 -89
  422. package/dist/cjs/gb-sidebar.cjs.entry.js.map +0 -1
  423. package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js +0 -55
  424. package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js.map +0 -1
  425. package/dist/cjs/gb-tag.cjs.entry.js +0 -28
  426. package/dist/cjs/gb-tag.cjs.entry.js.map +0 -1
  427. package/dist/cjs/gb-tooltip.cjs.entry.js +0 -39
  428. package/dist/cjs/gb-tooltip.cjs.entry.js.map +0 -1
  429. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.js.map +0 -1
  430. package/dist/collection/components/gb-sliders/slider.js.map +0 -1
  431. package/dist/collection/components/gb-tags/gb-tags.js.map +0 -1
  432. package/dist/components/p-0e1ec56d.js +0 -41
  433. package/dist/components/p-123cdd06.js +0 -55
  434. package/dist/components/p-4266561a.js +0 -113
  435. package/dist/components/p-4266561a.js.map +0 -1
  436. package/dist/components/p-4d306827.js +0 -37
  437. package/dist/components/p-52c1516b.js +0 -87
  438. package/dist/components/p-52c1516b.js.map +0 -1
  439. package/dist/components/p-54cefcf0.js +0 -61
  440. package/dist/components/p-58b75242.js +0 -37
  441. package/dist/components/p-5fbe4056.js +0 -64
  442. package/dist/components/p-62acd290.js +0 -48
  443. package/dist/components/p-62acd290.js.map +0 -1
  444. package/dist/components/p-68ac53d7.js +0 -63
  445. package/dist/components/p-824a17f3.js +0 -45
  446. package/dist/components/p-8907e475.js +0 -44
  447. package/dist/components/p-9517c064.js +0 -54
  448. package/dist/components/p-9517c064.js.map +0 -1
  449. package/dist/components/p-9dc84aa6.js +0 -58
  450. package/dist/components/p-a20359a2.js +0 -50
  451. package/dist/components/p-a5850f8c.js +0 -39
  452. package/dist/components/p-a7510c0c.js +0 -91
  453. package/dist/components/p-a7510c0c.js.map +0 -1
  454. package/dist/components/p-a9afcddd.js +0 -50
  455. package/dist/components/p-ab92fc3c.js +0 -116
  456. package/dist/components/p-ab92fc3c.js.map +0 -1
  457. package/dist/components/p-ae666b1f.js +0 -79
  458. package/dist/components/p-b0d34887.js +0 -39
  459. package/dist/components/p-b59eb748.js +0 -142
  460. package/dist/components/p-c9629281.js +0 -113
  461. package/dist/components/p-ca6140dc.js.map +0 -1
  462. package/dist/components/p-caca69ed.js +0 -162
  463. package/dist/components/p-ce25eb27.js +0 -69
  464. package/dist/components/p-d78d8fa1.js +0 -113
  465. package/dist/components/p-d9e59617.js +0 -117
  466. package/dist/components/p-fbcd8aaf.js +0 -46
  467. package/dist/esm/gb-avatar_24.entry.js +0 -995
  468. package/dist/esm/gb-avatar_24.entry.js.map +0 -1
  469. package/dist/esm/gb-collapse-button_2.entry.js +0 -85
  470. package/dist/esm/gb-collapse-button_2.entry.js.map +0 -1
  471. package/dist/esm/gb-sidebar.entry.js +0 -85
  472. package/dist/esm/gb-sidebar.entry.js.map +0 -1
  473. package/dist/esm/gb-tag-checkbox_3.entry.js +0 -49
  474. package/dist/esm/gb-tag-checkbox_3.entry.js.map +0 -1
  475. package/dist/esm/gb-tag.entry.js +0 -24
  476. package/dist/esm/gb-tag.entry.js.map +0 -1
  477. package/dist/esm/gb-tooltip.entry.js +0 -35
  478. package/dist/esm/gb-tooltip.entry.js.map +0 -1
  479. package/dist/globuscomponents/p-01b163c6.entry.js +0 -2
  480. package/dist/globuscomponents/p-0852d5c0.entry.js +0 -2
  481. package/dist/globuscomponents/p-08a4f9a7.entry.js +0 -2
  482. package/dist/globuscomponents/p-115ac3f1.entry.js +0 -2
  483. package/dist/globuscomponents/p-19c4ab3c.entry.js +0 -2
  484. package/dist/globuscomponents/p-19c4ab3c.entry.js.map +0 -1
  485. package/dist/globuscomponents/p-1dc90024.entry.js +0 -2
  486. package/dist/globuscomponents/p-2fd5fb80.entry.js +0 -2
  487. package/dist/globuscomponents/p-2fd5fb80.entry.js.map +0 -1
  488. package/dist/globuscomponents/p-3db54b6b.entry.js +0 -2
  489. package/dist/globuscomponents/p-3f77703d.entry.js +0 -2
  490. package/dist/globuscomponents/p-48ddf6c1.entry.js +0 -2
  491. package/dist/globuscomponents/p-4f6eebab.entry.js +0 -2
  492. package/dist/globuscomponents/p-5831017c.entry.js +0 -2
  493. package/dist/globuscomponents/p-5a5446cc.entry.js +0 -2
  494. package/dist/globuscomponents/p-5a5446cc.entry.js.map +0 -1
  495. package/dist/globuscomponents/p-5cc60ae0.entry.js +0 -2
  496. package/dist/globuscomponents/p-5d5b638e.entry.js +0 -2
  497. package/dist/globuscomponents/p-668477e1.entry.js +0 -2
  498. package/dist/globuscomponents/p-add9ec72.entry.js +0 -2
  499. package/dist/globuscomponents/p-badef09e.entry.js +0 -2
  500. package/dist/globuscomponents/p-bd2d9236.entry.js +0 -2
  501. package/dist/globuscomponents/p-bd2d9236.entry.js.map +0 -1
  502. package/dist/globuscomponents/p-c5541a8c.entry.js +0 -2
  503. package/dist/globuscomponents/p-cb0453d8.entry.js +0 -2
  504. package/dist/globuscomponents/p-cd91a716.entry.js +0 -2
  505. package/dist/globuscomponents/p-d8c473cb.entry.js +0 -2
  506. package/dist/globuscomponents/p-d8c473cb.entry.js.map +0 -1
  507. package/dist/globuscomponents/p-e1a6214b.entry.js +0 -2
  508. package/dist/globuscomponents/p-e5b5bd25.entry.js +0 -2
  509. package/dist/globuscomponents/p-e7f12305.entry.js +0 -2
  510. package/dist/globuscomponents/p-e7f12305.entry.js.map +0 -1
  511. package/dist/globuscomponents/p-f65671f1.entry.js +0 -2
  512. package/dist/globuscomponents/p-f65671f1.entry.js.map +0 -1
  513. package/dist/types/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.d.ts +0 -7
  514. /package/dist/globuscomponents/{p-0852d5c0.entry.js.map → p-76c62d1e.entry.js.map} +0 -0
  515. /package/dist/globuscomponents/{p-e5b5bd25.entry.js.map → p-f16ffdee.entry.js.map} +0 -0
  516. /package/dist/types/components/{gb-sliders/slider.d.ts → gb-slider/gb-slider.d.ts} +0 -0
@@ -33,7 +33,7 @@ export class GbSideBarItem {
33
33
  render() {
34
34
  const redBarSrc = getAssetPath(`assets/bar.svg`);
35
35
  const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
36
- return (h("div", { key: 'db34f61b8b0db0ce33b582afe5ae31aa636080e9', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '88494c090cc6777df0b939788dcb6fac05d5e87d', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '59ec4e68400c980965951c2fa2ce0f1348db6fcb', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '34deb73a006077798ec6fe317d412fa368eb4e60', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '6ea637c627828b6d826b0a704e586d7ebf60283e', class: "content" }, h("div", { key: '1388033f0104ef4d63d46504b68f6911bf247be9', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '9af1a7d4deb61be26ad9fdfdd21ef0ce390a1a6e', 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: 'aa8c52fb2a207780eb498beb6e4fa59d37a714de', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: 'fb5254f29b3a15367643f7bf4223ae165725a079' }, "10"))), this.showArrow && (h("svg", { key: '44b651b290c1f31c5b526be9c02d89b832ea48fc', 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: '0f8fcb5149655ee7f8562e097b4652ae063f7856', 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: '9a09163532cd4ad7347a09187b80eb73c3a47358', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '7ed010a8bb29414da6a519173d9d84d0e51e3a52', slot: "label" }, this.label)))));
36
+ return (h("div", { key: '23fa470bbb9e78bc7531ebbc82bbce8bb2a980dd', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '1187da3d88e0c0b2d9021239141945f596a7a703', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'bd5f666bb049993e6b29f88e958c65e630b9a4ea', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: 'ded04c7749eb3a9567eb2efd29fe0f47246e1b8b', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '0eb43738ef99dd9a12d7af83ee0eb2b0e298f7d6', class: "content" }, h("div", { key: '2e3cfa3ad0d17b78ccafd22999dac46ac8306dea', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '86badbbd3fdfcf41d7091821120a24a201c1e965', 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: '8ed0beb7e36508aa412a27a2a82b286d01ea8b93', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: 'd0914f72a7d225e2f1cb8aa1004093af67ce3d9d' }, "10"))), this.showArrow && (h("svg", { key: 'e833a059ce67e1d5bc88350e118c958e6371aa39', 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: 'c2d767d39553882703a9a3743b7bcffcdbbc5231', 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: 'ad141562979b987f96f080c0696d98fd0db9751c', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: 'c4dbac06a32b480a2d7149333d18a8cedd22dbe7', slot: "label" }, this.label)))));
37
37
  }
38
38
  static get is() { return "gb-side-bar-item"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -68,7 +68,7 @@ export class GbSidebar {
68
68
  const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
69
69
  const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
70
70
  const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
71
- return (h("div", { key: '0e635a1973b53154b08ae2236c0662d1d9fcca31', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '4ee24a23d1d0658e26052becf7e5564212764608', class: "pattern" }, h("img", { key: '67bbb6258c43f51fd6eceedc7fe95aa9c4db8d7f', src: patternSrc, alt: "" }))), h("div", { key: '039988910bd39e1020d433af577e4f0b3aa5c17f', class: "nav" }, h("div", { key: '3b06881f80645b75410fdb3d38f16b28a830fe98', class: `sidebar_header ${this.state}` }, h("div", { key: 'f9652672d846d536a7a874504abda10ad66c9f2d', 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: 'b775c8c6133b4625bca2481e983ca5c0fbf02c44', src: logoSrc, alt: "" })), h("div", { key: 'c375c92598c2caa1ffc6daa1aaae282a671ae9ee', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '4ce6bf44bb756876fc7695868ebad928af0a9617', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '492adef6560a602713643f79de73da35ae0204db', class: "navigation" }, h("div", { key: '13e1713297c2c59c1658e915b2d4ff50c2c344e0', class: "item" }, h("gb-side-bar-item", { key: 'bd5769ae706dfb287cd1007a37b3905db845a808', 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: 'd2c86a3135fbc87429b2f3c142c782f394c4430c', 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: '8616dacab9329f2e0b3f9028bf94f1252b1ab88c', 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: '2b8c8ede9444ea6c31cfcb6e8f4d4b93f2da42f3', 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: 'ac2681ba32bb6d3a021e2c65a653bbe66972e282', 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: '714909452bfdfc3e0865d3775f079df47660dfda', class: "navigation" }, h("div", { key: '46c5811a6bfb8957c69a99c7f1971fb7b0da13cf', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: 'fc1b9de1cb1695261feb948534f637ba6b3b7a1f', 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: '7e4a1bd6698938ce4e9cf15f175a3a08f3086d03', 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: 'f4bd28bbaa1bcb31b95f8b62000b23622f54d911', 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: '8153ecf6ba7137174bdf0caee99a843df1bc641c', 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: '11f2379f2d6ae2568d7fd6038c8ef59fdc3f59a1', 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: '226d4c83547dbb910f0da27ebf6e6ebc591deed8', class: "application_name" }, h("div", { key: 'e32a29dffa55f134ff5b06459c4deff327aa46f7', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: 'caac6f766d0e8c70138c04c41000155d8cde3a0d', class: "application_name_pattern" }, h("img", { key: 'f7c670120ddde51dc299601fd70c0b677126ac43', src: patternSrc, alt: "" }))), h("div", { key: '0ebe32686c8ab43beeff5ec62682287faad488f7', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: 'ce338cb67c321d3cb131162f757724e225569aa6', class: textClass }, h("slot", { key: '4ee420974501717404d76b5b0e41fc7a5dd264f0', name: "application_name" })))))));
71
+ return (h("div", { key: '65a8e52baf301552789a3743289f0e875ca972cf', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'a30ef33731a4383189e4ad64b55753644946465b', class: "pattern" }, h("img", { key: '4fb4c6653f629c2f05b5a167591a84a36a07cd54', src: patternSrc, alt: "" }))), h("div", { key: '5997fab39e7de88bcc3809d6d86c899a0e24d67d', class: "nav" }, h("div", { key: 'c510e6920b5ba3317a7d70ae33d10bf5b6192e90', class: `sidebar_header ${this.state}` }, h("div", { key: 'ee3910203ee8ee7a93b61397722cffafc841484a', 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: 'f88e66879ee4fe850a4b6ee99b310ca6a86e94bb', src: logoSrc, alt: "" })), h("div", { key: 'a2884255a411f54a1bd1b8c01ba53033ad613144', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'ad229e501d51a896794ccc8e6eb8e4473a99fa86', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: 'b7e31b993f7515e9e95e12e15d52345037ea00f3', class: "navigation" }, h("div", { key: '882a4a16ef9000b8edebe22584791f1652d38386', class: "item" }, h("gb-side-bar-item", { key: '67ea9ff50a8b5ebd952d1f1ceb785fd0a3749bc4', 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: 'a3a9bb0d49b9ffb785001c41284ebf8bf09a758b', 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: '972ba0c6570a6347a9b9bb61663d7360bfdfcf1e', 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: 'ce9b9e04071308098da3833a58e27b49659a8ed0', 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: 'ab11c8521cac228487631aacfa9b82c1b0e5c831', 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: '60d82355ae43b090addeca297a59bba0263940b3', class: "navigation" }, h("div", { key: 'e603e97ffdc00652ee76bfb1ea17846b2e2b5bda', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: '50b8dfc4b7ef623de9286db58f8518773098f62e', 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: '0312c3f2434c69640346f439e1caa433c951b925', 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: '87fb00b5413e7ae4415d77a9f352202eb53f468d', 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: 'b1216172f8fbd8e476845c26bd365897ced83581', 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: '7a345b05c2a34fcfa8ee0c697d661bf39f5d8dc0', 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: 'cef32090a15c2b748e8969240d21cf46f807b792', class: "application_name" }, h("div", { key: '2ded7143fd21d06f994c31d6861328eb78ad6d49', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '06a456651f46ebc95d5add7ffa47b355d3f83179', class: "application_name_pattern" }, h("img", { key: '5bfdcf108997e3f4413757bb0ae53104d62b4d2b', src: patternSrc, alt: "" }))), h("div", { key: 'a5899bdc35e0965a8eb346f5339e12aeb4f3e865', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '838ade9f028643cf9af847357a1c1a0a70bba6d1', class: textClass }, h("slot", { key: 'dc48b95f4c4360dadfbd44634857eee3a7a14c65', name: "application_name" })))))));
72
72
  }
73
73
  static get is() { return "gb-sidebar"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -2150,7 +2152,6 @@
2150
2152
 
2151
2153
  :host {
2152
2154
  display: block;
2153
- width: 320px;
2154
2155
  height: 4px;
2155
2156
  padding: 20px;
2156
2157
  cursor: pointer;
@@ -2158,7 +2159,7 @@
2158
2159
 
2159
2160
  .slider-container {
2160
2161
  position: relative;
2161
- width: 320px;
2162
+ width: 100%;
2162
2163
  height: 8px;
2163
2164
  background-color: #e0e0e0;
2164
2165
  border-radius: var(--rounded-xs);
@@ -56,18 +56,18 @@ export class GbSlider {
56
56
  this.trackEl.style.width = `${rightPos - leftPos}%`;
57
57
  }
58
58
  render() {
59
- return (h("div", { key: '9dba5ba34dc8ec90f33eae1c4c0dde1a83115254', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: 'af5e977cf9b769212929c23a68a2a1232c525a9a', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: '30c41ad93517306b05030adbf859e853bd1f0fcc', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '323a8f8f6893ab29f020f6f670724559004c8f3f', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
59
+ return (h("div", { key: '827265ae06689ed88219562a54ffcc1e6d3c2958', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '8d5ba7ac675e0e0be30e196820c8ec1ec1c1172a', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: 'a1e19d55acab2ef30bb98243ec79fc1991d684a5', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '7ab16ed3ad9bce6dd8bd0d825f1623d8e295a67f', 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"; }
63
63
  static get originalStyleUrls() {
64
64
  return {
65
- "$": ["slider.css"]
65
+ "$": ["gb-slider.css"]
66
66
  };
67
67
  }
68
68
  static get styleUrls() {
69
69
  return {
70
- "$": ["slider.css"]
70
+ "$": ["gb-slider.css"]
71
71
  };
72
72
  }
73
73
  static get properties() {
@@ -154,4 +154,4 @@ export class GbSlider {
154
154
  }
155
155
  static get elementRef() { return "el"; }
156
156
  }
157
- //# sourceMappingURL=slider.js.map
157
+ //# sourceMappingURL=gb-slider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gb-slider.js","sourceRoot":"","sources":["../../../src/components/gb-slider/gb-slider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAgB,CAAC,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxF,MAAM,OAAO,QAAQ;;QAcX,eAAU,GAAY,KAAK,CAAC;QAC5B,gBAAW,GAA4B,IAAI,CAAC;QAE5C,eAAU,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;QAQ1C,oBAAe,GAAG,CAAC,EAAc,EAAE,KAAuB,EAAE,EAAE;YAC5D,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;YACzB,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;YAC7D,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3D,CAAC,CAAA;QAED,oBAAe,GAAG,CAAC,CAAa,EAAE,EAAE;YAClC,IAAI,CAAC,IAAI,CAAC,UAAU;gBAAE,OAAO;YAE7B,sEAAsE;YACtE,MAAM,QAAQ,GAAG,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC;YAE1D,6FAA6F;YAC7F,MAAM,KAAK,GAAG,IAAI,CAAC,oBAAoB,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;YAExD,wCAAwC;YACxC,IAAI,IAAI,CAAC,WAAW,KAAK,MAAM,EAAE,CAAC;gBAChC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC,CAAC;YACzD,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC,CAAC;YACzD,CAAC;YAED,yDAAyD;YACzD,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QAC1E,CAAC,CAAA;QAED,kBAAa,GAAG,GAAG,EAAE;YACnB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;YACxB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YACxB,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;YAChE,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAC9D,CAAC,CAAA;mBAvDqB,CAAC;mBACD,GAAG;yBACe,MAAM;yBAEjB,CAAC;0BACA,GAAG;;IAWjC,gBAAgB;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC1D,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;QACzE,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAqCD,oBAAoB,CAAC,KAAa;QAChC,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAC3C,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAC9D,CAAC;IACJ,CAAC;IAED,WAAW;QACT,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC;QAEjC,2EAA2E;QAC3E,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,OAAO,GAAG,CAAC;QACxC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,QAAQ,GAAG,OAAO,GAAG,CAAC;IACtD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,kBAAkB,EAAC,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,GAAG,EAAoB;YAChF,4DAAK,KAAK,EAAC,OAAO,EAAC,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,GAAG,EAAoB,GAAQ;YAE3E,iFACE,KAAK,EAAC,MAAM,EACZ,KAAK,EAAE,IAAI,CAAC,SAAS,EACrB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,SAAS,GAAG,EAAE,EACrC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,CAAC,GACzB;YAE5B,iFACE,KAAK,EAAC,OAAO,EACb,KAAK,EAAE,IAAI,CAAC,UAAU,EACtB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,UAAU,GAAG,EAAE,EACtC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC,GAC1B,CACxB,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, State, Event, EventEmitter, h, Element } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-slider',\r\n styleUrl: 'gb-slider.css',\r\n shadow: true,\r\n})\r\nexport class GbSlider {\r\n @Element() el: HTMLElement;\r\n\r\n @Prop() min: number = 0; \r\n @Prop() max: number = 100; \r\n @Prop() thumbType: 'text' | 'tooltip' = 'text'; \r\n\r\n @State() leftValue: number = 0; \r\n @State() rightValue: number = 100; \r\n\r\n @Event() valueChange: EventEmitter<{ left: number; right: number }>;\r\n\r\n private trackEl: HTMLDivElement; \r\n private containerEl: HTMLDivElement; \r\n private isDragging: boolean = false; \r\n private activeThumb: 'left' | 'right' | null = null;\r\n\r\n private snapPoints = [0, 25, 50, 75, 100];\r\n\r\n componentDidLoad() {\r\n this.trackEl = this.el.shadowRoot.querySelector('.track');\r\n this.containerEl = this.el.shadowRoot.querySelector('.slider-container');\r\n this.updateTrack(); \r\n }\r\n\r\n handleMouseDown = (_e: MouseEvent, thumb: 'left' | 'right') => {\r\n this.isDragging = true;\r\n this.activeThumb = thumb; \r\n document.addEventListener('mousemove', this.handleMouseMove);\r\n document.addEventListener('mouseup', this.handleMouseUp);\r\n }\r\n\r\n handleMouseMove = (e: MouseEvent) => {\r\n if (!this.isDragging) return; \r\n\r\n // Calculate the position of the mouse relative to the slider's width.\r\n const position = e.offsetX / this.containerEl.offsetWidth;\r\n \r\n // Convert the position into a value within the slider's range and snap to the nearest point.\r\n const value = this.findNearestSnapPoint(position * 100);\r\n\r\n // Update the appropriate thumb's value.\r\n if (this.activeThumb === 'left') {\r\n this.leftValue = Math.min(value, this.rightValue - 25);\r\n } else {\r\n this.rightValue = Math.max(value, this.leftValue + 25);\r\n }\r\n\r\n // Update the track's appearance and emit the new values.\r\n this.updateTrack();\r\n this.valueChange.emit({ left: this.leftValue, right: this.rightValue });\r\n }\r\n\r\n handleMouseUp = () => {\r\n this.isDragging = false; \r\n this.activeThumb = null; \r\n document.removeEventListener('mousemove', this.handleMouseMove);\r\n document.removeEventListener('mouseup', this.handleMouseUp);\r\n }\r\n\r\n findNearestSnapPoint(value: number): number {\r\n return this.snapPoints.reduce((prev, curr) => \r\n Math.abs(curr - value) < Math.abs(prev - value) ? curr : prev\r\n );\r\n }\r\n\r\n updateTrack() {\r\n const leftPos = this.leftValue; \r\n const rightPos = this.rightValue; \r\n \r\n // Update the track's left position and width to match the thumb positions.\r\n this.trackEl.style.left = `${leftPos}%`;\r\n this.trackEl.style.width = `${rightPos - leftPos}%`;\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"slider-container\" ref={(el) => this.containerEl = el as HTMLDivElement}>\r\n <div class=\"track\" ref={(el) => this.trackEl = el as HTMLDivElement}></div>\r\n \r\n <gb-slider-control-handle \r\n class=\"left\"\r\n value={this.leftValue}\r\n type={this.thumbType}\r\n style={{ left: `${this.leftValue}%` }}\r\n onMouseDown={(e) => this.handleMouseDown(e, 'left')}\r\n ></gb-slider-control-handle>\r\n\r\n <gb-slider-control-handle \r\n class=\"right\"\r\n value={this.rightValue}\r\n type={this.thumbType}\r\n style={{ left: `${this.rightValue}%` }}\r\n onMouseDown={(e) => this.handleMouseDown(e, 'right')}\r\n ></gb-slider-control-handle>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -19,7 +19,7 @@ export class SliderControlHandle {
19
19
  this.isFocused = false;
20
20
  }
21
21
  render() {
22
- return (h("div", { key: '40e938e2e9973175715b9b7acc42975b1da0adcd', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '0046086f8d96f9c71fe0efc9ab47eb3929a26b2d', class: "tooltip-container" }, h("gb-tooltip", { key: '45acf037d1f7a19b2362bd71486fab10ba59599d', arrow: 'none' }, h("p", { key: '090ba2eb818f22613502c5c1c3342700f1c0818f', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: '17d9f20aaae01a5ac0ad42d2f2e2eec43dab445f', class: "thumb-label" }, this.value, "%"))));
22
+ return (h("div", { key: '3ee19602689ebb99d8f6783eb5d082409a6fc3c5', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: 'b341d4582389dfb43cf572c13e14895d1bea5063', class: "tooltip-container" }, h("gb-tooltip", { key: 'ecaa477274be0c4e3386c0191dda995343db5938', arrow: 'none' }, h("p", { key: '3ef29d4c9693cd8456c5a65ebb49ca894de363cf', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: 'b8a47274326f8d0a34f8b0f0e5d9cf29d32f2aaa', class: "thumb-label" }, this.value, "%"))));
23
23
  }
24
24
  static get is() { return "gb-slider-control-handle"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -9,7 +9,7 @@ export class GbStatusIndicator {
9
9
  }
10
10
  render() {
11
11
  return [
12
- h("div", { key: 'c5e00b5324a7875a74139ada9c26a9031867934c' }, this.statusIcon === 'online_indicator' && h("div", { key: '06174401d7914f64231e282a914bfea2d5b62864', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: '03e65ae12ad53c6f5149916b81637a071ad581b7', 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: 'c6180f795f24371b935e033e29dae8116f7b3bd1', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '4809597cb742d8ca9ec39efaed06c8bb5894d1cf', 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: '8c2299cb9ff8ff647f2bba562e2d8a196c64215c', 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: 'd606fb95894e623cbde46eafba2b6032f1a39e9e' }, h("clipPath", { key: 'a11d4c19a4bb7386beadec14e09689100ea0306a', id: "clip0_0_21453" }, h("rect", { key: '585c41a01884bc720d31fbdb0fbec5ac361e2965', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: 'c4ed5ff1bb464676b8dc7fc03588b31137881d51', 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: 'e57adcce77ef0d33269c49a752e4bde2eab278d2', 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: '24729537e0753e054ce9da887b737e7bb4b68b22', "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: '320d660f49656132bbbccbd3e85545ea5592978a' }, this.statusIcon === 'online_indicator' && h("div", { key: '3a125a4d5944c820ae1ec9f0b7f8ea35b89d2c48', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: 'd7502519aa5ffa5fe4108b52236d5d6f52de1a24', 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: 'be8437333df31a271504fbfc0b788ddfc91039e8', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '036cd4162eb05b97198b1f497f9ad3a4e059d64b', 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: '55bf949adcc33e7ac6e5ddce88f68998df703b1e', 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: '0843e4bf6197016a240aff010c800cd49e0db104' }, h("clipPath", { key: 'eff5d7f8a77d828bd82b937ccc23bf859b1bf219', id: "clip0_0_21453" }, h("rect", { key: '5c7b93cd7a83409af8023f57639bc7b2f3364a5f', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: '2bed52dca7037e1952da2deca304e215f279f928', 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: '0bfc2552a5a2b7e7de3a5dc1bf1f58105f51e1a2', 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: '59057d22367752c73a6a08cb7b9aa9fbb7bb7519', "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"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -42,12 +42,12 @@ export class GbTabButtonBase {
42
42
  this.tabClicked.emit();
43
43
  }
44
44
  render() {
45
- return (h("div", { key: 'd29956d15253520800f1235c10539266ea062d63', class: `tab_button_div ${this.type}
45
+ return (h("div", { key: '049a8391c42d195deba6fd6c386a4e375556c661', 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: '085ff9306540b01798c610868a39ea684257f286', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: '25cb02b0ad4716f4652ab192ff8a43c0bf85bdb7', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary' ? 'information' :
48
+ ${this.size}`, onClick: () => this.handleClick() }, h("p", { key: '8d1be7489ee0c94c5d5db236d1ccf2c7b24cdd6b', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: 'faee58c2d89257c6b2393c8a9e182222f171cb66', 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: 'a89afc2a0bdf7cfb5e3ca39fb873a30bb82f2da6', name: "count" })))));
50
+ this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '1adc26ec74697455a58f4e9f8d8687b8f9be8da3', name: "count" })))));
51
51
  }
52
52
  static get is() { return "gb-tab-button-base"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -3168,6 +3170,11 @@
3168
3170
  margin-top: -0.416em;
3169
3171
  }
3170
3172
 
3173
+ :host{
3174
+ display: flex;
3175
+ align-items: center;
3176
+ }
3177
+
3171
3178
  .container {
3172
3179
  display: inline-flex;
3173
3180
  justify-content: center;
@@ -7,20 +7,23 @@ export class GbTag {
7
7
  this.flagSwap = undefined;
8
8
  this.checkbox = undefined;
9
9
  }
10
+ async onTagClose() {
11
+ console.log('close tag clicked');
12
+ }
10
13
  render() {
11
14
  const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);
12
- return (h("div", { key: '2c60613b08d4787160e41a74adb2faa687842755', class: `container ${this.size}` }, h("div", { key: '5df538849b4b0cfde5d4ecb863f20de8634d4d1d', class: `content ${this.size}` }, this.checkbox && (h("gb-tag-checkbox", { key: '1f99575d081ca46f84b73a5f7ac6aa0b2c22bc0b', size: this.size })), this.icon === 'country' && (h("div", { key: '0e1f9c09d432ab445db8279ddd72b174a125af1c', class: "icon left-icon" }, h("img", { key: '714cdb569dba0dd68f35bdab7394da0bef9f0c86', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'b6d5c00da02aea4c40b66ae352c40d1059ddf2fa', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '71c7c11087792a6a56cfee9155813e45ff7eeb79', name: 'image', slot: 'image' }))), this.icon === 'dot' && (h("svg", { key: 'a0d1eda5ea7a3ec29cfce1fb2163b7b0ade33365', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: '9936913501cbedf9b6952a466d1a62fe647500e3', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: 'b6fda2fd986b0af25e122f999e63616c48630f6b' }), this.action === 'count' && (h("gb-tag-count", { key: '5843202368cf6175dcf5d3b2fb33b1e74d16b265', size: this.size }, h("slot", { key: 'c0a28beb2017450c051f368c92a111edbe9d8052', slot: "count", name: "count" })))), this.action === 'X_close' && (h("gb-tag-close", { key: '4f057e43037fc50d2c994bbc3b748ec883afa11b', size: this.size }))));
15
+ return (h("div", { key: '214ea31399a88eb708cb37a6ad0df88ddd3e4ce9', class: `container ${this.size}` }, h("div", { key: 'e963f23aad2d6f110ee45c0060d56a306308f111', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: 'df8440ee0e7c3a6557e16fea4ed21dfb54582f89', size: this.size }), this.icon === 'country' && (h("div", { key: '4b679293ea95fbade4c5e591bd50cfa88f5e67d5', class: "icon left-icon" }, h("img", { key: '61e5e5506239c9421fa24f6064ae92369af7c9a7', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'b073b24e7ddfadf5e1c61e54efe57bed93be78ee', class: "avatar-icon", size: "xxs", "status-icon": "false" }, h("slot", { key: 'f307e665f31148374ae9e038f1a74728558fc2de', name: "image", slot: "image" }))), this.icon === 'dot' && (h("svg", { key: 'e4de432cbd31725acc2f27d0808591ac002cea75', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: 'c81c1166ff4a9025a18ebb0d416549f606b11d3c', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: '3f3f8e3621e9e21e9cdf64f3bf0a50da5cf848db' }), this.action === 'count' && (h("gb-tag-count", { key: '096e590457ba50bb96aab686470f3f452cd8e9fa', size: this.size }, h("slot", { key: 'a3d07ba8af17826d95d9a72099d7724a6c73e6e6', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: '711e5578cddaa9194bd2748613dcbb32179f4f38', size: this.size, onClick: () => this.onTagClose() })));
13
16
  }
14
17
  static get is() { return "gb-tag"; }
15
18
  static get encapsulation() { return "shadow"; }
16
19
  static get originalStyleUrls() {
17
20
  return {
18
- "$": ["gb-tags.css"]
21
+ "$": ["gb-tag.css"]
19
22
  };
20
23
  }
21
24
  static get styleUrls() {
22
25
  return {
23
- "$": ["gb-tags.css"]
26
+ "$": ["gb-tag.css"]
24
27
  };
25
28
  }
26
29
  static get properties() {
@@ -112,5 +115,26 @@ export class GbTag {
112
115
  }
113
116
  };
114
117
  }
118
+ static get methods() {
119
+ return {
120
+ "onTagClose": {
121
+ "complexType": {
122
+ "signature": "() => Promise<void>",
123
+ "parameters": [],
124
+ "references": {
125
+ "Promise": {
126
+ "location": "global",
127
+ "id": "global::Promise"
128
+ }
129
+ },
130
+ "return": "Promise<void>"
131
+ },
132
+ "docs": {
133
+ "text": "",
134
+ "tags": []
135
+ }
136
+ }
137
+ };
138
+ }
115
139
  }
116
- //# sourceMappingURL=gb-tags.js.map
140
+ //# sourceMappingURL=gb-tag.js.map
@@ -0,0 +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;AAOzE,MAAM,OAAO,KAAK;;;;;;;;IAQhB,KAAK,CAAC,UAAU;QACd,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACnC,CAAC;IAED,MAAM;QACJ,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,IAAI,CAAC,QAAQ,MAAM,CAAC,CAAC;QAE7D,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;oBAC3D,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC7B,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\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: 'sm' | 'md' | 'lg';\r\n @Prop() icon?: 'country' | 'avatar' | 'dot';\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(`assets/${this.flagSwap}.svg`);\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\">\r\n <slot name=\"image\" slot=\"image\"></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,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -6,7 +6,7 @@ export class GbTagCheckbox {
6
6
  this.disabled = false;
7
7
  }
8
8
  render() {
9
- return (h("label", { key: 'fc6467dbb9a9444995e62d8fc8104fc70fa057f5', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '4feefb34511c85596ab8295c37308328d720382c', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '4952d765149f8d3051b7a1e63ab8739f3470c099', class: `custom-checkbox ${this.size}` }, h("svg", { key: '3e3da2c070bf50e4c3b4d30e85c8016f6c6017f6', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: 'ed5b51160fc1415c849f7e058042cb1689fb8d2d', 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: '7ffae775e64eedd52f63f7f6ef8b088183cdf58b', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '443ffa700a59f62c7d068e188bec0171a3077307', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '733b42d557b89d526a80667f871f90b3d02073f8', class: `custom-checkbox ${this.size}` }, h("svg", { key: '16847b0f45aa9932a24f5c1c36e67ee7928dafe1', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '1ea1ccc7cc4a27f294fa4c0f3bccd880fb3c7b0b', 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"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -4,7 +4,7 @@ export class GbTagClose {
4
4
  this.size = undefined;
5
5
  }
6
6
  render() {
7
- return (h("div", { key: 'c774f5d039b820f3e1eeee03037cd55c2b7e4d10', class: this.size }, h("svg", { key: '06335a3480da86b98eb3530c4c8ebcbfdf123732', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '7a4fce36634c9d4995bdf77b7449273734588f44', 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: '72f961552aca2fb2e45f71a8c53188cfe701fba7', class: this.size }, h("svg", { key: 'df845377603432ad88a92264099c8aa31c280a26', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: 'b648e081d9e6db1cabf6881ce293333695802e5d', 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"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -4,7 +4,7 @@ export class GbTagCount {
4
4
  this.size = undefined;
5
5
  }
6
6
  render() {
7
- return (h("div", { key: 'db327afd66eb11d1209d3cdbb66e59e177ea5344', class: this.size }, h("slot", { key: '460cbe843b6e3c01d55f0f6ea57b729055eb66c9', name: "count" })));
7
+ return (h("div", { key: '09e6395684f5165271cc8b64b624eb23c346bafe', class: this.size }, h("slot", { key: 'de07e40b96f76be8379850b11d33731ef91ecbdf', name: "count" })));
8
8
  }
9
9
  static get is() { return "gb-tag-count"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -37,7 +37,7 @@ export class GbToast {
37
37
  slottedSupportingText.classList.add(this.getSupportingColorClasses());
38
38
  }
39
39
  render() {
40
- return (h("div", { key: 'ad65f1946521ecb904521fb97f4818123d805b83', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '6c0c04f42607eab8ca1fd0c65feb55081f3db24d', class: `icon_container` }, h("svg", { key: '065601775e7e00904482d1bd1628b75811e4ad9f', 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: 'cfcc44f89306f236a5edc433aa0c09aee030d801', 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: '83133a7277680eef5119e60040801c2adff0ab9e', "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: '9dc87758979d7851c4d08e51ba940b0e82a69040', "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: 'c41d2e49143eaf85f6f87c6b883e0b436e646f85', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: '35cc9856c6d195d60e232acbecd08a5fc195162b', class: `text ${this.size}` }, h("slot", { key: 'e7c9046393a475eb8aef0293a92b069e8b8112cd', name: "main_text" }), this.showSupportingText && h("slot", { key: 'ee94535b333c19b3be8e42a1b91b25b3162a5389', name: "supporting_text" })), this.actions && (h("div", { key: '07ea731b32e7185adb7e57de362569f4f4522e33', 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: '9c9d939a1429c213374834618eebb5136cdebc65', 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: 'ee1fd15413c75f6ed03a4764788d86166eecc8ab', class: `container ${this.breakpoint}` }, h("div", { key: 'a2e4fee33ad5ee532f324cbbf3dd7386a2ea6a3c', class: `full_width_content ${this.breakpoint}` }, h("div", { key: 'b45d62dcf6fa6dbc39b5718b0c95238146650181', class: `inner_content ${this.breakpoint}` }, h("div", { key: '39649f731fdfc867d6696675f3e90fead80e9b13', class: `icon_container` }, h("svg", { key: '6e2fd56abdd5071eff2863168dac610185863edb', 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: '9a1d659a2bf57ee0d7511407be08ab83a4d7cd16', 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: '2b20b59abde57d0aa6976de011866b97fe952a70', "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: 'd66a3713096b221c4079cab87db66965d5a54a5f', "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: '5b7637e714cb0c50df6bb3eb5ef8fcc16bbab830', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: '584484be164779a7131bde487c7aa6a1eec78cfd', name: "main_text" }), this.showSupportingText && h("slot", { key: '82d09331ba157e9080fb637d1c14a3c681de389d', name: "supporting_text" }))), this.actions && (h("div", { key: 'd32a0ae2f4084a92646ea4669a8ca211635c4dc6', 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: 'ba600bda2d201a9faa213d61eefa9714ca54828d', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.breakpoint}` }))))));
40
+ return (h("div", { key: '8fecab916c8a84f8b195fd77d98ca8cd76690eef', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '90fa807cd9523f1905d978021a23ef3a3298b92b', class: `icon_container` }, h("svg", { key: '41b24960cd1ec92e2882bfd1c0b770323ab5f282', 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: '33ed40e7ed4102ae9e1dc8aacf6f040ea3e1f75d', 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: '6f83bb9c2c72d0e8d9e58508b73549692626b9da', "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: 'e7a59e06656954b2fd2ff8db35560e4b5f21f922', "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: 'b0663ac8570387427a2139e08c34d23a6b98218f', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: '9af2e8551727ba3b955abb7ce9351779046321cc', class: `text ${this.size}` }, h("slot", { key: '297507041d31bf63817a1a466b4e8e1df3ad52f1', name: "main_text" }), this.showSupportingText && h("slot", { key: 'f32cc6dd632213a0adefcc7acceb870c5b51c27c', name: "supporting_text" })), this.actions && (h("div", { key: '6dfd112753906977c5981f747976495cf06b1fec', 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: '467422ac92cf7e3ccdfa7dc3c38ef2a3b9ec2884', 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: '0d672e858fdcfce43d0ab4b46c68469691b9fce9', class: `container ${this.breakpoint}` }, h("div", { key: '579bf9b1b35f56b76da1884818cae6319181e63b', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '64c7ce87df83dd5290c640d25fcf9bce3e3b09fc', class: `inner_content ${this.breakpoint}` }, h("div", { key: '19f0f24a8c2058c42e65bfd3870af3347ac7ac02', class: `icon_container` }, h("svg", { key: '1413d0881d2e583a9d3a46e6e99da35fba441b5d', 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: '1f0ffcfdaaf192442592bada2e21d18bd9b55fa1', 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: 'd5d88aa2a18496d01f4fbe489407c0d792cf912b', "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: '18db03b37845df4e1476455b26808b596ad856da', "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: '3c1b6dc8ce010702a1d964b46a6738fbcec3d46b', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: 'c65945333d48e4c1833c9a37ce170787150f01bf', name: "main_text" }), this.showSupportingText && h("slot", { key: '8fe3ddf66eb374944ad1ec1c97b580edac43e939', name: "supporting_text" }))), this.actions && (h("div", { key: '538b44466d5ad7a82c9865385f66c0cd0368b679', 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: 'f0956eb646b21aea06029a8ae64e67770be31ea1', 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"; }
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -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: '20cf7f98e85eeb0fee96be92784eacd319205c2e', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: '654f7012017a2753c8fdf25e3a36bb2c01bdc95f' })));
12
+ return (h("div", { key: 'd625bed24b8dc3c076f8ae1949fe2a0b663751fb', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: '58b93846b77e2d2f1701399068816b40e999e506' })));
13
13
  }
14
14
  static get is() { return "gb-toast-button"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -32,7 +32,7 @@ export class GbToggle {
32
32
  }
33
33
  }
34
34
  render() {
35
- return (h("div", { key: 'f3ef5f35bf0ffc7c4f3d9657f71c09da35897441', class: `toggle_div ${this.size}` }, h("div", { key: '53d51086e994270f5b37abda8444a76576c09780', class: "toggle_base" }, h("gb-toggle-base", { key: '59011e76cb0c85257fd10f53eda66bfded14c3aa', size: this.size, state: this.state })), h("div", { key: '9b766f0a7c51bffb52a84a17328f4ca6744a2c79', class: "text" }, h("slot", { key: '334f35211a182a28e3e528e17e4145bdb265683a', name: "main_text" }), this.supportingText && (h("slot", { key: '3e3a6c1019f0b5841d828bc2a2f156c415a25ac9', name: "supporting_text" })))));
35
+ return (h("div", { key: 'f988e59e23dfff5d1c3716b34d9a840d19af6082', class: `toggle_div ${this.size}` }, h("div", { key: '385df9511753dcaba2392430d3495956c4408bfb', class: "toggle_base" }, h("gb-toggle-base", { key: 'eaac1f9730f33c2a02219fcee31ed8e972689f16', size: this.size, state: this.state })), h("div", { key: 'b7ecc6891deb3c457299e262f77c269aec494fe4', class: "text" }, h("slot", { key: 'a1fdde8b11ffcfe840b8ac1f0646148964816c98', name: "main_text" }), this.supportingText && (h("slot", { key: '71701212eced426406a1c29d8f8adcd278526192', name: "supporting_text" })))));
36
36
  }
37
37
  static get is() { return "gb-toggle"; }
38
38
  static get encapsulation() { return "shadow"; }