globuswebcomponents 0.5.1 → 0.5.2

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 (454) 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_30.cjs.entry.js +1326 -0
  8. package/dist/cjs/gb-avatar_30.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-notification-content.cjs.entry.js +2 -2
  22. package/dist/cjs/gb-notification-content.cjs.entry.js.map +1 -1
  23. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  24. package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
  25. package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -1
  26. package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
  27. package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
  28. package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js +6 -6
  29. package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js.map +1 -1
  30. package/dist/cjs/gb-tag.cjs.entry.js +2 -2
  31. package/dist/cjs/gb-tag.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
  33. package/dist/cjs/gb-toast-button.cjs.entry.js.map +1 -1
  34. package/dist/cjs/gb-toast.cjs.entry.js +2 -2
  35. package/dist/cjs/gb-toast.cjs.entry.js.map +1 -1
  36. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  37. package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
  38. package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -1
  39. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  40. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
  41. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
  42. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -1
  43. package/dist/cjs/globuscomponents.cjs.js +1 -1
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/collection/assets/calendar-02.svg +6 -0
  46. package/dist/collection/assets/database-sync.svg +6 -0
  47. package/dist/collection/assets/search-01.svg +3 -0
  48. package/dist/collection/collection-manifest.json +1 -1
  49. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +2 -0
  50. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2 -0
  51. package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2 -0
  52. package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -0
  53. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -0
  54. package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +2 -0
  55. package/dist/collection/components/gb-badge-close/gb-badge-close.css +2 -0
  56. package/dist/collection/components/gb-badges/gb-badges.css +2 -0
  57. package/dist/collection/components/gb-btn/gb-btn.css +2 -0
  58. package/dist/collection/components/gb-button/gb-button.css +2 -0
  59. package/dist/collection/components/gb-button-close/gb-button-close.css +2 -0
  60. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +2 -0
  61. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +2 -0
  62. package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +2 -0
  63. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +2 -0
  64. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +2 -0
  65. package/dist/collection/components/gb-header-icon/gb-header-icon.css +2 -0
  66. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +2 -0
  67. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +2 -0
  68. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +2 -0
  69. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +55 -3
  70. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  71. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.css +2 -0
  72. package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.js +2 -2
  73. package/dist/collection/components/gb-input-field/gb-input-field.css +2 -0
  74. package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
  75. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +2 -0
  76. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  77. package/dist/collection/components/gb-notification-content/gb-notification-content.css +2 -0
  78. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  79. package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +2 -0
  80. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +1 -1
  81. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  82. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  83. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  84. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +2 -0
  85. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  86. package/dist/collection/components/gb-password-button/gb-password-button.css +2 -0
  87. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  88. package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +2 -0
  89. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  90. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  91. package/dist/collection/components/gb-rich-text/gb-rich-text.css +2 -0
  92. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  93. package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +2 -0
  94. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  95. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +2 -0
  96. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  97. package/dist/collection/components/gb-sidebar/gb-sidebar.css +2 -0
  98. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  99. package/dist/collection/components/{gb-sliders/slider.css → gb-slider/gb-slider.css} +3 -2
  100. package/dist/collection/components/{gb-sliders/slider.js → gb-slider/gb-slider.js} +4 -4
  101. package/dist/collection/components/gb-slider/gb-slider.js.map +1 -0
  102. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +2 -0
  103. package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
  104. package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +2 -0
  105. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  106. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +2 -0
  107. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  108. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +2 -0
  109. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  110. package/dist/collection/components/gb-tag-close/gb-tag-close.css +2 -0
  111. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  112. package/dist/collection/components/gb-tag-count/gb-tag-count.css +2 -0
  113. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  114. package/dist/collection/components/gb-tags/gb-tags.css +2 -0
  115. package/dist/collection/components/gb-tags/gb-tags.js +1 -1
  116. package/dist/collection/components/gb-toast/gb-toast.css +2 -0
  117. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  118. package/dist/collection/components/gb-toast-button/gb-toast-button.css +2 -0
  119. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  120. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  121. package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +1613 -1
  122. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  123. package/dist/collection/components/gb-token-field/gb-token-field.css +2 -0
  124. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  125. package/dist/collection/components/gb-tooltip/gb-tooltip.css +2 -0
  126. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  127. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2 -0
  128. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  129. package/dist/collection/global/global.css +2 -0
  130. package/dist/collection/global/tailwind.css +2 -2
  131. package/dist/components/gb-avatar-add-button.js +1 -1
  132. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  133. package/dist/components/gb-avatar-dropdown.js +6 -6
  134. package/dist/components/gb-avatar-dropdown.js.map +1 -1
  135. package/dist/components/gb-avatar-group.js +5 -5
  136. package/dist/components/gb-avatar-label-group.js +1 -1
  137. package/dist/components/gb-avatar-profile-photo.js +4 -4
  138. package/dist/components/gb-avatar-profile-photo.js.map +1 -1
  139. package/dist/components/gb-avatar.js +1 -1
  140. package/dist/components/gb-badge-close.js +1 -1
  141. package/dist/components/gb-badge.js +1 -1
  142. package/dist/components/gb-btn.js +1 -1
  143. package/dist/components/gb-button-close.js +1 -1
  144. package/dist/components/gb-button.js +1 -1
  145. package/dist/components/gb-carousel-arrow.js +1 -1
  146. package/dist/components/gb-carousel-arrow.js.map +1 -1
  147. package/dist/components/gb-checkbox-group-item.js +1 -1
  148. package/dist/components/gb-checkbox-group.js +5 -5
  149. package/dist/components/gb-collapse-button.js +1 -1
  150. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  151. package/dist/components/gb-file-upload-item-base.js +1 -1
  152. package/dist/components/gb-file-upload.js +5 -5
  153. package/dist/components/gb-header-icon.js +1 -1
  154. package/dist/components/gb-header.js +4 -4
  155. package/dist/components/gb-help-dropdown.js +2 -2
  156. package/dist/components/gb-help-dropdown.js.map +1 -1
  157. package/dist/components/gb-horizontal-tabs.js +7 -7
  158. package/dist/components/gb-horizontal-tabs.js.map +1 -1
  159. package/dist/components/gb-input-dropdown-menu-item.js +6 -6
  160. package/dist/components/gb-input-dropdown-menu-item.js.map +1 -1
  161. package/dist/components/gb-input-dropdown.js +1 -1
  162. package/dist/components/gb-input-field.js +6 -6
  163. package/dist/components/gb-input-field.js.map +1 -1
  164. package/dist/components/gb-megainput-field.js +1 -1
  165. package/dist/components/gb-notification-content.js +2 -2
  166. package/dist/components/gb-notification-content.js.map +1 -1
  167. package/dist/components/gb-notification-pane.js +3 -3
  168. package/dist/components/gb-notification-pane.js.map +1 -1
  169. package/dist/components/gb-pagination-button-group-base.js +1 -1
  170. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  171. package/dist/components/gb-pagination-number-base.js +2 -2
  172. package/dist/components/gb-pagination-number-base.js.map +1 -1
  173. package/dist/components/gb-pagination.js +2 -2
  174. package/dist/components/gb-password-button.js +1 -1
  175. package/dist/components/gb-progress-bar.js +1 -1
  176. package/dist/components/gb-progress-circle.js +1 -1
  177. package/dist/components/gb-rich-text.js +8 -8
  178. package/dist/components/gb-rich-text.js.map +1 -1
  179. package/dist/components/gb-scrollbar.js +2 -2
  180. package/dist/components/gb-scrollbar.js.map +1 -1
  181. package/dist/components/gb-side-bar-item.js +1 -1
  182. package/dist/components/gb-sidebar.js +10 -10
  183. package/dist/components/gb-sidebar.js.map +1 -1
  184. package/dist/components/gb-slider-control-handle.js +1 -1
  185. package/dist/components/gb-slider.js +5 -5
  186. package/dist/components/gb-slider.js.map +1 -1
  187. package/dist/components/gb-status-indicator.js +1 -1
  188. package/dist/components/gb-tab-button-base.js +1 -1
  189. package/dist/components/gb-tag-checkbox.js +1 -1
  190. package/dist/components/gb-tag-close.js +1 -1
  191. package/dist/components/gb-tag-count.js +1 -1
  192. package/dist/components/gb-tag.js +8 -8
  193. package/dist/components/gb-tag.js.map +1 -1
  194. package/dist/components/gb-toast-button.js +1 -1
  195. package/dist/components/gb-toast.js +5 -5
  196. package/dist/components/gb-toast.js.map +1 -1
  197. package/dist/components/gb-toggle-base.js +1 -1
  198. package/dist/components/gb-toggle.js +2 -2
  199. package/dist/components/gb-token-field.js +3 -3
  200. package/dist/components/gb-token-field.js.map +1 -1
  201. package/dist/components/gb-tooltip.js +1 -1
  202. package/dist/components/gb-verification-code-field.js +4 -4
  203. package/dist/components/gb-verification-code-field.js.map +1 -1
  204. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  205. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  206. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  207. package/dist/components/p-050d09f9.js +113 -0
  208. package/dist/components/{p-c9629281.js.map → p-050d09f9.js.map} +1 -1
  209. package/dist/components/p-0a0ad4ac.js +48 -0
  210. package/dist/components/p-0a0ad4ac.js.map +1 -0
  211. package/dist/components/p-0b8ae984.js +39 -0
  212. package/dist/components/{p-a5850f8c.js.map → p-0b8ae984.js.map} +1 -1
  213. package/dist/components/p-18aeff75.js +39 -0
  214. package/dist/components/{p-b0d34887.js.map → p-18aeff75.js.map} +1 -1
  215. package/dist/components/p-1ce81266.js +116 -0
  216. package/dist/components/{p-ab92fc3c.js.map → p-1ce81266.js.map} +1 -1
  217. package/dist/components/p-26d1508d.js +45 -0
  218. package/dist/components/{p-824a17f3.js.map → p-26d1508d.js.map} +1 -1
  219. package/dist/components/p-32cf95f6.js +50 -0
  220. package/dist/components/{p-a9afcddd.js.map → p-32cf95f6.js.map} +1 -1
  221. package/dist/components/{p-ca6140dc.js → p-33270ed1.js} +3 -3
  222. package/dist/components/{p-ca6140dc.js.map → p-33270ed1.js.map} +1 -1
  223. package/dist/components/p-3443c3f7.js +117 -0
  224. package/dist/components/{p-d9e59617.js.map → p-3443c3f7.js.map} +1 -1
  225. package/dist/components/p-505ec120.js +41 -0
  226. package/dist/components/{p-0e1ec56d.js.map → p-505ec120.js.map} +1 -1
  227. package/dist/components/p-51563d86.js +44 -0
  228. package/dist/components/{p-8907e475.js.map → p-51563d86.js.map} +1 -1
  229. package/dist/components/p-521d1e30.js +79 -0
  230. package/dist/components/{p-ae666b1f.js.map → p-521d1e30.js.map} +1 -1
  231. package/dist/components/p-5a30e92a.js +64 -0
  232. package/dist/components/{p-5fbe4056.js.map → p-5a30e92a.js.map} +1 -1
  233. package/dist/components/p-6456c2f6.js +46 -0
  234. package/dist/components/{p-fbcd8aaf.js.map → p-6456c2f6.js.map} +1 -1
  235. package/dist/components/p-6a2dde96.js +113 -0
  236. package/dist/components/{p-4266561a.js.map → p-6a2dde96.js.map} +1 -1
  237. package/dist/components/p-7038f5ff.js +61 -0
  238. package/dist/components/{p-54cefcf0.js.map → p-7038f5ff.js.map} +1 -1
  239. package/dist/components/p-70cd54be.js +37 -0
  240. package/dist/components/{p-4d306827.js.map → p-70cd54be.js.map} +1 -1
  241. package/dist/components/p-770f942f.js +37 -0
  242. package/dist/components/{p-58b75242.js.map → p-770f942f.js.map} +1 -1
  243. package/dist/components/p-974cf2ad.js +162 -0
  244. package/dist/components/{p-caca69ed.js.map → p-974cf2ad.js.map} +1 -1
  245. package/dist/components/{p-dc7db1b5.js → p-a20e5d99.js} +2 -2
  246. package/dist/components/{p-dc7db1b5.js.map → p-a20e5d99.js.map} +1 -1
  247. package/dist/components/p-a9f11ab9.js +58 -0
  248. package/dist/components/{p-9dc84aa6.js.map → p-a9f11ab9.js.map} +1 -1
  249. package/dist/components/p-b308ddea.js +54 -0
  250. package/dist/components/{p-9517c064.js.map → p-b308ddea.js.map} +1 -1
  251. package/dist/components/p-b5b89bdb.js +113 -0
  252. package/dist/components/{p-d78d8fa1.js.map → p-b5b89bdb.js.map} +1 -1
  253. package/dist/components/p-bbec4384.js +69 -0
  254. package/dist/components/{p-ce25eb27.js.map → p-bbec4384.js.map} +1 -1
  255. package/dist/components/p-c9ed3f92.js +55 -0
  256. package/dist/components/{p-123cdd06.js.map → p-c9ed3f92.js.map} +1 -1
  257. package/dist/components/p-d0c330f1.js +105 -0
  258. package/dist/components/p-d0c330f1.js.map +1 -0
  259. package/dist/components/p-d44e0bc8.js +87 -0
  260. package/dist/components/{p-52c1516b.js.map → p-d44e0bc8.js.map} +1 -1
  261. package/dist/components/p-df6f1225.js +63 -0
  262. package/dist/components/{p-68ac53d7.js.map → p-df6f1225.js.map} +1 -1
  263. package/dist/components/p-e7f6201a.js +50 -0
  264. package/dist/components/{p-a20359a2.js.map → p-e7f6201a.js.map} +1 -1
  265. package/dist/components/p-eaec40a3.js +142 -0
  266. package/dist/components/{p-b59eb748.js.map → p-eaec40a3.js.map} +1 -1
  267. package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
  268. package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -1
  269. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  270. package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
  271. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  272. package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -1
  273. package/dist/esm/gb-avatar_30.entry.js +1293 -0
  274. package/dist/esm/gb-avatar_30.entry.js.map +1 -0
  275. package/dist/esm/gb-button-close_2.entry.js +3 -3
  276. package/dist/esm/gb-button-close_2.entry.js.map +1 -1
  277. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  278. package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -1
  279. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  280. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
  281. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  282. package/dist/esm/gb-file-upload-item-base.entry.js.map +1 -1
  283. package/dist/esm/gb-header-icon.entry.js +1 -1
  284. package/dist/esm/gb-header-icon.entry.js.map +1 -1
  285. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  286. package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
  287. package/dist/esm/gb-notification-content.entry.js +2 -2
  288. package/dist/esm/gb-notification-content.entry.js.map +1 -1
  289. package/dist/esm/gb-progress-circle.entry.js +1 -1
  290. package/dist/esm/gb-rich-text.entry.js +2 -2
  291. package/dist/esm/gb-rich-text.entry.js.map +1 -1
  292. package/dist/esm/gb-scrollbar.entry.js +2 -2
  293. package/dist/esm/gb-scrollbar.entry.js.map +1 -1
  294. package/dist/esm/gb-tag-checkbox_3.entry.js +6 -6
  295. package/dist/esm/gb-tag-checkbox_3.entry.js.map +1 -1
  296. package/dist/esm/gb-tag.entry.js +2 -2
  297. package/dist/esm/gb-tag.entry.js.map +1 -1
  298. package/dist/esm/gb-toast-button.entry.js +2 -2
  299. package/dist/esm/gb-toast-button.entry.js.map +1 -1
  300. package/dist/esm/gb-toast.entry.js +2 -2
  301. package/dist/esm/gb-toast.entry.js.map +1 -1
  302. package/dist/esm/gb-toggle.entry.js +1 -1
  303. package/dist/esm/gb-token-field.entry.js +2 -2
  304. package/dist/esm/gb-token-field.entry.js.map +1 -1
  305. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  306. package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
  307. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  308. package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -1
  309. package/dist/esm/globuscomponents.js +1 -1
  310. package/dist/esm/loader.js +1 -1
  311. package/dist/globuscomponents/assets/calendar-02.svg +6 -0
  312. package/dist/globuscomponents/assets/database-sync.svg +6 -0
  313. package/dist/globuscomponents/assets/search-01.svg +3 -0
  314. package/dist/globuscomponents/global/global.css +2 -0
  315. package/dist/globuscomponents/global/tailwind.css +2 -2
  316. package/dist/globuscomponents/globuscomponents.css +1612 -3
  317. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  318. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  319. package/dist/globuscomponents/p-00948caf.entry.js +2 -0
  320. package/dist/globuscomponents/{p-d8c473cb.entry.js.map → p-00948caf.entry.js.map} +1 -1
  321. package/dist/globuscomponents/p-0232a8f9.entry.js +2 -0
  322. package/dist/globuscomponents/{p-e1a6214b.entry.js.map → p-0232a8f9.entry.js.map} +1 -1
  323. package/dist/globuscomponents/p-0d94c620.entry.js +2 -0
  324. package/dist/globuscomponents/{p-cb0453d8.entry.js.map → p-0d94c620.entry.js.map} +1 -1
  325. package/dist/globuscomponents/p-2378eed7.entry.js +2 -0
  326. package/dist/globuscomponents/{p-5831017c.entry.js.map → p-2378eed7.entry.js.map} +1 -1
  327. package/dist/globuscomponents/p-2b72d966.entry.js +2 -0
  328. package/dist/globuscomponents/{p-add9ec72.entry.js.map → p-2b72d966.entry.js.map} +1 -1
  329. package/dist/globuscomponents/p-34a50ac8.entry.js +2 -0
  330. package/dist/globuscomponents/{p-48ddf6c1.entry.js.map → p-34a50ac8.entry.js.map} +1 -1
  331. package/dist/globuscomponents/p-37bbc2bf.entry.js +2 -0
  332. package/dist/globuscomponents/{p-115ac3f1.entry.js.map → p-37bbc2bf.entry.js.map} +1 -1
  333. package/dist/globuscomponents/p-41392209.entry.js +2 -0
  334. package/dist/globuscomponents/{p-bd2d9236.entry.js.map → p-41392209.entry.js.map} +1 -1
  335. package/dist/globuscomponents/p-42fb642f.entry.js +2 -0
  336. package/dist/globuscomponents/{p-cd91a716.entry.js.map → p-42fb642f.entry.js.map} +1 -1
  337. package/dist/globuscomponents/p-598cae99.entry.js +2 -0
  338. package/dist/globuscomponents/{p-5d5b638e.entry.js.map → p-598cae99.entry.js.map} +1 -1
  339. package/dist/globuscomponents/p-727bfde6.entry.js +2 -0
  340. package/dist/globuscomponents/{p-4f6eebab.entry.js.map → p-727bfde6.entry.js.map} +1 -1
  341. package/dist/globuscomponents/p-7a7cdc5c.entry.js +2 -0
  342. package/dist/globuscomponents/{p-01b163c6.entry.js.map → p-7a7cdc5c.entry.js.map} +1 -1
  343. package/dist/globuscomponents/p-8232dd40.entry.js +2 -0
  344. package/dist/globuscomponents/p-977caa46.entry.js +2 -0
  345. package/dist/globuscomponents/{p-3f77703d.entry.js.map → p-977caa46.entry.js.map} +1 -1
  346. package/dist/globuscomponents/p-a4616462.entry.js +2 -0
  347. package/dist/globuscomponents/{p-5cc60ae0.entry.js.map → p-a4616462.entry.js.map} +1 -1
  348. package/dist/globuscomponents/p-a495b1f4.entry.js +2 -0
  349. package/dist/globuscomponents/{p-3db54b6b.entry.js.map → p-a495b1f4.entry.js.map} +1 -1
  350. package/dist/globuscomponents/p-c69ca52b.entry.js +2 -0
  351. package/dist/globuscomponents/{p-1dc90024.entry.js.map → p-c69ca52b.entry.js.map} +1 -1
  352. package/dist/globuscomponents/p-d09361d9.entry.js +2 -0
  353. package/dist/globuscomponents/{p-c5541a8c.entry.js.map → p-d09361d9.entry.js.map} +1 -1
  354. package/dist/globuscomponents/p-d4fb5171.entry.js +2 -0
  355. package/dist/globuscomponents/{p-08a4f9a7.entry.js.map → p-d4fb5171.entry.js.map} +1 -1
  356. package/dist/globuscomponents/p-e3be2b4c.entry.js +2 -0
  357. package/dist/globuscomponents/p-e631fbd1.entry.js +2 -0
  358. package/dist/globuscomponents/{p-badef09e.entry.js.map → p-e631fbd1.entry.js.map} +1 -1
  359. package/dist/globuscomponents/p-fbb87662.entry.js +2 -0
  360. package/dist/globuscomponents/p-fbb87662.entry.js.map +1 -0
  361. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +5 -0
  362. package/dist/types/components.d.ts +4 -0
  363. package/package.json +9 -6
  364. package/dist/cjs/gb-avatar_24.cjs.entry.js +0 -1022
  365. package/dist/cjs/gb-avatar_24.cjs.entry.js.map +0 -1
  366. package/dist/cjs/gb-collapse-button_2.cjs.entry.js +0 -90
  367. package/dist/cjs/gb-collapse-button_2.cjs.entry.js.map +0 -1
  368. package/dist/cjs/gb-sidebar.cjs.entry.js +0 -89
  369. package/dist/cjs/gb-sidebar.cjs.entry.js.map +0 -1
  370. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +0 -38
  371. package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +0 -1
  372. package/dist/cjs/gb-slider.cjs.entry.js +0 -77
  373. package/dist/cjs/gb-slider.cjs.entry.js.map +0 -1
  374. package/dist/cjs/gb-tooltip.cjs.entry.js +0 -39
  375. package/dist/cjs/gb-tooltip.cjs.entry.js.map +0 -1
  376. package/dist/collection/components/gb-sliders/slider.js.map +0 -1
  377. package/dist/components/p-0e1ec56d.js +0 -41
  378. package/dist/components/p-123cdd06.js +0 -55
  379. package/dist/components/p-4266561a.js +0 -113
  380. package/dist/components/p-4d306827.js +0 -37
  381. package/dist/components/p-52c1516b.js +0 -87
  382. package/dist/components/p-54cefcf0.js +0 -61
  383. package/dist/components/p-58b75242.js +0 -37
  384. package/dist/components/p-5fbe4056.js +0 -64
  385. package/dist/components/p-62acd290.js +0 -48
  386. package/dist/components/p-62acd290.js.map +0 -1
  387. package/dist/components/p-68ac53d7.js +0 -63
  388. package/dist/components/p-824a17f3.js +0 -45
  389. package/dist/components/p-8907e475.js +0 -44
  390. package/dist/components/p-9517c064.js +0 -54
  391. package/dist/components/p-9dc84aa6.js +0 -58
  392. package/dist/components/p-a20359a2.js +0 -50
  393. package/dist/components/p-a5850f8c.js +0 -39
  394. package/dist/components/p-a7510c0c.js +0 -91
  395. package/dist/components/p-a7510c0c.js.map +0 -1
  396. package/dist/components/p-a9afcddd.js +0 -50
  397. package/dist/components/p-ab92fc3c.js +0 -116
  398. package/dist/components/p-ae666b1f.js +0 -79
  399. package/dist/components/p-b0d34887.js +0 -39
  400. package/dist/components/p-b59eb748.js +0 -142
  401. package/dist/components/p-c9629281.js +0 -113
  402. package/dist/components/p-caca69ed.js +0 -162
  403. package/dist/components/p-ce25eb27.js +0 -69
  404. package/dist/components/p-d78d8fa1.js +0 -113
  405. package/dist/components/p-d9e59617.js +0 -117
  406. package/dist/components/p-fbcd8aaf.js +0 -46
  407. package/dist/esm/gb-avatar_24.entry.js +0 -995
  408. package/dist/esm/gb-avatar_24.entry.js.map +0 -1
  409. package/dist/esm/gb-collapse-button_2.entry.js +0 -85
  410. package/dist/esm/gb-collapse-button_2.entry.js.map +0 -1
  411. package/dist/esm/gb-sidebar.entry.js +0 -85
  412. package/dist/esm/gb-sidebar.entry.js.map +0 -1
  413. package/dist/esm/gb-slider-control-handle.entry.js +0 -34
  414. package/dist/esm/gb-slider-control-handle.entry.js.map +0 -1
  415. package/dist/esm/gb-slider.entry.js +0 -73
  416. package/dist/esm/gb-slider.entry.js.map +0 -1
  417. package/dist/esm/gb-tooltip.entry.js +0 -35
  418. package/dist/esm/gb-tooltip.entry.js.map +0 -1
  419. package/dist/globuscomponents/p-01b163c6.entry.js +0 -2
  420. package/dist/globuscomponents/p-0852d5c0.entry.js +0 -2
  421. package/dist/globuscomponents/p-08a4f9a7.entry.js +0 -2
  422. package/dist/globuscomponents/p-115ac3f1.entry.js +0 -2
  423. package/dist/globuscomponents/p-19c4ab3c.entry.js +0 -2
  424. package/dist/globuscomponents/p-19c4ab3c.entry.js.map +0 -1
  425. package/dist/globuscomponents/p-1dc90024.entry.js +0 -2
  426. package/dist/globuscomponents/p-2fd5fb80.entry.js +0 -2
  427. package/dist/globuscomponents/p-2fd5fb80.entry.js.map +0 -1
  428. package/dist/globuscomponents/p-3db54b6b.entry.js +0 -2
  429. package/dist/globuscomponents/p-3f77703d.entry.js +0 -2
  430. package/dist/globuscomponents/p-48ddf6c1.entry.js +0 -2
  431. package/dist/globuscomponents/p-4f6eebab.entry.js +0 -2
  432. package/dist/globuscomponents/p-5831017c.entry.js +0 -2
  433. package/dist/globuscomponents/p-5a5446cc.entry.js +0 -2
  434. package/dist/globuscomponents/p-5a5446cc.entry.js.map +0 -1
  435. package/dist/globuscomponents/p-5cc60ae0.entry.js +0 -2
  436. package/dist/globuscomponents/p-5d5b638e.entry.js +0 -2
  437. package/dist/globuscomponents/p-668477e1.entry.js +0 -2
  438. package/dist/globuscomponents/p-668477e1.entry.js.map +0 -1
  439. package/dist/globuscomponents/p-add9ec72.entry.js +0 -2
  440. package/dist/globuscomponents/p-badef09e.entry.js +0 -2
  441. package/dist/globuscomponents/p-bd2d9236.entry.js +0 -2
  442. package/dist/globuscomponents/p-c5541a8c.entry.js +0 -2
  443. package/dist/globuscomponents/p-cb0453d8.entry.js +0 -2
  444. package/dist/globuscomponents/p-cd91a716.entry.js +0 -2
  445. package/dist/globuscomponents/p-d8c473cb.entry.js +0 -2
  446. package/dist/globuscomponents/p-e1a6214b.entry.js +0 -2
  447. package/dist/globuscomponents/p-e5b5bd25.entry.js +0 -2
  448. package/dist/globuscomponents/p-e7f12305.entry.js +0 -2
  449. package/dist/globuscomponents/p-e7f12305.entry.js.map +0 -1
  450. package/dist/globuscomponents/p-f65671f1.entry.js +0 -2
  451. package/dist/globuscomponents/p-f65671f1.entry.js.map +0 -1
  452. /package/dist/globuscomponents/{p-0852d5c0.entry.js.map → p-8232dd40.entry.js.map} +0 -0
  453. /package/dist/globuscomponents/{p-e5b5bd25.entry.js.map → p-e3be2b4c.entry.js.map} +0 -0
  454. /package/dist/types/components/{gb-sliders/slider.d.ts → gb-slider/gb-slider.d.ts} +0 -0
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -1,4 +1,4 @@
1
- import { h, Fragment } from "@stencil/core";
1
+ import { h, Fragment, getAssetPath } from "@stencil/core";
2
2
  export class GbInputDropdown {
3
3
  constructor() {
4
4
  this.type = undefined;
@@ -11,8 +11,17 @@ export class GbInputDropdown {
11
11
  this.showHintText = undefined;
12
12
  this.hintText = '';
13
13
  this.showHelpIcon = undefined;
14
+ this.showLeadingIcon = false;
14
15
  this.iconSwap = '';
15
16
  this.text = false;
17
+ this.leadingIcon = '';
18
+ this.leadingIconSvg = '';
19
+ }
20
+ async loadIcon(iconName) {
21
+ const iconPath = getAssetPath(`${iconName}`);
22
+ const response = await fetch(iconPath);
23
+ const svg = await response.text();
24
+ this.leadingIconSvg = svg;
16
25
  }
17
26
  getAvatarSize() {
18
27
  switch (this.size) {
@@ -22,13 +31,15 @@ export class GbInputDropdown {
22
31
  return 'xs';
23
32
  }
24
33
  }
34
+ componentWillLoad() {
35
+ this.loadIcon(this.leadingIcon);
36
+ }
25
37
  componentDidLoad() {
26
38
  const slottedInitials = this.el.querySelector('[slot="initials"]');
27
39
  slottedInitials.classList.add('text-xs-semi-bold');
28
40
  }
29
41
  render() {
30
- return (h("div", { key: 'c4fb98b8ebab77593cc2413b34564a126713e40a', class: `input_dropdown_container` }, this.showLabel && (h("p", { key: '48db71714fa97e8b0f893fd6d83001ed44de4b6e', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: 'a060aadccdf963369e60a760ceb39f553875046e', class: `input_dropdown_div ${this.size} ${this.state}` }, this.type === 'icon_leading' && (h("svg", { key: 'de169c57fd4c93d4762047f5d533d389c020febe', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '95c83f58e3302c90dbc71227a2df78873f517e32', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: 'c45570a68bad8a40827cc0569fa46e58452c7735', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '85a3ac55d00a98032b33a1e26e7a9edcccad7b64', size: "xs", text: this.text }, !this.text ? (h("slot", { slot: "image", name: "image" })) :
31
- (h("slot", { slot: "initials", name: "initials" })))), this.type === 'search' && (h("svg", { key: '79768df493512dcb06beae16ad4a9915a4f4c341', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'c666120ba224a88086b778320a2fbf52a24f4717', d: "M14.5833 14.5833L18.3333 18.3333M16.6667 9.16667C16.6667 5.02454 13.3088 1.66667 9.16667 1.66667C5.02454 1.66667 1.66667 5.02454 1.66667 9.16667C1.66667 13.3088 5.02454 16.6667 9.16667 16.6667C13.3088 16.6667 16.6667 13.3088 16.6667 9.16667Z", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.type === 'dot_leading' && (h("svg", { key: '20ac2988ce570c467e83cfa23d1a7dba4805309b', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'b98876331c844c70616cc44e148f226b0396586b', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: '891e8b17d62dc087f5b76e3ee7cbe22abb22a42d', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.showPlaceholder && (h("p", { key: '71ee48cc29f1978bf22e68c40f0bc2b0a858c489', class: "text-md-regular", style: { color: '#CDD5DF' } }, "Select team member")))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '6a9cc7da8c2362f9bbd8405a08b293d9541dbcce', class: "content" }, h("div", { key: '3fe40e4af8162c0d7d38ace6cd4177fc5551fff8', class: "text text-md-regular", style: { color: '#4B5565' } }, "Olivia Rhye"), h("div", { key: '67b5bf918f1780e678e627d35b9d9cc926a462d9', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, "@olivia")))))), this.showHelpIcon && (h("div", { key: '16f1c3b3734b43078c1b172bb22d61bc58789765', class: `help_icon` }, h("svg", { key: '6909e3c63c0dfe776917affe254651fd61e940c8', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '77ac5a9cde8943afd26099b07e92ae50e798caf7', d: "M6.66665 6C6.66665 5.26362 7.2636 4.66667 7.99998 4.66667C8.73636 4.66667 9.33331 5.26362 9.33331 6C9.33331 6.26543 9.25575 6.51275 9.12205 6.72053C8.72358 7.33978 7.99998 7.93029 7.99998 8.66667V9M7.99464 11.3333H8.00063M14.6666 8C14.6666 11.6819 11.6819 14.6667 7.99998 14.6667C4.31808 14.6667 1.33331 11.6819 1.33331 8C1.33331 4.3181 4.31808 1.33333 7.99998 1.33333C11.6819 1.33333 14.6666 4.3181 14.6666 8Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '322a642033594047e94721e7d4c9a8f386b9b165', class: "dropdown_icon" }, h("svg", { key: '2f9b9e78e80df03aacc48f4a70fd707db03cd491', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '56eb597b3a8191303172625300363061fe16f169', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.showHintText && (h("p", { key: '3c2b282df6b8f3efcdc05487aa49491ce08265d0', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))));
42
+ return (h("div", { key: '58e38e17aec1382740c9713311e78d0a530239bc', class: `input_dropdown_container` }, this.showLabel && (h("p", { key: '0bd16868fe026b7de83f17456fc65ca6f414ebac', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: '35818e9c3cf2e40e5c745acadc5bf6b03032e9ce', class: `input_dropdown_div ${this.size} ${this.state}` }, this.type === 'icon_leading' && (h("svg", { key: '23c9bd2cf12f8dfeffd1205bc8f8cbe2058ed107', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'fd5381d70ea3a62dadac837a82acb43683a3beae', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: 'ca520ee9e6d75eb1756d789d1fc66b7e55e94b5b', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '95f13fbd07cec3c8d808e846e63ac8df39947075', size: "xs", text: this.text }, !this.text ? h("slot", { slot: "image", name: "image" }) : h("slot", { slot: "initials", name: "initials" }))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: '2d67c2e18d03f3433b5d6481ea14e29ab69c6ff1', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'f608265a6485727b10a73beff41230fdbcb512d4', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: '68a4c0b6e9655b8150559d2af8daa51778950ceb', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.showPlaceholder && (h("p", { key: '177b065fa5ab592e93e9784e753898def0decbfd', class: "text-md-regular", style: { color: '#CDD5DF' } }, "Select team member")))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '48375ed82f6244d489c19c60438cf520d48de679', class: "content" }, h("div", { key: 'ff5287a56fc2af9dfd6543747a2671ca4d1f4acf', class: "text text-md-regular", style: { color: '#4B5565' } }, "Olivia Rhye"), h("div", { key: '8cec59c3819732d180250871394483b0068af088', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, "@olivia")))))), this.showHelpIcon && (h("div", { key: 'f18592093f11ab62a9099184fcc54f8e7328a0bd', class: `help_icon` }, h("svg", { key: 'f75ae49150bcf59bcf5ae0002585be6d5ec803f9', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'f7815479dcb36b5afb53334f76539ae2567ceece', d: "M6.66665 6C6.66665 5.26362 7.2636 4.66667 7.99998 4.66667C8.73636 4.66667 9.33331 5.26362 9.33331 6C9.33331 6.26543 9.25575 6.51275 9.12205 6.72053C8.72358 7.33978 7.99998 7.93029 7.99998 8.66667V9M7.99464 11.3333H8.00063M14.6666 8C14.6666 11.6819 11.6819 14.6667 7.99998 14.6667C4.31808 14.6667 1.33331 11.6819 1.33331 8C1.33331 4.3181 4.31808 1.33333 7.99998 1.33333C11.6819 1.33333 14.6666 4.3181 14.6666 8Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.type !== 'search' && (h("div", { key: '7ec2f489795bf581f0735a4e1f93c95ce8c2b88d', class: "dropdown_icon" }, h("svg", { key: '3c8c6c4e76948fd37f0c67b39d74eb76c7628b9e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '6a99a1a4c31e68c6e584884d5d4aeba080b036a3', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showHintText && (h("p", { key: '5d5a90997fa9086564c2b81299961045b994a0ce', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))));
32
43
  }
33
44
  static get is() { return "gb-input-dropdown"; }
34
45
  static get encapsulation() { return "shadow"; }
@@ -225,6 +236,24 @@ export class GbInputDropdown {
225
236
  "attribute": "show-help-icon",
226
237
  "reflect": false
227
238
  },
239
+ "showLeadingIcon": {
240
+ "type": "boolean",
241
+ "mutable": false,
242
+ "complexType": {
243
+ "original": "boolean",
244
+ "resolved": "boolean",
245
+ "references": {}
246
+ },
247
+ "required": false,
248
+ "optional": false,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": ""
252
+ },
253
+ "attribute": "show-leading-icon",
254
+ "reflect": false,
255
+ "defaultValue": "false"
256
+ },
228
257
  "iconSwap": {
229
258
  "type": "string",
230
259
  "mutable": false,
@@ -260,9 +289,32 @@ export class GbInputDropdown {
260
289
  "attribute": "text",
261
290
  "reflect": false,
262
291
  "defaultValue": "false"
292
+ },
293
+ "leadingIcon": {
294
+ "type": "string",
295
+ "mutable": false,
296
+ "complexType": {
297
+ "original": "string",
298
+ "resolved": "string",
299
+ "references": {}
300
+ },
301
+ "required": false,
302
+ "optional": false,
303
+ "docs": {
304
+ "tags": [],
305
+ "text": ""
306
+ },
307
+ "attribute": "leading-icon",
308
+ "reflect": false,
309
+ "defaultValue": "''"
263
310
  }
264
311
  };
265
312
  }
313
+ static get states() {
314
+ return {
315
+ "leadingIconSvg": {}
316
+ };
317
+ }
266
318
  static get elementRef() { return "el"; }
267
319
  }
268
320
  //# sourceMappingURL=gb-input-dropdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Prop, h, Fragment, Element } from \"@stencil/core\";\r\nimport { GeneralSizes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'search' | 'tags';\r\n @Prop() state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() showPlaceholder: boolean = false;\r\n @Prop() placeholderText: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Element() el: HTMLElement;\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n slottedInitials.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`input_dropdown_container`}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar size=\"xs\" text={this.text}>\r\n {!this.text ? (<slot slot=\"image\" name=\"image\"></slot>) : \r\n (<slot slot=\"initials\" name=\"initials\"></slot>)\r\n }\r\n </gb-avatar>\r\n )}\r\n {this.type === 'search' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M14.5833 14.5833L18.3333 18.3333M16.6667 9.16667C16.6667 5.02454 13.3088 1.66667 9.16667 1.66667C5.02454 1.66667 1.66667 5.02454 1.66667 9.16667C1.66667 13.3088 5.02454 16.6667 9.16667 16.6667C13.3088 16.6667 16.6667 13.3088 16.6667 9.16667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.showPlaceholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n Select team member\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class=\"content\">\r\n <div class=\"text text-md-regular\" style={{ color: '#4B5565' }}>\r\n Olivia Rhye\r\n </div>\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n @olivia\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66665 6C6.66665 5.26362 7.2636 4.66667 7.99998 4.66667C8.73636 4.66667 9.33331 5.26362 9.33331 6C9.33331 6.26543 9.25575 6.51275 9.12205 6.72053C8.72358 7.33978 7.99998 7.93029 7.99998 8.66667V9M7.99464 11.3333H8.00063M14.6666 8C14.6666 11.6819 11.6819 14.6667 7.99998 14.6667C4.31808 14.6667 1.33331 11.6819 1.33331 8C1.33331 4.3181 4.31808 1.33333 7.99998 1.33333C11.6819 1.33333 14.6666 4.3181 14.6666 8Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n <div class=\"dropdown_icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\r\n </div>\r\n );\r\n }\r\n} \r\n "]}
1
+ {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath } from \"@stencil/core\";\r\nimport { GeneralSizes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'search' | 'tags';\r\n @Prop() state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() showPlaceholder: boolean = false;\r\n @Prop() placeholderText: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @State() leadingIconSvg: string = '';\r\n @Element() el: HTMLElement;\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n }\r\n\r\n componentDidLoad() {\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n slottedInitials.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`input_dropdown_container`}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar size=\"xs\" text={this.text}>\r\n {!this.text ? <slot slot=\"image\" name=\"image\"></slot> : <slot slot=\"initials\" name=\"initials\"></slot>}\r\n </gb-avatar>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.showPlaceholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n Select team member\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class=\"content\">\r\n <div class=\"text text-md-regular\" style={{ color: '#4B5565' }}>\r\n Olivia Rhye\r\n </div>\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n @olivia\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"M6.66665 6C6.66665 5.26362 7.2636 4.66667 7.99998 4.66667C8.73636 4.66667 9.33331 5.26362 9.33331 6C9.33331 6.26543 9.25575 6.51275 9.12205 6.72053C8.72358 7.33978 7.99998 7.93029 7.99998 8.66667V9M7.99464 11.3333H8.00063M14.6666 8C14.6666 11.6819 11.6819 14.6667 7.99998 14.6667C4.31808 14.6667 1.33331 11.6819 1.33331 8C1.33331 4.3181 4.31808 1.33333 7.99998 1.33333C11.6819 1.33333 14.6666 4.3181 14.6666 8Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class=\"dropdown_icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\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 */
@@ -8,12 +8,12 @@ export class GbInputDropdownMenuItem {
8
8
  this.state = 'default';
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '8d4dc4a14ca0944f518730989f8853dbcc685e8b', class: "dropdown-container", onClick: () => this.selected = !this.selected }, h("div", { key: '84b8ea05d98a8501496eab8dab649379dbd011ae', class: {
11
+ return (h("div", { key: '681719c505e1cfb61a62c3e49c9e6b9baa672f3f', class: "dropdown-container", onClick: () => this.selected = !this.selected }, h("div", { key: '381e20306c113e356c3a2515808692c201e7617e', class: {
12
12
  'dropdown-item': true,
13
13
  'dropdown-item--selected': this.selected,
14
14
  'dropdown-item--disabled': this.state === 'disabled',
15
15
  [this.type]: true,
16
- }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, this.type === 'icon_leading' && (h("svg", { key: '4e304f0e80781c2c98f117a3272c12d01aa136e1', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd251e84d13cd63cc55c4e448b5a7306e3f9f57c4', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: '825df53a5c4436a4ce64188024481fa1b9352975', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'c774cc9dec84425400838310e5d7c0850e804405', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '01dfc2f251689054b3cb7b1770d65e98758bf349', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: '9fdeabf986d378730d8f9a4618835e7fae28f418', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: '8ab96c793f12569ba0cae6ee7a0a4e93fa0098bb', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: '6e22110618d05c2ff86c3c5d21aa2f5e4a1e809d', class: "checkbox", size: "sm", type: "checkbox", state: StateEnum.Default, checked: this.selected }), h("div", { key: '0bcf461cf7eca3618b637a6bf7087ab238ec8d59', class: "text" }, h("slot", { key: 'be59945e7fec4e092a5a97b75b0ea0f45813b4e6', name: "name" }), this.supportingText && (h("span", { key: '2d44edcd8a7741e68279d03b06929e8c72ed0313' }, h("slot", { key: 'e4fa74884a75c5f24929d2d7ad00a2907bf1a188', name: "supporting_text" })))), this.selected && (h("svg", { key: 'dd1b6c16dda82a610d1ef16b2396694845d59fdc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3e5b273138feb7dcfd98c7ebe9a32a2b4b07e9d2', d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
16
+ }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, this.type === 'icon_leading' && (h("svg", { key: '9ad24a79a863c9f1626e065850a4c02ab4be669f', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '485ea0b8764b8bfaa4a1c4bebe56755fdfc86175', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: 'd0e813f847ba0193500a6f206465cda5371c7e90', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '8c8ca932ead067a8eceb72bf519cf2456c03e261', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '8e08a7f0ef31fd0483b1a9b323194f493c1fc9bf', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: '5cd01678784b10c678e5480757988f26bdc9bce1', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: 'de04025ed6ac86187fa2a8e9c99b75fd406c5c3a', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: 'babc10209b3d165a18f722dbf827e00cfb060af4', class: "checkbox", size: "sm", type: "checkbox", state: StateEnum.Default, checked: this.selected }), h("div", { key: '1968da05a2261e33a9fa4824ce8844e60c647b6d', class: "text" }, h("slot", { key: 'c111d166ef6c0dc2ed41f4baafbea3dcd8fa9968', name: "name" }), this.supportingText && (h("span", { key: '58b0826b27110e61d9919f8f085e5f034d318b20' }, h("slot", { key: '3e8623850877302473110d2678e702fdeb432370', name: "supporting_text" })))), this.selected && (h("svg", { key: '57f8d7a00b234d707b8c817e1a509939e5014fa2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2a059c2e2a6a75cac305f7d877078981a8571f59', d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
17
17
  }
18
18
  static get is() { return "gb-input-dropdown-menu-item"; }
19
19
  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 */
@@ -38,8 +38,8 @@ export class GbInputField {
38
38
  destructive: this.destructive,
39
39
  disabled: this.state === 'disabled',
40
40
  };
41
- return (h("div", { key: '18a0cc2b8485d4aa5bf414aa36a42be016999ed5', class: classes }, h("div", { key: 'b1f5fbbecf9291847ecd6ebbc9f01eb5a1d56f62', class: "input-with-label" }, this.showLabel && (h("label", { key: '7dd9862e06c5949ed9547709e06f74855ecf25ee', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: '10b69d5aa0f299292367034d421a0e0af2c90732', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'a5246edd9c850b622aa5da85c47ac4ed61699f54', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '078e262958e81b976f2bab4ad8174249fd729047' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : this.destructive && this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (this.destructive &&
42
- this.state === 'disabled' && (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'icon_leading' && (h("div", { key: '76aa436849cbf3a93432340e44a1f0098d42fe9a', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '447c0ab0aa7aaeb1a04a9a73184b613a5e25d07a', class: "content" }, h("div", { key: 'f14a94020c887b338ce54260be81dbef8522768a', class: "icon" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `icon_leading_svg ${this.state}` }, h("path", { d: "M5.83342 7.08334L8.2851 8.53286C9.71443 9.37794 10.2857 9.37794 11.7151 8.53286L14.1668 7.08334M7.58243 2.94713C9.1995 2.9065 10.8007 2.9065 12.4177 2.94713C15.0415 3.01305 16.3534 3.04602 17.296 3.99221C18.2386 4.9384 18.2658 6.21571 18.3203 8.77032C18.3378 9.59172 18.3378 10.4083 18.3203 11.2297C18.2658 13.7843 18.2386 15.0616 17.296 16.0078C16.3533 16.954 15.0415 16.9869 12.4177 17.0529C10.8007 17.0935 9.19951 17.0935 7.58244 17.0529C4.95869 16.9869 3.64682 16.954 2.70421 16.0078C1.76161 15.0616 1.73437 13.7843 1.67989 11.2297C1.66237 10.4083 1.66237 9.59171 1.67989 8.77031C1.73436 6.21569 1.7616 4.93839 2.70421 3.9922C3.64682 3.046 4.95869 3.01304 7.58243 2.94713Z", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("input", { key: 'bea0786db805d8c2c08ed8819599f647046372ad', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '03216abaea4e08645c9ee2edfc8a43850cdac4c6' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '35efa2fd4f4583fecdbefc69fdb958ce3bc6b5c1', size: "sm", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/cancel-button.svg" })))), this.type === 'leading_dropdown' && (h("div", { key: '23d3f8319803f2f211a8521443f2a0ecceeb08cd', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'd5eb435c1238acfe5ebab8605fd8172f0bab991e', class: "dropdown" }, h("div", { key: 'fddcaa2af827a94886316558075629b3358e59c6', class: "country-icon" }, h("svg", { key: 'd6c80410ccecb1b99cc8456767807177d563252c', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'c1e6e7da16dedf5a8306b43f3d92d1a44a600e50', d: "M-0.000488281 12.0002C-0.000488281 17.1599 3.25601 21.5583 7.82562 23.2539V0.746674C3.25601 2.44214 -0.000488281 6.84071 -0.000488281 12.0002Z", fill: "#6DA544" }), h("path", { key: '8c7879b7dfc6695f8c3ed3c95ca841467400c977', d: "M23.9999 12.0002C23.9999 6.8407 20.7434 2.44214 16.1738 0.746674V23.2539C20.7434 21.5583 23.9999 17.1599 23.9999 12.0002Z", fill: "#6DA544" }))), h("select", { key: 'a7a0250328695fda7020cd4ed78b8252a4f17faa', class: "text-md-regular" }, h("option", { key: '3614f34325796d88c9124462b3e27ad8a268b493', value: "option 1", selected: true }, "+234"), h("slot", { key: '243d3772799db3670beeb582d1b831975567d2aa', name: "country-option" }))), h("div", { key: '23a06363f5da47ee84b8be5277d3657ae68f575b', class: "text-input" }, h("input", { key: '212fe5bc191805bc9e90d5847b1f0f01e30b3f39', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'd0d50ce6a5e6e946d5ac1c3de63808ff307816d3' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_dropdown' && (h("div", { key: '81589ab9b1686f43c4c61e6364c5558e3e203c55', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'db076893c4f15780dc2995c6a63902e3907d0e68', class: "content" }, h("div", { key: '9a2876842d0f96aa5ee710ee5278fdfcbe46eb9a', class: "text-input" }, h("p", { key: '9ad3ebe890b86ca80d058b95a69662328f674b54', class: "text-md-regular" }, "$"), h("input", { key: '4b04c52f8ed30d378ec77ab0ad8de0ebb38fa04c', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '3ba48ba48546207ccb4ba6e445cfbf5b9ba5cb6d' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '7dda4e74a62d205de1b14c2880a4c965105657d3', class: "dropdown" }, h("select", { key: '62bbdf85e7a8d7cc14bbf8c5a46930229c7d4d23', class: "text-md-regular" }, h("option", { key: 'cbf9eb49717bdf848618f808574da2f94287a61f', value: "option 1", selected: true }, "USD"), h("slot", { key: 'f6d2090ec03ce428bf39613fa993d6c33594e753', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: 'f0809dfb1ee0c6018c24026924330ced736cee19', class: "leading_text_wrapper" }, h("div", { key: '95d5bebfc2f8bc3e2077ccbfa880b566ffa38539', class: "add-on" }, h("p", { key: '55f3d6f3abb4429fa7c145e2642f245aea2cc19d', class: "text-md-regular" }, "http://")), h("div", { key: 'ea12c779df5a2a4d42bbbd02aeecbbd43a9280f8', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '28897d3e5511fac84ad52a3f618248d5adff7bc1', class: "text-input" }, h("input", { key: 'a74a9233cb98bd0fb250d4bdd2b6730a212fd3cd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'd7ced6844ba60eb0d7e5e1464a95902880d5f45f' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'payment_input' && (h("div", { key: '7f4ff024daaa6f38e8fd98bc347849f15bc00874', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0245fb6b2fde92d0068d80828b09b511757a7881', class: "content" }, h("div", { key: 'da36e29722aacd73f8a6585b20f3d6f3b404e85f', class: "payment-method" }, h("svg", { key: '6b0c7693f98802c3f0004ed07eb122ab275912d7', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'e0bdd664ea09a4f9b49dec30edf4fca12cfa4cea', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'a9722dc3558aadc175c874c7e81fe4d40c509b17', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'a775f8c41fa87e76dde367fba6ef12032a03a07a', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" }))), h("input", { key: '4aab6f764799b49cd000256de1bd91cadcbaabcd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '56d445236b3e3f9c1d544473523ad2b80bcb5687' }), this.showHelpIcon && (h("div", { key: 'd4f80eef6832dc705cbb19a2073e4fb05db3b679', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'tags' && (h("div", { key: '15b2bcc21df0fee9783091bc8b21df757c8689d0', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '71da2d65bf86fcd87c1284e7ee0429d2808003c4', class: "content" }, h("div", { key: '4cbf194e7bec5ea1f2525d65ebc48f12911facdb', class: "tags-box" }, h("slot", { key: '3355817af6dac4af4ee852871127f65c3316d6d6', name: "tag-option" })), h("input", { key: 'bc0ebabfde7dc700e69956fa4c430d0a43f8b029', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'b58b27bd9ec6d02538551b407cc04773748ed87a' }), this.showHelpIcon && (h("div", { key: 'c9deae67ba5f80aef561d99c831f77d7d0e9fe6e', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'ecf3401ba75e5a05e6e5947cdc6ad600dc9d10dc', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8a613b77cb353dee3e50fbdeb45b0f31ce525b90', class: "text-input" }, h("input", { key: '415ae0692e4aeacc65e9cbc4375439b8c9031b76', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '9c1e7f821b43135708111853cb9ecb42b535e194' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'e40852f7753e4739a6a8f1c8cbdbfb5bb794fbd7', class: "trailing-btn" }, h("gb-button", { key: '05af9cdac2ffa78a17813dd72fb096d5ad439a21', size: "md", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/copy.svg" })))), this.type === 'password' && (h("div", { key: '7da53b06da575bef649ffbc60f47d8650e22293e', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a886a5433b7dd1c3844f2efb6a19d9b2988f87c5', class: "content" }, h("div", { key: '15d900977837ae984883c9911c56973973ba22e0', class: "text-input" }, h("input", { key: '6b38ae37f3d2339f3f027f5273e3980f49a96b13', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', type: this.isPasswordVisible ? 'text' : 'password', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '3aa63da75196af110db942d9b0de7d998d48a8f3' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '7a303c13cab4d4d14b8611b69dd1f6bfb0ab7c48', class: "dropdown" }, h("gb-password-button", { key: 'bef1dd678f10d42ed2735e9ffb266cf69e8f817c', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '499e1f8b53a0db6640b103570c39e9ee151724db', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '33444d642742bfb262b0676cddd68e62f56e38ca', class: "content" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5024 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5024 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5024 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5024 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58257L13.7347 6.83336L13.7003 7.58257ZM13.7003 18.2507L13.7347 19L13.7003 18.2507ZM16.4435 15.7039L15.7002 15.6039L16.4435 15.7039ZM6.29973 7.58257L6.33417 8.33178L6.29973 7.58257ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2507L6.33417 17.5015L6.29973 18.2507ZM3.55652 15.7039L4.29981 15.6039L3.55652 15.7039ZM5.50001 7.49999C5.50001 7.9142 5.8358 8.24999 6.25001 8.24999C6.66422 8.24999 7.00001 7.9142 7.00001 7.49999H5.50001ZM13 7.49999C13 7.9142 13.3358 8.24999 13.75 8.24999C14.1642 8.24999 14.5 7.9142 14.5 7.49999H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8141 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2294C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.24999C11.3095 8.24999 12.4972 8.27805 13.6659 8.33178L13.7347 6.83336C12.5424 6.77855 11.3317 6.74999 10 6.74999V8.24999ZM6.33417 8.33178C7.50287 8.27805 8.69057 8.24999 10 8.24999V6.74999C8.66829 6.74999 7.45761 6.77855 6.26528 6.83336L6.33417 8.33178ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2294L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8141 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29065 15.5122 6.91507 13.7347 6.83336L13.6659 8.33178C14.6943 8.37906 15.5595 9.18436 15.7002 10.2294L17.1868 10.0293ZM13.7347 19C15.5122 18.9182 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83336C4.48781 6.91507 3.04732 8.29065 2.81323 10.0293L4.29981 10.2294C4.44052 9.18436 5.30576 8.37906 6.33417 8.33178L6.26528 6.83336ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9182 6.26528 19L6.33417 17.5015ZM7.00001 7.49999V5.41666H5.50001V7.49999H7.00001ZM13 5.41666V7.49999H14.5V5.41666H13ZM10 2.41666C11.6569 2.41666 13 3.7598 13 5.41666H14.5C14.5 2.93138 12.4853 0.916656 10 0.916656V2.41666ZM7.00001 5.41666C7.00001 3.7598 8.34316 2.41666 10 2.41666V0.916656C7.51473 0.916656 5.50001 2.93138 5.50001 5.41666H7.00001Z", fill: "#4B5565" }))), h("input", { key: '15314dceb94438b0513cd1404aa1488ca598fd2f', class: "text-md-regular", type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '76b75250c4cdf3006fb320bd3acf17016515bd06' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'bdf040ad2817ee20a6c8c4f654feee1c7b3d313d', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: 'ee75f7f9c420ff39ef7459a4f9a89c4ae5a2f3c2', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: '0c7b50e30c18d9701a979acd432a6729086d9516', class: "text-input" }, h("input", { key: 'e3e083d1cfd1cabd1b3dce92ad77134cd84e0a1e', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '6227c59ce4c436c03dc7d8985e5956fe1b54be70', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '88c52d24fbd3b8fcbe15f32513bbfac09d0f3ef1', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '94e0d0cca3b4c0c79aacf919cc1ef6b1fec88c93', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: '86f985ed91a89a66a363018b10af0d9b80611544', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '5671605bfc1b429a28c37dde3a8ff522b1d5d5fb', class: "increase-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/plus_sign.svg" }))))), this.showHintText && h("p", { key: 'bdf0b3930a0cb31e160888414c5a0bbf07cb0360', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
41
+ return (h("div", { key: '97fce59caa38b707ab4c2eb21debc7f1aed5bec1', class: classes }, h("div", { key: '54168ffd5e847b980025efb137a66236ef4d98bf', class: "input-with-label" }, this.showLabel && (h("label", { key: '9402767af1d841e8080eddee3b2f5810edcdab16', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: 'a963afa973e870a1ec23d7f04ed8d6b49c9a82ba', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '3f6667b14fd8eceb83447c0765ae02800d03eae3', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '5335ddbd36177052c0d9dd80c6706ad2f3356299' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : this.destructive && this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (this.destructive &&
42
+ this.state === 'disabled' && (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'icon_leading' && (h("div", { key: '82f16623ec859fe138d14312968935b84c95bbc7', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bf3ddf788c9145c8a3fcbf1518fa44ebb3b24935', class: "content" }, h("div", { key: '373f308e8c4f694e181a0adcf22a480e81fc449a', class: "icon" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `icon_leading_svg ${this.state}` }, h("path", { d: "M5.83342 7.08334L8.2851 8.53286C9.71443 9.37794 10.2857 9.37794 11.7151 8.53286L14.1668 7.08334M7.58243 2.94713C9.1995 2.9065 10.8007 2.9065 12.4177 2.94713C15.0415 3.01305 16.3534 3.04602 17.296 3.99221C18.2386 4.9384 18.2658 6.21571 18.3203 8.77032C18.3378 9.59172 18.3378 10.4083 18.3203 11.2297C18.2658 13.7843 18.2386 15.0616 17.296 16.0078C16.3533 16.954 15.0415 16.9869 12.4177 17.0529C10.8007 17.0935 9.19951 17.0935 7.58244 17.0529C4.95869 16.9869 3.64682 16.954 2.70421 16.0078C1.76161 15.0616 1.73437 13.7843 1.67989 11.2297C1.66237 10.4083 1.66237 9.59171 1.67989 8.77031C1.73436 6.21569 1.7616 4.93839 2.70421 3.9922C3.64682 3.046 4.95869 3.01304 7.58243 2.94713Z", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("input", { key: 'ed80a2e40a568ef56155b4503a0f45cb3ad88c6b', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '2219da1133f0f14da9b8523a2c8ddbe2a7bf1b52' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: 'ce82f72af33184f3cdbb92ec80c34d1118aa919a', size: "sm", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/cancel-button.svg" })))), this.type === 'leading_dropdown' && (h("div", { key: '2ebf2d274572d34b11e71e9bb545b32c2a7a485e', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7d44da890e32e9f47bec160769a49ab3c079f6c0', class: "dropdown" }, h("div", { key: 'fef63883dcb6dac07cdc40ab813534afdaea2d17', class: "country-icon" }, h("svg", { key: '51cd2106233c809c1581ddb05b0d184d87cc7bda', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '483a98199b357dcca4d7dd47283792cdbda54035', d: "M-0.000488281 12.0002C-0.000488281 17.1599 3.25601 21.5583 7.82562 23.2539V0.746674C3.25601 2.44214 -0.000488281 6.84071 -0.000488281 12.0002Z", fill: "#6DA544" }), h("path", { key: '6ac20f6874929eccdbf1982d49b25261bd09a995', d: "M23.9999 12.0002C23.9999 6.8407 20.7434 2.44214 16.1738 0.746674V23.2539C20.7434 21.5583 23.9999 17.1599 23.9999 12.0002Z", fill: "#6DA544" }))), h("select", { key: '04fb4cea0213e64b124eac7a83e561c8c0d8a972', class: "text-md-regular" }, h("option", { key: '2cc6f86334b48deb25454f62bced5cfa6007dbf4', value: "option 1", selected: true }, "+234"), h("slot", { key: '3013ea2091411f8ac0cbc950e826c73ed61987fa', name: "country-option" }))), h("div", { key: '500dce782d7582cf7a434c2b09710c5e6f93fb98', class: "text-input" }, h("input", { key: 'f07455135a8ab3a09cacd17ddf68c67095754d7b', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '6260cfdce1736994f0afe9af88dc057bd3a3cdfc' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_dropdown' && (h("div", { key: '7894d6be42b3ae7b36a9c52cf2f55858f8ac5ed2', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '91844adffcae7a382456013ef4f81475d6c9a1c9', class: "content" }, h("div", { key: '6361627d0d409dd07a8f03a075ecd5465c9f9441', class: "text-input" }, h("p", { key: '82d83dd8580e94bcdffb96adcd63859f6a1bea84', class: "text-md-regular" }, "$"), h("input", { key: 'a085178a46efb48893ec2af2fdf277619dfb4d5f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'a222a8eea8add53c4773ff25e86b900d91e88aa7' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'be7d9192f5fb8df50eaf01ba628df6e9a974cd02', class: "dropdown" }, h("select", { key: '98774208822abfb64abba26bb6db47f1f8375a8f', class: "text-md-regular" }, h("option", { key: 'ef678e8461ace0982965f8a61cb1832a8b55a3a8', value: "option 1", selected: true }, "USD"), h("slot", { key: 'bab6d6d9b617be74afaf5916fa13dadd8fc866a6', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: '0a0aa0dfdea34b5fa6d10d26955d6c2794105011', class: "leading_text_wrapper" }, h("div", { key: '3e2ad07b53c9c523ee5421c008bba2f020855cc4', class: "add-on" }, h("p", { key: '972a2850ef67d687e151a5e312084ee621c94a09', class: "text-md-regular" }, "http://")), h("div", { key: '63ff6b05d7f471547d6fbf5b06efecf5962d70b9', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'cb414a7f09ecc1bdda850f1453ffdcefb8f31a94', class: "text-input" }, h("input", { key: '4464a81e74fc8ce82e178fb93e9ff58b63a5ab2f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '9db7e108b402fe586cba4ef2ae060827124948e5' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'payment_input' && (h("div", { key: '1ef2b6ab76691434ae67411c4da9d463323952be', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6f99629fb6af7d47236c53b166a68ba771b8f115', class: "content" }, h("div", { key: '363bad167eda5446feedea243b6ffe29c7074fd4', class: "payment-method" }, h("svg", { key: 'bd4214105d45abdf59c009fe7065a248c8d86195', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'c4db323b31c75ced7e7c04a69e55339a8252d819', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '97513b4a509007732b0d0edcfa9e759b55350f91', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '97e0053c72228088d261b80a1ef519fe34d88f78', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" }))), h("input", { key: '7f9879bf4cfeb664f3b479d65602504e41fca307', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'd1cd325f58fb2709992a09fb625cb981b3fd266d' }), this.showHelpIcon && (h("div", { key: 'f6d1bd9a88b1d6f4687465b2949f04982f37b371', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'tags' && (h("div", { key: 'abfb90a5abebb910a98f9f599d6a126dd106eed5', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'deda2875f714fb58aaec8d4792e7f89f66f7e09c', class: "content" }, h("div", { key: 'ee7ab3702da100d975b2adc068529c18cf73e532', class: "tags-box" }, h("slot", { key: '11399ee2c3dbc42af23127bd5c3091204ae045bf', name: "tag-option" })), h("input", { key: '8bf87aa5778e1630ce78f2d8d1a5a0d5233f2957', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '6e7654758549bad1d01accb74236a16264c09ae2' }), this.showHelpIcon && (h("div", { key: '268dc7ccc7d740b79ece4d73d29e8f4df6cade8b', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '33c2900509b3eaa1a12ad2c26514372fc4274279', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'b8b298db4e361e3622232986e18f8998976ce196', class: "text-input" }, h("input", { key: '1472fa72f0b7b4c1eac6af17710097a04bbeb868', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'fceac129d031a427012e9e1a4aea648a17875871' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '1c585c7b43cd491fb95133bff797b529fd3becb3', class: "trailing-btn" }, h("gb-button", { key: '75ae8efe78f2e0032e0ebc0cb0c8c137b362b4bd', size: "md", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/copy.svg" })))), this.type === 'password' && (h("div", { key: 'eb96722f1042292b0a30dddc4dd30d7b097f8707', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '12be1cc0bc4d3e3026bf11931e786b124667a592', class: "content" }, h("div", { key: '36ca2bd94d7119d20e3da45da8790f88fa0b971a', class: "text-input" }, h("input", { key: '6e6378b071823158d11ee9de29b65ea8dbf0c18b', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', type: this.isPasswordVisible ? 'text' : 'password', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'f35e58ba391564584e13c0043ea32695eb443821' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'c3ef3b18183a0af296e4a97e28e00895f42e3fe8', class: "dropdown" }, h("gb-password-button", { key: 'eff9811eb4d6edd50283cd11ccf745b1a4e10c57', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'c08dcb592fd854f42a354ddfa384790d601f4cb5', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ad17552383bed27be17f9c30a8ec0b9faa4aee87', class: "content" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5024 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5024 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5024 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5024 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58257L13.7347 6.83336L13.7003 7.58257ZM13.7003 18.2507L13.7347 19L13.7003 18.2507ZM16.4435 15.7039L15.7002 15.6039L16.4435 15.7039ZM6.29973 7.58257L6.33417 8.33178L6.29973 7.58257ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2507L6.33417 17.5015L6.29973 18.2507ZM3.55652 15.7039L4.29981 15.6039L3.55652 15.7039ZM5.50001 7.49999C5.50001 7.9142 5.8358 8.24999 6.25001 8.24999C6.66422 8.24999 7.00001 7.9142 7.00001 7.49999H5.50001ZM13 7.49999C13 7.9142 13.3358 8.24999 13.75 8.24999C14.1642 8.24999 14.5 7.9142 14.5 7.49999H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8141 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2294C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.24999C11.3095 8.24999 12.4972 8.27805 13.6659 8.33178L13.7347 6.83336C12.5424 6.77855 11.3317 6.74999 10 6.74999V8.24999ZM6.33417 8.33178C7.50287 8.27805 8.69057 8.24999 10 8.24999V6.74999C8.66829 6.74999 7.45761 6.77855 6.26528 6.83336L6.33417 8.33178ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2294L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8141 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29065 15.5122 6.91507 13.7347 6.83336L13.6659 8.33178C14.6943 8.37906 15.5595 9.18436 15.7002 10.2294L17.1868 10.0293ZM13.7347 19C15.5122 18.9182 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83336C4.48781 6.91507 3.04732 8.29065 2.81323 10.0293L4.29981 10.2294C4.44052 9.18436 5.30576 8.37906 6.33417 8.33178L6.26528 6.83336ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9182 6.26528 19L6.33417 17.5015ZM7.00001 7.49999V5.41666H5.50001V7.49999H7.00001ZM13 5.41666V7.49999H14.5V5.41666H13ZM10 2.41666C11.6569 2.41666 13 3.7598 13 5.41666H14.5C14.5 2.93138 12.4853 0.916656 10 0.916656V2.41666ZM7.00001 5.41666C7.00001 3.7598 8.34316 2.41666 10 2.41666V0.916656C7.51473 0.916656 5.50001 2.93138 5.50001 5.41666H7.00001Z", fill: "#4B5565" }))), h("input", { key: '75ca586966a5699268d7f155e8d410f9ea838d17', class: "text-md-regular", type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'bf4dd72c0d7a35ef7e5da5205d892759b92ac6eb' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'b9d94fe5300dd3b8f18c9ff855e496976db4146e', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: '976d622bde64f2919ae241a1486699e3eec18a01', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: '83d650376addbefd995d1a023a12fc0a117cc566', class: "text-input" }, h("input", { key: '99cb70ad54066fab4718544e8171883962f803ee', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '4badf78b38dd6634313c78a5a6b3cc10409ec072', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'fdd56104935d15c0230504fd970cb4a41a792b1b', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'aea5c09b28a2834e16476ef3fe8d32a4d6aca6b7', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: '1a9581b2657be0b8ee4e42baff648ca3795149e6', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '1b867dc07684dcd54ee347032b9fbd5006681ff9', class: "increase-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/plus_sign.svg" }))))), this.showHintText && h("p", { key: '591bffd86c2305c3f79075d7f349a156bd594677', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
43
43
  }
44
44
  static get is() { return "gb-input-field"; }
45
45
  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 */
@@ -16,10 +16,10 @@ export class GbMegaInputField {
16
16
  }
17
17
  }
18
18
  render() {
19
- return (h("div", { key: 'ea8fa103caed650b06abc48de735a47b32d0cfff', class: {
19
+ return (h("div", { key: '59a0b351576616053dbf33bbd9cdd299ada3f71d', class: {
20
20
  [this.size]: true,
21
21
  disabled: this.state === 'disabled'
22
- } }, h("input", { key: '2e7dfbb2a29ad01d7f95eda437ddfdd97301c004', class: {
22
+ } }, h("input", { key: 'fd50e3b04cc6053848c5edeabf0be0afd4064040', class: {
23
23
  [this.size]: true,
24
24
  disabled: this.state === 'disabled'
25
25
  }, type: "number", min: "0", max: "1", placeholder: "0", value: this.inputValue, onInput: (event) => this.handleInput(event) })));
@@ -1,3 +1,5 @@
1
+ /* @import 'tailwind.css'; */
2
+
1
3
  :root {
2
4
  /* --------------------------------------Primary Colors--------------------------------------------- */
3
5
  /* base color palette */
@@ -8,7 +8,7 @@ export class GbNotificationContent {
8
8
  }
9
9
  render() {
10
10
  const iconSrc = getAssetPath(`assets/${this.icon}.svg`);
11
- return (h("div", { key: '6cf984b27f70622a8b9fdbd6af03fc346dbd3773', class: "notification-container" }, h("div", { key: 'edb6213fe628c06707d1b8afbb99f4c2430e40cc', class: "notification-title" }, this.icon && (h("div", { key: '115290bf0d81d10bf3ad4ccefb913398082f94c0', class: "icon" }, h("img", { key: '88ecbc5828d5d249f1fa9d89dee3b383f72e0d56', src: iconSrc, alt: "Icon" }))), h("label", { key: '178fe9b7322ec1575d6a2edba3e7d897e2de0dec' }, this.label), h("span", { key: '2f0a986cd6c7ff2cc383ad2e25aa2ba8ca0fde04', class: "time" }, this.time)), h("div", { key: '3cb6aed1236393a97a83f5ffae1ef1797951aad8', class: "supporting-text" }, this.supportingText)));
11
+ return (h("div", { key: 'a12c1772a97377fb1b9abe1a0395cdb06f39aec8', class: "notification-container" }, h("div", { key: '135222a8b305ceb76896f896a768c8d2558b92e9', class: "notification-title" }, this.icon && (h("div", { key: '89021647afe9cd0def38bf707832533433b06d66', class: "icon" }, h("img", { key: '24991b73f69e11d0f0afd50b62ddd326c9519be2', src: iconSrc, alt: "Icon" }))), h("label", { key: 'bf3e37028a11007481d4195fe39eecccd6773467' }, this.label), h("span", { key: '87626ed3cd14883b8628373ea7400da2337cb4b5', class: "time" }, this.time)), h("div", { key: '7d319cfd6e7bd99630f0a62c4911133db456ea30', class: "supporting-text" }, this.supportingText)));
12
12
  }
13
13
  static get is() { return "gb-notification-content"; }
14
14
  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 */
@@ -26,7 +26,7 @@ export class GbNotificationPane {
26
26
  notification.remove();
27
27
  }
28
28
  render() {
29
- return (h("div", { key: 'fe9c10d62047ae1a42ad7ae4c0a053ae0cd427d9', class: "notification-pane" }, this.state === 'empty' && this.notifications.length === 0 && (h("div", { key: 'f20e0551f3013fcbeb409f13a514db93fc7bf6f0' }, h("div", { key: '57f7be2229c46173d335dd8a0b1bf8b2e968bcd1', class: "empty-state" }, h("img", { key: 'f86f0486e2ccd56cef71a195b1b803dd33cea29d', src: "./build/assets/panel_bell.svg", alt: "No notification" }), h("h3", { key: '261a6a4954af1a7471748f0463d637c02a0c7d57' }, "No notification"), h("p", { key: 'a4cb5ec798343273b1a7491ac43ff0a5549c43f7' }, "Your notification inbox is empty at the moment. Rest assured, you'll be promptly notified of any new events.")), h("gb-button", { key: 'f521cc762cd7abe95c3c85ed42f31e97e724b66b', size: 'sm', hierarchy: 'tertiary_color', "left-icon": 'blush_brush' }, "Mark all as read"))), this.state === 'notification_dropdown' && (h("div", { key: '3235b97e28b6f5123bb20f6435fa9c55fb433208', class: "notification-dropdown" }, h("slot", { key: '556a65f83e04d613886788cee0c4e738a8492e94' }), h("gb-button", { key: '89e125cf25cb415691ef9ec9f425db23b834ecee', size: 'sm', hierarchy: 'tertiary_color', "left-icon": 'blush_brush' }, "Mark all as read")))));
29
+ return (h("div", { key: '23249b09d9a85fef5260e399b95bcabaa72b71d7', class: "notification-pane" }, this.state === 'empty' && this.notifications.length === 0 && (h("div", { key: '02f96ac04d46f716c042b71ae1e767828c406b09' }, h("div", { key: 'e2249a45797399681073de0ec05fc412aff10951', class: "empty-state" }, h("img", { key: 'ece95cbdc20f9d625f085bba625dea12dd630b01', src: "./build/assets/panel_bell.svg", alt: "No notification" }), h("h3", { key: '4d2f17b41d11bc1f494292f4dc7b123c4ae23f97' }, "No notification"), h("p", { key: '97144a58f1f0bda99e7ddde7de7cdcc53a10e7b7' }, "Your notification inbox is empty at the moment. Rest assured, you'll be promptly notified of any new events.")), h("gb-button", { key: '6b33121614a480b53c7d3427a17a7172f488bd7c', size: 'sm', hierarchy: 'tertiary_color', "left-icon": 'blush_brush' }, "Mark all as read"))), this.state === 'notification_dropdown' && (h("div", { key: '2667d5d0a14f4aec942b50c652ca500e25a2daea', class: "notification-dropdown" }, h("slot", { key: '047843e04c88d631dd137aa6eef3c811b1fe1016' }), h("gb-button", { key: '8741f7ddb615af76e788458ad9efd16b775eeb45', size: 'sm', hierarchy: 'tertiary_color', "left-icon": 'blush_brush' }, "Mark all as read")))));
30
30
  }
31
31
  static get is() { return "gb-notification-pane"; }
32
32
  static get encapsulation() { return "shadow"; }