globuswebcomponents 0.4.3 → 0.4.5
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.
- package/dist/cjs/gb-avatar_33.cjs.entry.js +34 -32
- package/dist/cjs/gb-avatar_33.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +9 -9
- package/dist/cjs/gb-header-icon.cjs.entry.js +4 -4
- package/dist/cjs/gb-header.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-input-dropdown-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
- package/dist/cjs/gb-notification-panel.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-number-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js.map +1 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +21 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +4 -2
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js.map +1 -1
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +9 -9
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +2 -2
- package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-panel/gb-notification-panel.js +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +1 -3
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
- package/dist/collection/components/gb-sliders/slider.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-tags/gb-tags.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +4 -4
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +2 -2
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -156
- package/dist/components/gb-checkbox-group-item.js.map +1 -1
- package/dist/components/gb-checkbox-group.js +44 -2
- package/dist/components/gb-checkbox-group.js.map +1 -1
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +12 -12
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +4 -4
- package/dist/components/gb-help-dropdown.js +2 -2
- package/dist/components/gb-horizontal-tabs.js +5 -5
- package/dist/components/gb-input-dropdown-menu-item.js +4 -4
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +3 -3
- package/dist/components/gb-megainput-field.js +1 -1
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-panel.js +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-rich-text.js +5 -5
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +8 -8
- package/dist/components/gb-sidebar.js.map +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +3 -3
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +6 -6
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +2 -2
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +3 -3
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/p-20116c62.js +162 -0
- package/dist/components/p-20116c62.js.map +1 -0
- package/dist/components/{p-6b9ae561.js → p-201a8405.js} +3 -3
- package/dist/components/{p-6b9ae561.js.map → p-201a8405.js.map} +1 -1
- package/dist/components/{p-8963e7ee.js → p-260b6b99.js} +6 -6
- package/dist/components/{p-8963e7ee.js.map → p-260b6b99.js.map} +1 -1
- package/dist/components/{p-03933e89.js → p-26921960.js} +3 -3
- package/dist/components/{p-03933e89.js.map → p-26921960.js.map} +1 -1
- package/dist/components/{p-01a43936.js → p-349ece88.js} +2 -2
- package/dist/components/{p-01a43936.js.map → p-349ece88.js.map} +1 -1
- package/dist/components/{p-2522e0e6.js → p-493fb0be.js} +2 -2
- package/dist/components/{p-2522e0e6.js.map → p-493fb0be.js.map} +1 -1
- package/dist/components/{p-53e70aeb.js → p-4d0d5a44.js} +7 -7
- package/dist/components/{p-53e70aeb.js.map → p-4d0d5a44.js.map} +1 -1
- package/dist/components/{p-57b94005.js → p-55139c08.js} +3 -3
- package/dist/components/{p-57b94005.js.map → p-55139c08.js.map} +1 -1
- package/dist/components/{p-d9ee7b7c.js → p-6baad8ef.js} +4 -4
- package/dist/components/{p-d9ee7b7c.js.map → p-6baad8ef.js.map} +1 -1
- package/dist/components/{p-d9de678f.js → p-7239b558.js} +2 -2
- package/dist/components/{p-d9de678f.js.map → p-7239b558.js.map} +1 -1
- package/dist/components/{p-d2da1574.js → p-79e58411.js} +4 -4
- package/dist/components/{p-d2da1574.js.map → p-79e58411.js.map} +1 -1
- package/dist/components/{p-61d2acff.js → p-7b972624.js} +5 -5
- package/dist/components/{p-61d2acff.js.map → p-7b972624.js.map} +1 -1
- package/dist/components/{p-1ba1c138.js → p-8da0a4c6.js} +3 -3
- package/dist/components/{p-1ba1c138.js.map → p-8da0a4c6.js.map} +1 -1
- package/dist/components/{p-4c21ca28.js → p-91d1a7e6.js} +2 -2
- package/dist/components/{p-4c21ca28.js.map → p-91d1a7e6.js.map} +1 -1
- package/dist/components/{p-31e9f7cb.js → p-a48f3765.js} +2 -2
- package/dist/components/{p-31e9f7cb.js.map → p-a48f3765.js.map} +1 -1
- package/dist/components/{p-763387fe.js → p-a9afcddd.js} +5 -5
- package/dist/components/{p-763387fe.js.map → p-a9afcddd.js.map} +1 -1
- package/dist/components/{p-9b867eac.js → p-b1b56453.js} +2 -2
- package/dist/components/{p-9b867eac.js.map → p-b1b56453.js.map} +1 -1
- package/dist/components/{p-39156f1b.js → p-b75d82f9.js} +5 -5
- package/dist/components/{p-39156f1b.js.map → p-b75d82f9.js.map} +1 -1
- package/dist/components/{p-7df674ca.js → p-bdab2e0b.js} +3 -3
- package/dist/components/{p-7df674ca.js.map → p-bdab2e0b.js.map} +1 -1
- package/dist/components/{p-825cf6e9.js → p-c64c5a8f.js} +2 -2
- package/dist/components/{p-825cf6e9.js.map → p-c64c5a8f.js.map} +1 -1
- package/dist/components/{p-9317b000.js → p-cb33ab6d.js} +2 -2
- package/dist/components/{p-9317b000.js.map → p-cb33ab6d.js.map} +1 -1
- package/dist/components/{p-2764bda5.js → p-ef610ebc.js} +2 -2
- package/dist/components/{p-2764bda5.js.map → p-ef610ebc.js.map} +1 -1
- package/dist/components/{p-88687162.js → p-f15f2882.js} +2 -2
- package/dist/components/{p-88687162.js.map → p-f15f2882.js.map} +1 -1
- package/dist/components/{p-84661af1.js → p-ff4292c2.js} +3 -3
- package/dist/components/{p-84661af1.js.map → p-ff4292c2.js.map} +1 -1
- package/dist/esm/gb-avatar_33.entry.js +34 -32
- package/dist/esm/gb-avatar_33.entry.js.map +1 -1
- package/dist/esm/gb-checkbox-group.entry.js +1 -1
- package/dist/esm/gb-checkbox-group.entry.js.map +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +9 -9
- package/dist/esm/gb-header-icon.entry.js +4 -4
- package/dist/esm/gb-header.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +1 -1
- package/dist/esm/gb-input-dropdown-menu-item.entry.js +2 -2
- package/dist/esm/gb-notification-content.entry.js +1 -1
- package/dist/esm/gb-notification-panel.entry.js +1 -1
- package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
- package/dist/esm/gb-pagination-number-base.entry.js +1 -1
- package/dist/esm/gb-progress-bar.entry.js +1 -1
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +1 -1
- package/dist/esm/gb-scrollbar.entry.js +1 -1
- package/dist/esm/gb-slider-control-handle.entry.js +1 -1
- package/dist/esm/gb-slider.entry.js +1 -1
- package/dist/esm/gb-toggle-base.entry.js +2 -2
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-cda1993c.entry.js → p-005e4d7d.entry.js} +2 -2
- package/dist/globuscomponents/p-005e4d7d.entry.js.map +1 -0
- package/dist/globuscomponents/{p-04ca94bb.entry.js → p-08cfe483.entry.js} +2 -2
- package/dist/globuscomponents/{p-9d5dfa56.entry.js → p-0f0c4dc6.entry.js} +2 -2
- package/dist/globuscomponents/{p-38ddb08d.entry.js → p-1971b0f5.entry.js} +2 -2
- package/dist/globuscomponents/p-2f175d13.entry.js +2 -0
- package/dist/globuscomponents/p-2f175d13.entry.js.map +1 -0
- package/dist/globuscomponents/{p-04d04d5a.entry.js → p-32d3c7d7.entry.js} +2 -2
- package/dist/globuscomponents/{p-fdadcae8.entry.js → p-3db54b6b.entry.js} +2 -2
- package/dist/globuscomponents/{p-355ee2b7.entry.js → p-43be14a0.entry.js} +2 -2
- package/dist/globuscomponents/{p-19d2f500.entry.js → p-4bb1b1ff.entry.js} +2 -2
- package/dist/globuscomponents/{p-e51aa524.entry.js → p-4fb1c7b7.entry.js} +2 -2
- package/dist/globuscomponents/{p-ea10b389.entry.js → p-609d8f49.entry.js} +2 -2
- package/dist/globuscomponents/{p-4e99fdd9.entry.js → p-65dbacc7.entry.js} +2 -2
- package/dist/globuscomponents/{p-64588b88.entry.js → p-79ae57a8.entry.js} +2 -2
- package/dist/globuscomponents/{p-3bfd70d1.entry.js → p-92561c6a.entry.js} +2 -2
- package/dist/globuscomponents/{p-5479adcd.entry.js → p-add9ec72.entry.js} +2 -2
- package/dist/globuscomponents/p-cc527c4c.entry.js +2 -0
- package/dist/globuscomponents/{p-61836d01.entry.js → p-d733c69f.entry.js} +2 -2
- package/dist/globuscomponents/{p-e8c4960e.entry.js → p-d75d3d96.entry.js} +2 -2
- package/dist/globuscomponents/{p-342531d5.entry.js → p-dc952229.entry.js} +2 -2
- package/dist/globuscomponents/{p-87664bb3.entry.js → p-e2c92f11.entry.js} +2 -2
- package/dist/globuscomponents/{p-af75a0c6.entry.js → p-e8b51d32.entry.js} +2 -2
- package/dist/globuscomponents/{p-0638166b.entry.js → p-f262afa7.entry.js} +2 -2
- package/package.json +1 -1
- package/dist/globuscomponents/p-8b29407e.entry.js +0 -2
- package/dist/globuscomponents/p-a947e6f1.entry.js +0 -2
- package/dist/globuscomponents/p-a947e6f1.entry.js.map +0 -1
- package/dist/globuscomponents/p-cda1993c.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-04ca94bb.entry.js.map → p-08cfe483.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9d5dfa56.entry.js.map → p-0f0c4dc6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-38ddb08d.entry.js.map → p-1971b0f5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-04d04d5a.entry.js.map → p-32d3c7d7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-fdadcae8.entry.js.map → p-3db54b6b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-355ee2b7.entry.js.map → p-43be14a0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-19d2f500.entry.js.map → p-4bb1b1ff.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e51aa524.entry.js.map → p-4fb1c7b7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ea10b389.entry.js.map → p-609d8f49.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4e99fdd9.entry.js.map → p-65dbacc7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-64588b88.entry.js.map → p-79ae57a8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3bfd70d1.entry.js.map → p-92561c6a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5479adcd.entry.js.map → p-add9ec72.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8b29407e.entry.js.map → p-cc527c4c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-61836d01.entry.js.map → p-d733c69f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e8c4960e.entry.js.map → p-d75d3d96.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-342531d5.entry.js.map → p-dc952229.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-87664bb3.entry.js.map → p-e2c92f11.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-af75a0c6.entry.js.map → p-e8b51d32.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0638166b.entry.js.map → p-f262afa7.entry.js.map} +0 -0
|
@@ -27,8 +27,8 @@ export class GbInputDropdown {
|
|
|
27
27
|
slottedInitials.classList.add('text-xs-semi-bold');
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
31
|
-
(h("slot", { slot: "initials", name: "initials" })))), this.type === 'search' && (h("svg", { key: '
|
|
30
|
+
return (h("div", { key: 'c0092b6df5345cc30f38a82a3600961da0356066', class: `input_dropdown_container` }, this.showLabel && (h("p", { key: 'dd64bafd83cef8f849a8bcf23675d71c0e80fc27', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: '326b526c119f8c9d09832a7df752f65606dd71c4', class: `input_dropdown_div ${this.size} ${this.state}` }, this.type === 'icon_leading' && (h("svg", { key: '6868fd401a340b59a895ad33efbd4bf0b1b55ed7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ccc58dd36c08d4b7e9fd5a6d2a9d28d449938b76', 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: '66e88f6bab5fcafa8a78484518f7d7360418a83a', 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: 'a1cc10362a6715d61eb69bbaab4965c5c5e36865', 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: 'cb53be2066fc56550a2fb46bf9e29a46b8a529a7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ac57feb67e6d852e50206e6dcde220629353027f', 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: '34b08d22ffae6a852353f9016a6c9949b521fec8', 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: '5691c3a29b6c6628208fe5cb92929a2585225abc', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: 'a88d1554533300029d120ed0ddf7825a0aa08017', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.showPlaceholder && (h("p", { key: '0e08e5a1e81966f2f21b64df0a0667aa77a18aae', class: "text-md-regular", style: { color: '#CDD5DF' } }, "Select team member")))), this.state === 'filled' && (h(Fragment, null, h("div", { key: '9c9e49ef57100db24a9192c6b3aef5f14f362370', class: "content" }, h("div", { key: 'ed5d3ca23ee930cc32d0e646c9e5144302e39440', class: "text text-md-regular", style: { color: '#4B5565' } }, "Olivia Rhye"), h("div", { key: '402972c4004959169b6a1c7c2e788915f2617e43', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, "@olivia")))))), this.showHelpIcon && (h("div", { key: '3572b5628c879b40195d0663a39c26aa02d69d0e', class: `help_icon` }, h("svg", { key: 'e3ac45e0120bd25cc586fdf7064c3155040293df', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'c0df19b8532bca63eace36419305b0dcb3d0075f', 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: '060f9a9d92c330db1509226101d5bc36666a224e', class: "dropdown_icon" }, h("svg", { key: '958b8d8bda91d6b7fc4d4051d2a19e8e5924ddec', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: 'dfed215d43cee4bae4a3ecc951451469f88ffd58', 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: '95c735da57b1bb13f20ab5506b056666f4124b05', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "gb-input-dropdown"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,12 +8,12 @@ export class GbInputDropdownMenuItem {
|
|
|
8
8
|
this.state = 'default';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '98d60307ead775fec9581138d872f058699dac58', class: "dropdown-container", onClick: () => this.selected = !this.selected }, h("div", { key: 'dce436a9a64935903af0e019a000724802460092', 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: '
|
|
16
|
+
}, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, this.type === 'icon_leading' && (h("svg", { key: '734b931c2f4e678b2b03baf1a3a1e0a37ca105a6', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'db98467b3e04b59796b6a2634e77710e58f36f84', 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: 'b2b5ca4ebf526be1ddaff05c2a95cd98d9ec35c1', 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: 'cabae8019ee74cdd22f6591630edd8ef1a6e6cd8', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '93874b9ace79495a7dd67271414eea15f9e0a93e', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: '4a68ad064668a35da1093d617ce404bb78dd8a25', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: 'aeeba1f06f586e8d904ab595c6dc1ecb340782cb', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: 'b10e26b78d82998c5fbe79cb6960730b28297413', class: "checkbox", size: "sm", type: "checkbox", state: StateEnum.Default, checked: this.selected }), h("div", { key: 'ac55ee84a183f5809183c0b1b51c786a3b111e5e', class: "text" }, h("slot", { key: '3f2d6489aa9619295d1ab63aaa4d94bada3f9d07', name: "name" }), this.supportingText && (h("span", { key: '29bd6bc38e591942f62c1ee3aae763b69b1a634c' }, h("slot", { key: 'd371842254a441d5b89ed80970bf6115f1dff750', name: "supporting_text" })))), this.selected && (h("svg", { key: '9beb8b4290e2162ca05c146ac428581b51da2b2d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9c2e4d366354030b1016a90e9ee6a1b1b0ea9075', 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"; }
|
|
@@ -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: '
|
|
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: 'bef2b18d5a49eb623d27fbefdcefb03776a1faf7', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e4961f8fb70e5107e6f47fcb979a45adf397e97b', class: "content" }, h("div", { key: '94a5ff5d5c511823fc1bc0daa5cf25378f0a92fc', 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: '66166a1c6a640d05a6d22531009d5c29693b9689', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'dcf73c9f2ff606def79775c75a9f1ad5acde39c6' }), 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: '39438b368dd73d6b8d3b75ad8e01cf5ca4e1964c', 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: '9746aef9ab57b495d7c74a7ae53dd946414829b0', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8c9c920d156ad7c8c77de8c6ec2d8f665742793d', class: "dropdown" }, h("div", { key: 'cb3a17ca371dde32fff4f38890048a12efbb25b0', class: "country-icon" }, h("svg", { key: '69fa7ae24744f73086e18dcca718739209580402', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'fa20186792a6727bc9be9bf0bcbc01ccce51e2fc', 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: '139ae95463e15dba4a92ed51b55d748596088dff', 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: '02bafe9dee46b94c3db1982469589c90a6813d0d', class: "text-md-regular" }, h("option", { key: '114d1fd7cbd8231d5ec7cda870327c2c6bee1ebe', value: "option 1", selected: true }, "+234"), h("slot", { key: '1d8d3d73962101b43f63b1f4ab0f36417726c689', name: "country-option" }))), h("div", { key: '67cde7dfb5129d3317d907e0efff07118c15c02a', class: "text-input" }, h("input", { key: '32583a68aa3eb802bfddb5d14b756393dcbae204', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '259be5e321b145a8b5fa54865940937c7a3148b5' }), 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: 'e41fb2386a6681899767a2b53c6862de3ec9cdc8', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0b179668c2d32a0fe88bcdfb513c0c87ff9e3642', class: "content" }, h("div", { key: 'dedab051539b1d50978f0eb5bea72facd7c32008', class: "text-input" }, h("p", { key: '1dfe52b3633ae1612c17b4aa3067002b03acce8a', class: "text-md-regular" }, "$"), h("input", { key: '909adf30ae293bdcfb7abc5e9c0f92220f5ae113', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'caf33ae0612a022aee0a764c211c44aedae7ab62' }), 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: '12dfde9df7f671943f697ea25f948eb55bf07066', class: "dropdown" }, h("select", { key: '245afe334f9250130bc66e9650f6f1560282fee3', class: "text-md-regular" }, h("option", { key: 'd02940e1a223a44c57d2b396507652eb7b4fa303', value: "option 1", selected: true }, "USD"), h("slot", { key: '2014889300192137fd594e5cc808c604c1d29d36', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: '22e9e804c23e2b74b6f8cedd8ef8f444e260ce91', class: "leading_text_wrapper" }, h("div", { key: '70a695c5438ba2f807fdba32a03127f793f788f7', class: "add-on" }, h("p", { key: '19fc81811845c27cf44b36cc178f866af50befb5', class: "text-md-regular" }, "http://")), h("div", { key: 'cff80ca58d55fd251610f80cc50af00e7ac8d190', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e427531a9c7abdddc3511f7b24e981413a344b64', class: "text-input" }, h("input", { key: '3c9a2ea32c43da8659129419012140108ce3fc7f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '50ac0dae5cf9d8b22245e89447d18a2ca30c39d0' }), 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: '07b238aec07dc9003fb24e64861d194bfb82f786', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '9126c4565eed371ac444f919f8ad60991d988ead', class: "content" }, h("div", { key: '05a6fdcba206fb67681c1bb241a4c1cd0c30e0d0', class: "payment-method" }, h("svg", { key: '8da81b1182dc8b5577a519d06fd75167740572e4', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '9e37090fce7f91ba948af1ea4db262afe67dfc83', "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: '6e7511fdffa1925678a0d475e93c53f9f58ff739', "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: 'df54c275f71bb5a6d79d7a1630f2d25bee5921dd', "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: '2d5598e010bdcc2559f332603866e00ae2f015fd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '6adf6c2a44a54a72389bf61697d5c07e76236fde' }), this.showHelpIcon && (h("div", { key: '3bdbae521700583821848ee87c306a137490b261', 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: '6c53aba58914dfc9e8587c0765c3ed9b7ce27486', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a86c8004a53b4644a67cbea0793916cbc6af922d', class: "content" }, h("div", { key: '8179740bd07c4a7020c7565c8167c063d4859c28', class: "tags-box" }, h("slot", { key: '912f1aea9b7785a22b3948bc80747f44ef141e45', name: "tag-option" })), h("input", { key: '3686649f61bc0aef4fb5f504051a3d7c38e71c33', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '1462edc4c0cf75e5e489b00cef5a8a644dc573f7' }), this.showHelpIcon && (h("div", { key: '1b7740ff53c4e1a438036f543d03aa0bbe0db451', 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: '43087a6215a8e87acf651f4c6988c331e7e6c4d4', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '03e2361561d964046bd8a414d06c7fdbe5ef0bbe', class: "text-input" }, h("input", { key: 'e5a6c4a2e1094c10c7b64af69be27bddb30522a5', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '278d00098777911298fca5f2675384959dc32e51' }), 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: 'd1b31466649e248e9155fb5aff9da2e023e30b6b', class: "trailing-btn" }, h("gb-button", { key: '38fe2fbb64b7dc485d6292cb9ff1f16578958297', 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: '81fd2f6ace6b07a619124753cd2006d23fc19141', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c059c45506238363d511496bde8ac6ac8fcfd1c2', class: "content" }, h("div", { key: '00fe2abd4be70520500bed04b0fde8ec6abb4305', class: "text-input" }, h("input", { key: '3852984e28f990be236db27b4ab09b6f03c7f5d7', 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: '838e75c231ac68ed19b07a5ebc2375c7688668d4' }), 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: '9dd63c5f1381ac97362ce1c62444faa7fdf514f6', class: "dropdown" }, h("gb-password-button", { key: '1a93234dab89fce2c929d521b341795823ce2d5e', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '12f351a2932556d49a8971ed95f632a5d85d1073', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'aeb0e9e0656db0097d244cefaa8a1b3cf07caa99', 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: 'a2e5d289d3cc07e9b6c6a72c287266c6a4a0c8cc', 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: 'feca5e664e13dc5142db1deda6ed010ee1a23514' }), 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: 'fd42a6c6a75e02aa37a888eda61a7f7011e1ce78', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: '4bd4c9d40fa3fd553f6e1595ad0039119a1a1aa1', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'c059976cabb1c37bdad4a0098345f1cff920923c', class: "text-input" }, h("input", { key: '5ad3a06a7a0962abe856ba2d82d106b642bf418d', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: 'bcfcf500a4a92293e90a0578a49f4b1331723807', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '689ea5d7016eaf0566c4abb07a25f690acf13629', 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: 'ac02b8ff68319b5081581410bbd47ee311634e01', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: '881a40181c8fbd2f90f535ae3e5ba8cfa1893ada', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '64e4f851364c60a006c053092b7ba02bb0b6e076', 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: 'f5bf6872ae477002288bf0db27d5ca227bc2a08b', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
|
|
41
|
+
return (h("div", { key: '88a13b0db2172b7760ab7ad2432293930c041d04', class: classes }, h("div", { key: '6f007622566e8a6071890f70c4d505fb1ae4cbea', class: "input-with-label" }, this.showLabel && (h("label", { key: '0a73c3592b2a01d8e7aabe89339bf7afb28463c9', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: '24a176359cc3e7cc0db9f3cfb394394a2e06ac76', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '66c706973e3c4f2c6b9081a55cc3afe40ff2ca5c', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'b7611b57448ccbe0bb6b7b35862ef03ff926df99' }), 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: 'b44fd61ad9889447ed97ab0d4c4b78c7bb24fe8d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8ad7cd310443ae457ae3b87c38d17b1207882b31', class: "content" }, h("div", { key: '40460502cfdd07a5316dadc158cf7ab4ea9aa1ea', 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: '53077d5753b96d951c05d7063128682714117327', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'e919eade9a42e612225b851e7c4f42e13842f225' }), 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: '262b0d77f7a02685a4ece78f0657f27bf65394f5', 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: '1cde343d466d3330f46c128e6b7461ec0cf11216', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'fe1d0a75d07525a7a54589877c2495018ca32194', class: "dropdown" }, h("div", { key: 'a91154d0d724d9323ee0118ad586ce3d41135115', class: "country-icon" }, h("svg", { key: 'ffbbbf86c6ed79306c022ddd7759ed37a341e4e9', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '31b0178e018bda43d5be5c016ba1cf88a5bdaf49', 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: 'd8495c8653c8ea1e37cacf68bd7ea20685c2ea49', 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: '7827a9af5029d1eba61c3ea3840d1fed24161681', class: "text-md-regular" }, h("option", { key: '9df96d04368cc565a545ab39689e7fb0d8c7684c', value: "option 1", selected: true }, "+234"), h("slot", { key: '8638d5555964fc4737f524a74e02c3219b8fb5f2', name: "country-option" }))), h("div", { key: '095f4ef866f71ff97d2e80e34ecf78a58d5d2aca', class: "text-input" }, h("input", { key: '5ae6a6b3b192d09ec824c26f9ea8280d7721deff', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '30118b025f5bbd5fb3a8623cc6f124ae867980ff' }), 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: '996be183d4eb173dccc666ef31519a3f6686bc54', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '43a90d01c30d6df32e014e9d0330427dce3b1074', class: "content" }, h("div", { key: '26ca83b7a5f7ae4de17947558e128289b601c6c9', class: "text-input" }, h("p", { key: '7af94ed7c2eeef449c1d0dcad7b2210d0e54e1a8', class: "text-md-regular" }, "$"), h("input", { key: '08b999b304b760ba254c37d66725e3e417caefeb', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '9e9c34e3d55d79967da57b9a5f88a5dc4530cc26' }), 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: 'aa2b032a9bc18f12a53919548736913cc22be65e', class: "dropdown" }, h("select", { key: 'e63a9602ac2418f093baad04f1695414199c84fe', class: "text-md-regular" }, h("option", { key: '06228c92f356723a13060c3c015832c76a59d627', value: "option 1", selected: true }, "USD"), h("slot", { key: 'a0cf2ae63a0bf34ed890324a8ca279fb74a74b77', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: '536d365b62f46325ae19f628decad32518753c00', class: "leading_text_wrapper" }, h("div", { key: '88ed4448f3c4eefc5c7aa4da6b77c7500bb96350', class: "add-on" }, h("p", { key: '9a8cba1cdb3362bae9cd81d76a7f4edae086d07e', class: "text-md-regular" }, "http://")), h("div", { key: '75d221e03a2b8eb39dec66f3c36c7f6fb98221fa', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8254071aaa3e4591ede3e973a8a0e7c59003e167', class: "text-input" }, h("input", { key: '4d1989c000ca88e19ba978b7ad454dcecad11f51', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'cfb32d8303ea9acbfe6908872bc3784ef65b5057' }), 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: '4f9e1d7aaf7dedf32749c425d944e6052c1b85fa', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '2b43214fbaaa49c890be7681efff63881845a421', class: "content" }, h("div", { key: '5d05d5b04e3b7b786e61804cf05f6567f7f11f68', class: "payment-method" }, h("svg", { key: '1956f9857c0b9f8d1ddf72a529b9b1c65eaafb0a', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '021d600ea8fcbcc22ad4154b98921df1f4523741', "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: '5055b70fdfa826d198addeecc837a21141139436', "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: '814d6ddcc74b0e42c185317ab1b425268b2564d4', "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: '52ecf380c1485026dd406b71bb9297918ff5a9f1', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '24cf75d0f56ec10506bfc8be54080fe0ad426ebe' }), this.showHelpIcon && (h("div", { key: '02e3c77c4810d2f9f89595358603543e5525ce1c', 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: 'a0d760424fd61a20ca4d452930f32d2010e9d1bf', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e1b19dc679f2555d01c1ea0dda0115d5cc5d35a4', class: "content" }, h("div", { key: 'e72c6aed6cb83c2df0989b5979f00906e061a6de', class: "tags-box" }, h("slot", { key: '88061e793dd93b0e279b14752c0a9da65ee3f801', name: "tag-option" })), h("input", { key: '0b6e02f5f4b930492c3752882f51e23642cb216d', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'd9dee6a5330ef7b4ba55fb21041c61a85a79afd6' }), this.showHelpIcon && (h("div", { key: '96e0320df54b6d418c628cea970f995f02880288', 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: 'dfbaeaf392e07ee7ea04f4b38d82788387c60abe', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '60c9e5e12449aa3d53b10fdff802e1f0369675b9', class: "text-input" }, h("input", { key: '11b5b439e9ba21ab232c8e28e605776e7d265b39', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '8e04c9e3c1283f19ee7ea11f05495c8e4544ddd0' }), 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: 'c88b3af1ba569d0fb81de8cdadea4f5482e00cd5', class: "trailing-btn" }, h("gb-button", { key: 'f1580156dcde9d4c9996534292d6e4694056210b', 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: 'a04f8ad6259fafd8d56a900f87fa7a321c1cbcd2', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e742452f7bac765852123fe7b4a7e5f065ba5814', class: "content" }, h("div", { key: '9c10236441772515bd2625106f7e36e31b2b0a92', class: "text-input" }, h("input", { key: 'aa349184f6052cf0cd516af5861e95963775e63d', 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: '90edf109f6ee3df4055e25aa6ee53aea6bee9850' }), 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: 'b6662f696669148c5583b7b6bb78d0ffc0de6aa6', class: "dropdown" }, h("gb-password-button", { key: 'c31448d6659d803835b91016c2e151a57b7cac44', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '8990a9e23d51918eb2091e2493f6398314ebe9d6', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'abfe3905fbde117ccce323b8b7e5125f17590eb2', 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: '670e9f436263cc23f01200a4c99f2eaf685b5716', 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: '35f569b5b360a47b7b86e9b548f9f800ae180fe8' }), 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: '8e63e460b4f91284f5a75f383c6fbd73b27ac363', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: '682ecf2224522fad3cf4f99a316db78c4326d35d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'fd445bdda666002eee3ef309eb6e1d6b88321f90', class: "text-input" }, h("input", { key: 'd2961abad285666f195ef12099c381abf16aa829', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '03abb7e2398f3ed92d4504ae0080bec78ea5fd12', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'b8a015be88eddc4b0f0e8d613f9555e4969ac95a', 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: '46c267b745841e1cb2f33849a493c43ab6f3f1fc', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: 'ed4cdd5df5a2419ed0411f776e8a7e2e6329e341', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '29a92566af874e769ba3c173d778f2e3d72e2f81', 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: 'c70431aa160ed618ab5e37fb47e41a7b78f92ca7', 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"; }
|
|
@@ -16,10 +16,10 @@ export class GbMegaInputField {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '01a5ec508b15fdb6e00e23e6d17f645642f64e50', class: {
|
|
20
20
|
[this.size]: true,
|
|
21
21
|
disabled: this.state === 'disabled'
|
|
22
|
-
} }, h("input", { key: '
|
|
22
|
+
} }, h("input", { key: '01392a8f75612c19f1a03307db119270aabef1a3', 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) })));
|
|
@@ -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: '
|
|
11
|
+
return (h("div", { key: '9b944988b60452274459862a179a9a9edf89ab55', class: "notification-container" }, h("div", { key: '695054c90474dcd535384629347964b8165e720a', class: "notification-title" }, this.icon && (h("div", { key: '13140c03e337d2c82a4b9dc113398639127e72d5', class: "icon" }, h("img", { key: '2e132287412a7e57b63627b7cc71255efe01dec0', src: iconSrc, alt: "Icon" }))), h("label", { key: '16ecbb0c28adbbdc927b3fc2ccefa7f6570a1fbc' }, this.label), h("span", { key: '7647b659056536afa3fedc10860a1be74c0abc1c', class: "time" }, this.time)), h("div", { key: '5142b30f9045f70d2492e8573d368c661423952b', class: "supporting-text" }, this.supportingText)));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-notification-content"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,7 +26,7 @@ export class GbNotificationPanel {
|
|
|
26
26
|
notification.remove();
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: 'f2c7e7afd5cfc3adde6d245b1c29a738b4591222', class: "notification-panel" }, this.state === 'empty' && this.notifications.length === 0 && (h("div", { key: '90f6eac7f2745e385245b8247f8ea6f0dda7946a' }, h("div", { key: 'd242c17c481cf110b5e52133247b672b1599d2f2', class: "empty-state" }, h("img", { key: 'cb41033f1bbbdb2972a0430d8992c23c40ce1b50', src: "./build/assets/panel_bell.svg", alt: "No notification" }), h("h3", { key: 'c71c24f04195bef8b50396cf133593e2d80f3b14' }, "No notification"), h("p", { key: 'c4a14fa1ab6e5f2c8a9b62c1af3c24db9f04dee9' }, "Your notification inbox is empty at the moment. Rest assured, you'll be promptly notified of any new events.")), h("test-button", { key: '3fc7b6558e30640f71c13bab5482044140b510a3', size: 'sm', hierarchy: 'tertiary_color', "left-icon": 'blush_brush' }, "Mark all as read"))), this.state === 'notification_dropdown' && (h("div", { key: '7d837c16f14b7caecf22b433b6aada26e7e6adb3', class: "notification-dropdown" }, h("slot", { key: 'fe1e0d967f33b856dab53839bc4442d01d1851be' }), h("test-button", { key: '535c7960ff3f8a0c3a907ae966e867c699500cec', size: 'sm', hierarchy: 'tertiary_color', "left-icon": 'blush_brush' }, "Mark all as read")))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "gb-notification-panel"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class GbPagination {
|
|
|
8
8
|
this.totalPages = 10;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'dda0f678e501a990bac442690ac90a09e4b77561', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '174205cde6434b667801b89932e85c93edb0b3ac', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '6e38c118befd0c5d9d511f3cbd7043ecf62349b0' }, "Previous")), h("gb-button", { key: '5d9f58e1997d831115616834b3557b2d93e2a6b0', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '9ed5db37c4317b87b8a59b46dbdb73fd73f8aff0' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '0db2378d9a6f4a4abef583e2ee72f3c1182457fa', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '14b8c8a6395fcfaa73cb4a7dafa9d9323da11389' }, "Previous")), h("gb-button", { key: '258df89d2e6cfbdab0ac0c2c0909cb7a9c0a08c8', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '305d1501d88dda272bf2ca3a6d014b60794450cc' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '304f87d5089f17d44c20526a56324231da35270a', class: "entries" }, "Entries"), h("div", { key: 'ee4628e4d4f8e41c8bcd39d3d7ef9bdb9e7f0ef3', class: "page_numbers" }), h("div", { key: '9d3e9445af477a1a8e2f64297472aac95cecd0bc', class: "buttons" }, h("gb-button", { key: '392bed11ed08b778da58cd3f8766c6e6beca380d', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("gb-button", { key: 'b2c553635d714b5f379c24b4ec3b9e5d8f7f3dab', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))), this.type === 'page_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: 'ea9f1ff2a0bb0cb577f7b5a0c05d85287ffa70a9', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("div", { key: '0776654a9c09098d8e7dfdf8058623662485ac28', class: "page_number_text" }, h("p", { key: '6216a229be2b89d15816d6e797034fd26d0f1ee0', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '3c48afc306b4065339b9180c43d92865746f4915', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-pagination"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class GbPaginationButtonGroupBase {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '63d1eb3b644c8112ac1f88de2013331f51d1546a', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: 'c014a0f95cf55248a005562a4a90e327d3af5d48' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: '059cc915e964c041dfbadef261c66ca15fb8ffb9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '8296432d108921530eea496f96f933ce143d6c98', d: "M3.33325 9.99981H16.6666M3.33325 9.99981C3.33326 11.0978 7.49975 14.1667 7.49975 14.1667M3.33325 9.99981C3.33324 8.90182 7.49978 5.83334 7.49978 5.83334", stroke: "#4B5565", "stroke-width": "1.67", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("slot", { key: '2331890ae1f6b0398713722145d1f55afbe8ccca' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: '21348216aa006afae81a0d7b82099a874ed8b033' }), this.iconTrailing && (h("svg", { key: '495404d5781687ac660ecbbe4eb70f15aa9b3c49', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '1efb3dc42b46d6665ea7a85b68762309f12cfd9e', d: "M16.6668 9.99984H3.3335M16.6668 9.99984C16.6668 11.0978 12.5003 14.1667 12.5003 14.1667M16.6668 9.99984C16.6669 8.90185 12.5002 5.83337 12.5002 5.83337", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "gb-pagination-button-group-base"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js
CHANGED
|
@@ -6,7 +6,7 @@ export class GbPaginationDotIndicator {
|
|
|
6
6
|
this.size = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return h("div", { key: '
|
|
9
|
+
return h("div", { key: '3cee4628cf84d73d6d9ca8ab3e2232c2e20e6cf7', class: `dot_indicator_div
|
|
10
10
|
${this.type} ${this.current ? 'current' : ''}
|
|
11
11
|
${this.size}` });
|
|
12
12
|
}
|
|
@@ -10,7 +10,7 @@ export class GbPaginationNumberBase {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '13d2e2f8b9bcc843e16ae06644cd7b8be2f2bb35', class: `page_number_base ${this.shape}` }, h("slot", { key: '9890c6fff8e1fb74faac88e22c32abaed492fc64', name: "page_number" })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "gb-pagination-number-base"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class GbPasswordButton {
|
|
|
8
8
|
this.isPasswordVisible = !this.isPasswordVisible;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'ae3127eff60ad870cbea10ba82c7a1e08e9de719' }, h("gb-btn", { key: '236b36ce3e485277b5bc46c4fa91b93c13b72a13', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-password-button"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class GbProgressBar {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const progressValue = Math.min(Math.max(this.progress, 0), 100);
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'd56efb6ae31a357ad3ff535c8cc3d2e704c50cd2', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: 'eb61bfa60cb024bcd4045e575de16aa02f6cf909', class: "progress_bar" }, h("div", { key: '4a05bf03f29213f0a451e4508e981bee7a42d288', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: '90aef6236ce18a629cddb50ad8bd24907cf5ba40', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: '6da1df60d24ea6f02df30f7cd499ab5c0a528ccf', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: 'bc94f29e221b6bf4a7cd455c9aaf73459400be8f', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: '68f5e192e9c95727ba392ff27b7dae9d7bc6f122', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: 'abea897c2cfff180157ad8c10db7efdca68ab059', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '1c1e9d759a9d86d86d3d3a1afb9db158ec83a444', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: 'cc6e42cf274e3f8c0cd4b385afcc6d7facc2c012', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-progress-bar"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class GbProgressCircle {
|
|
|
7
7
|
this.progress = 0;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '824aa6bcece6b186b05721a56d6de5c524e95a90', class: "progress" }, h("svg", { key: '187f1d990532db1dac0d8ae16e23cc1af5a45ee1', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: 'dd70248b0df397a420986f2b4cfee249a24fc6f1', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), h("circle", { key: '99c2a9b1759e4d541a9d7a1a960f40d6f8c534ec', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), h("div", { key: 'e1d27535426f94093d56e66737cbfddd70d650fa', class: "progress-text", "data-progress": "0" }, "50%")));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "gb-progress-circle"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class GbRichText {
|
|
|
15
15
|
destructive: this.destructive,
|
|
16
16
|
disabled: this.state === 'disabled'
|
|
17
17
|
};
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: 'f3b1180becce0595c057a6911a942ee46b7d65ed', class: classes }, h("div", { key: '43a39e0fea27bdcee48d01bdcd766c86907d2351', class: "input-with-label" }, h("label", { key: '4ae41220dbc93a7f915463c31629271c65e17b33' }, this.label), h("div", { key: '23d3e6b6a4dd708459fe4a0a61dbf880d34eb9ec', class: "input-container" }, h("div", { key: 'd7ad341ca974b96487deb6ea89e070c6285005ae', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '5335fb61100d88130f516268a19016ee13eae508', breakpoint: "desktop", bold: true, italic: true, h1: true, h2: true, quote: true, link: true, image: true, bulletList: true, numberList: true })), this.destructive && (h("span", { key: '05c18dd0ed4f20accc207c799563fc2673df75cd', class: "error-icon" }, h("svg", { key: 'f833e52bd2ee5b55cd71e61bafa3e979fdbd2fad', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'c657b71d7df08b6d3cdadb97d278ed0b5b022b68', d: "M7.99483 10H8.00081M8.00016 8V5.33333M14.6668 8C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667C4.31826 14.6667 1.3335 11.6819 1.3335 8C1.3335 4.3181 4.31826 1.33333 8.00016 1.33333C11.6821 1.33333 14.6668 4.3181 14.6668 8Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '55d8d497d31cb560703eca506f3fcc2ca91a169e', class: "text-container" }, h("textarea", { key: 'f6f5f5b57f5caf43ae64735d3735b93de9b26436' }, this.showPlaceholder && (h("div", { key: '78265dafb4fb81a8239dd55d5859759f30a3f9e9' }, this.placeholder)))))), this.showHintText && (h("div", { key: 'a0bcb0358ec240c59fd18d36359023b2dc99b16e', class: "hint-text" }, this.hintText))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "gb-rich-text"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class GbScrollbar {
|
|
|
4
4
|
this.length = '25%';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '5ec894c94d216c721f1fe43a791b39635f92829d', class: "scrollbar-container" }, h("div", { key: '8815fbf09d08ccc6b7f2663023f254fd0fd03be0', class: "scrollbar", style: { height: this.length } }, h("slot", { key: '9fbcbb7aeb481d8552d656df66af00b45f7eb0a3' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-scrollbar"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class GbSideBarItem {
|
|
|
33
33
|
render() {
|
|
34
34
|
const redBarSrc = getAssetPath(`assets/bar.svg`);
|
|
35
35
|
const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: 'd4863ca4aa212fe2a424675f8580ee358b170a07', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '89e1de2cae63cbb76f4480eb9fbc9ab0fac6e0b2', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'd3380cfedc49162caf459536b13476f30ce902ee', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '6ba081ef7a7f54353379f8a5876f87b227049710', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '304b35545ca4de4297956e598db1a2dc0e181681', class: "content" }, h("div", { key: '62056e559bd3b467eecc46a636ec9bc6b8929c59', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: 'fab4936d47e3a0896f7fc025339043a990c03d30', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: 'c93727378e90be7898f1b64af1bea4a31bb14514', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '40d8a18afac9b8b891a6a404d25f83865cb3dc46' }, "10"))), this.showArrow && (h("svg", { key: '85c392ee578676bd17a8db5fe833787b8ba155d2', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: '97edf7b7152747cf70c762cd7b4bf736038100ae', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: '293e4dc0b9af3e7e518be826fe2cdcae76f9935e', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '6660766b008781a899abcee6b23233946f05e72d', slot: "label" }, this.label)))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "gb-side-bar-item"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2747,7 +2747,7 @@
|
|
|
2747
2747
|
|
|
2748
2748
|
.application_name{
|
|
2749
2749
|
display: flex;
|
|
2750
|
-
padding:
|
|
2750
|
+
padding: var(--spacing-6);
|
|
2751
2751
|
}
|
|
2752
2752
|
|
|
2753
2753
|
.wrapper{
|
|
@@ -2817,13 +2817,11 @@
|
|
|
2817
2817
|
|
|
2818
2818
|
/* Sidebar Category Styles */
|
|
2819
2819
|
.sidebar_div.plain_background{
|
|
2820
|
-
padding-bottom: var(--spacing-5);
|
|
2821
2820
|
border-right: 0.7px solid var(--color-border-subtle, #CDD5DF);
|
|
2822
2821
|
background: var(--color-surface, #FFFFFF);
|
|
2823
2822
|
}
|
|
2824
2823
|
|
|
2825
2824
|
.sidebar_div.colored_background{
|
|
2826
|
-
padding-bottom: var(--spacing-6);
|
|
2827
2825
|
background-image: linear-gradient(180deg, #064E94 0%, #02182E 100%);
|
|
2828
2826
|
background-size: cover;
|
|
2829
2827
|
}
|
|
@@ -68,7 +68,7 @@ export class GbSidebar {
|
|
|
68
68
|
const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
|
|
69
69
|
const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
|
|
70
70
|
const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: 'e8863f6c4c4362c737f1879397f04df547f19ee0', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '3bd6ac9d961321a3d8a7a9ccde00fbeaeb950548', class: "pattern" }, h("img", { key: 'b1c629852d5e000ff66060a2bb3268fbfbda12d7', src: patternSrc, alt: "" }))), h("div", { key: '5aa9e570e8ca31e0369768e8f8f46782eadb3cd1', class: "nav" }, h("div", { key: '2f1b5e1cf587f341cd06f389b36ac26322495476', class: `sidebar_header ${this.state}` }, h("div", { key: 'c170889678018cbf09ff869193bb5b9c15ddc229', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: '1fb2260624c9e1a831a670d882cd729786957cfa', src: logoSrc, alt: "" })), h("div", { key: '9f277376010bef3a5cbd32d24bac612f8741d246', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'f08a2880749a67db4ffab1fc4e5e06175c84244d', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '4f4c8208cd2b2a213299d1384fc7ca07178d70f3', class: "navigation" }, h("div", { key: '005deb8ff9cd91ec03a392468f80ac95315315ec', class: "item" }, h("gb-side-bar-item", { key: '11a73c9941d63f0155686405f2be83ac28cb3936', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: '27b09cccb5f5ab13726cbc107a41d3d49ce994d9', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: 'c2517f4da2085b293e1a0d1dba203ad71793ad9a', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: '478bd3c02f122d017195aa6b24ef32208a077d46', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: '8e27a3ebc5f2ea35feeec6fc551be96e6e2dc7e3', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: 'd41e454867fa208112be7560db23953717c74a9e', class: "navigation" }, h("div", { key: '910b236eaea5d199812c746e4de7d6a9a3f8a7f0', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: '981e928d3585e7f8de90694ddd7a4c70eee170ab', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '628bc4d6f34829705c633505600e3532118692c5', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: '4ce058fc33e82368814d005a38cdd5fc2e3da271', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: 'ef97954ebdb24eded9c09c922694984e7ab5ab6f', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: 'b8d039b693a877554d67b4f9906ea8de6fc64cf1', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: 'c6caaa6503a13522cbf3d3c8cbde3aec84e0f077', class: "application_name" }, h("div", { key: '8bc19ba89c93d174cba9b1146529fae70cb6cee5', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '4a6f149ca8f3e29908bc8ca644c4eb1f4dc30871', class: "application_name_pattern" }, h("img", { key: 'a559224d4b7e3aeedc04a19e136e6ec9f1be8bde', src: patternSrc, alt: "" }))), h("div", { key: '45534f1dbe7b7bc92e596892ac4087a1dfc860c0', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '6a0c7a18082645fc7aede817703a7e0a6ea3464c', class: textClass }, h("slot", { key: 'e15f1eb5cae54cc708f4e87c4094598a99d55027', name: "application_name" })))))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "gb-sidebar"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,7 +19,7 @@ export class SliderControlHandle {
|
|
|
19
19
|
this.isFocused = false;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '773b651dc3c54cadaeaea5ac2589f5d9cac31516', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '3a7fa4c501353c2f9a580f8b3026361e1c6a8e49', class: "tooltip-container" }, h("gb-tooltip", { key: '359fc90c75b0faa9e7a9d89d116d663dcd34a636', arrow: 'none' }, h("p", { key: 'e3caf0ea90f8dcbbce1631ff39087b52a4f2a7ae', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: '73f2460bb260a329b33e07f899d2a0f2b7904d72', class: "thumb-label" }, this.value, "%"))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "gb-slider-control-handle"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class GbSlider {
|
|
|
56
56
|
this.trackEl.style.width = `${rightPos - leftPos}%`;
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'e8a2a4305db3019a1bc6b5611544759695241b53', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '342253e560c24cfdade644e5e289e0f68d3f7681', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: 'a10f5adb21939e3a081280981d8d105ee0880da6', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '24a21480c158fd921ffbeab06fb35c6152ee0c2f', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "gb-slider"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|