globuswebcomponents 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar_28.cjs.entry.js +1286 -0
- package/dist/cjs/gb-avatar_28.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close_2.cjs.entry.js +3 -3
- package/dist/cjs/gb-button-close_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-megainput-field.cjs.entry.js +42 -0
- package/dist/cjs/gb-megainput-field.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-notification-pane.cjs.entry.js +45 -0
- package/dist/cjs/gb-notification-pane.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
- package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
- package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +3 -3
- package/dist/cjs/gb-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
- package/dist/cjs/gb-toast-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-toast.cjs.entry.js +2 -2
- package/dist/cjs/gb-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-toggle-base.cjs.entry.js +32 -0
- package/dist/cjs/gb-toggle-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +32 -0
- package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
- package/dist/collection/assets/calendar-02.svg +6 -0
- package/dist/collection/assets/database-sync.svg +6 -0
- package/dist/collection/assets/search-01.svg +3 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +2 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2 -0
- package/dist/collection/components/gb-avatar/gb-avatar.css +162 -21
- package/dist/collection/components/gb-avatar/gb-avatar.js +37 -1
- package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -0
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -0
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +2 -0
- package/dist/collection/components/gb-badge-close/gb-badge-close.css +2 -0
- package/dist/collection/components/gb-badges/gb-badges.css +2 -0
- package/dist/collection/components/gb-btn/gb-btn.css +12 -0
- package/dist/collection/components/gb-btn/gb-btn.js +4 -1
- package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.css +8 -0
- package/dist/collection/components/gb-button/gb-button.js +4 -2
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +3 -1
- package/dist/collection/components/gb-button-close/gb-button-close.css +2 -0
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +2 -0
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +2 -0
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +2 -0
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +2 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +2 -0
- package/dist/collection/components/gb-header-icon/gb-header-icon.css +2 -0
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +2 -0
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +2 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +60 -3
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +185 -7
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/{gb-input-dropdown-menu → gb-input-dropdown-menu-item}/gb-input-dropdown-menu-item.css +3 -2
- package/dist/collection/components/{gb-input-dropdown-menu → gb-input-dropdown-menu-item}/gb-input-dropdown-menu-item.js +31 -12
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -0
- package/dist/collection/components/gb-input-field/gb-input-field.css +33 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +2 -0
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.css +2 -0
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +2 -0
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.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.css +2 -0
- 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.css +3 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +2 -0
- 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.css +2 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +2 -0
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +2 -0
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +2 -0
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/{gb-sliders/slider.css → gb-slider/gb-slider.css} +3 -2
- package/dist/collection/components/{gb-sliders/slider.js → gb-slider/gb-slider.js} +4 -4
- package/dist/collection/components/gb-slider/gb-slider.js.map +1 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +2 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +2 -0
- 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.css +2 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/{gb-tags/gb-tags.css → gb-tag/gb-tag.css} +7 -0
- package/dist/collection/components/{gb-tags/gb-tags.js → gb-tag/gb-tag.js} +28 -4
- package/dist/collection/components/gb-tag/gb-tag.js.map +1 -0
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +2 -0
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.css +2 -0
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.css +2 -0
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.css +2 -0
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.css +2 -0
- 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.css +1613 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field/gb-token-field.css +2 -0
- package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.css +2 -0
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/collection/global/global.css +2 -0
- package/dist/collection/global/tailwind.css +2 -2
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +6 -6
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +5 -5
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +4 -4
- package/dist/components/gb-avatar-profile-photo.js.map +1 -1
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge-close.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button-close.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-carousel-arrow.js +1 -1
- package/dist/components/gb-carousel-arrow.js.map +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +5 -5
- 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 +5 -5
- 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-help-dropdown.js.map +1 -1
- package/dist/components/gb-horizontal-tabs.js +7 -7
- package/dist/components/gb-horizontal-tabs.js.map +1 -1
- package/dist/components/gb-input-dropdown-menu-item.js +1 -75
- package/dist/components/gb-input-dropdown-menu-item.js.map +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +6 -6
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-megainput-field.js +1 -1
- package/dist/components/gb-notification-content.js +2 -2
- package/dist/components/gb-notification-content.js.map +1 -1
- package/dist/components/gb-notification-pane.js +3 -3
- package/dist/components/gb-notification-pane.js.map +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 +2 -2
- package/dist/components/gb-pagination-number-base.js.map +1 -1
- package/dist/components/gb-pagination.js +2 -2
- 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 +54 -12
- package/dist/components/gb-rich-text.js.map +1 -1
- package/dist/components/gb-scrollbar.js +2 -2
- package/dist/components/gb-scrollbar.js.map +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +10 -10
- 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 +5 -5
- package/dist/components/gb-slider.js.map +1 -1
- 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 +1 -78
- package/dist/components/gb-tag.js.map +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +5 -5
- package/dist/components/gb-toast.js.map +1 -1
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.js +3 -3
- package/dist/components/gb-token-field.js.map +1 -1
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +4 -4
- package/dist/components/gb-verification-code-field.js.map +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/p-0129a72b.js +37 -0
- package/dist/components/{p-58b75242.js.map → p-0129a72b.js.map} +1 -1
- package/dist/components/p-0190e346.js +50 -0
- package/dist/components/{p-a20359a2.js.map → p-0190e346.js.map} +1 -1
- package/dist/components/p-0b8ae984.js +39 -0
- package/dist/components/{p-a5850f8c.js.map → p-0b8ae984.js.map} +1 -1
- package/dist/components/p-0c3f1ae2.js +79 -0
- package/dist/components/{p-ae666b1f.js.map → p-0c3f1ae2.js.map} +1 -1
- package/dist/components/p-17144463.js +44 -0
- package/dist/components/{p-8907e475.js.map → p-17144463.js.map} +1 -1
- package/dist/components/p-18aeff75.js +39 -0
- package/dist/components/{p-b0d34887.js.map → p-18aeff75.js.map} +1 -1
- package/dist/components/{p-dc7db1b5.js → p-1cf0a465.js} +2 -2
- package/dist/components/{p-dc7db1b5.js.map → p-1cf0a465.js.map} +1 -1
- package/dist/components/p-26d1508d.js +45 -0
- package/dist/components/{p-824a17f3.js.map → p-26d1508d.js.map} +1 -1
- package/dist/components/p-32cf95f6.js +50 -0
- package/dist/components/{p-a9afcddd.js.map → p-32cf95f6.js.map} +1 -1
- package/dist/components/p-35054a6a.js +58 -0
- package/dist/components/{p-9dc84aa6.js.map → p-35054a6a.js.map} +1 -1
- package/dist/components/p-3fd78bcf.js +37 -0
- package/dist/components/{p-4d306827.js.map → p-3fd78bcf.js.map} +1 -1
- package/dist/components/p-40b924b3.js +235 -0
- package/dist/components/p-40b924b3.js.map +1 -0
- package/dist/components/p-43250a93.js +142 -0
- package/dist/components/{p-b59eb748.js.map → p-43250a93.js.map} +1 -1
- package/dist/components/p-47052b60.js.map +1 -1
- package/dist/components/p-5a30e92a.js +64 -0
- package/dist/components/{p-5fbe4056.js.map → p-5a30e92a.js.map} +1 -1
- package/dist/components/p-623ed6aa.js +46 -0
- package/dist/components/{p-fbcd8aaf.js.map → p-623ed6aa.js.map} +1 -1
- package/dist/components/p-64964951.js +119 -0
- package/dist/components/p-64964951.js.map +1 -0
- package/dist/components/p-6c339b3f.js +113 -0
- package/dist/components/{p-d78d8fa1.js.map → p-6c339b3f.js.map} +1 -1
- package/dist/components/p-7d2b0b60.js +87 -0
- package/dist/components/p-7d2b0b60.js.map +1 -0
- package/dist/components/p-888acea3.js +48 -0
- package/dist/components/p-888acea3.js.map +1 -0
- package/dist/components/p-8d1707cb.js +69 -0
- package/dist/components/{p-ce25eb27.js.map → p-8d1707cb.js.map} +1 -1
- package/dist/components/p-983e2798.js +117 -0
- package/dist/components/{p-d9e59617.js.map → p-983e2798.js.map} +1 -1
- package/dist/components/p-9e4aaaff.js +162 -0
- package/dist/components/{p-caca69ed.js.map → p-9e4aaaff.js.map} +1 -1
- package/dist/components/p-a714f550.js +61 -0
- package/dist/components/{p-54cefcf0.js.map → p-a714f550.js.map} +1 -1
- package/dist/components/p-a7c4e272.js +129 -0
- package/dist/components/p-a7c4e272.js.map +1 -0
- package/dist/components/p-a9079204.js +55 -0
- package/dist/components/{p-123cdd06.js.map → p-a9079204.js.map} +1 -1
- package/dist/components/{p-ca6140dc.js → p-ce85b058.js} +19 -5
- package/dist/components/p-ce85b058.js.map +1 -0
- package/dist/components/p-d947050b.js +86 -0
- package/dist/components/p-d947050b.js.map +1 -0
- package/dist/components/p-df6f1225.js +63 -0
- package/dist/components/{p-68ac53d7.js.map → p-df6f1225.js.map} +1 -1
- package/dist/components/p-e198d18d.js +41 -0
- package/dist/components/{p-0e1ec56d.js.map → p-e198d18d.js.map} +1 -1
- package/dist/components/p-e790d9c3.js +115 -0
- package/dist/components/p-e790d9c3.js.map +1 -0
- package/dist/components/p-eed6f80c.js +54 -0
- package/dist/components/p-eed6f80c.js.map +1 -0
- package/dist/components/p-fb46b2b0.js +113 -0
- package/dist/components/{p-c9629281.js.map → p-fb46b2b0.js.map} +1 -1
- package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
- package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -1
- package/dist/esm/gb-avatar_28.entry.js +1255 -0
- package/dist/esm/gb-avatar_28.entry.js.map +1 -0
- package/dist/esm/gb-button-close_2.entry.js +3 -3
- package/dist/esm/gb-button-close_2.entry.js.map +1 -1
- package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
- package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js.map +1 -1
- package/dist/esm/gb-header-icon.entry.js +1 -1
- package/dist/esm/gb-header-icon.entry.js.map +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-megainput-field.entry.js +38 -0
- package/dist/esm/gb-megainput-field.entry.js.map +1 -0
- package/dist/esm/gb-notification-content.entry.js +2 -2
- package/dist/esm/gb-notification-content.entry.js.map +1 -1
- package/dist/esm/gb-notification-pane.entry.js +41 -0
- package/dist/esm/gb-notification-pane.entry.js.map +1 -0
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +2 -2
- package/dist/esm/gb-rich-text.entry.js.map +1 -1
- package/dist/esm/gb-scrollbar.entry.js +2 -2
- package/dist/esm/gb-scrollbar.entry.js.map +1 -1
- package/dist/esm/gb-slider-control-handle.entry.js +2 -2
- package/dist/esm/gb-slider-control-handle.entry.js.map +1 -1
- package/dist/esm/gb-slider.entry.js +3 -3
- package/dist/esm/gb-slider.entry.js.map +1 -1
- package/dist/esm/gb-toast-button.entry.js +2 -2
- package/dist/esm/gb-toast-button.entry.js.map +1 -1
- package/dist/esm/gb-toast.entry.js +2 -2
- package/dist/esm/gb-toast.entry.js.map +1 -1
- package/dist/esm/gb-toggle-base.entry.js +28 -0
- package/dist/esm/gb-toggle-base.entry.js.map +1 -0
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field.entry.js +2 -2
- package/dist/esm/gb-token-field.entry.js.map +1 -1
- package/dist/esm/gb-verification-code-field.entry.js +28 -0
- package/dist/esm/gb-verification-code-field.entry.js.map +1 -0
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reusableModels-8496e911.js.map +1 -1
- package/dist/globuscomponents/assets/calendar-02.svg +6 -0
- package/dist/globuscomponents/assets/database-sync.svg +6 -0
- package/dist/globuscomponents/assets/search-01.svg +3 -0
- package/dist/globuscomponents/gb-button.css +6 -0
- package/dist/globuscomponents/gb-button.tsx +3 -1
- package/dist/globuscomponents/global/global.css +2 -0
- package/dist/globuscomponents/global/tailwind.css +2 -2
- package/dist/globuscomponents/globuscomponents.css +1612 -3
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/p-0179fa9e.entry.js +2 -0
- package/dist/globuscomponents/p-0179fa9e.entry.js.map +1 -0
- package/dist/globuscomponents/p-2322ea7a.entry.js +2 -0
- package/dist/globuscomponents/{p-08a4f9a7.entry.js.map → p-2322ea7a.entry.js.map} +1 -1
- package/dist/globuscomponents/p-2b72d966.entry.js +2 -0
- package/dist/globuscomponents/{p-add9ec72.entry.js.map → p-2b72d966.entry.js.map} +1 -1
- package/dist/globuscomponents/p-34a50ac8.entry.js +2 -0
- package/dist/globuscomponents/{p-48ddf6c1.entry.js.map → p-34a50ac8.entry.js.map} +1 -1
- package/dist/globuscomponents/p-363fe580.entry.js +2 -0
- package/dist/globuscomponents/{p-668477e1.entry.js.map → p-363fe580.entry.js.map} +1 -1
- package/dist/globuscomponents/p-37bbc2bf.entry.js +2 -0
- package/dist/globuscomponents/{p-115ac3f1.entry.js.map → p-37bbc2bf.entry.js.map} +1 -1
- package/dist/globuscomponents/p-42fb642f.entry.js +2 -0
- package/dist/globuscomponents/{p-cd91a716.entry.js.map → p-42fb642f.entry.js.map} +1 -1
- package/dist/globuscomponents/p-47052b60.js.map +1 -1
- package/dist/globuscomponents/p-598cae99.entry.js +2 -0
- package/dist/globuscomponents/{p-5d5b638e.entry.js.map → p-598cae99.entry.js.map} +1 -1
- package/dist/globuscomponents/p-727bfde6.entry.js +2 -0
- package/dist/globuscomponents/{p-4f6eebab.entry.js.map → p-727bfde6.entry.js.map} +1 -1
- package/dist/globuscomponents/p-767e5360.entry.js +2 -0
- package/dist/globuscomponents/{p-5831017c.entry.js.map → p-767e5360.entry.js.map} +1 -1
- package/dist/globuscomponents/p-76c62d1e.entry.js +2 -0
- package/dist/globuscomponents/p-78b3b361.entry.js +2 -0
- package/dist/globuscomponents/p-78b3b361.entry.js.map +1 -0
- package/dist/globuscomponents/p-7a7cdc5c.entry.js +2 -0
- package/dist/globuscomponents/{p-01b163c6.entry.js.map → p-7a7cdc5c.entry.js.map} +1 -1
- package/dist/globuscomponents/p-840531e9.entry.js +2 -0
- package/dist/globuscomponents/p-840531e9.entry.js.map +1 -0
- package/dist/globuscomponents/p-8ddf3c50.entry.js +2 -0
- package/dist/globuscomponents/{p-3f77703d.entry.js.map → p-8ddf3c50.entry.js.map} +1 -1
- package/dist/globuscomponents/p-a2a9d289.entry.js +2 -0
- package/dist/globuscomponents/{p-5cc60ae0.entry.js.map → p-a2a9d289.entry.js.map} +1 -1
- package/dist/globuscomponents/p-a495b1f4.entry.js +2 -0
- package/dist/globuscomponents/{p-3db54b6b.entry.js.map → p-a495b1f4.entry.js.map} +1 -1
- package/dist/globuscomponents/p-c69ca52b.entry.js +2 -0
- package/dist/globuscomponents/{p-1dc90024.entry.js.map → p-c69ca52b.entry.js.map} +1 -1
- package/dist/globuscomponents/p-c7e4235c.entry.js +2 -0
- package/dist/globuscomponents/p-c7e4235c.entry.js.map +1 -0
- package/dist/globuscomponents/p-d3b5c5b4.entry.js +2 -0
- package/dist/globuscomponents/p-d3b5c5b4.entry.js.map +1 -0
- package/dist/globuscomponents/p-ded71532.entry.js +2 -0
- package/dist/globuscomponents/p-ded71532.entry.js.map +1 -0
- package/dist/globuscomponents/p-e25f6faa.entry.js +2 -0
- package/dist/globuscomponents/{p-c5541a8c.entry.js.map → p-e25f6faa.entry.js.map} +1 -1
- package/dist/globuscomponents/p-e631fbd1.entry.js +2 -0
- package/dist/globuscomponents/{p-badef09e.entry.js.map → p-e631fbd1.entry.js.map} +1 -1
- package/dist/globuscomponents/p-e718da9d.entry.js +2 -0
- package/dist/globuscomponents/{p-cb0453d8.entry.js.map → p-e718da9d.entry.js.map} +1 -1
- package/dist/globuscomponents/p-f16ffdee.entry.js +2 -0
- package/dist/globuscomponents/p-fc55539e.entry.js +2 -0
- package/dist/globuscomponents/{p-e1a6214b.entry.js.map → p-fc55539e.entry.js.map} +1 -1
- package/dist/types/components/gb-avatar/gb-avatar.d.ts +3 -1
- package/dist/types/components/gb-btn/gb-btn.d.ts +2 -0
- package/dist/types/components/gb-button/gb-button.d.ts +2 -0
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +18 -3
- package/dist/types/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.d.ts +10 -0
- package/dist/types/components/{gb-tags/gb-tags.d.ts → gb-tag/gb-tag.d.ts} +1 -0
- package/dist/types/components.d.ts +19 -8
- package/dist/types/models/reusableModels.d.ts +2 -0
- package/package.json +9 -6
- package/dist/cjs/gb-avatar_24.cjs.entry.js +0 -1022
- package/dist/cjs/gb-avatar_24.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-collapse-button_2.cjs.entry.js +0 -90
- package/dist/cjs/gb-collapse-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-sidebar.cjs.entry.js +0 -89
- package/dist/cjs/gb-sidebar.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js +0 -55
- package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-tag.cjs.entry.js +0 -28
- package/dist/cjs/gb-tag.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-tooltip.cjs.entry.js +0 -39
- package/dist/cjs/gb-tooltip.cjs.entry.js.map +0 -1
- package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.js.map +0 -1
- package/dist/collection/components/gb-sliders/slider.js.map +0 -1
- package/dist/collection/components/gb-tags/gb-tags.js.map +0 -1
- package/dist/components/p-0e1ec56d.js +0 -41
- package/dist/components/p-123cdd06.js +0 -55
- package/dist/components/p-4266561a.js +0 -113
- package/dist/components/p-4266561a.js.map +0 -1
- package/dist/components/p-4d306827.js +0 -37
- package/dist/components/p-52c1516b.js +0 -87
- package/dist/components/p-52c1516b.js.map +0 -1
- package/dist/components/p-54cefcf0.js +0 -61
- package/dist/components/p-58b75242.js +0 -37
- package/dist/components/p-5fbe4056.js +0 -64
- package/dist/components/p-62acd290.js +0 -48
- package/dist/components/p-62acd290.js.map +0 -1
- package/dist/components/p-68ac53d7.js +0 -63
- package/dist/components/p-824a17f3.js +0 -45
- package/dist/components/p-8907e475.js +0 -44
- package/dist/components/p-9517c064.js +0 -54
- package/dist/components/p-9517c064.js.map +0 -1
- package/dist/components/p-9dc84aa6.js +0 -58
- package/dist/components/p-a20359a2.js +0 -50
- package/dist/components/p-a5850f8c.js +0 -39
- package/dist/components/p-a7510c0c.js +0 -91
- package/dist/components/p-a7510c0c.js.map +0 -1
- package/dist/components/p-a9afcddd.js +0 -50
- package/dist/components/p-ab92fc3c.js +0 -116
- package/dist/components/p-ab92fc3c.js.map +0 -1
- package/dist/components/p-ae666b1f.js +0 -79
- package/dist/components/p-b0d34887.js +0 -39
- package/dist/components/p-b59eb748.js +0 -142
- package/dist/components/p-c9629281.js +0 -113
- package/dist/components/p-ca6140dc.js.map +0 -1
- package/dist/components/p-caca69ed.js +0 -162
- package/dist/components/p-ce25eb27.js +0 -69
- package/dist/components/p-d78d8fa1.js +0 -113
- package/dist/components/p-d9e59617.js +0 -117
- package/dist/components/p-fbcd8aaf.js +0 -46
- package/dist/esm/gb-avatar_24.entry.js +0 -995
- package/dist/esm/gb-avatar_24.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button_2.entry.js +0 -85
- package/dist/esm/gb-collapse-button_2.entry.js.map +0 -1
- package/dist/esm/gb-sidebar.entry.js +0 -85
- package/dist/esm/gb-sidebar.entry.js.map +0 -1
- package/dist/esm/gb-tag-checkbox_3.entry.js +0 -49
- package/dist/esm/gb-tag-checkbox_3.entry.js.map +0 -1
- package/dist/esm/gb-tag.entry.js +0 -24
- package/dist/esm/gb-tag.entry.js.map +0 -1
- package/dist/esm/gb-tooltip.entry.js +0 -35
- package/dist/esm/gb-tooltip.entry.js.map +0 -1
- package/dist/globuscomponents/p-01b163c6.entry.js +0 -2
- package/dist/globuscomponents/p-0852d5c0.entry.js +0 -2
- package/dist/globuscomponents/p-08a4f9a7.entry.js +0 -2
- package/dist/globuscomponents/p-115ac3f1.entry.js +0 -2
- package/dist/globuscomponents/p-19c4ab3c.entry.js +0 -2
- package/dist/globuscomponents/p-19c4ab3c.entry.js.map +0 -1
- package/dist/globuscomponents/p-1dc90024.entry.js +0 -2
- package/dist/globuscomponents/p-2fd5fb80.entry.js +0 -2
- package/dist/globuscomponents/p-2fd5fb80.entry.js.map +0 -1
- package/dist/globuscomponents/p-3db54b6b.entry.js +0 -2
- package/dist/globuscomponents/p-3f77703d.entry.js +0 -2
- package/dist/globuscomponents/p-48ddf6c1.entry.js +0 -2
- package/dist/globuscomponents/p-4f6eebab.entry.js +0 -2
- package/dist/globuscomponents/p-5831017c.entry.js +0 -2
- package/dist/globuscomponents/p-5a5446cc.entry.js +0 -2
- package/dist/globuscomponents/p-5a5446cc.entry.js.map +0 -1
- package/dist/globuscomponents/p-5cc60ae0.entry.js +0 -2
- package/dist/globuscomponents/p-5d5b638e.entry.js +0 -2
- package/dist/globuscomponents/p-668477e1.entry.js +0 -2
- package/dist/globuscomponents/p-add9ec72.entry.js +0 -2
- package/dist/globuscomponents/p-badef09e.entry.js +0 -2
- package/dist/globuscomponents/p-bd2d9236.entry.js +0 -2
- package/dist/globuscomponents/p-bd2d9236.entry.js.map +0 -1
- package/dist/globuscomponents/p-c5541a8c.entry.js +0 -2
- package/dist/globuscomponents/p-cb0453d8.entry.js +0 -2
- package/dist/globuscomponents/p-cd91a716.entry.js +0 -2
- package/dist/globuscomponents/p-d8c473cb.entry.js +0 -2
- package/dist/globuscomponents/p-d8c473cb.entry.js.map +0 -1
- package/dist/globuscomponents/p-e1a6214b.entry.js +0 -2
- package/dist/globuscomponents/p-e5b5bd25.entry.js +0 -2
- package/dist/globuscomponents/p-e7f12305.entry.js +0 -2
- package/dist/globuscomponents/p-e7f12305.entry.js.map +0 -1
- package/dist/globuscomponents/p-f65671f1.entry.js +0 -2
- package/dist/globuscomponents/p-f65671f1.entry.js.map +0 -1
- package/dist/types/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.d.ts +0 -7
- /package/dist/globuscomponents/{p-0852d5c0.entry.js.map → p-76c62d1e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e5b5bd25.entry.js.map → p-f16ffdee.entry.js.map} +0 -0
- /package/dist/types/components/{gb-sliders/slider.d.ts → gb-slider/gb-slider.d.ts} +0 -0
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { StateEnum } from "../../models/reusableModels";
|
|
3
2
|
export class GbInputDropdownMenuItem {
|
|
4
3
|
constructor() {
|
|
5
4
|
this.type = undefined;
|
|
6
5
|
this.supportingText = false;
|
|
7
6
|
this.selected = false;
|
|
8
|
-
this.state =
|
|
7
|
+
this.state = undefined;
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
const nameSlot = this.el.querySelector('[slot="name"]');
|
|
11
|
+
const supportingTextSlot = this.el.querySelector('[slot="supporting_text"]');
|
|
12
|
+
nameSlot.classList.add('text-md-medium');
|
|
13
|
+
if (supportingTextSlot) {
|
|
14
|
+
supportingTextSlot.classList.add('text-sm-regular');
|
|
15
|
+
}
|
|
9
16
|
}
|
|
10
17
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: 'fb18da15d7ef76a6df5c0a781936a19ec5fd8efd', class: "dropdown-container", onClick: () => (this.selected = !this.selected) }, h("div", { key: 'c5b54a2b3e4ed3e5e96790140ae122864543e697', class: {
|
|
12
19
|
'dropdown-item': true,
|
|
13
20
|
'dropdown-item--selected': this.selected,
|
|
14
21
|
'dropdown-item--disabled': this.state === 'disabled',
|
|
15
22
|
[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: '
|
|
23
|
+
}, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, this.type === 'icon_leading' && (h("svg", { key: '3846fb583c762c61f86477ef371081bd14f662ac', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'aa199bd26431015018ea51d3431e8a8815b48f74', 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: 'e651f73c04e902689ec064869d94544f2734311d', 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: '8b9e3380057ae49c0114a201ef562ce02d576136', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '8e83645cb6ca7522b0ec383f52ff79016b6454b7', name: "image", slot: "image" }))), this.type === 'dot_leading' && (h("svg", { key: 'e6844999e74c0d9b48d95746d35f35a4e1b4e90b', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { key: '0f29666d37aad3c58bafc34842f933e5e4da8b47', cx: "5", cy: "5", r: "4", fill: "#17B26A" }))), this.type === 'checkbox' && h("gb-checkbox", { key: '64b4b8195b5f43af6eb52e075427ea4f112dbcf3', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("div", { key: '4f63c7e058a803dfbed219f0d90424d758648a85', class: "text" }, h("slot", { key: '7dab479f70603a4b365625e5fbe15a67fa77fa04', name: "name" }), this.supportingText && (h("span", { key: '89614938b9b2e52abb63b10b31fc2015693202e4' }, h("slot", { key: 'f495866853e819f0cff595c9bb58e31316ea1e3f', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("svg", { key: '6dbb9f9440a95d1de756e72b2e3ffb019f5ede09', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7c6824083ebb2990ff402dc6992ccddb56919cde', 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
24
|
}
|
|
18
25
|
static get is() { return "gb-input-dropdown-menu-item"; }
|
|
19
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,9 +40,15 @@ export class GbInputDropdownMenuItem {
|
|
|
33
40
|
"type": "string",
|
|
34
41
|
"mutable": false,
|
|
35
42
|
"complexType": {
|
|
36
|
-
"original": "
|
|
37
|
-
"resolved": "\"avatar_leading\" | \"checkbox\" | \"dot_leading\" | \"icon_leading\"",
|
|
38
|
-
"references": {
|
|
43
|
+
"original": "DropdownTypes",
|
|
44
|
+
"resolved": "\"avatar_leading\" | \"checkbox\" | \"default\" | \"dot_leading\" | \"icon_leading\" | \"search\" | \"tags\"",
|
|
45
|
+
"references": {
|
|
46
|
+
"DropdownTypes": {
|
|
47
|
+
"location": "import",
|
|
48
|
+
"path": "../../models/reusableModels",
|
|
49
|
+
"id": "src/models/reusableModels.ts::DropdownTypes"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
39
52
|
},
|
|
40
53
|
"required": false,
|
|
41
54
|
"optional": false,
|
|
@@ -86,9 +99,15 @@ export class GbInputDropdownMenuItem {
|
|
|
86
99
|
"type": "string",
|
|
87
100
|
"mutable": false,
|
|
88
101
|
"complexType": {
|
|
89
|
-
"original": "
|
|
90
|
-
"resolved": "
|
|
91
|
-
"references": {
|
|
102
|
+
"original": "StateEnum",
|
|
103
|
+
"resolved": "StateEnum.Default | StateEnum.Disabled",
|
|
104
|
+
"references": {
|
|
105
|
+
"StateEnum": {
|
|
106
|
+
"location": "import",
|
|
107
|
+
"path": "../../models/reusableModels",
|
|
108
|
+
"id": "src/models/reusableModels.ts::StateEnum"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
92
111
|
},
|
|
93
112
|
"required": false,
|
|
94
113
|
"optional": false,
|
|
@@ -97,10 +116,10 @@ export class GbInputDropdownMenuItem {
|
|
|
97
116
|
"text": ""
|
|
98
117
|
},
|
|
99
118
|
"attribute": "state",
|
|
100
|
-
"reflect": false
|
|
101
|
-
"defaultValue": "'default'"
|
|
119
|
+
"reflect": false
|
|
102
120
|
}
|
|
103
121
|
};
|
|
104
122
|
}
|
|
123
|
+
static get elementRef() { return "el"; }
|
|
105
124
|
}
|
|
106
125
|
//# sourceMappingURL=gb-input-dropdown-menu-item.js.map
|
package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-input-dropdown-menu-item.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQ5D,MAAM,OAAO,uBAAuB;;;8BAEA,KAAK;wBACM,KAAK;;;IAIlD,gBAAgB;QACd,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QACxD,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC;QAE7E,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAEzC,IAAG,kBAAkB,EAAE,CAAC;YACtB,kBAAkB,CAAC,SAAS,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACtD,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,oBAAoB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC7E,4DACE,KAAK,EAAE;oBACL,eAAe,EAAE,IAAI;oBACrB,yBAAyB,EAAE,IAAI,CAAC,QAAQ;oBACxC,yBAAyB,EAAE,IAAI,CAAC,KAAK,KAAK,UAAU;oBACpD,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI;iBAClB,EACD,IAAI,EAAC,QAAQ,mBACE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,mBAChC,IAAI,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;gBAE1D,IAAI,CAAC,IAAI,KAAK,cAAc,IAAI,CAC/B,4DAAK,EAAE,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;oBACtG,6DACE,CAAC,EAAC,0QAA0Q,EAC5Q,MAAM,EAAC,SAAS,kBACH,KAAK,GAClB;oBACF,6DACE,CAAC,EAAC,wLAAwL,EAC1L,MAAM,EAAC,SAAS,kBACH,KAAK,GAClB,CACE,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,gBAAgB,IAAI,CACjC,kEAAW,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,IAAI,iBAAa,OAAO;oBAC1D,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC7B,CACb;gBACA,IAAI,CAAC,IAAI,KAAK,aAAa,IAAI,CAC9B,4DAAK,EAAE,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;oBAC1G,+DAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,oEAAa,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,QAAQ,GAAgB;gBAC9I,4DAAK,KAAK,EAAC,MAAM;oBACf,6DAAM,IAAI,EAAC,MAAM,GAAQ;oBACxB,IAAI,CAAC,cAAc,IAAI,CACtB;wBACE,6DAAM,IAAI,EAAC,iBAAiB,GAAQ,CAC/B,CACR,CACG;gBACL,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,IAAI,CAC5C,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;oBAC5F,6DACE,CAAC,EAAC,wGAAwG,EAC1G,MAAM,EAAC,SAAS,kBACH,SAAS,oBACP,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CACG,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Prop, h } from \"@stencil/core\";\r\nimport { DropdownTypes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown-menu-item',\r\n styleUrl: 'gb-input-dropdown-menu-item.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdownMenuItem {\r\n @Prop() type: DropdownTypes;\r\n @Prop() supportingText: boolean = false;\r\n @Prop({ mutable: true }) selected: boolean = false;\r\n @Prop() state: StateEnum;\r\n @Element() el: HTMLElement;\r\n\r\n componentDidLoad() {\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n\r\n nameSlot.classList.add('text-md-medium');\r\n\r\n if(supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-sm-regular');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"dropdown-container\" onClick={() => (this.selected = !this.selected)}>\r\n <div\r\n class={{\r\n 'dropdown-item': true,\r\n 'dropdown-item--selected': this.selected,\r\n 'dropdown-item--disabled': this.state === 'disabled',\r\n [this.type]: true,\r\n }}\r\n role=\"option\"\r\n aria-selected={this.selected ? 'true' : 'false'}\r\n aria-disabled={this.state === 'disabled' ? 'true' : 'false'}\r\n >\r\n {this.type === 'icon_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.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\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path\r\n 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\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xs\" status-icon=\"false\">\r\n <slot name=\"image\" slot=\"image\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.type === 'dot_leading' && (\r\n <svg id=\"icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 10 10\" fill=\"none\">\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n {this.type === 'checkbox' && <gb-checkbox class=\"checkbox\" size=\"md\" type=\"checkbox\" state={this.state} checked={this.selected}></gb-checkbox>}\r\n <div class=\"text\">\r\n <slot name=\"name\"></slot>\r\n {this.supportingText && (\r\n <span>\r\n <slot name=\"supporting_text\"></slot>\r\n </span>\r\n )}\r\n </div>\r\n {this.selected && this.type !== 'checkbox' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337\"\r\n stroke=\"#075DB2\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* @import 'tailwind.css'; */
|
|
2
|
+
|
|
1
3
|
:root {
|
|
2
4
|
/* --------------------------------------Primary Colors--------------------------------------------- */
|
|
3
5
|
/* base color palette */
|
|
@@ -2680,7 +2682,7 @@ div {
|
|
|
2680
2682
|
|
|
2681
2683
|
div.sm {
|
|
2682
2684
|
display: flex;
|
|
2683
|
-
width:
|
|
2685
|
+
width: 24.3125rem;
|
|
2684
2686
|
flex-direction: column;
|
|
2685
2687
|
align-items: flex-start;
|
|
2686
2688
|
gap: var(--spacing-2);
|
|
@@ -2688,7 +2690,7 @@ div.sm {
|
|
|
2688
2690
|
|
|
2689
2691
|
div.md {
|
|
2690
2692
|
display: flex;
|
|
2691
|
-
width:
|
|
2693
|
+
width: 24.3125rem;
|
|
2692
2694
|
flex-direction: column;
|
|
2693
2695
|
align-items: flex-start;
|
|
2694
2696
|
gap: var(--spacing-2);
|
|
@@ -2971,4 +2973,33 @@ label{
|
|
|
2971
2973
|
.trailing_dropdown.disabled select{
|
|
2972
2974
|
background: var(--color-background-disabled, #F6F8FA);
|
|
2973
2975
|
color: var(--color-text-subtle, #697586);
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
.password_dropdown{
|
|
2979
|
+
display: flex;
|
|
2980
|
+
padding-left: var(--spacing-3);
|
|
2981
|
+
align-items: center;
|
|
2982
|
+
gap: var(--spacing-1);
|
|
2983
|
+
align-self: stretch;
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
option{
|
|
2987
|
+
display: flex;
|
|
2988
|
+
padding: var(--spacing-none);
|
|
2989
|
+
flex-direction: column;
|
|
2990
|
+
align-items: flex-start;
|
|
2991
|
+
align-items: stretch;
|
|
2992
|
+
border-radius: var(--rounded-sm);
|
|
2993
|
+
border: 1px solid var(--color-border-subtler, red);
|
|
2994
|
+
background: var(--color-surface, #FFFFFF);
|
|
2995
|
+
box-shadow: var(--shadow-sm);
|
|
2996
|
+
position: absolute;
|
|
2997
|
+
top: 4.5rem;
|
|
2998
|
+
z-index: 10;
|
|
2999
|
+
gap: var(--spacing-none);
|
|
3000
|
+
}
|
|
3001
|
+
|
|
3002
|
+
.validation_svg{
|
|
3003
|
+
width: 1.25rem;
|
|
3004
|
+
height: 1.25rem;
|
|
2974
3005
|
}
|
|
@@ -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: '76aa436849cbf3a93432340e44a1f0098d42fe9a', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '447c0ab0aa7aaeb1a04a9a73184b613a5e25d07a', class: "content" }, h("div", { key: 'f14a94020c887b338ce54260be81dbef8522768a', class: "icon" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `icon_leading_svg ${this.state}` }, h("path", { d: "M5.83342 7.08334L8.2851 8.53286C9.71443 9.37794 10.2857 9.37794 11.7151 8.53286L14.1668 7.08334M7.58243 2.94713C9.1995 2.9065 10.8007 2.9065 12.4177 2.94713C15.0415 3.01305 16.3534 3.04602 17.296 3.99221C18.2386 4.9384 18.2658 6.21571 18.3203 8.77032C18.3378 9.59172 18.3378 10.4083 18.3203 11.2297C18.2658 13.7843 18.2386 15.0616 17.296 16.0078C16.3533 16.954 15.0415 16.9869 12.4177 17.0529C10.8007 17.0935 9.19951 17.0935 7.58244 17.0529C4.95869 16.9869 3.64682 16.954 2.70421 16.0078C1.76161 15.0616 1.73437 13.7843 1.67989 11.2297C1.66237 10.4083 1.66237 9.59171 1.67989 8.77031C1.73436 6.21569 1.7616 4.93839 2.70421 3.9922C3.64682 3.046 4.95869 3.01304 7.58243 2.94713Z", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("input", { key: 'bea0786db805d8c2c08ed8819599f647046372ad', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '03216abaea4e08645c9ee2edfc8a43850cdac4c6' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '35efa2fd4f4583fecdbefc69fdb958ce3bc6b5c1', size: "sm", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/cancel-button.svg" })))), this.type === 'leading_dropdown' && (h("div", { key: '23d3f8319803f2f211a8521443f2a0ecceeb08cd', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'd5eb435c1238acfe5ebab8605fd8172f0bab991e', class: "dropdown" }, h("div", { key: 'fddcaa2af827a94886316558075629b3358e59c6', class: "country-icon" }, h("svg", { key: 'd6c80410ccecb1b99cc8456767807177d563252c', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'c1e6e7da16dedf5a8306b43f3d92d1a44a600e50', d: "M-0.000488281 12.0002C-0.000488281 17.1599 3.25601 21.5583 7.82562 23.2539V0.746674C3.25601 2.44214 -0.000488281 6.84071 -0.000488281 12.0002Z", fill: "#6DA544" }), h("path", { key: '8c7879b7dfc6695f8c3ed3c95ca841467400c977', d: "M23.9999 12.0002C23.9999 6.8407 20.7434 2.44214 16.1738 0.746674V23.2539C20.7434 21.5583 23.9999 17.1599 23.9999 12.0002Z", fill: "#6DA544" }))), h("select", { key: 'a7a0250328695fda7020cd4ed78b8252a4f17faa', class: "text-md-regular" }, h("option", { key: '3614f34325796d88c9124462b3e27ad8a268b493', value: "option 1", selected: true }, "+234"), h("slot", { key: '243d3772799db3670beeb582d1b831975567d2aa', name: "country-option" }))), h("div", { key: '23a06363f5da47ee84b8be5277d3657ae68f575b', class: "text-input" }, h("input", { key: '212fe5bc191805bc9e90d5847b1f0f01e30b3f39', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'd0d50ce6a5e6e946d5ac1c3de63808ff307816d3' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_dropdown' && (h("div", { key: '81589ab9b1686f43c4c61e6364c5558e3e203c55', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'db076893c4f15780dc2995c6a63902e3907d0e68', class: "content" }, h("div", { key: '9a2876842d0f96aa5ee710ee5278fdfcbe46eb9a', class: "text-input" }, h("p", { key: '9ad3ebe890b86ca80d058b95a69662328f674b54', class: "text-md-regular" }, "$"), h("input", { key: '4b04c52f8ed30d378ec77ab0ad8de0ebb38fa04c', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '3ba48ba48546207ccb4ba6e445cfbf5b9ba5cb6d' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '7dda4e74a62d205de1b14c2880a4c965105657d3', class: "dropdown" }, h("select", { key: '62bbdf85e7a8d7cc14bbf8c5a46930229c7d4d23', class: "text-md-regular" }, h("option", { key: 'cbf9eb49717bdf848618f808574da2f94287a61f', value: "option 1", selected: true }, "USD"), h("slot", { key: 'f6d2090ec03ce428bf39613fa993d6c33594e753', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: 'f0809dfb1ee0c6018c24026924330ced736cee19', class: "leading_text_wrapper" }, h("div", { key: '95d5bebfc2f8bc3e2077ccbfa880b566ffa38539', class: "add-on" }, h("p", { key: '55f3d6f3abb4429fa7c145e2642f245aea2cc19d', class: "text-md-regular" }, "http://")), h("div", { key: 'ea12c779df5a2a4d42bbbd02aeecbbd43a9280f8', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '28897d3e5511fac84ad52a3f618248d5adff7bc1', class: "text-input" }, h("input", { key: 'a74a9233cb98bd0fb250d4bdd2b6730a212fd3cd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: 'd7ced6844ba60eb0d7e5e1464a95902880d5f45f' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))))), this.type === 'payment_input' && (h("div", { key: '7f4ff024daaa6f38e8fd98bc347849f15bc00874', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0245fb6b2fde92d0068d80828b09b511757a7881', class: "content" }, h("div", { key: 'da36e29722aacd73f8a6585b20f3d6f3b404e85f', class: "payment-method" }, h("svg", { key: '6b0c7693f98802c3f0004ed07eb122ab275912d7', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'e0bdd664ea09a4f9b49dec30edf4fca12cfa4cea', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'a9722dc3558aadc175c874c7e81fe4d40c509b17', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'a775f8c41fa87e76dde367fba6ef12032a03a07a', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" }))), h("input", { key: '4aab6f764799b49cd000256de1bd91cadcbaabcd', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '56d445236b3e3f9c1d544473523ad2b80bcb5687' }), this.showHelpIcon && (h("div", { key: 'd4f80eef6832dc705cbb19a2073e4fb05db3b679', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'tags' && (h("div", { key: '15b2bcc21df0fee9783091bc8b21df757c8689d0', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '71da2d65bf86fcd87c1284e7ee0429d2808003c4', class: "content" }, h("div", { key: '4cbf194e7bec5ea1f2525d65ebc48f12911facdb', class: "tags-box" }, h("slot", { key: '3355817af6dac4af4ee852871127f65c3316d6d6', name: "tag-option" })), h("input", { key: 'bc0ebabfde7dc700e69956fa4c430d0a43f8b029', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: 'b58b27bd9ec6d02538551b407cc04773748ed87a' }), this.showHelpIcon && (h("div", { key: 'c9deae67ba5f80aef561d99c831f77d7d0e9fe6e', class: "help-icon" }, h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'ecf3401ba75e5a05e6e5947cdc6ad600dc9d10dc', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8a613b77cb353dee3e50fbdeb45b0f31ce525b90', class: "text-input" }, h("input", { key: '415ae0692e4aeacc65e9cbc4375439b8c9031b76', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && h("span", { key: '9c1e7f821b43135708111853cb9ecb42b535e194' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'e40852f7753e4739a6a8f1c8cbdbfb5bb794fbd7', class: "trailing-btn" }, h("gb-button", { key: '05af9cdac2ffa78a17813dd72fb096d5ad439a21', size: "md", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/copy.svg" })))), this.type === 'password' && (h("div", { key: '7da53b06da575bef649ffbc60f47d8650e22293e', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'a886a5433b7dd1c3844f2efb6a19d9b2988f87c5', class: "content" }, h("div", { key: '15d900977837ae984883c9911c56973973ba22e0', class: "text-input" }, h("input", { key: '6b38ae37f3d2339f3f027f5273e3980f49a96b13', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', type: this.isPasswordVisible ? 'text' : 'password', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '3aa63da75196af110db942d9b0de7d998d48a8f3' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '7a303c13cab4d4d14b8611b69dd1f6bfb0ab7c48', class: "dropdown" }, h("gb-password-button", { key: 'bef1dd678f10d42ed2735e9ffb266cf69e8f817c', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '499e1f8b53a0db6640b103570c39e9ee151724db', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '33444d642742bfb262b0676cddd68e62f56e38ca', class: "content" }, this.iconSwap ? (h("img", { src: iconSwap, alt: "Icon" })) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5024 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5024 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5024 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5024 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58257L13.7347 6.83336L13.7003 7.58257ZM13.7003 18.2507L13.7347 19L13.7003 18.2507ZM16.4435 15.7039L15.7002 15.6039L16.4435 15.7039ZM6.29973 7.58257L6.33417 8.33178L6.29973 7.58257ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2507L6.33417 17.5015L6.29973 18.2507ZM3.55652 15.7039L4.29981 15.6039L3.55652 15.7039ZM5.50001 7.49999C5.50001 7.9142 5.8358 8.24999 6.25001 8.24999C6.66422 8.24999 7.00001 7.9142 7.00001 7.49999H5.50001ZM13 7.49999C13 7.9142 13.3358 8.24999 13.75 8.24999C14.1642 8.24999 14.5 7.9142 14.5 7.49999H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8141 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2294C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.24999C11.3095 8.24999 12.4972 8.27805 13.6659 8.33178L13.7347 6.83336C12.5424 6.77855 11.3317 6.74999 10 6.74999V8.24999ZM6.33417 8.33178C7.50287 8.27805 8.69057 8.24999 10 8.24999V6.74999C8.66829 6.74999 7.45761 6.77855 6.26528 6.83336L6.33417 8.33178ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2294L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8141 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29065 15.5122 6.91507 13.7347 6.83336L13.6659 8.33178C14.6943 8.37906 15.5595 9.18436 15.7002 10.2294L17.1868 10.0293ZM13.7347 19C15.5122 18.9182 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83336C4.48781 6.91507 3.04732 8.29065 2.81323 10.0293L4.29981 10.2294C4.44052 9.18436 5.30576 8.37906 6.33417 8.33178L6.26528 6.83336ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9182 6.26528 19L6.33417 17.5015ZM7.00001 7.49999V5.41666H5.50001V7.49999H7.00001ZM13 5.41666V7.49999H14.5V5.41666H13ZM10 2.41666C11.6569 2.41666 13 3.7598 13 5.41666H14.5C14.5 2.93138 12.4853 0.916656 10 0.916656V2.41666ZM7.00001 5.41666C7.00001 3.7598 8.34316 2.41666 10 2.41666V0.916656C7.51473 0.916656 5.50001 2.93138 5.50001 5.41666H7.00001Z", fill: "#4B5565" }))), h("input", { key: '15314dceb94438b0513cd1404aa1488ca598fd2f', class: "text-md-regular", type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && h("span", { key: '76b75250c4cdf3006fb320bd3acf17016515bd06' }), this.showHelpIcon && (h(Fragment, null, !this.destructive ? (h("div", { class: "help-icon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'bdf040ad2817ee20a6c8c4f654feee1c7b3d313d', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && (h("div", { key: 'ee75f7f9c420ff39ef7459a4f9a89c4ae5a2f3c2', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: '0c7b50e30c18d9701a979acd432a6729086d9516', class: "text-input" }, h("input", { key: 'e3e083d1cfd1cabd1b3dce92ad77134cd84e0a1e', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '6227c59ce4c436c03dc7d8985e5956fe1b54be70', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '88c52d24fbd3b8fcbe15f32513bbfac09d0f3ef1', d: "M6.66671 5.99998C6.66671 5.2636 7.26366 4.66665 8.00004 4.66665C8.73642 4.66665 9.33337 5.2636 9.33337 5.99998C9.33337 6.26541 9.25581 6.51273 9.12212 6.72051C8.72365 7.33976 8.00004 7.93027 8.00004 8.66665V8.99998M7.9947 11.3333H8.00069M14.6667 7.99998C14.6667 11.6819 11.6819 14.6666 8.00004 14.6666C4.31814 14.6666 1.33337 11.6819 1.33337 7.99998C1.33337 4.31808 4.31814 1.33331 8.00004 1.33331C11.6819 1.33331 14.6667 4.31808 14.6667 7.99998Z", stroke: "#697586", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '94e0d0cca3b4c0c79aacf919cc1ef6b1fec88c93', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: '86f985ed91a89a66a363018b10af0d9b80611544', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: '5671605bfc1b429a28c37dde3a8ff522b1d5d5fb', class: "increase-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/plus_sign.svg" }))))), this.showHintText && h("p", { key: 'bdf0b3930a0cb31e160888414c5a0bbf07cb0360', class: `text-sm-regular hint_text ${this.state} ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
|
|
41
|
+
return (h("div", { key: '10f38408497a6aea7be9f2818eb13d49f0294f75', class: classes }, h("div", { key: '16c2cae02a4f42b78bc22437490e1f864efb51ea', class: "input-with-label" }, this.showLabel && (h("label", { key: '07e1139d058ec966ec27f23655df9250c54f7ecf', htmlFor: "input", class: "text-sm-medium" }, this.label)), this.type === 'default' && (h("div", { key: 'e816e007279bcad82852f441623130db09f6a1e4', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '9d83cace3043fec9f200b6ad08ef4990a7ee66de', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: 'ae6c72fb14196515de6e7131fa344ea83e8768f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'd510bc1ba34f8844adfce4969963184cf943162d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: '134402af35dcac4228f592fdbaf549c72d98ae2c', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '815d9209eee1a4afc0d3e4ed82d279a88d1d8f5c', class: "content" }, h("div", { key: '24ddc2dde4ee249699640bf5c7b2cbf84ec689da', 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: 'e6ce0ae2341eb4c4bc2b38de4cd03533755d4a36', class: `text-md-regular`, placeholder: this.showPlaceholder ? this.placeholderText : '', type: "email", value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '43620f29e80357303a9e8c9f082407f256404e2f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '0f18552e0174f72c48bc445e5e64c7674e42490a', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: '937ddb867ab7ea920fe9d5a47d53af8d1c9c6a88', 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: '5e4d2d6d138e841debd5a7e3708ed5a087cb13da', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7745812e56bd27824897fee5c49acecb4ade330a', class: "dropdown" }, h("div", { key: 'e2c315dd23d5dcf7d9473d69e9f22310f735c469', class: "country-icon" }, h("svg", { key: '89d350e728f4f3525ff0dee033ae2b7449faf8fb', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'da63c41e00ff6952edd2e66b87a03a505ac24237', 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: '0f5777b7a888f7133760d62349eaef7f9cefa314', 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: 'd30fb32d4b4037d6b2452cd2854fdd7062a70eea', class: "text-md-regular" }, h("option", { key: 'a953cf608eef2538a9fe32a1269e0dad4f6d0dce', value: "option 1", selected: true }, "+234"), h("slot", { key: '968b0382a7e573b4dad92c49fae31974e90ec356', name: "country-option" }))), h("div", { key: '1a7503dbb59fe5b999d578066747f17b42035db6', class: "text-input" }, h("input", { key: 'c91e68c3ad58e5ec63cec01995ecefa2abfc8cc7', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: 'c5b043c1aa4b3332f2da8cf937f935902d3b3e3a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'f8e9a579154011109f78e265dcd7c0dea69322b8', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: 'cedd8fe2b1d0ea94e9be1a4b7916288257475fc1', class: `input-wrapper ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6fe02b8b31c78ddd367c54eac65260b2dcaf474a', class: "content" }, h("div", { key: '89d069df8cbfbc94bec58318a9a42033626dc1cd', class: "text-input" }, h("p", { key: 'eea8348a7ad1a95f7e31eccd64ef4dd829e23ff3', class: "text-md-regular" }, "$"), h("input", { key: '2a5b7abae9668477396c2a1fd892071ae41180af', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '473460c0403359f48f9380fd76ddb4e277dbe36c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'bf4c1a66da4e9650a4cbe12a7d6a8444622d0239', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: '1ff2a5fa458b585006643f71c656660988aab247', class: "dropdown" }, h("select", { key: '611b4fa329b1905662e10ccb0ab93e98f25dad9b', class: "text-md-regular" }, h("option", { key: 'b9b49d3373d7aba701ebfcc1ff3038565626f864', value: "option 1", selected: true }, "USD"), h("slot", { key: 'b2ef5d331510853ff1141f9b346b6c5bd0be7e91', name: "option" }))))), this.type === 'leading_text' && (h("div", { key: 'dfccde3a7292a6cd8edf2140ae06807820320001', class: "leading_text_wrapper" }, h("div", { key: 'a45d04ff78e35152f04efd61b063ed9e0ae7d59a', class: "add-on" }, h("p", { key: 'd48c87c958948cb412109ae5c645e8a944fa5538', class: "text-md-regular" }, "http://")), h("div", { key: '53d7dc369ff9e3a3123a81ce413a09daee0ce861', class: `leading_text_input_wrapper ${this.state === 'disabled' ? 'disabled' : ''} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c176999d4acd94e9640211ff6ca681bd3594e83a', class: "text-input" }, h("input", { key: 'a3787e260a5df6d7b16b5ea4beae35fcb668c798', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: '94f3086781eb359aae3a45d46209cc1c57a01d6d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '1f0950c2545211e5b87c84e740269d3900b31e4b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: 'a042419202b23547cee114d7a809aad9bcc385aa', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'cf89f2c4666fe8c0f0f02f2304f1019f7c3cba43', class: "content" }, h("div", { key: 'e36641ec52d3a99067a5ea652553cf903f55a906', class: "payment-method" }, h("svg", { key: '341091e617c43796f0540b1d1ff60cd61f9532aa', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '25334f80b2001d44cc504b5d553c78eaa7584914', "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: 'f7de982a96be34b26272ca7266c943f15054b3eb', "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: 'dc38a8975707dd0ba6c84cb004bed55e0c85a9af', "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: '9249b161b275d8f9ca03c145f4054814dfcafee6', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '6310b38048081b50ee7940d2b1ff79fe181df403', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'ca988b417b3e505616cb42ea7dd191d054eacfbf', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b900ec3851ba71c8a6b316d9043d41762d7692f9', 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: '31f19ec5d03125056e15c657e10990f3d20ee09d', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '158bc8ed04b7eb505df81ef376cf97ca2f07de31', class: "content" }, h("div", { key: 'f70c99728d5134eabd55015d220626d4947b7fc9', class: "tags-box" }, h("slot", { key: 'b67ff42e32ca0406f28ef02f2f0f5fccda25b83a', name: "tag-option" })), h("input", { key: '768b6aaf7196ee1d4d3feb8d0d735fc511a4f21f', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) })), this.showValidation && (h("svg", { key: '1435b38672ba4ee76faf2d79647366f6800e110c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '550bd6fe06b45c98df9ed93eecde6a295ee9545d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'f39bb5b4b029dee26cbb1256fbb8f3ca9b2892f3', 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: 'fa8e0f790ef7bf2286da58c864b2bcec36c628c7', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6a99099bcfd9729ddcfbd26f1b9ea7fc6d894c8e', class: "text-input" }, h("input", { key: '3dce46e99076f3559c4abdf1d228bb172671eb45', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showValidation && (h("svg", { key: '2f8fabb1d74da75a4c5b60f8f2b124bd6d736644', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '4d97578d3498b4186b1f215dbb033db3894b7b9c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: 'd2019d27c8c751843ce84a66d4f1f5dd93ac5320', class: "trailing-btn" }, h("gb-button", { key: 'd0fc2a47f5023db1b97e3f561c59369bc04a520c', 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: 'dda7c763e19d79450d36795504378b58567fee00', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '731e8b19e35a5d1342238aaf62b0a2089b7eaeb6', class: "content" }, h("div", { key: '35ae8ec65725332cdc897f5f827f5bed424042fc', class: "text-input" }, h("input", { key: '80df6d292274b5473630c49168e7b8d63c0b5396', 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("svg", { key: 'dd6a6cf1bf1e6a538f2ddc0e7777c6d83501b2fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: 'c54bb5d0b9c89be4ef51c2cab68ae84aa23898fe', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: 'bc27f0e552bf12955de526563917896c978d6d5b', class: "password_dropdown" }, h("gb-password-button", { key: '063fe91693a791c6c0e8bbae773892204f27cca4', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '33adcb3e5ded31cdbfdb1d7b5b13f2c66d0dde40', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c32dbfec23fbfda6847066d12a13edc0c90a4ca1', 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: 'd529c8176fd157a3e91d782fd0b690092ed481ad', 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("svg", { key: '10e3cc84b6b21194cef141a77a7aba21942202de', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "validation_svg" }, h("path", { key: '026c44c9f576b40f35d50e43fdd1bbf37ea595f0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), 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: '8c2c1c90fed2591affb04b0ead6471e977759c06', class: "password_dropdown" }, h("gb-password-button", { key: '8449424820c049f67096fca425f9e746ae7b2dfb', state: this.state === 'disabled' ? StateEnum.Disabled : StateEnum.Default, onClick: () => this.togglePasswordVisibility() })))), this.type === 'count' && (h("div", { key: '8bde1c8bfafc275b66c81300b4ab592e2c47c580', class: `input-wrapper ${this.state} ${this.destructive ? 'destructive' : ''} ${this.size}` }, h("div", { key: 'cd6d5cd2f22f1faffd569fc22f2d9a6844990908', class: "text-input" }, h("input", { key: '9cc05213278a46e26d0dbf729327e71cff5c9b80', class: "text-md-regular", placeholder: this.showPlaceholder ? this.placeholderText : '', value: this.inputValue, onInput: event => this.handleInput(event) }), this.showHelpIcon && (h("svg", { key: '882bfcad915d205671619ad4efb143eaf6ec33c6', class: "help-svg", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '09fbce30bee48542ee7d075662798b272a683e00', 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: '7f8d489b2e47e06db159d65997ba821ad7fdfcb0', class: "count-action" }, this.showCloseButton && (h("gb-button", { key: 'bd958959817ece586aa4fc3dcecde63ecaacc56b', class: "decrease-btn", size: "md", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/minus_sign.svg" })), h("gb-button", { key: 'f24483c5fc50e7d749322fd61a0b68792ab52fba', 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: 'b3cd8e31640f1daa4912da7c0f3b7e012b341f5c', 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"; }
|