globuswebcomponents 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/gb-avatar-add-button.cjs.entry.js +26 -0
- package/dist/cjs/gb-avatar-add-button.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +57 -0
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-group.cjs.entry.js +57 -0
- package/dist/cjs/gb-avatar-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +96 -0
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +57 -0
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar_34.cjs.entry.js +1522 -0
- package/dist/cjs/gb-avatar_34.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close_2.cjs.entry.js +43 -0
- package/dist/cjs/gb-button-close_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +107 -0
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +27 -0
- package/dist/cjs/gb-checkbox-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +32 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-file-type-icon.cjs.entry.js +22 -0
- package/dist/cjs/gb-file-type-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +37 -0
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-file-upload.cjs.entry.js +40 -0
- package/dist/cjs/gb-file-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +24 -0
- package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -0
- 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-progress-circle.cjs.entry.js +26 -0
- package/dist/cjs/gb-progress-circle.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-rich-text.cjs.entry.js +34 -0
- package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-scrollbar.cjs.entry.js +23 -0
- package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +38 -0
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-slider.cjs.entry.js +77 -0
- package/dist/cjs/gb-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +40 -0
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +1 -0
- package/dist/{globuscomponents/gb-help-tooltip.entry.js → cjs/gb-toast-button.cjs.entry.js} +18 -20
- package/dist/cjs/gb-toast-button.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-toast.cjs.entry.js +57 -0
- package/dist/cjs/gb-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-toggle.cjs.entry.js +53 -0
- package/dist/cjs/gb-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-token-field.cjs.entry.js +28 -0
- package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -0
- 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 +29 -0
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +33 -0
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +28 -0
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/globuscomponents.cjs.js +27 -0
- package/dist/cjs/globuscomponents.cjs.js.map +1 -0
- package/dist/cjs/index-804eab7e.js +1644 -0
- package/dist/cjs/index-804eab7e.js.map +1 -0
- package/dist/cjs/index.cjs.js +11 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/reusableModels-e50f3440.js +21 -0
- package/dist/cjs/reusableModels-e50f3440.js.map +1 -0
- package/dist/collection/assets/NG.svg +14 -0
- package/dist/collection/assets/Tooltip.svg +4 -0
- package/dist/collection/assets/alert-02.svg +6 -0
- package/dist/collection/assets/alert_02.svg +3 -0
- package/dist/collection/assets/arrow-left-02.svg +3 -0
- package/dist/collection/assets/arrow-right-02.svg +5 -0
- package/dist/collection/assets/arrow-turn-backward.svg +5 -0
- package/dist/collection/assets/arrow_pointing_right.svg +3 -0
- package/dist/collection/assets/arrow_pointing_up.svg +9 -0
- package/dist/collection/assets/arrow_up.svg +3 -0
- package/dist/collection/assets/avatar_pic.jpg +0 -0
- package/dist/collection/assets/bar.svg +3 -0
- package/dist/collection/assets/bar_white.svg +3 -0
- package/dist/collection/assets/blush_brush.svg +3 -0
- package/dist/collection/assets/book_open.svg +3 -0
- package/dist/collection/assets/bug_02.svg +4 -0
- package/dist/collection/assets/calendar-02.svg +6 -0
- package/dist/collection/assets/cancel-01.svg +5 -0
- package/dist/collection/assets/cancel-button.svg +3 -0
- package/dist/collection/assets/checkbox disabled_indeterminate.svg +5 -0
- package/dist/collection/assets/checkcircle default_checked.svg +5 -0
- package/dist/collection/assets/checkcircle default_unchecked.svg +3 -0
- package/dist/collection/assets/checkcircle disabled_checked.svg +5 -0
- package/dist/collection/assets/checkcircle disabled_unchecked.svg +3 -0
- package/dist/collection/assets/checked_indeterminate.svg +5 -0
- package/dist/collection/assets/checkmark.svg +3 -0
- package/dist/collection/assets/circle.svg +6 -0
- package/dist/collection/assets/column-insert.svg +5 -0
- package/dist/collection/assets/company.svg +4 -0
- package/dist/collection/assets/company_icon.svg +4 -0
- package/dist/collection/assets/configuration_02.svg +3 -0
- package/dist/collection/assets/copy-01.svg +5 -0
- package/dist/collection/assets/copy.svg +3 -0
- package/dist/collection/assets/country_icon.svg +29 -0
- package/dist/collection/assets/dark_theme.svg +3 -0
- package/dist/collection/assets/dashboard-square-03.svg +14 -0
- package/dist/collection/assets/database-sync.svg +6 -0
- package/dist/collection/assets/default_checked.svg +5 -0
- package/dist/collection/assets/default_unchecked.svg +3 -0
- package/dist/collection/assets/delete-02.svg +3 -0
- package/dist/collection/assets/disabled.svg +4 -0
- package/dist/collection/assets/disabled_checked.svg +5 -0
- package/dist/collection/assets/disabled_indeterminate.svg +5 -0
- package/dist/collection/assets/dot.svg +3 -0
- package/dist/collection/assets/exchange-01.svg +5 -0
- package/dist/collection/assets/file-verified.svg +6 -0
- package/dist/collection/assets/flag-01.svg +5 -0
- package/dist/collection/assets/globus_bank_logo.svg +11 -0
- package/dist/collection/assets/globus_bank_logo_blue.svg +13 -0
- package/dist/collection/assets/globus_bank_logo_white.svg +13 -0
- package/dist/collection/assets/help-circle.svg +5 -0
- package/dist/collection/assets/logout_button.svg +3 -0
- package/dist/collection/assets/mail-02.svg +5 -0
- package/dist/collection/assets/minus_sign.svg +3 -0
- package/dist/collection/assets/no_notification_frame.png +0 -0
- package/dist/collection/assets/no_notification_frame.svg +139 -0
- package/dist/collection/assets/notification-03.svg +5 -0
- package/dist/collection/assets/panel_bell.svg +85 -0
- package/dist/collection/assets/pattern_wrapper.png +0 -0
- package/dist/collection/assets/pattern_wrapper.svg +1359 -0
- package/dist/collection/assets/plus_sign.svg +3 -0
- package/dist/collection/assets/radiobutton default_checked.svg +4 -0
- package/dist/collection/assets/radiobutton default_unchecked.svg +3 -0
- package/dist/collection/assets/radiobutton disabled_checked.svg +4 -0
- package/dist/collection/assets/radiobutton disabled_unchecked.svg +3 -0
- package/dist/collection/assets/sample.svg +5 -0
- package/dist/collection/assets/search-01.svg +3 -0
- package/dist/collection/assets/shuffle-square.svg +6 -0
- package/dist/collection/assets/square-arrow-data-transfer-diagonal.svg +6 -0
- package/dist/collection/assets/ticked_01.svg +5 -0
- package/dist/collection/assets/tooltip.png +0 -0
- package/dist/collection/assets/user-group.svg +10 -0
- package/dist/collection/assets/user_add.svg +3 -0
- package/dist/collection/assets/user_group.svg +3 -0
- package/dist/collection/assets/user_profile.svg +4 -0
- package/dist/collection/assets/verified_tick.svg +11 -0
- package/dist/collection/collection-manifest.json +74 -0
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +2711 -0
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js +84 -0
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js.map +1 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2660 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js +223 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js.map +1 -0
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js +65 -0
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js.map +1 -0
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.tsx +43 -0
- package/dist/collection/components/gb-avatar/gb-avatar.css +2956 -0
- package/dist/collection/components/gb-avatar/gb-avatar.js +271 -0
- package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -0
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.css +2762 -0
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js +113 -0
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js.map +1 -0
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2699 -0
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js +119 -0
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js.map +1 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2761 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +258 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -0
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.css +2719 -0
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +174 -0
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js.map +1 -0
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2710 -0
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +223 -0
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -0
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +2698 -0
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js +155 -0
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js.map +1 -0
- package/dist/collection/components/gb-badge-close/gb-badge-close.css +2756 -0
- package/dist/collection/components/gb-badge-close/gb-badge-close.js +67 -0
- package/dist/collection/components/gb-badge-close/gb-badge-close.js.map +1 -0
- package/dist/collection/components/gb-badges/gb-badges.css +2922 -0
- package/dist/collection/components/gb-badges/gb-badges.js +253 -0
- package/dist/collection/components/gb-badges/gb-badges.js.map +1 -0
- package/dist/collection/components/gb-btn/gb-btn.css +2965 -0
- package/dist/collection/components/gb-btn/gb-btn.js +267 -0
- package/dist/collection/components/gb-btn/gb-btn.js.map +1 -0
- package/dist/collection/components/gb-button/gb-button.css +2965 -0
- package/dist/collection/components/gb-button/gb-button.js +267 -0
- package/dist/collection/components/gb-button/gb-button.js.map +1 -0
- package/dist/collection/components/gb-button/gb-button.tsx +97 -0
- package/dist/collection/components/gb-button/readme.md +50 -0
- package/dist/collection/components/gb-button-close/gb-button-close.css +2797 -0
- package/dist/collection/components/gb-button-close/gb-button-close.js +73 -0
- package/dist/collection/components/gb-button-close/gb-button-close.js.map +1 -0
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +2680 -0
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +66 -0
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js.map +1 -0
- package/dist/collection/components/gb-checkbox/gb-checkbox.css +2692 -0
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +218 -0
- package/dist/collection/components/gb-checkbox/gb-checkbox.js.map +1 -0
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.css +2711 -0
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +235 -0
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js.map +1 -0
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.css +0 -0
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +129 -0
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js.map +1 -0
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +2842 -0
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +232 -0
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js.map +1 -0
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +2734 -0
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +156 -0
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js.map +1 -0
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +2745 -0
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +159 -0
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js.map +1 -0
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.css +0 -0
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +18 -0
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js.map +1 -0
- package/dist/collection/components/gb-file-upload/gb-file-upload.css +171 -0
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +189 -0
- package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +1 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +2958 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +151 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js.map +1 -0
- package/dist/collection/components/gb-header/gb-header.css +29 -0
- package/dist/collection/components/gb-header/gb-header.js +200 -0
- package/dist/collection/components/gb-header/gb-header.js.map +1 -0
- package/dist/collection/components/gb-header-icon/gb-header-icon.css +2704 -0
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +96 -0
- package/dist/collection/components/gb-header-icon/gb-header-icon.js.map +1 -0
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +2688 -0
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +65 -0
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js.map +1 -0
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.css +2674 -0
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +80 -0
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js.map +1 -0
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +2711 -0
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +520 -0
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +2803 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +468 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -0
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +2763 -0
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +127 -0
- 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 +2883 -0
- package/dist/collection/components/gb-input-field/gb-input-field.js +401 -0
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -0
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +2758 -0
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +90 -0
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js.map +1 -0
- package/dist/collection/components/gb-notification-content/gb-notification-content.css +2717 -0
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +101 -0
- package/dist/collection/components/gb-notification-content/gb-notification-content.js.map +1 -0
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +2705 -0
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +93 -0
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +1 -0
- package/dist/collection/components/gb-pagination/gb-pagination.css +2701 -0
- package/dist/collection/components/gb-pagination/gb-pagination.js +135 -0
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -0
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.css +31 -0
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +86 -0
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js.map +1 -0
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.css +30 -0
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +87 -0
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js.map +1 -0
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +2687 -0
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +56 -0
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js.map +1 -0
- package/dist/collection/components/gb-password-button/gb-password-button.css +2671 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js +52 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -0
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +2783 -0
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +102 -0
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js.map +1 -0
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.css +39 -0
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +105 -0
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js.map +1 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.css +2660 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +173 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.js.map +1 -0
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +2693 -0
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +44 -0
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js.map +1 -0
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +2825 -0
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +227 -0
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js.map +1 -0
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +2821 -0
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +629 -0
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -0
- package/dist/collection/components/gb-slider/gb-slider.css +2688 -0
- package/dist/collection/components/gb-slider/gb-slider.js +157 -0
- package/dist/collection/components/gb-slider/gb-slider.js.map +1 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +2745 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +82 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js.map +1 -0
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +2816 -0
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +115 -0
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js.map +1 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +2938 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +206 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +1 -0
- package/dist/collection/components/gb-tag/gb-tag.css +2727 -0
- package/dist/collection/components/gb-tag/gb-tag.js +140 -0
- package/dist/collection/components/gb-tag/gb-tag.js.map +1 -0
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +2732 -0
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +82 -0
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js.map +1 -0
- package/dist/collection/components/gb-tag-close/gb-tag-close.css +2701 -0
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +49 -0
- package/dist/collection/components/gb-tag-close/gb-tag-close.js.map +1 -0
- package/dist/collection/components/gb-tag-count/gb-tag-count.css +2722 -0
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +49 -0
- package/dist/collection/components/gb-tag-count/gb-tag-count.js.map +1 -0
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.css +0 -0
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +198 -0
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +1 -0
- package/dist/collection/components/gb-toast/gb-toast.css +2943 -0
- package/dist/collection/components/gb-toast/gb-toast.js +177 -0
- package/dist/collection/components/gb-toast/gb-toast.js.map +1 -0
- package/dist/collection/components/gb-toast-button/gb-toast-button.css +2723 -0
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +78 -0
- package/dist/collection/components/gb-toast-button/gb-toast-button.js.map +1 -0
- package/dist/collection/components/gb-toggle/gb-toggle.css +28 -0
- package/dist/collection/components/gb-toggle/gb-toggle.js +138 -0
- package/dist/{globuscomponents/gb-toggle.entry.js.map → collection/components/gb-toggle/gb-toggle.js.map} +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +2769 -0
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +119 -0
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js.map +1 -0
- package/dist/collection/components/gb-token-field/gb-token-field.css +2660 -0
- package/dist/collection/components/gb-token-field/gb-token-field.js +141 -0
- package/dist/collection/components/gb-token-field/gb-token-field.js.map +1 -0
- package/dist/collection/components/gb-tooltip/gb-tooltip.css +2808 -0
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +102 -0
- package/dist/collection/components/gb-tooltip/gb-tooltip.js.map +1 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2685 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +145 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js.map +1 -0
- package/dist/collection/global/global.css +2660 -0
- package/dist/collection/global/spacing.css +43 -0
- package/dist/collection/global/tailwind.css +3 -0
- package/dist/collection/global/typo.css +496 -0
- package/dist/collection/global/typography.css +1020 -0
- package/dist/collection/index.js +11 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/models/reusableModels.js +19 -0
- package/dist/collection/models/reusableModels.js.map +1 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/gb-avatar-add-button.js +8 -0
- package/dist/components/gb-avatar-add-button.js.map +1 -0
- package/dist/components/gb-avatar-contrast-inner-border.js +8 -0
- package/dist/components/gb-avatar-contrast-inner-border.js.map +1 -0
- package/dist/components/gb-avatar-dropdown.js +126 -0
- package/dist/components/gb-avatar-dropdown.js.map +1 -0
- package/dist/components/gb-avatar-group.js +109 -0
- package/dist/components/gb-avatar-group.js.map +1 -0
- package/dist/components/gb-avatar-label-group.js +8 -0
- package/dist/components/gb-avatar-label-group.js.map +1 -0
- package/dist/components/gb-avatar-profile-photo.js +96 -0
- package/dist/components/gb-avatar-profile-photo.js.map +1 -0
- package/dist/components/gb-avatar.js +8 -0
- package/dist/components/gb-avatar.js.map +1 -0
- package/dist/components/gb-badge-close.js +8 -0
- package/dist/components/gb-badge-close.js.map +1 -0
- package/dist/components/gb-badge.js +8 -0
- package/dist/components/gb-badge.js.map +1 -0
- package/dist/components/gb-btn.js +8 -0
- package/dist/components/gb-btn.js.map +1 -0
- package/dist/components/gb-button-close.js +8 -0
- package/dist/components/gb-button-close.js.map +1 -0
- package/dist/components/gb-button.js +8 -0
- package/dist/components/gb-button.js.map +1 -0
- package/dist/{globuscomponents/gb-carousel-arrow.entry.js → components/gb-carousel-arrow.js} +30 -8
- package/dist/components/gb-carousel-arrow.js.map +1 -0
- package/dist/components/gb-checkbox-base.js +8 -0
- package/dist/components/gb-checkbox-base.js.map +1 -0
- package/dist/components/gb-checkbox-group-item.js +8 -0
- package/dist/components/gb-checkbox-group-item.js.map +1 -0
- package/dist/components/gb-checkbox-group.js +90 -0
- package/dist/components/gb-checkbox-group.js.map +1 -0
- package/dist/components/gb-checkbox.js +8 -0
- package/dist/components/gb-checkbox.js.map +1 -0
- package/dist/components/gb-collapse-button.js +8 -0
- package/dist/components/gb-collapse-button.js.map +1 -0
- package/dist/components/gb-dropdown-items-with-shortcut.js +8 -0
- package/dist/components/gb-dropdown-items-with-shortcut.js.map +1 -0
- package/dist/components/gb-file-type-icon.js +37 -0
- package/dist/components/gb-file-type-icon.js.map +1 -0
- package/dist/components/gb-file-upload-item-base.js +8 -0
- package/dist/components/gb-file-upload-item-base.js.map +1 -0
- package/dist/components/gb-file-upload.js +93 -0
- package/dist/components/gb-file-upload.js.map +1 -0
- package/dist/components/gb-header-icon.js +8 -0
- package/dist/components/gb-header-icon.js.map +1 -0
- package/dist/{globuscomponents/gb-header.entry.js → components/gb-header.js} +61 -10
- package/dist/components/gb-header.js.map +1 -0
- package/dist/components/gb-help-dropdown.js +60 -0
- package/dist/components/gb-help-dropdown.js.map +1 -0
- package/dist/components/gb-help-tooltip.js +8 -0
- package/dist/components/gb-help-tooltip.js.map +1 -0
- package/dist/{globuscomponents/gb-horizontal-tabs.entry.js → components/gb-horizontal-tabs.js} +90 -13
- package/dist/components/gb-horizontal-tabs.js.map +1 -0
- package/dist/components/gb-input-dropdown-menu-item.js +8 -0
- package/dist/components/gb-input-dropdown-menu-item.js.map +1 -0
- package/dist/components/gb-input-dropdown.js +8 -0
- package/dist/components/gb-input-dropdown.js.map +1 -0
- package/dist/{globuscomponents/gb-input-field.entry.js → components/gb-input-field.js} +88 -18
- package/dist/components/gb-input-field.js.map +1 -0
- package/dist/components/gb-megainput-field.js +8 -0
- package/dist/components/gb-megainput-field.js.map +1 -0
- package/dist/components/gb-notification-content.js +8 -0
- package/dist/components/gb-notification-content.js.map +1 -0
- package/dist/{globuscomponents/gb-notification-pane.entry.js → components/gb-notification-pane.js} +48 -13
- package/dist/components/gb-notification-pane.js.map +1 -0
- package/dist/components/gb-pagination-button-group-base.js +51 -0
- package/dist/components/gb-pagination-button-group-base.js.map +1 -0
- package/dist/components/gb-pagination-dot-indicator.js +45 -0
- package/dist/components/gb-pagination-dot-indicator.js.map +1 -0
- package/dist/{globuscomponents/gb-pagination-number-base.entry.js → components/gb-pagination-number-base.js} +32 -10
- package/dist/components/gb-pagination-number-base.js.map +1 -0
- package/dist/{globuscomponents/gb-pagination.entry.js → components/gb-pagination.js} +41 -9
- package/dist/components/gb-pagination.js.map +1 -0
- package/dist/components/gb-password-button.js +8 -0
- package/dist/components/gb-password-button.js.map +1 -0
- package/dist/components/gb-progress-bar.js +8 -0
- package/dist/components/gb-progress-bar.js.map +1 -0
- package/dist/components/gb-progress-circle.js +46 -0
- package/dist/components/gb-progress-circle.js.map +1 -0
- package/dist/components/gb-rich-text.js +148 -0
- package/dist/components/gb-rich-text.js.map +1 -0
- package/dist/components/gb-scrollbar.js +40 -0
- package/dist/components/gb-scrollbar.js.map +1 -0
- package/dist/components/gb-side-bar-item.js +8 -0
- package/dist/components/gb-side-bar-item.js.map +1 -0
- package/dist/{globuscomponents/gb-sidebar.entry.js → components/gb-sidebar.js} +108 -10
- package/dist/components/gb-sidebar.js.map +1 -0
- package/dist/components/gb-slider-control-handle.js +8 -0
- package/dist/components/gb-slider-control-handle.js.map +1 -0
- package/dist/components/gb-slider.js +110 -0
- package/dist/components/gb-slider.js.map +1 -0
- package/dist/components/gb-status-indicator.js +8 -0
- package/dist/components/gb-status-indicator.js.map +1 -0
- package/dist/components/gb-tab-button-base.js +8 -0
- package/dist/components/gb-tab-button-base.js.map +1 -0
- package/dist/components/gb-tag-checkbox.js +8 -0
- package/dist/components/gb-tag-checkbox.js.map +1 -0
- package/dist/components/gb-tag-close.js +8 -0
- package/dist/components/gb-tag-close.js.map +1 -0
- package/dist/components/gb-tag-count.js +8 -0
- package/dist/components/gb-tag-count.js.map +1 -0
- package/dist/components/gb-tag.js +8 -0
- package/dist/components/gb-tag.js.map +1 -0
- package/dist/components/gb-textarea-input-field.js +65 -0
- package/dist/components/gb-textarea-input-field.js.map +1 -0
- package/dist/components/gb-toast-button.js +8 -0
- package/dist/components/gb-toast-button.js.map +1 -0
- package/dist/components/gb-toast.js +97 -0
- package/dist/components/gb-toast.js.map +1 -0
- package/dist/components/gb-toggle-base.js +8 -0
- package/dist/components/gb-toggle-base.js.map +1 -0
- package/dist/components/gb-toggle.js +79 -0
- package/dist/components/gb-toggle.js.map +1 -0
- package/dist/components/gb-token-field.js +56 -0
- package/dist/components/gb-token-field.js.map +1 -0
- package/dist/components/gb-tooltip.js +8 -0
- package/dist/components/gb-tooltip.js.map +1 -0
- package/dist/components/gb-verification-code-field.js +60 -0
- package/dist/components/gb-verification-code-field.js.map +1 -0
- package/dist/components/gb-wysiwyg-editor-icon.js +8 -0
- package/dist/components/gb-wysiwyg-editor-icon.js.map +1 -0
- package/dist/components/gb-wysiwyg-toolbar.js +8 -0
- package/dist/components/gb-wysiwyg-toolbar.js.map +1 -0
- package/dist/components/gb-wysiwyg-tooltip.js +52 -0
- package/dist/components/gb-wysiwyg-tooltip.js.map +1 -0
- package/dist/components/index.js +9 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-0456af7b.js +49 -0
- package/dist/components/p-0456af7b.js.map +1 -0
- package/dist/{globuscomponents/gb-checkbox.entry.js → components/p-0bc41dab.js} +43 -11
- package/dist/components/p-0bc41dab.js.map +1 -0
- package/dist/{globuscomponents/gb-toggle-base.entry.js → components/p-1fe4daf8.js} +31 -10
- package/dist/components/p-1fe4daf8.js.map +1 -0
- package/dist/{globuscomponents/gb-checkbox-base.entry.js → components/p-328ca954.js} +32 -9
- package/dist/components/p-328ca954.js.map +1 -0
- package/dist/{globuscomponents/gb-tag-count.entry.js → components/p-3a4d6142.js} +28 -9
- package/dist/components/p-3a4d6142.js.map +1 -0
- package/dist/{globuscomponents/gb-tab-button-base.entry.js → components/p-3ea194b5.js} +66 -12
- package/dist/components/p-3ea194b5.js.map +1 -0
- package/dist/{globuscomponents/reusableModels-850e92f6.js → components/p-47052b60.js} +1 -2
- package/dist/components/p-47052b60.js.map +1 -0
- package/dist/{globuscomponents/gb-input-dropdown.entry.js → components/p-4812928e.js} +124 -14
- package/dist/components/p-4812928e.js.map +1 -0
- package/dist/{globuscomponents/gb-header-icon.entry.js → components/p-4bcb105b.js} +30 -9
- package/dist/components/p-4bcb105b.js.map +1 -0
- package/dist/{globuscomponents/gb-collapse-button.entry.js → components/p-4faa2686.js} +38 -8
- package/dist/components/p-4faa2686.js.map +1 -0
- package/dist/components/p-56013fc8.js +58 -0
- package/dist/components/p-56013fc8.js.map +1 -0
- package/dist/{globuscomponents/gb-badge.entry.js → components/p-70cc61c1.js} +61 -9
- package/dist/{globuscomponents/gb-badge.entry.js.map → components/p-70cc61c1.js.map} +1 -1
- package/dist/components/p-72927863.js +133 -0
- package/dist/components/p-72927863.js.map +1 -0
- package/dist/{globuscomponents/gb-badge-close.entry.js → components/p-7701862d.js} +28 -8
- package/dist/components/p-7701862d.js.map +1 -0
- package/dist/{globuscomponents/gb-tag.entry.js → components/p-8b0c130f.js} +69 -9
- package/dist/components/p-8b0c130f.js.map +1 -0
- package/dist/components/p-8f55e62a.js +162 -0
- package/dist/components/p-8f55e62a.js.map +1 -0
- package/dist/components/p-9177026d.js +58 -0
- package/dist/components/p-9177026d.js.map +1 -0
- package/dist/components/p-93839d6c.js +79 -0
- package/dist/components/p-93839d6c.js.map +1 -0
- package/dist/{globuscomponents/gb-tooltip.entry.js → components/p-9497e965.js} +32 -11
- package/dist/components/p-9497e965.js.map +1 -0
- package/dist/{globuscomponents/gb-avatar-contrast-inner-border.entry.js → components/p-9c84cfb8.js} +30 -9
- package/dist/components/p-9c84cfb8.js.map +1 -0
- package/dist/{globuscomponents/gb-button.entry.js → components/p-a4c5c121.js} +38 -9
- package/dist/components/p-a4c5c121.js.map +1 -0
- package/dist/{globuscomponents/gb-button-close.entry.js → components/p-b0799e51.js} +28 -8
- package/dist/components/p-b0799e51.js.map +1 -0
- package/dist/{globuscomponents/gb-tag-checkbox.entry.js → components/p-b60e6bf3.js} +30 -9
- package/dist/components/p-b60e6bf3.js.map +1 -0
- package/dist/components/p-c991b6ce.js +1439 -0
- package/dist/components/p-c991b6ce.js.map +1 -0
- package/dist/{globuscomponents/gb-status-indicator.entry.js → components/p-cdd1242d.js} +32 -10
- package/dist/components/p-cdd1242d.js.map +1 -0
- package/dist/{globuscomponents/gb-avatar.entry.js → components/p-d13fec4e.js} +49 -10
- package/dist/components/p-d13fec4e.js.map +1 -0
- package/dist/{globuscomponents/gb-input-dropdown-menu-item.entry.js → components/p-d49c9891.js} +63 -11
- package/dist/components/p-d49c9891.js.map +1 -0
- package/dist/{globuscomponents/gb-progress-bar.entry.js → components/p-d91ecf50.js} +37 -9
- package/dist/components/p-d91ecf50.js.map +1 -0
- package/dist/{globuscomponents/gb-password-button.entry.js → components/p-d9261ac4.js} +41 -9
- package/dist/components/p-d9261ac4.js.map +1 -0
- package/dist/{globuscomponents/gb-side-bar-item.entry.js → components/p-e3df7633.js} +74 -10
- package/dist/components/p-e3df7633.js.map +1 -0
- package/dist/{globuscomponents/gb-btn.entry.js → components/p-e408918c.js} +37 -9
- package/dist/components/p-e408918c.js.map +1 -0
- package/dist/{globuscomponents/gb-notification-content.entry.js → components/p-e9176120.js} +31 -9
- package/dist/components/p-e9176120.js.map +1 -0
- package/dist/components/p-ed457e85.js +64 -0
- package/dist/components/p-ed457e85.js.map +1 -0
- package/dist/{globuscomponents/gb-tag-close.entry.js → components/p-ee117fed.js} +28 -9
- package/dist/components/p-ee117fed.js.map +1 -0
- package/dist/components/p-f1e2b919.js +141 -0
- package/dist/components/p-f1e2b919.js.map +1 -0
- package/dist/components/p-f305b3a4.js +45 -0
- package/dist/components/p-f305b3a4.js.map +1 -0
- package/dist/components/p-f7dac30e.js +44 -0
- package/dist/components/p-f7dac30e.js.map +1 -0
- package/dist/components/p-f9aea40e.js +61 -0
- package/dist/components/p-f9aea40e.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-avatar-add-button.entry.js +3 -2
- package/dist/esm/gb-avatar-add-button.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-avatar-dropdown.entry.js +3 -2
- package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-avatar-group.entry.js +4 -3
- package/dist/esm/gb-avatar-group.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-avatar-label-group.entry.js +4 -3
- package/dist/esm/gb-avatar-label-group.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-avatar-profile-photo.entry.js +4 -3
- package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -0
- package/dist/esm/gb-avatar_34.entry.js +1485 -0
- package/dist/esm/gb-avatar_34.entry.js.map +1 -0
- package/dist/esm/gb-button-close_2.entry.js +38 -0
- package/dist/esm/gb-button-close_2.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-checkbox-group-item.entry.js +3 -2
- package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-checkbox-group.entry.js +3 -2
- package/dist/esm/gb-checkbox-group.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-dropdown-items-with-shortcut.entry.js +4 -3
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-file-type-icon.entry.js +3 -2
- package/dist/esm/gb-file-type-icon.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-file-upload-item-base.entry.js +4 -3
- package/dist/esm/gb-file-upload-item-base.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-file-upload.entry.js +4 -3
- package/dist/esm/gb-file-upload.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-help-dropdown.entry.js +3 -2
- package/dist/esm/gb-help-dropdown.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-megainput-field.entry.js +5 -4
- package/dist/esm/gb-megainput-field.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-progress-circle.entry.js +4 -3
- package/dist/esm/gb-progress-circle.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-rich-text.entry.js +4 -3
- package/dist/esm/gb-rich-text.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-scrollbar.entry.js +4 -3
- package/dist/esm/gb-scrollbar.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-slider-control-handle.entry.js +4 -3
- package/dist/esm/gb-slider-control-handle.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-slider.entry.js +4 -3
- package/dist/esm/gb-slider.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-textarea-input-field.entry.js +3 -2
- package/dist/esm/gb-textarea-input-field.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-toast-button.entry.js +4 -3
- package/dist/esm/gb-toast-button.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-toast.entry.js +5 -4
- package/dist/esm/gb-toast.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-toggle.entry.js +4 -3
- package/dist/esm/gb-toggle.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-token-field.entry.js +4 -3
- package/dist/esm/gb-token-field.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-verification-code-field.entry.js +5 -4
- package/dist/esm/gb-verification-code-field.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-wysiwyg-editor-icon.entry.js +3 -2
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-wysiwyg-toolbar.entry.js +3 -2
- package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -0
- package/dist/{globuscomponents → esm}/gb-wysiwyg-tooltip.entry.js +3 -2
- package/dist/esm/gb-wysiwyg-tooltip.entry.js.map +1 -0
- package/dist/esm/globuscomponents.js +22 -0
- package/dist/esm/globuscomponents.js.map +1 -0
- package/dist/esm/index-be73e596.js +1614 -0
- package/dist/esm/index-be73e596.js.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/reusableModels-8496e911.js +21 -0
- package/dist/esm/reusableModels-8496e911.js.map +1 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -48
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/index.esm.js +1 -16
- package/dist/globuscomponents/index.esm.js.map +1 -1
- package/dist/globuscomponents/p-0cc29bc9.entry.js +2 -0
- package/dist/globuscomponents/p-0cc29bc9.entry.js.map +1 -0
- package/dist/globuscomponents/p-205f99af.entry.js +2 -0
- package/dist/globuscomponents/{gb-avatar-profile-photo.entry.js.map → p-205f99af.entry.js.map} +1 -1
- package/dist/globuscomponents/p-213333d1.entry.js +2 -0
- package/dist/globuscomponents/p-213333d1.entry.js.map +1 -0
- package/dist/globuscomponents/p-35eef8c6.entry.js +2 -0
- package/dist/globuscomponents/p-35eef8c6.entry.js.map +1 -0
- package/dist/globuscomponents/p-3ced3015.entry.js +2 -0
- package/dist/globuscomponents/p-3ced3015.entry.js.map +1 -0
- package/dist/globuscomponents/p-47052b60.js +2 -0
- package/dist/globuscomponents/p-47052b60.js.map +1 -0
- package/dist/globuscomponents/p-4eebea94.entry.js +2 -0
- package/dist/globuscomponents/p-4eebea94.entry.js.map +1 -0
- package/dist/globuscomponents/p-50bf5e16.entry.js +2 -0
- package/dist/globuscomponents/p-50bf5e16.entry.js.map +1 -0
- package/dist/globuscomponents/p-593875d5.js +3 -0
- package/dist/globuscomponents/p-593875d5.js.map +1 -0
- package/dist/globuscomponents/p-615a7e4e.entry.js +2 -0
- package/dist/globuscomponents/p-615a7e4e.entry.js.map +1 -0
- package/dist/globuscomponents/p-63af3f30.entry.js +2 -0
- package/dist/globuscomponents/p-63af3f30.entry.js.map +1 -0
- package/dist/globuscomponents/p-70484be9.entry.js +2 -0
- package/dist/globuscomponents/p-70484be9.entry.js.map +1 -0
- package/dist/globuscomponents/p-798ec804.entry.js +2 -0
- package/dist/globuscomponents/p-798ec804.entry.js.map +1 -0
- package/dist/globuscomponents/p-81eb4639.entry.js +2 -0
- package/dist/globuscomponents/p-81eb4639.entry.js.map +1 -0
- package/dist/globuscomponents/p-89485a6d.entry.js +2 -0
- package/dist/globuscomponents/p-89485a6d.entry.js.map +1 -0
- package/dist/globuscomponents/p-8f6a956b.entry.js +2 -0
- package/dist/globuscomponents/p-8f6a956b.entry.js.map +1 -0
- package/dist/globuscomponents/p-908d4964.entry.js +2 -0
- package/dist/globuscomponents/p-908d4964.entry.js.map +1 -0
- package/dist/globuscomponents/p-9409a80e.entry.js +2 -0
- package/dist/globuscomponents/p-9409a80e.entry.js.map +1 -0
- package/dist/globuscomponents/p-a09b2304.entry.js +2 -0
- package/dist/globuscomponents/p-a09b2304.entry.js.map +1 -0
- package/dist/globuscomponents/p-a40011a7.entry.js +2 -0
- package/dist/globuscomponents/p-a40011a7.entry.js.map +1 -0
- package/dist/globuscomponents/p-a66137f5.entry.js +2 -0
- package/dist/globuscomponents/p-a66137f5.entry.js.map +1 -0
- package/dist/globuscomponents/p-ab529741.entry.js +2 -0
- package/dist/globuscomponents/p-ab529741.entry.js.map +1 -0
- package/dist/globuscomponents/p-ac35cbea.entry.js +2 -0
- package/dist/globuscomponents/p-ac35cbea.entry.js.map +1 -0
- package/dist/globuscomponents/p-bd87639a.entry.js +2 -0
- package/dist/globuscomponents/p-bd87639a.entry.js.map +1 -0
- package/dist/globuscomponents/p-bfa0476e.entry.js +2 -0
- package/dist/globuscomponents/p-bfa0476e.entry.js.map +1 -0
- package/dist/globuscomponents/p-c652e197.entry.js +2 -0
- package/dist/globuscomponents/p-c652e197.entry.js.map +1 -0
- package/dist/globuscomponents/p-c86f4d04.entry.js +2 -0
- package/dist/globuscomponents/p-c86f4d04.entry.js.map +1 -0
- package/dist/globuscomponents/p-dbaf2b13.entry.js +2 -0
- package/dist/globuscomponents/p-dbaf2b13.entry.js.map +1 -0
- package/dist/globuscomponents/p-e1255160.js +2 -0
- package/dist/globuscomponents/p-e1255160.js.map +1 -0
- package/dist/globuscomponents/p-e3e0a65e.entry.js +2 -0
- package/dist/globuscomponents/p-e3e0a65e.entry.js.map +1 -0
- package/dist/globuscomponents/p-e84fddfb.entry.js +2 -0
- package/dist/globuscomponents/p-e84fddfb.entry.js.map +1 -0
- package/dist/globuscomponents/p-eee24fd4.entry.js +2 -0
- package/dist/globuscomponents/p-eee24fd4.entry.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/gb-checkbox/gb-checkbox.d.ts +2 -0
- package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +1 -2
- package/dist/types/components.d.ts +16 -2
- package/package.json +3 -1
- package/dist/globuscomponents/gb-avatar-add-button.entry.js.map +0 -1
- package/dist/globuscomponents/gb-avatar-contrast-inner-border.entry.js.map +0 -1
- package/dist/globuscomponents/gb-avatar-dropdown.entry.js.map +0 -1
- package/dist/globuscomponents/gb-avatar-group.entry.js.map +0 -1
- package/dist/globuscomponents/gb-avatar-label-group.entry.js.map +0 -1
- package/dist/globuscomponents/gb-avatar.entry.js.map +0 -1
- package/dist/globuscomponents/gb-badge-close.entry.js.map +0 -1
- package/dist/globuscomponents/gb-btn.entry.js.map +0 -1
- package/dist/globuscomponents/gb-button-close.entry.js.map +0 -1
- package/dist/globuscomponents/gb-button.entry.js.map +0 -1
- package/dist/globuscomponents/gb-carousel-arrow.entry.js.map +0 -1
- package/dist/globuscomponents/gb-checkbox-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-checkbox-group-item.entry.js.map +0 -1
- package/dist/globuscomponents/gb-checkbox-group.entry.js.map +0 -1
- package/dist/globuscomponents/gb-checkbox.entry.js.map +0 -1
- package/dist/globuscomponents/gb-collapse-button.entry.js.map +0 -1
- package/dist/globuscomponents/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
- package/dist/globuscomponents/gb-file-type-icon.entry.js.map +0 -1
- package/dist/globuscomponents/gb-file-upload-item-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-file-upload.entry.js.map +0 -1
- package/dist/globuscomponents/gb-header-icon.entry.js.map +0 -1
- package/dist/globuscomponents/gb-header.entry.js.map +0 -1
- package/dist/globuscomponents/gb-help-dropdown.entry.js.map +0 -1
- package/dist/globuscomponents/gb-help-tooltip.entry.js.map +0 -1
- package/dist/globuscomponents/gb-horizontal-tabs.entry.js.map +0 -1
- package/dist/globuscomponents/gb-input-dropdown-menu-item.entry.js.map +0 -1
- package/dist/globuscomponents/gb-input-dropdown.entry.js.map +0 -1
- package/dist/globuscomponents/gb-input-field.entry.js.map +0 -1
- package/dist/globuscomponents/gb-megainput-field.entry.js.map +0 -1
- package/dist/globuscomponents/gb-notification-content.entry.js.map +0 -1
- package/dist/globuscomponents/gb-notification-pane.entry.js.map +0 -1
- package/dist/globuscomponents/gb-pagination-button-group-base.entry.js +0 -27
- package/dist/globuscomponents/gb-pagination-button-group-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-pagination-dot-indicator.entry.js +0 -22
- package/dist/globuscomponents/gb-pagination-dot-indicator.entry.js.map +0 -1
- package/dist/globuscomponents/gb-pagination-number-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-pagination.entry.js.map +0 -1
- package/dist/globuscomponents/gb-password-button.entry.js.map +0 -1
- package/dist/globuscomponents/gb-progress-bar.entry.js.map +0 -1
- package/dist/globuscomponents/gb-progress-circle.entry.js.map +0 -1
- package/dist/globuscomponents/gb-rich-text.entry.js.map +0 -1
- package/dist/globuscomponents/gb-scrollbar.entry.js.map +0 -1
- package/dist/globuscomponents/gb-side-bar-item.entry.js.map +0 -1
- package/dist/globuscomponents/gb-sidebar.entry.js.map +0 -1
- package/dist/globuscomponents/gb-slider-control-handle.entry.js.map +0 -1
- package/dist/globuscomponents/gb-slider.entry.js.map +0 -1
- package/dist/globuscomponents/gb-status-indicator.entry.js.map +0 -1
- package/dist/globuscomponents/gb-tab-button-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-tag-checkbox.entry.js.map +0 -1
- package/dist/globuscomponents/gb-tag-close.entry.js.map +0 -1
- package/dist/globuscomponents/gb-tag-count.entry.js.map +0 -1
- package/dist/globuscomponents/gb-tag.entry.js.map +0 -1
- package/dist/globuscomponents/gb-textarea-input-field.entry.js.map +0 -1
- package/dist/globuscomponents/gb-toast-button.entry.js.map +0 -1
- package/dist/globuscomponents/gb-toast.entry.js.map +0 -1
- package/dist/globuscomponents/gb-toggle-base.entry.js.map +0 -1
- package/dist/globuscomponents/gb-token-field.entry.js.map +0 -1
- package/dist/globuscomponents/gb-tooltip.entry.js.map +0 -1
- package/dist/globuscomponents/gb-verification-code-field.entry.js.map +0 -1
- package/dist/globuscomponents/gb-wysiwyg-editor-icon.entry.js.map +0 -1
- package/dist/globuscomponents/gb-wysiwyg-toolbar.entry.js.map +0 -1
- package/dist/globuscomponents/gb-wysiwyg-tooltip.entry.js.map +0 -1
- package/dist/globuscomponents/index-7559531b.js +0 -3013
- package/dist/globuscomponents/index-7559531b.js.map +0 -1
- package/dist/globuscomponents/reusableModels-850e92f6.js.map +0 -1
- package/dist/globuscomponents/shadow-css-7ad5caf8.js +0 -334
- package/dist/globuscomponents/shadow-css-7ad5caf8.js.map +0 -1
- /package/dist/{globuscomponents → esm}/app-globals-0f993ce5.js +0 -0
- /package/dist/{globuscomponents → esm}/app-globals-0f993ce5.js.map +0 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { h, Fragment, getAssetPath } from "@stencil/core";
|
|
2
|
+
export class GbInputField {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.size = undefined;
|
|
5
|
+
this.type = undefined;
|
|
6
|
+
this.destructive = false;
|
|
7
|
+
this.state = undefined;
|
|
8
|
+
this.showLabel = false;
|
|
9
|
+
this.label = '';
|
|
10
|
+
this.showHintText = false;
|
|
11
|
+
this.hintText = '';
|
|
12
|
+
this.errorText = '';
|
|
13
|
+
this.showPlaceholder = false;
|
|
14
|
+
this.placeholder = '';
|
|
15
|
+
this.showHelpIcon = false;
|
|
16
|
+
this.showValidation = false;
|
|
17
|
+
this.iconSwap = undefined;
|
|
18
|
+
this.showCloseButton = false;
|
|
19
|
+
this.inputValue = '';
|
|
20
|
+
this.tags = [];
|
|
21
|
+
this.leadingIconSvg = '';
|
|
22
|
+
this.isPasswordVisible = false;
|
|
23
|
+
}
|
|
24
|
+
async loadIcon(iconName) {
|
|
25
|
+
const iconPath = getAssetPath(`${iconName}`);
|
|
26
|
+
const response = await fetch(iconPath);
|
|
27
|
+
const svg = await response.text();
|
|
28
|
+
this.leadingIconSvg = svg;
|
|
29
|
+
}
|
|
30
|
+
/* Function to handle and emit the inputted values */
|
|
31
|
+
handleInput(event) {
|
|
32
|
+
const target = event.target;
|
|
33
|
+
this.inputValue = target.value;
|
|
34
|
+
this.valueChanged.emit(this.inputValue);
|
|
35
|
+
}
|
|
36
|
+
/* Function to handle and emit the inputted values */
|
|
37
|
+
togglePasswordVisibility() {
|
|
38
|
+
this.isPasswordVisible = !this.isPasswordVisible;
|
|
39
|
+
}
|
|
40
|
+
componentWillLoad() {
|
|
41
|
+
this.loadIcon(this.iconSwap);
|
|
42
|
+
}
|
|
43
|
+
componentDidLoad() {
|
|
44
|
+
const mainTextSlot = this.el.querySelector('[slot="tooltip_label"]');
|
|
45
|
+
const supportingTextSlot = this.el.querySelector('[slot="tooltip_supporting_text"]');
|
|
46
|
+
if (mainTextSlot) {
|
|
47
|
+
mainTextSlot.classList.add('text-xs-semi-bold');
|
|
48
|
+
}
|
|
49
|
+
if (supportingTextSlot) {
|
|
50
|
+
supportingTextSlot.classList.add('text-xs-regular');
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return (h("div", { key: '99178bdce81a36d046eae9cbb91eafbeb01ecb09', class: `input_container` }, h("div", { key: '33bdabba579ef9c96ff82d41e144ecff593e9e52', class: `input_with_label` }, this.showLabel && h("p", { key: '5de423ad45ecd15cbeb64aa665794d2e4f81af1e', class: "label text-sm-medium" }, this.label), this.type === 'default' && [
|
|
55
|
+
h("div", { key: '8823d4d7ebbe73e391ebc11b4ea16c6b8cbdbf67', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '2a04c564ba6def09dd79caebcb16569b304a6c0d', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && (h("svg", { key: 'e58ab0d984a457adbe162fc8527267e0f86c70d7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '19a971392a39092ddd66e994bc9b872a7f2e7252', 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: '9dbd81de221268bf5e7f3ee9f12a822c17eda547', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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" }))))))),
|
|
56
|
+
], this.type === 'icon_leading' && [
|
|
57
|
+
h("div", { key: '55cf308347844dec017206e627e0163220382bca', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'fc6934f52e00cd58448c941f50205457873a72c9', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'c0fda6466ea719bf1b9cc929a9d9ae6e783f01ab', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '8d67dba3f6e329c43eef8dca6a5beb7ece5ff4ee', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2750918ff9445f1a58e353bd3e176ed4f14e5c9e', 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: 'dd1cbeebf40ba463ea3e1bc3bb6bcf1457bf7fda', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: 'af889fdf70836570aaa7e338e548d5ea7b91f870', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg" })))),
|
|
58
|
+
], this.type === 'leading_dropdown' && (h("div", { key: '469fe7758b54fb3c77b010696c8cca2a2e490514', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '73dfc3df236bde4d2a44683366528c7cd5c9f402', class: `leading_dropdown_dropdown` }, h("div", { key: '1caa0295960789f6adddfb66e5bcd44219ba4982', class: `country_icon` }, h("img", { key: 'b1eca51e12a891d97f1c6aec35b7d8bbb0477504', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '4569935d7c80a7c81ba3e028e7dff0d3de5fcbaa', class: `dropdown_text` }, h("p", { key: 'b02642e5e28a4de6380b82949aad8657f1e2d868', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "+234")), h("div", { key: 'f449e67c9f361e06b2840371efa1d905becc1443', class: `dropdown_arrow` }, h("svg", { key: '18b7cf90431d6eae2a9824cf79fcce9093f57b2d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3c7cc624866a1fe93453c0cc1ebfbad29c2a849c', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'ff6cab04f6237b44867bc453bb7159bcbcd63a1a', class: `leading_dropdown_text_input` }, h("input", { key: '2f775099b11ce5e158abe99b02967e8b1d7475e3', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '756219c93c2dfb986fd244b6cbd1083664cf6be9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4b9afbf78325bfe00ec2178ae3d278e131fd126e', 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: 'd9ad3ac8491dece351ee5937072a57482d519c80', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: 'e7548872d184b7e4e834e1ec420a261f3761d93f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'e8147c31f3baf37091088e38a3c0a85f96a61659', class: `trailing_dropdown_content` }, h("p", { key: '01e0fa8329711708659f526d0ec9307ee0f7a319', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: 'a4c95a441896715c1bb3148e794ee2e5a9b89324', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showHelpIcon && (h("div", { key: '99799c91c47f6b7f4852043afad60e22b4947203', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: '8c924c0a2781826fc4359e091dd09c0bc8d208e4', class: `trailing_dropdown_dropdown` }, h("div", { key: 'b74ed99d94628b658e694d25d385a86df0ed1b94', class: `dropdown_text` }, h("p", { key: 'e18d2a63fa90bef10606a61c803dba6f2df5b3a8', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "USD")), h("div", { key: 'c93e880423165a902f1bdb1af0e9e99643458c53', class: `dropdown_arrow` }, h("svg", { key: 'fc701e5988465ce938839db452128ad856b8a327', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '496a1ed25c735c3ec035f00c4bb51bd6d94a8689', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'leading_text' && [
|
|
59
|
+
h("div", { key: '43b7a9b40ca04239a3c187762e26324ba3b01868', class: "leading_text_input" }, h("div", { key: '2c7a47264c3a7e4691c4cfdd9c32583b56611587', class: `add_on` }, h("p", { key: 'db67befb12613f9bd0138ace448366f93fcc2e2d', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '45e189374110d0796a26f447ed46c72cae2e743f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '8aa6303b9f5c453439fc94d06e8ab8be6bcf31d8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '773bd7bd3093ebf08970b18a932724089b7ebc40', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4b8af1a04f6ec96968208540f88f1f5c04720606', 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: 'fa2da8c3cb1fc7e5d00a287861bf2d7fdd1ecf4b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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" }))))))),
|
|
60
|
+
], this.type === 'payment_input' && (h("div", { key: 'cf2ea7d7208de105ab80f65a8b58584ccb56207d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'ce864e0ed2f480d920a396cf99f7ea20aea6866f', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '2503f8373e966efd9380ef8bca7d4ab18de4bf7f', "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: '99722bed8e55a7139be913b9b2b7cc1fe111a705', "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: '9090818d988b883d40cf2a76a76b1350092050dc', "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: '2e14ded4f3341ac52a269594968ca1a9cfbcf6a8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '0bd71709179985ea4c60ea8e225481cc987941bb', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b8e611e653b8930bbbbf0601abbe600e6fcba263', 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: '5631cc93e03d46076a241169043b9ab10d2fbe16', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: '399fe988935723c644fbd864ffaf62449afb2511', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '5ac487dd07405b178d02f3fa4e8a852275b21593', class: `trailing_button_text_input` }, h("input", { key: '36bf1bdd09d39456c5ee51b706269ef829ccc61b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '0d6bb6646dd1e1372295eb963d8d8d458eb6452a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a8f5ebd17c84b22300a3edde5c96b7c217a82099', 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: '52089d01bf2adbb9d1e7387fc6ebe2fbdf3bd14c', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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-button", { key: '4decc28ef52552a406e4615900bd4397a2edea8b', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg" }))), this.type === 'password' && (h("div", { key: '12638199feabeb531c62b44b2b684723b102369a', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c076da730431a05a1a7f5052a65d67928546005f', class: `password_content` }, h("input", { key: '91cb2bf476d9bb8215ff0c04f433f454dd4099ed', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' }), this.showValidation && !this.destructive && (h("svg", { key: '17ca0e5d7040ad234a0119cdeae450cc529507d0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7c45bbf58636b91657b702a38df33c5ed192eac9', 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: '395919cf008b926eeb47e434d9f1b88f74485404', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: '65bf46b17829350c6f3ae3e1f28f3626a030f593', class: `dropdown` }, h("gb-password-button", { key: 'b84265b5262fe05e12f9d65ee30a51dbc48c83e2', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '3e4001ec57b26d38dcd5c3bc4efcb3646eabc5bc', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'add28606305ec22232ca7034bf0c1a76b638c88a', class: `password_icon_leading_content` }, h("svg", { key: '8bf956f4f95d0597359205f2dab1d56deb9b98ae', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'bc50e87b095faa9c16bfcb497ab2946265a112d7', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 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.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 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.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.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.8142 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.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.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.2295L2.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.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 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.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'b51d3bd720ffd4c9663c69f566f8de553ff77570', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '' })), this.showValidation && !this.destructive && (h("svg", { key: '79bd73cad5e5d24d79b23d9b495c77cc1cc86978', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'db1cc5f5d4b266793a67476340918f6ec1964b82', 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: '222abd2e9a5a659f49ed9e032a5970a2e5424c1c', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: 'e8b399ae892355092d2187565cf38820fb29190b', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
61
|
+
h("div", { key: 'a53265618b5934297f1fd96f92a7b4a10018e23f', class: `count_input` }, h("div", { key: '017170502a84cec06365ae12cd7ec32634203192', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '7db2866b37dbae83580983df092cf3034a41f3d9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '' }), this.showHelpIcon && (h("div", { key: 'cc1d1c8566d4129ed65cc50e97178c2ee609c703', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (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: 'f89ba639b25c0d618fa704889880216535fd6aa8', class: `action ${this.state}` }, h("gb-button", { key: '721a99f5bc6395e3676f4533e883b20b1c81e7a9', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: 'c8cd1d1b56a62ac90c2ef48e609dcc32868cd508' }), h("gb-button", { key: '19a7e7a19e25b95cd8c97a7b41ba12616fad4203', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
|
|
62
|
+
]), this.showHintText && h("p", { key: 'f47b9ac5f6c519d999839fb5089c6b56f2eed7d0', class: "hint_text text-sm-regular" }, this.hintText)));
|
|
63
|
+
}
|
|
64
|
+
static get is() { return "gb-input-field"; }
|
|
65
|
+
static get encapsulation() { return "shadow"; }
|
|
66
|
+
static get originalStyleUrls() {
|
|
67
|
+
return {
|
|
68
|
+
"$": ["gb-input-field.css"]
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static get styleUrls() {
|
|
72
|
+
return {
|
|
73
|
+
"$": ["gb-input-field.css"]
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static get properties() {
|
|
77
|
+
return {
|
|
78
|
+
"size": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "GeneralSizes",
|
|
83
|
+
"resolved": "\"lg\" | \"md\" | \"profile_lg\" | \"profile_md\" | \"profile_sm\" | \"sm\" | \"xl\" | \"xl2\" | \"xl3\" | \"xl4\" | \"xs\" | \"xxs\"",
|
|
84
|
+
"references": {
|
|
85
|
+
"GeneralSizes": {
|
|
86
|
+
"location": "import",
|
|
87
|
+
"path": "../../models/reusableModels",
|
|
88
|
+
"id": "src/models/reusableModels.ts::GeneralSizes"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": false,
|
|
93
|
+
"optional": false,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": ""
|
|
97
|
+
},
|
|
98
|
+
"attribute": "size",
|
|
99
|
+
"reflect": false
|
|
100
|
+
},
|
|
101
|
+
"type": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "InputFieldTypes",
|
|
106
|
+
"resolved": "\"count\" | \"default\" | \"icon_leading\" | \"leading_dropdown\" | \"leading_text\" | \"password\" | \"password_icon_leading\" | \"payment_input\" | \"tags\" | \"trailing_button\" | \"trailing_dropdown\"",
|
|
107
|
+
"references": {
|
|
108
|
+
"InputFieldTypes": {
|
|
109
|
+
"location": "import",
|
|
110
|
+
"path": "../../models/reusableModels",
|
|
111
|
+
"id": "src/models/reusableModels.ts::InputFieldTypes"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": ""
|
|
120
|
+
},
|
|
121
|
+
"attribute": "type",
|
|
122
|
+
"reflect": false
|
|
123
|
+
},
|
|
124
|
+
"destructive": {
|
|
125
|
+
"type": "boolean",
|
|
126
|
+
"mutable": false,
|
|
127
|
+
"complexType": {
|
|
128
|
+
"original": "boolean",
|
|
129
|
+
"resolved": "boolean",
|
|
130
|
+
"references": {}
|
|
131
|
+
},
|
|
132
|
+
"required": false,
|
|
133
|
+
"optional": false,
|
|
134
|
+
"docs": {
|
|
135
|
+
"tags": [],
|
|
136
|
+
"text": ""
|
|
137
|
+
},
|
|
138
|
+
"attribute": "destructive",
|
|
139
|
+
"reflect": false,
|
|
140
|
+
"defaultValue": "false"
|
|
141
|
+
},
|
|
142
|
+
"state": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "'placeholder' | 'filled' | 'active' | 'disabled'",
|
|
147
|
+
"resolved": "\"active\" | \"disabled\" | \"filled\" | \"placeholder\"",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": ""
|
|
155
|
+
},
|
|
156
|
+
"attribute": "state",
|
|
157
|
+
"reflect": false
|
|
158
|
+
},
|
|
159
|
+
"showLabel": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "boolean",
|
|
164
|
+
"resolved": "boolean",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": false,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": ""
|
|
172
|
+
},
|
|
173
|
+
"attribute": "show-label",
|
|
174
|
+
"reflect": false,
|
|
175
|
+
"defaultValue": "false"
|
|
176
|
+
},
|
|
177
|
+
"label": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"mutable": false,
|
|
180
|
+
"complexType": {
|
|
181
|
+
"original": "string",
|
|
182
|
+
"resolved": "string",
|
|
183
|
+
"references": {}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": false,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": ""
|
|
190
|
+
},
|
|
191
|
+
"attribute": "label",
|
|
192
|
+
"reflect": false,
|
|
193
|
+
"defaultValue": "''"
|
|
194
|
+
},
|
|
195
|
+
"showHintText": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "boolean",
|
|
200
|
+
"resolved": "boolean",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": ""
|
|
208
|
+
},
|
|
209
|
+
"attribute": "show-hint-text",
|
|
210
|
+
"reflect": false,
|
|
211
|
+
"defaultValue": "false"
|
|
212
|
+
},
|
|
213
|
+
"hintText": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"mutable": false,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "string",
|
|
218
|
+
"resolved": "string",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": false,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": ""
|
|
226
|
+
},
|
|
227
|
+
"attribute": "hint-text",
|
|
228
|
+
"reflect": false,
|
|
229
|
+
"defaultValue": "''"
|
|
230
|
+
},
|
|
231
|
+
"errorText": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"mutable": false,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "string",
|
|
236
|
+
"resolved": "string",
|
|
237
|
+
"references": {}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": ""
|
|
244
|
+
},
|
|
245
|
+
"attribute": "error-text",
|
|
246
|
+
"reflect": false,
|
|
247
|
+
"defaultValue": "''"
|
|
248
|
+
},
|
|
249
|
+
"showPlaceholder": {
|
|
250
|
+
"type": "boolean",
|
|
251
|
+
"mutable": false,
|
|
252
|
+
"complexType": {
|
|
253
|
+
"original": "boolean",
|
|
254
|
+
"resolved": "boolean",
|
|
255
|
+
"references": {}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": false,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": ""
|
|
262
|
+
},
|
|
263
|
+
"attribute": "show-placeholder",
|
|
264
|
+
"reflect": false,
|
|
265
|
+
"defaultValue": "false"
|
|
266
|
+
},
|
|
267
|
+
"placeholder": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "string",
|
|
272
|
+
"resolved": "string",
|
|
273
|
+
"references": {}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": false,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": ""
|
|
280
|
+
},
|
|
281
|
+
"attribute": "placeholder",
|
|
282
|
+
"reflect": false,
|
|
283
|
+
"defaultValue": "''"
|
|
284
|
+
},
|
|
285
|
+
"showHelpIcon": {
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"mutable": false,
|
|
288
|
+
"complexType": {
|
|
289
|
+
"original": "boolean",
|
|
290
|
+
"resolved": "boolean",
|
|
291
|
+
"references": {}
|
|
292
|
+
},
|
|
293
|
+
"required": false,
|
|
294
|
+
"optional": false,
|
|
295
|
+
"docs": {
|
|
296
|
+
"tags": [],
|
|
297
|
+
"text": ""
|
|
298
|
+
},
|
|
299
|
+
"attribute": "show-help-icon",
|
|
300
|
+
"reflect": false,
|
|
301
|
+
"defaultValue": "false"
|
|
302
|
+
},
|
|
303
|
+
"showValidation": {
|
|
304
|
+
"type": "boolean",
|
|
305
|
+
"mutable": false,
|
|
306
|
+
"complexType": {
|
|
307
|
+
"original": "boolean",
|
|
308
|
+
"resolved": "boolean",
|
|
309
|
+
"references": {}
|
|
310
|
+
},
|
|
311
|
+
"required": false,
|
|
312
|
+
"optional": false,
|
|
313
|
+
"docs": {
|
|
314
|
+
"tags": [],
|
|
315
|
+
"text": ""
|
|
316
|
+
},
|
|
317
|
+
"attribute": "show-validation",
|
|
318
|
+
"reflect": false,
|
|
319
|
+
"defaultValue": "false"
|
|
320
|
+
},
|
|
321
|
+
"iconSwap": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"mutable": false,
|
|
324
|
+
"complexType": {
|
|
325
|
+
"original": "string",
|
|
326
|
+
"resolved": "string",
|
|
327
|
+
"references": {}
|
|
328
|
+
},
|
|
329
|
+
"required": false,
|
|
330
|
+
"optional": true,
|
|
331
|
+
"docs": {
|
|
332
|
+
"tags": [],
|
|
333
|
+
"text": ""
|
|
334
|
+
},
|
|
335
|
+
"attribute": "icon-swap",
|
|
336
|
+
"reflect": false
|
|
337
|
+
},
|
|
338
|
+
"showCloseButton": {
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"mutable": false,
|
|
341
|
+
"complexType": {
|
|
342
|
+
"original": "boolean",
|
|
343
|
+
"resolved": "boolean",
|
|
344
|
+
"references": {}
|
|
345
|
+
},
|
|
346
|
+
"required": false,
|
|
347
|
+
"optional": true,
|
|
348
|
+
"docs": {
|
|
349
|
+
"tags": [],
|
|
350
|
+
"text": ""
|
|
351
|
+
},
|
|
352
|
+
"attribute": "show-close-button",
|
|
353
|
+
"reflect": false,
|
|
354
|
+
"defaultValue": "false"
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
static get states() {
|
|
359
|
+
return {
|
|
360
|
+
"inputValue": {},
|
|
361
|
+
"tags": {},
|
|
362
|
+
"leadingIconSvg": {},
|
|
363
|
+
"isPasswordVisible": {}
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
static get events() {
|
|
367
|
+
return [{
|
|
368
|
+
"method": "tagAdded",
|
|
369
|
+
"name": "tagAdded",
|
|
370
|
+
"bubbles": true,
|
|
371
|
+
"cancelable": true,
|
|
372
|
+
"composed": true,
|
|
373
|
+
"docs": {
|
|
374
|
+
"tags": [],
|
|
375
|
+
"text": ""
|
|
376
|
+
},
|
|
377
|
+
"complexType": {
|
|
378
|
+
"original": "string",
|
|
379
|
+
"resolved": "string",
|
|
380
|
+
"references": {}
|
|
381
|
+
}
|
|
382
|
+
}, {
|
|
383
|
+
"method": "valueChanged",
|
|
384
|
+
"name": "valueChanged",
|
|
385
|
+
"bubbles": true,
|
|
386
|
+
"cancelable": true,
|
|
387
|
+
"composed": true,
|
|
388
|
+
"docs": {
|
|
389
|
+
"tags": [],
|
|
390
|
+
"text": ""
|
|
391
|
+
},
|
|
392
|
+
"complexType": {
|
|
393
|
+
"original": "string",
|
|
394
|
+
"resolved": "string",
|
|
395
|
+
"references": {}
|
|
396
|
+
}
|
|
397
|
+
}];
|
|
398
|
+
}
|
|
399
|
+
static get elementRef() { return "el"; }
|
|
400
|
+
}
|
|
401
|
+
//# sourceMappingURL=gb-input-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-input-field.js","sourceRoot":"","sources":["../../../src/components/gb-input-field/gb-input-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAgB,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAQ/G,MAAM,OAAO,YAAY;;;;2BAGQ,KAAK;;yBAEP,KAAK;qBACV,EAAE;4BACM,KAAK;wBACV,EAAE;yBACD,EAAE;+BACK,KAAK;2BACV,EAAE;4BACA,KAAK;8BACH,KAAK;;+BAEH,KAAK;0BACX,EAAE;oBACN,EAAE;8BACM,EAAE;iCACE,KAAK;;IAK3C,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;QACvC,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,qDAAqD;IACrD,WAAW,CAAC,KAAY;QACtB,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B,CAAC;QAChD,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC;QAC/B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC;IAED,qDAAqD;IACrD,wBAAwB;QACtB,IAAI,CAAC,iBAAiB,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC;IACnD,CAAC;IACD,iBAAiB;QACf,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CA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AAI,EACT,KAAK,EAAE,IAAI,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EACzD,SAAS,EAAC,eAAe,EACzB,IAAI,EAAC,MAAM,kBACE,MAAM,uBACD,uBAAuB,GAC9B;4BACb,4DAAM;4BACN,kEACE,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,IAAI,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EACzD,SAAS,EAAC,eAAe,EACzB,IAAI,EAAC,MAAM,kBACE,MAAM,uBACD,sBAAsB,GAC7B,CACT,CACF;iBACP,CACG;YACL,IAAI,CAAC,YAAY,IAAI,0DAAG,KAAK,EAAC,2BAA2B,IAAE,IAAI,CAAC,QAAQ,CAAK,CAC1E,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, State, Event, EventEmitter, Fragment, Element, getAssetPath } from '@stencil/core'\r\nimport { GeneralSizes, InputFieldTypes } from '../../models/reusableModels'\r\n\r\n@Component({\r\n tag: 'gb-input-field',\r\n styleUrl: 'gb-input-field.css',\r\n shadow: true,\r\n})\r\nexport class GbInputField {\r\n @Prop() size: GeneralSizes;\r\n @Prop() type: InputFieldTypes;\r\n @Prop() destructive: boolean = false;\r\n @Prop() state: 'placeholder' | 'filled' | 'active' | 'disabled';\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() showHintText: boolean = false;\r\n @Prop() hintText: string = '';\r\n @Prop() errorText: string = '';\r\n @Prop() showPlaceholder: boolean = false;\r\n @Prop() placeholder: string = '';\r\n @Prop() showHelpIcon: boolean = false;\r\n @Prop() showValidation: boolean = false;\r\n @Prop() iconSwap?: string;\r\n @Prop() showCloseButton?: boolean = false;\r\n @State() inputValue: string = '';\r\n @State() tags: string[] = [];\r\n @State() leadingIconSvg: string = '';\r\n @State() isPasswordVisible: boolean = false;\r\n @Event() tagAdded: EventEmitter<string>;\r\n @Event() valueChanged: EventEmitter<string>;\r\n @Element() el: HTMLElement;\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n /* Function to handle and emit the inputted values */\r\n handleInput(event: Event) {\r\n const target = event.target as HTMLInputElement;\r\n this.inputValue = target.value;\r\n this.valueChanged.emit(this.inputValue);\r\n }\r\n\r\n /* Function to handle and emit the inputted values */\r\n togglePasswordVisibility() {\r\n this.isPasswordVisible = !this.isPasswordVisible;\r\n }\r\n componentWillLoad() {\r\n this.loadIcon(this.iconSwap);\r\n }\r\n\r\n componentDidLoad() {\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`input_container`}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && <p class=\"label text-sm-medium\">{this.label}</p>}\r\n {this.type === 'default' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>,\r\n ]}\r\n {this.type === 'icon_leading' && [\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`icon ${this.size} ${this.state}`} innerHTML={this.leadingIconSvg}></div>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type=\"text\"\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n onInput={event => this.handleInput(event)}\r\n />\r\n <>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n {this.showCloseButton && !this.destructive && (\r\n <gb-button size=\"sm\" hierarchy=\"tertiary_gray\" icon=\"only\" state=\"default\" icon-leading={true} icon-leading-swap=\"assets/cancel-01.svg\"></gb-button>\r\n )}\r\n </>\r\n </div>,\r\n ]}\r\n {this.type === 'leading_dropdown' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`leading_dropdown_dropdown`}>\r\n <div class={`country_icon`}>\r\n <img src=\"build/assets/NG.svg\" alt=\"\" />\r\n </div>\r\n <div class={`dropdown_text`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n +234\r\n </p>\r\n </div>\r\n <div class={`dropdown_arrow`}>\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=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div class={`leading_dropdown_text_input`}>\r\n <input class={`content text-md-regular ${this.type} ${this.state}`} type=\"text\" placeholder={this.placeholder ? this.placeholder : ''} />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'trailing_dropdown' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`trailing_dropdown_content`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n $\r\n </p>\r\n <input class={`content text-md-regular ${this.type} ${this.state}`} type=\"text\" placeholder={this.placeholder ? this.placeholder : ''} />\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`trailing_dropdown_dropdown`}>\r\n <div class={`dropdown_text`}>\r\n <p class=\"text-md-regular\" style={{ color: 'var(--color-text, #4B5565)' }}>\r\n USD\r\n </p>\r\n </div>\r\n <div class={`dropdown_arrow`}>\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=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'leading_text' && [\r\n <div class=\"leading_text_input\">\r\n <div class={`add_on`}>\r\n <p class={`text-md-regular`} style={{ color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' }}>\r\n http://\r\n </p>\r\n </div>\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <input class={`content text-md-regular ${this.type} ${this.state}`} type=\"text\" placeholder={this.placeholder ? this.placeholder : ''} />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </div>,\r\n ]}\r\n {this.type === 'payment_input' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"23\" height=\"14\" viewBox=\"0 0 23 14\" fill=\"none\">\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n 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\"\r\n fill=\"#ED0006\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n 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\"\r\n fill=\"#F9A000\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n 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\"\r\n fill=\"#FF5E00\"\r\n />\r\n </svg>\r\n <input class={`content text-md-regular ${this.type} ${this.state}`} type=\"text\" placeholder={this.placeholder ? this.placeholder : ''} />\r\n <>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>\r\n )}\r\n {this.type === 'trailing_button' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`trailing_button_text_input`}>\r\n <input class={`content text-md-regular ${this.type} ${this.state}`} type=\"text\" placeholder={this.placeholder ? this.placeholder : ''} />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <gb-button\r\n size=\"lg\"\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/copy-01.svg\"\r\n ></gb-button>\r\n </div>\r\n )}\r\n {this.type === 'password' && (\r\n <div class={`password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`password_content`}>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type={this.isPasswordVisible ? 'text' : 'password'}\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n />\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`dropdown`}>\r\n <gb-password-button onClick={() => this.togglePasswordVisibility()}></gb-password-button>\r\n </div>\r\n </div>\r\n )}\r\n {this.type === 'password_icon_leading' && (\r\n <div class={`input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`}>\r\n <div class={`password_icon_leading_content`}>\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=\"M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 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.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 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.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.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.8142 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.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.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.2295L2.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.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 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.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z\"\r\n fill=\"#4B5565\"\r\n />\r\n </svg>\r\n <input\r\n class={`content text-md-regular ${this.type} ${this.state}`}\r\n type={this.isPasswordVisible ? 'text' : 'password'}\r\n placeholder={this.placeholder ? this.placeholder : ''}\r\n />\r\n </div>\r\n {this.showValidation && !this.destructive && (\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.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334\"\r\n stroke=\"#079455\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n <gb-password-button onClick={() => this.togglePasswordVisibility()}></gb-password-button>\r\n </div>\r\n )}\r\n {this.type === 'count' && [\r\n <div class={`count_input`}>\r\n <div class={`count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}`}>\r\n <input class={`content text-md-regular ${this.type} ${this.state}`} type=\"text\" placeholder={this.placeholder ? this.placeholder : ''} />\r\n {this.showHelpIcon && (\r\n <div class={`help_circle`}>\r\n {!this.destructive ? (\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path\r\n d=\"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\"\r\n stroke=\"#B51726\"\r\n stroke-width=\"1.33333\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n <div class={`action ${this.state}`}>\r\n <gb-button\r\n size=\"xl\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading=\"true\"\r\n icon-leading-swap=\"assets/minus_sign.svg\"\r\n ></gb-button>\r\n <hr />\r\n <gb-button\r\n size=\"xl\"\r\n state={this.state === 'disabled' ? 'disabled' : 'default'}\r\n hierarchy=\"tertiary_gray\"\r\n icon=\"only\"\r\n icon-leading=\"true\"\r\n icon-leading-swap=\"assets/plus_sign.svg\"\r\n ></gb-button>\r\n </div>\r\n </div>,\r\n ]}\r\n </div>\r\n {this.showHintText && <p class=\"hint_text text-sm-regular\">{this.hintText}</p>}\r\n </div>\r\n );\r\n }\r\n}"]}
|