globuswebcomponents 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{esm → globuscomponents}/gb-avatar-add-button.entry.js +3 -4
- package/dist/globuscomponents/gb-avatar-add-button.entry.js.map +1 -0
- package/dist/{components/p-61b701af.js → globuscomponents/gb-avatar-contrast-inner-border.entry.js} +10 -31
- package/dist/globuscomponents/gb-avatar-contrast-inner-border.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-avatar-dropdown.entry.js +3 -4
- package/dist/globuscomponents/gb-avatar-dropdown.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-avatar-group.entry.js +4 -5
- package/dist/globuscomponents/gb-avatar-group.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-avatar-label-group.entry.js +4 -5
- package/dist/globuscomponents/gb-avatar-label-group.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-avatar-profile-photo.entry.js +4 -5
- package/dist/globuscomponents/{p-9e5a906d.entry.js.map → gb-avatar-profile-photo.entry.js.map} +1 -1
- package/dist/{components/p-e95dcf9d.js → globuscomponents/gb-avatar.entry.js} +11 -50
- package/dist/globuscomponents/gb-avatar.entry.js.map +1 -0
- package/dist/{components/p-ff0fbee6.js → globuscomponents/gb-badge-close.entry.js} +9 -29
- package/dist/globuscomponents/gb-badge-close.entry.js.map +1 -0
- package/dist/{components/p-0f03d49d.js → globuscomponents/gb-badge.entry.js} +10 -62
- package/dist/{components/p-0f03d49d.js.map → globuscomponents/gb-badge.entry.js.map} +1 -1
- package/dist/{components/p-efb75405.js → globuscomponents/gb-btn.entry.js} +10 -38
- package/dist/globuscomponents/gb-btn.entry.js.map +1 -0
- package/dist/{cjs/gb-avatar-group.cjs.entry.js → globuscomponents/gb-button-close.entry.js} +9 -47
- package/dist/globuscomponents/gb-button-close.entry.js.map +1 -0
- package/dist/globuscomponents/gb-button.css +1 -1
- package/dist/{components/p-eba2b609.js → globuscomponents/gb-button.entry.js} +10 -39
- package/dist/globuscomponents/gb-button.entry.js.map +1 -0
- package/dist/{components/gb-carousel-arrow.js → globuscomponents/gb-carousel-arrow.entry.js} +9 -31
- package/dist/globuscomponents/gb-carousel-arrow.entry.js.map +1 -0
- package/dist/{components/p-0d096363.js → globuscomponents/gb-checkbox-base.entry.js} +10 -33
- package/dist/globuscomponents/gb-checkbox-base.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-checkbox-group-item.entry.js +3 -4
- package/dist/globuscomponents/gb-checkbox-group-item.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-checkbox-group.entry.js +2 -3
- package/dist/globuscomponents/gb-checkbox-group.entry.js.map +1 -0
- package/dist/{components/p-997e9613.js → globuscomponents/gb-checkbox.entry.js} +10 -41
- package/dist/globuscomponents/gb-checkbox.entry.js.map +1 -0
- package/dist/{components/p-41936911.js → globuscomponents/gb-collapse-button.entry.js} +9 -39
- package/dist/globuscomponents/gb-collapse-button.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-dropdown-items-with-shortcut.entry.js +4 -5
- package/dist/globuscomponents/gb-dropdown-items-with-shortcut.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-file-type-icon.entry.js +2 -3
- package/dist/globuscomponents/gb-file-type-icon.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-file-upload-item-base.entry.js +4 -5
- package/dist/globuscomponents/gb-file-upload-item-base.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-file-upload.entry.js +3 -4
- package/dist/globuscomponents/gb-file-upload.entry.js.map +1 -0
- package/dist/{components/p-d322d026.js → globuscomponents/gb-header-icon.entry.js} +10 -31
- package/dist/globuscomponents/gb-header-icon.entry.js.map +1 -0
- package/dist/{components/gb-header.js → globuscomponents/gb-header.entry.js} +10 -61
- package/dist/globuscomponents/gb-header.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-help-dropdown.entry.js +3 -4
- package/dist/globuscomponents/gb-help-dropdown.entry.js.map +1 -0
- package/dist/{components/p-c6769004.js → globuscomponents/gb-help-tooltip.entry.js} +10 -37
- package/dist/globuscomponents/gb-help-tooltip.entry.js.map +1 -0
- package/dist/{components/gb-horizontal-tabs.js → globuscomponents/gb-horizontal-tabs.entry.js} +20 -82
- package/dist/globuscomponents/gb-horizontal-tabs.entry.js.map +1 -0
- package/dist/{components/p-38a4d69c.js → globuscomponents/gb-input-dropdown-menu-item.entry.js} +12 -64
- package/dist/globuscomponents/gb-input-dropdown-menu-item.entry.js.map +1 -0
- package/dist/{components/p-feeed378.js → globuscomponents/gb-input-dropdown.entry.js} +15 -125
- package/dist/globuscomponents/gb-input-dropdown.entry.js.map +1 -0
- package/dist/{components/gb-input-field.js → globuscomponents/gb-input-field.entry.js} +18 -88
- package/dist/globuscomponents/gb-input-field.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-megainput-field.entry.js +5 -6
- package/dist/globuscomponents/gb-megainput-field.entry.js.map +1 -0
- package/dist/{components/p-4fcaa2a5.js → globuscomponents/gb-notification-content.entry.js} +10 -32
- package/dist/globuscomponents/gb-notification-content.entry.js.map +1 -0
- package/dist/{components/gb-notification-pane.js → globuscomponents/gb-notification-pane.entry.js} +13 -48
- package/dist/globuscomponents/gb-notification-pane.entry.js.map +1 -0
- package/dist/globuscomponents/gb-pagination-button-group-base.entry.js +27 -0
- package/dist/globuscomponents/gb-pagination-button-group-base.entry.js.map +1 -0
- package/dist/globuscomponents/gb-pagination-dot-indicator.entry.js +22 -0
- package/dist/globuscomponents/gb-pagination-dot-indicator.entry.js.map +1 -0
- package/dist/{components/gb-pagination-number-base.js → globuscomponents/gb-pagination-number-base.entry.js} +11 -33
- package/dist/globuscomponents/gb-pagination-number-base.entry.js.map +1 -0
- package/dist/{components/gb-pagination.js → globuscomponents/gb-pagination.entry.js} +10 -42
- package/dist/globuscomponents/gb-pagination.entry.js.map +1 -0
- package/dist/{components/p-ad85f456.js → globuscomponents/gb-password-button.entry.js} +10 -42
- package/dist/globuscomponents/gb-password-button.entry.js.map +1 -0
- package/dist/globuscomponents/gb-progress-bar.entry.js +22 -0
- package/dist/globuscomponents/gb-progress-bar.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-progress-circle.entry.js +3 -4
- package/dist/globuscomponents/gb-progress-circle.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-rich-text.entry.js +4 -5
- package/dist/globuscomponents/gb-rich-text.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-scrollbar.entry.js +4 -5
- package/dist/globuscomponents/gb-scrollbar.entry.js.map +1 -0
- package/dist/{components/p-ff5ea054.js → globuscomponents/gb-side-bar-item.entry.js} +11 -75
- package/dist/globuscomponents/gb-side-bar-item.entry.js.map +1 -0
- package/dist/{components/gb-sidebar.js → globuscomponents/gb-sidebar.entry.js} +11 -109
- package/dist/globuscomponents/gb-sidebar.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-slider-control-handle.entry.js +4 -5
- package/dist/globuscomponents/gb-slider-control-handle.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-slider.entry.js +4 -5
- package/dist/globuscomponents/gb-slider.entry.js.map +1 -0
- package/dist/{components/p-6f568ded.js → globuscomponents/gb-status-indicator.entry.js} +11 -33
- package/dist/globuscomponents/gb-status-indicator.entry.js.map +1 -0
- package/dist/{components/p-07620b50.js → globuscomponents/gb-tab-button-base.entry.js} +13 -67
- package/dist/globuscomponents/gb-tab-button-base.entry.js.map +1 -0
- package/dist/{cjs/gb-toast-button.cjs.entry.js → globuscomponents/gb-tag-checkbox.entry.js} +11 -20
- package/dist/globuscomponents/gb-tag-checkbox.entry.js.map +1 -0
- package/dist/{components/p-1681afeb.js → globuscomponents/gb-tag-close.entry.js} +10 -29
- package/dist/globuscomponents/gb-tag-close.entry.js.map +1 -0
- package/dist/{components/p-c834b6bf.js → globuscomponents/gb-tag-count.entry.js} +10 -29
- package/dist/globuscomponents/gb-tag-count.entry.js.map +1 -0
- package/dist/{components/p-878a922c.js → globuscomponents/gb-tag.entry.js} +10 -70
- package/dist/globuscomponents/gb-tag.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-textarea-input-field.entry.js +2 -3
- package/dist/globuscomponents/gb-textarea-input-field.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-toast-button.entry.js +4 -5
- package/dist/globuscomponents/gb-toast-button.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-toast.entry.js +5 -6
- package/dist/globuscomponents/gb-toast.entry.js.map +1 -0
- package/dist/{cjs/gb-token-field.cjs.entry.js → globuscomponents/gb-toggle-base.entry.js} +20 -18
- package/dist/globuscomponents/gb-toggle-base.entry.js.map +1 -0
- package/dist/globuscomponents/gb-toggle.entry.js +48 -0
- package/dist/{collection/components/gb-toggle/gb-toggle.js.map → globuscomponents/gb-toggle.entry.js.map} +1 -1
- package/dist/{esm → globuscomponents}/gb-token-field.entry.js +4 -5
- package/dist/globuscomponents/gb-token-field.entry.js.map +1 -0
- package/dist/{components/p-58de7a89.js → globuscomponents/gb-tooltip.entry.js} +11 -32
- package/dist/globuscomponents/gb-tooltip.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-verification-code-field.entry.js +5 -6
- package/dist/globuscomponents/gb-verification-code-field.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-wysiwyg-editor-icon.entry.js +3 -4
- package/dist/globuscomponents/gb-wysiwyg-editor-icon.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-wysiwyg-toolbar.entry.js +3 -4
- package/dist/globuscomponents/gb-wysiwyg-toolbar.entry.js.map +1 -0
- package/dist/{esm → globuscomponents}/gb-wysiwyg-tooltip.entry.js +2 -3
- package/dist/globuscomponents/gb-wysiwyg-tooltip.entry.js.map +1 -0
- package/dist/globuscomponents/global/global.css +0 -19
- package/dist/globuscomponents/globuscomponents.css +0 -19
- package/dist/globuscomponents/globuscomponents.esm.js +48 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/index-7559531b.js +3013 -0
- package/dist/globuscomponents/index-7559531b.js.map +1 -0
- package/dist/globuscomponents/index.esm.js +16 -1
- package/dist/globuscomponents/index.esm.js.map +1 -1
- package/dist/{esm/reusableModels-8496e911.js → globuscomponents/reusableModels-850e92f6.js} +2 -1
- package/dist/globuscomponents/reusableModels-850e92f6.js.map +1 -0
- package/dist/globuscomponents/shadow-css-7ad5caf8.js +334 -0
- package/dist/globuscomponents/shadow-css-7ad5caf8.js.map +1 -0
- package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +10 -0
- package/dist/types/components/gb-toggle-base/gb-toggle-base.d.ts +3 -0
- package/dist/types/components.d.ts +36 -0
- package/package.json +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/gb-avatar-add-button.cjs.entry.js +0 -26
- package/dist/cjs/gb-avatar-add-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -57
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar-group.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +0 -96
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +0 -57
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar_35.cjs.entry.js +0 -1557
- package/dist/cjs/gb-avatar_35.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-button-close_2.cjs.entry.js +0 -43
- package/dist/cjs/gb-button-close_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +0 -107
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +0 -27
- package/dist/cjs/gb-checkbox-group.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -32
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-type-icon.cjs.entry.js +0 -22
- package/dist/cjs/gb-file-type-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +0 -37
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +0 -40
- package/dist/cjs/gb-file-upload.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +0 -24
- package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-megainput-field.cjs.entry.js +0 -42
- package/dist/cjs/gb-megainput-field.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +0 -26
- package/dist/cjs/gb-progress-circle.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +0 -34
- package/dist/cjs/gb-rich-text.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +0 -23
- package/dist/cjs/gb-scrollbar.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +0 -38
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-slider.cjs.entry.js +0 -77
- package/dist/cjs/gb-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +0 -40
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-toast-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-toast.cjs.entry.js +0 -57
- package/dist/cjs/gb-toast.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-token-field.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +0 -32
- package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +0 -29
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +0 -33
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +0 -28
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/globuscomponents.cjs.js +0 -27
- package/dist/cjs/globuscomponents.cjs.js.map +0 -1
- package/dist/cjs/index-804eab7e.js +0 -1644
- package/dist/cjs/index-804eab7e.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -11
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -17
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/reusableModels-e50f3440.js +0 -21
- package/dist/cjs/reusableModels-e50f3440.js.map +0 -1
- package/dist/collection/assets/NG.svg +0 -14
- package/dist/collection/assets/Tooltip.svg +0 -4
- package/dist/collection/assets/alert-02.svg +0 -6
- package/dist/collection/assets/alert_02.svg +0 -3
- package/dist/collection/assets/arrow-left-02.svg +0 -3
- package/dist/collection/assets/arrow-right-02.svg +0 -5
- package/dist/collection/assets/arrow-turn-backward.svg +0 -5
- package/dist/collection/assets/arrow_pointing_right.svg +0 -3
- package/dist/collection/assets/arrow_pointing_up.svg +0 -9
- package/dist/collection/assets/arrow_up.svg +0 -3
- package/dist/collection/assets/avatar_pic.jpg +0 -0
- package/dist/collection/assets/bar.svg +0 -3
- package/dist/collection/assets/bar_white.svg +0 -3
- package/dist/collection/assets/blush_brush.svg +0 -3
- package/dist/collection/assets/book_open.svg +0 -3
- package/dist/collection/assets/bug_02.svg +0 -4
- package/dist/collection/assets/calendar-02.svg +0 -6
- package/dist/collection/assets/cancel-01.svg +0 -5
- package/dist/collection/assets/cancel-button.svg +0 -3
- package/dist/collection/assets/checkbox disabled_indeterminate.svg +0 -5
- package/dist/collection/assets/checkcircle default_checked.svg +0 -5
- package/dist/collection/assets/checkcircle default_unchecked.svg +0 -3
- package/dist/collection/assets/checkcircle disabled_checked.svg +0 -5
- package/dist/collection/assets/checkcircle disabled_unchecked.svg +0 -3
- package/dist/collection/assets/checked_indeterminate.svg +0 -5
- package/dist/collection/assets/checkmark.svg +0 -3
- package/dist/collection/assets/circle.svg +0 -6
- package/dist/collection/assets/column-insert.svg +0 -5
- package/dist/collection/assets/company.svg +0 -4
- package/dist/collection/assets/company_icon.svg +0 -4
- package/dist/collection/assets/configuration_02.svg +0 -3
- package/dist/collection/assets/copy-01.svg +0 -5
- package/dist/collection/assets/copy.svg +0 -3
- package/dist/collection/assets/country_icon.svg +0 -29
- package/dist/collection/assets/dark_theme.svg +0 -3
- package/dist/collection/assets/dashboard-square-03.svg +0 -14
- package/dist/collection/assets/database-sync.svg +0 -6
- package/dist/collection/assets/default_checked.svg +0 -5
- package/dist/collection/assets/default_unchecked.svg +0 -3
- package/dist/collection/assets/delete-02.svg +0 -3
- package/dist/collection/assets/disabled.svg +0 -4
- package/dist/collection/assets/disabled_checked.svg +0 -5
- package/dist/collection/assets/disabled_indeterminate.svg +0 -5
- package/dist/collection/assets/dot.svg +0 -3
- package/dist/collection/assets/exchange-01.svg +0 -5
- package/dist/collection/assets/file-verified.svg +0 -6
- package/dist/collection/assets/flag-01.svg +0 -5
- package/dist/collection/assets/globus_bank_logo.svg +0 -11
- package/dist/collection/assets/globus_bank_logo_blue.svg +0 -13
- package/dist/collection/assets/globus_bank_logo_white.svg +0 -13
- package/dist/collection/assets/help-circle.svg +0 -5
- package/dist/collection/assets/logout_button.svg +0 -3
- package/dist/collection/assets/mail-02.svg +0 -5
- package/dist/collection/assets/minus_sign.svg +0 -3
- package/dist/collection/assets/no_notification_frame.png +0 -0
- package/dist/collection/assets/no_notification_frame.svg +0 -139
- package/dist/collection/assets/notification-03.svg +0 -5
- package/dist/collection/assets/panel_bell.svg +0 -85
- package/dist/collection/assets/pattern_wrapper.png +0 -0
- package/dist/collection/assets/pattern_wrapper.svg +0 -1359
- package/dist/collection/assets/plus_sign.svg +0 -3
- package/dist/collection/assets/radiobutton default_checked.svg +0 -4
- package/dist/collection/assets/radiobutton default_unchecked.svg +0 -3
- package/dist/collection/assets/radiobutton disabled_checked.svg +0 -4
- package/dist/collection/assets/radiobutton disabled_unchecked.svg +0 -3
- package/dist/collection/assets/sample.svg +0 -5
- package/dist/collection/assets/search-01.svg +0 -3
- package/dist/collection/assets/shuffle-square.svg +0 -6
- package/dist/collection/assets/square-arrow-data-transfer-diagonal.svg +0 -6
- package/dist/collection/assets/ticked_01.svg +0 -5
- package/dist/collection/assets/tooltip.png +0 -0
- package/dist/collection/assets/user-group.svg +0 -10
- package/dist/collection/assets/user_add.svg +0 -3
- package/dist/collection/assets/user_group.svg +0 -3
- package/dist/collection/assets/user_profile.svg +0 -4
- package/dist/collection/assets/verified_tick.svg +0 -11
- package/dist/collection/collection-manifest.json +0 -74
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +0 -2730
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js +0 -84
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js.map +0 -1
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +0 -2679
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js +0 -223
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js.map +0 -1
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js +0 -65
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js.map +0 -1
- package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.tsx +0 -43
- package/dist/collection/components/gb-avatar/gb-avatar.css +0 -2975
- package/dist/collection/components/gb-avatar/gb-avatar.js +0 -271
- package/dist/collection/components/gb-avatar/gb-avatar.js.map +0 -1
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.css +0 -2781
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js +0 -113
- package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js.map +0 -1
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +0 -2718
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js +0 -119
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js.map +0 -1
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +0 -2780
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +0 -258
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +0 -1
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.css +0 -2738
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +0 -174
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js.map +0 -1
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +0 -2729
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +0 -223
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +0 -1
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +0 -2717
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js +0 -155
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js.map +0 -1
- package/dist/collection/components/gb-badge-close/gb-badge-close.css +0 -2775
- package/dist/collection/components/gb-badge-close/gb-badge-close.js +0 -67
- package/dist/collection/components/gb-badge-close/gb-badge-close.js.map +0 -1
- package/dist/collection/components/gb-badges/gb-badges.css +0 -2941
- package/dist/collection/components/gb-badges/gb-badges.js +0 -253
- package/dist/collection/components/gb-badges/gb-badges.js.map +0 -1
- package/dist/collection/components/gb-btn/gb-btn.css +0 -2984
- package/dist/collection/components/gb-btn/gb-btn.js +0 -267
- package/dist/collection/components/gb-btn/gb-btn.js.map +0 -1
- package/dist/collection/components/gb-button/gb-button.css +0 -2984
- package/dist/collection/components/gb-button/gb-button.js +0 -267
- package/dist/collection/components/gb-button/gb-button.js.map +0 -1
- package/dist/collection/components/gb-button/gb-button.tsx +0 -97
- package/dist/collection/components/gb-button/readme.md +0 -50
- package/dist/collection/components/gb-button-close/gb-button-close.css +0 -2816
- package/dist/collection/components/gb-button-close/gb-button-close.js +0 -73
- package/dist/collection/components/gb-button-close/gb-button-close.js.map +0 -1
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +0 -2699
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +0 -66
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js.map +0 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.css +0 -2711
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +0 -200
- package/dist/collection/components/gb-checkbox/gb-checkbox.js.map +0 -1
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.css +0 -2730
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +0 -235
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js.map +0 -1
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.css +0 -0
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +0 -129
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js.map +0 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +0 -2861
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +0 -232
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js.map +0 -1
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +0 -2753
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +0 -156
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js.map +0 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +0 -2764
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +0 -159
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js.map +0 -1
- 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 +0 -18
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js.map +0 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.css +0 -171
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +0 -189
- package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +0 -1
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +0 -2977
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +0 -151
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js.map +0 -1
- package/dist/collection/components/gb-header/gb-header.css +0 -29
- package/dist/collection/components/gb-header/gb-header.js +0 -200
- package/dist/collection/components/gb-header/gb-header.js.map +0 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.css +0 -2723
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +0 -96
- package/dist/collection/components/gb-header-icon/gb-header-icon.js.map +0 -1
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +0 -2707
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +0 -65
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js.map +0 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.css +0 -2690
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +0 -80
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js.map +0 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +0 -2730
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +0 -357
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +0 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +0 -2822
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +0 -468
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +0 -1
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +0 -2782
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +0 -127
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +0 -1
- package/dist/collection/components/gb-input-field/gb-input-field.css +0 -2894
- package/dist/collection/components/gb-input-field/gb-input-field.js +0 -401
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +0 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +0 -2777
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +0 -90
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js.map +0 -1
- package/dist/collection/components/gb-notification-content/gb-notification-content.css +0 -2736
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +0 -101
- package/dist/collection/components/gb-notification-content/gb-notification-content.js.map +0 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +0 -2723
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +0 -93
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +0 -1
- package/dist/collection/components/gb-pagination/gb-pagination.css +0 -2720
- package/dist/collection/components/gb-pagination/gb-pagination.js +0 -135
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +0 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.css +0 -31
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +0 -86
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js.map +0 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.css +0 -30
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +0 -87
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js.map +0 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +0 -2706
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +0 -56
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js.map +0 -1
- package/dist/collection/components/gb-password-button/gb-password-button.css +0 -2690
- package/dist/collection/components/gb-password-button/gb-password-button.js +0 -52
- package/dist/collection/components/gb-password-button/gb-password-button.js.map +0 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +0 -2802
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +0 -102
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js.map +0 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.css +0 -39
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +0 -105
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js.map +0 -1
- package/dist/collection/components/gb-rich-text/gb-rich-text.css +0 -2679
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +0 -173
- package/dist/collection/components/gb-rich-text/gb-rich-text.js.map +0 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +0 -2712
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +0 -44
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js.map +0 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +0 -2844
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +0 -227
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js.map +0 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +0 -2840
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +0 -629
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +0 -1
- package/dist/collection/components/gb-slider/gb-slider.css +0 -2707
- package/dist/collection/components/gb-slider/gb-slider.js +0 -157
- package/dist/collection/components/gb-slider/gb-slider.js.map +0 -1
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +0 -2764
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +0 -82
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js.map +0 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +0 -2835
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +0 -115
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js.map +0 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +0 -2957
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +0 -206
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +0 -1
- package/dist/collection/components/gb-tag/gb-tag.css +0 -2746
- package/dist/collection/components/gb-tag/gb-tag.js +0 -140
- package/dist/collection/components/gb-tag/gb-tag.js.map +0 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +0 -2751
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +0 -82
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js.map +0 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.css +0 -2720
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +0 -49
- package/dist/collection/components/gb-tag-close/gb-tag-close.js.map +0 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.css +0 -2741
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +0 -49
- package/dist/collection/components/gb-tag-count/gb-tag-count.js.map +0 -1
- 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 +0 -198
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +0 -1
- package/dist/collection/components/gb-toast/gb-toast.css +0 -2962
- package/dist/collection/components/gb-toast/gb-toast.js +0 -177
- package/dist/collection/components/gb-toast/gb-toast.js.map +0 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.css +0 -2742
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +0 -78
- package/dist/collection/components/gb-toast-button/gb-toast-button.js.map +0 -1
- package/dist/collection/components/gb-toggle/gb-toggle.css +0 -28
- package/dist/collection/components/gb-toggle/gb-toggle.js +0 -138
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +0 -2786
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +0 -99
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js.map +0 -1
- package/dist/collection/components/gb-token-field/gb-token-field.css +0 -2679
- package/dist/collection/components/gb-token-field/gb-token-field.js +0 -141
- package/dist/collection/components/gb-token-field/gb-token-field.js.map +0 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.css +0 -2823
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +0 -102
- package/dist/collection/components/gb-tooltip/gb-tooltip.js.map +0 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +0 -2704
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +0 -145
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js.map +0 -1
- package/dist/collection/global/global.css +0 -2679
- package/dist/collection/global/spacing.css +0 -43
- package/dist/collection/global/tailwind.css +0 -3
- package/dist/collection/global/typo.css +0 -496
- package/dist/collection/global/typography.css +0 -1020
- package/dist/collection/index.js +0 -11
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/models/reusableModels.js +0 -19
- package/dist/collection/models/reusableModels.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -4
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/gb-avatar-add-button.js +0 -8
- package/dist/components/gb-avatar-add-button.js.map +0 -1
- package/dist/components/gb-avatar-contrast-inner-border.js +0 -8
- package/dist/components/gb-avatar-contrast-inner-border.js.map +0 -1
- package/dist/components/gb-avatar-dropdown.js +0 -126
- package/dist/components/gb-avatar-dropdown.js.map +0 -1
- package/dist/components/gb-avatar-group.js +0 -109
- package/dist/components/gb-avatar-group.js.map +0 -1
- package/dist/components/gb-avatar-label-group.js +0 -8
- package/dist/components/gb-avatar-label-group.js.map +0 -1
- package/dist/components/gb-avatar-profile-photo.js +0 -96
- package/dist/components/gb-avatar-profile-photo.js.map +0 -1
- package/dist/components/gb-avatar.js +0 -8
- package/dist/components/gb-avatar.js.map +0 -1
- package/dist/components/gb-badge-close.js +0 -8
- package/dist/components/gb-badge-close.js.map +0 -1
- package/dist/components/gb-badge.js +0 -8
- package/dist/components/gb-badge.js.map +0 -1
- package/dist/components/gb-btn.js +0 -8
- package/dist/components/gb-btn.js.map +0 -1
- package/dist/components/gb-button-close.js +0 -8
- package/dist/components/gb-button-close.js.map +0 -1
- package/dist/components/gb-button.js +0 -8
- package/dist/components/gb-button.js.map +0 -1
- package/dist/components/gb-carousel-arrow.js.map +0 -1
- package/dist/components/gb-checkbox-base.js +0 -8
- package/dist/components/gb-checkbox-base.js.map +0 -1
- package/dist/components/gb-checkbox-group-item.js +0 -8
- package/dist/components/gb-checkbox-group-item.js.map +0 -1
- package/dist/components/gb-checkbox-group.js +0 -90
- package/dist/components/gb-checkbox-group.js.map +0 -1
- package/dist/components/gb-checkbox.js +0 -8
- package/dist/components/gb-checkbox.js.map +0 -1
- package/dist/components/gb-collapse-button.js +0 -8
- package/dist/components/gb-collapse-button.js.map +0 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +0 -8
- package/dist/components/gb-dropdown-items-with-shortcut.js.map +0 -1
- package/dist/components/gb-file-type-icon.js +0 -37
- package/dist/components/gb-file-type-icon.js.map +0 -1
- package/dist/components/gb-file-upload-item-base.js +0 -8
- package/dist/components/gb-file-upload-item-base.js.map +0 -1
- package/dist/components/gb-file-upload.js +0 -93
- package/dist/components/gb-file-upload.js.map +0 -1
- package/dist/components/gb-header-icon.js +0 -8
- package/dist/components/gb-header-icon.js.map +0 -1
- package/dist/components/gb-header.js.map +0 -1
- package/dist/components/gb-help-dropdown.js +0 -60
- package/dist/components/gb-help-dropdown.js.map +0 -1
- package/dist/components/gb-help-tooltip.js +0 -8
- package/dist/components/gb-help-tooltip.js.map +0 -1
- package/dist/components/gb-horizontal-tabs.js.map +0 -1
- package/dist/components/gb-input-dropdown-menu-item.js +0 -8
- package/dist/components/gb-input-dropdown-menu-item.js.map +0 -1
- package/dist/components/gb-input-dropdown.js +0 -8
- package/dist/components/gb-input-dropdown.js.map +0 -1
- package/dist/components/gb-input-field.js.map +0 -1
- package/dist/components/gb-megainput-field.js +0 -8
- package/dist/components/gb-megainput-field.js.map +0 -1
- package/dist/components/gb-notification-content.js +0 -8
- package/dist/components/gb-notification-content.js.map +0 -1
- package/dist/components/gb-notification-pane.js.map +0 -1
- package/dist/components/gb-pagination-button-group-base.js +0 -51
- package/dist/components/gb-pagination-button-group-base.js.map +0 -1
- package/dist/components/gb-pagination-dot-indicator.js +0 -45
- package/dist/components/gb-pagination-dot-indicator.js.map +0 -1
- package/dist/components/gb-pagination-number-base.js.map +0 -1
- package/dist/components/gb-pagination.js.map +0 -1
- package/dist/components/gb-password-button.js +0 -8
- package/dist/components/gb-password-button.js.map +0 -1
- package/dist/components/gb-progress-bar.js +0 -8
- package/dist/components/gb-progress-bar.js.map +0 -1
- package/dist/components/gb-progress-circle.js +0 -46
- package/dist/components/gb-progress-circle.js.map +0 -1
- package/dist/components/gb-rich-text.js +0 -148
- package/dist/components/gb-rich-text.js.map +0 -1
- package/dist/components/gb-scrollbar.js +0 -40
- package/dist/components/gb-scrollbar.js.map +0 -1
- package/dist/components/gb-side-bar-item.js +0 -8
- package/dist/components/gb-side-bar-item.js.map +0 -1
- package/dist/components/gb-sidebar.js.map +0 -1
- package/dist/components/gb-slider-control-handle.js +0 -8
- package/dist/components/gb-slider-control-handle.js.map +0 -1
- package/dist/components/gb-slider.js +0 -110
- package/dist/components/gb-slider.js.map +0 -1
- package/dist/components/gb-status-indicator.js +0 -8
- package/dist/components/gb-status-indicator.js.map +0 -1
- package/dist/components/gb-tab-button-base.js +0 -8
- package/dist/components/gb-tab-button-base.js.map +0 -1
- package/dist/components/gb-tag-checkbox.js +0 -8
- package/dist/components/gb-tag-checkbox.js.map +0 -1
- package/dist/components/gb-tag-close.js +0 -8
- package/dist/components/gb-tag-close.js.map +0 -1
- package/dist/components/gb-tag-count.js +0 -8
- package/dist/components/gb-tag-count.js.map +0 -1
- package/dist/components/gb-tag.js +0 -8
- package/dist/components/gb-tag.js.map +0 -1
- package/dist/components/gb-textarea-input-field.js +0 -65
- package/dist/components/gb-textarea-input-field.js.map +0 -1
- package/dist/components/gb-toast-button.js +0 -8
- package/dist/components/gb-toast-button.js.map +0 -1
- package/dist/components/gb-toast.js +0 -97
- package/dist/components/gb-toast.js.map +0 -1
- package/dist/components/gb-toggle-base.js +0 -8
- package/dist/components/gb-toggle-base.js.map +0 -1
- package/dist/components/gb-toggle.js +0 -79
- package/dist/components/gb-toggle.js.map +0 -1
- package/dist/components/gb-token-field.js +0 -56
- package/dist/components/gb-token-field.js.map +0 -1
- package/dist/components/gb-tooltip.js +0 -8
- package/dist/components/gb-tooltip.js.map +0 -1
- package/dist/components/gb-verification-code-field.js +0 -60
- package/dist/components/gb-verification-code-field.js.map +0 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +0 -8
- package/dist/components/gb-wysiwyg-editor-icon.js.map +0 -1
- package/dist/components/gb-wysiwyg-toolbar.js +0 -8
- package/dist/components/gb-wysiwyg-toolbar.js.map +0 -1
- package/dist/components/gb-wysiwyg-tooltip.js +0 -52
- package/dist/components/gb-wysiwyg-tooltip.js.map +0 -1
- package/dist/components/index.js +0 -9
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-0606ed36.js +0 -44
- package/dist/components/p-0606ed36.js.map +0 -1
- package/dist/components/p-07620b50.js.map +0 -1
- package/dist/components/p-0d096363.js.map +0 -1
- package/dist/components/p-1681afeb.js.map +0 -1
- package/dist/components/p-17eacbff.js +0 -48
- package/dist/components/p-17eacbff.js.map +0 -1
- package/dist/components/p-2a1e683b.js +0 -45
- package/dist/components/p-2a1e683b.js.map +0 -1
- package/dist/components/p-38a4d69c.js.map +0 -1
- package/dist/components/p-41936911.js.map +0 -1
- package/dist/components/p-47052b60.js +0 -21
- package/dist/components/p-47052b60.js.map +0 -1
- package/dist/components/p-4fcaa2a5.js.map +0 -1
- package/dist/components/p-58de7a89.js.map +0 -1
- package/dist/components/p-5dff23c0.js +0 -162
- package/dist/components/p-5dff23c0.js.map +0 -1
- package/dist/components/p-61b701af.js.map +0 -1
- package/dist/components/p-6f568ded.js.map +0 -1
- package/dist/components/p-856678f0.js +0 -49
- package/dist/components/p-856678f0.js.map +0 -1
- package/dist/components/p-86b85274.js +0 -79
- package/dist/components/p-86b85274.js.map +0 -1
- package/dist/components/p-878a922c.js.map +0 -1
- package/dist/components/p-8a7a28cf.js +0 -133
- package/dist/components/p-8a7a28cf.js.map +0 -1
- package/dist/components/p-997e9613.js.map +0 -1
- package/dist/components/p-a186498c.js +0 -39
- package/dist/components/p-a186498c.js.map +0 -1
- package/dist/components/p-ad85f456.js.map +0 -1
- package/dist/components/p-ae036e88.js +0 -50
- package/dist/components/p-ae036e88.js.map +0 -1
- package/dist/components/p-af734f53.js +0 -41
- package/dist/components/p-af734f53.js.map +0 -1
- package/dist/components/p-b81a8e53.js +0 -141
- package/dist/components/p-b81a8e53.js.map +0 -1
- package/dist/components/p-c6769004.js.map +0 -1
- package/dist/components/p-c834b6bf.js.map +0 -1
- package/dist/components/p-c991b6ce.js +0 -1439
- package/dist/components/p-c991b6ce.js.map +0 -1
- package/dist/components/p-d322d026.js.map +0 -1
- package/dist/components/p-d740012c.js +0 -61
- package/dist/components/p-d740012c.js.map +0 -1
- package/dist/components/p-e95dcf9d.js.map +0 -1
- package/dist/components/p-eaa5283c.js +0 -58
- package/dist/components/p-eaa5283c.js.map +0 -1
- package/dist/components/p-eba2b609.js.map +0 -1
- package/dist/components/p-efb75405.js.map +0 -1
- package/dist/components/p-f65c92ac.js +0 -64
- package/dist/components/p-f65c92ac.js.map +0 -1
- package/dist/components/p-feeed378.js.map +0 -1
- package/dist/components/p-ff0fbee6.js.map +0 -1
- package/dist/components/p-ff5ea054.js.map +0 -1
- package/dist/esm/gb-avatar-add-button.entry.js.map +0 -1
- package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-avatar-group.entry.js.map +0 -1
- package/dist/esm/gb-avatar-label-group.entry.js.map +0 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js.map +0 -1
- package/dist/esm/gb-avatar_35.entry.js +0 -1519
- package/dist/esm/gb-avatar_35.entry.js.map +0 -1
- package/dist/esm/gb-button-close_2.entry.js +0 -38
- package/dist/esm/gb-button-close_2.entry.js.map +0 -1
- package/dist/esm/gb-checkbox-group-item.entry.js.map +0 -1
- package/dist/esm/gb-checkbox-group.entry.js.map +0 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
- package/dist/esm/gb-file-type-icon.entry.js.map +0 -1
- package/dist/esm/gb-file-upload-item-base.entry.js.map +0 -1
- package/dist/esm/gb-file-upload.entry.js.map +0 -1
- package/dist/esm/gb-help-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-megainput-field.entry.js.map +0 -1
- package/dist/esm/gb-progress-circle.entry.js.map +0 -1
- package/dist/esm/gb-rich-text.entry.js.map +0 -1
- package/dist/esm/gb-scrollbar.entry.js.map +0 -1
- package/dist/esm/gb-slider-control-handle.entry.js.map +0 -1
- package/dist/esm/gb-slider.entry.js.map +0 -1
- package/dist/esm/gb-textarea-input-field.entry.js.map +0 -1
- package/dist/esm/gb-toast-button.entry.js.map +0 -1
- package/dist/esm/gb-toast.entry.js.map +0 -1
- package/dist/esm/gb-token-field.entry.js.map +0 -1
- package/dist/esm/gb-verification-code-field.entry.js.map +0 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +0 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +0 -1
- package/dist/esm/gb-wysiwyg-tooltip.entry.js.map +0 -1
- package/dist/esm/globuscomponents.js +0 -22
- package/dist/esm/globuscomponents.js.map +0 -1
- package/dist/esm/index-be73e596.js +0 -1614
- package/dist/esm/index-be73e596.js.map +0 -1
- package/dist/esm/index.js +0 -7
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -13
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/reusableModels-8496e911.js.map +0 -1
- package/dist/globuscomponents/p-099f0198.entry.js +0 -2
- package/dist/globuscomponents/p-099f0198.entry.js.map +0 -1
- package/dist/globuscomponents/p-0cc29bc9.entry.js +0 -2
- package/dist/globuscomponents/p-0cc29bc9.entry.js.map +0 -1
- package/dist/globuscomponents/p-23937161.entry.js +0 -2
- package/dist/globuscomponents/p-23937161.entry.js.map +0 -1
- package/dist/globuscomponents/p-2fe41980.entry.js +0 -2
- package/dist/globuscomponents/p-2fe41980.entry.js.map +0 -1
- package/dist/globuscomponents/p-32c4a3d1.entry.js +0 -2
- package/dist/globuscomponents/p-32c4a3d1.entry.js.map +0 -1
- package/dist/globuscomponents/p-3ead3cb9.entry.js +0 -2
- package/dist/globuscomponents/p-3ead3cb9.entry.js.map +0 -1
- package/dist/globuscomponents/p-408fa2e8.entry.js +0 -2
- package/dist/globuscomponents/p-408fa2e8.entry.js.map +0 -1
- package/dist/globuscomponents/p-47052b60.js +0 -2
- package/dist/globuscomponents/p-47052b60.js.map +0 -1
- package/dist/globuscomponents/p-4eebea94.entry.js +0 -2
- package/dist/globuscomponents/p-4eebea94.entry.js.map +0 -1
- package/dist/globuscomponents/p-593875d5.js +0 -3
- package/dist/globuscomponents/p-593875d5.js.map +0 -1
- package/dist/globuscomponents/p-5b54d63f.entry.js +0 -2
- package/dist/globuscomponents/p-5b54d63f.entry.js.map +0 -1
- package/dist/globuscomponents/p-67af3494.entry.js +0 -2
- package/dist/globuscomponents/p-67af3494.entry.js.map +0 -1
- package/dist/globuscomponents/p-70484be9.entry.js +0 -2
- package/dist/globuscomponents/p-70484be9.entry.js.map +0 -1
- package/dist/globuscomponents/p-7583e7a9.entry.js +0 -2
- package/dist/globuscomponents/p-7583e7a9.entry.js.map +0 -1
- package/dist/globuscomponents/p-7d0f577a.entry.js +0 -2
- package/dist/globuscomponents/p-7d0f577a.entry.js.map +0 -1
- package/dist/globuscomponents/p-81eb4639.entry.js +0 -2
- package/dist/globuscomponents/p-81eb4639.entry.js.map +0 -1
- package/dist/globuscomponents/p-955169b6.entry.js +0 -2
- package/dist/globuscomponents/p-955169b6.entry.js.map +0 -1
- package/dist/globuscomponents/p-9686966d.entry.js +0 -2
- package/dist/globuscomponents/p-9686966d.entry.js.map +0 -1
- package/dist/globuscomponents/p-9e5a906d.entry.js +0 -2
- package/dist/globuscomponents/p-9f351ab5.entry.js +0 -2
- package/dist/globuscomponents/p-9f351ab5.entry.js.map +0 -1
- package/dist/globuscomponents/p-a873668f.entry.js +0 -2
- package/dist/globuscomponents/p-a873668f.entry.js.map +0 -1
- package/dist/globuscomponents/p-af74edcc.entry.js +0 -2
- package/dist/globuscomponents/p-af74edcc.entry.js.map +0 -1
- package/dist/globuscomponents/p-b9119833.entry.js +0 -2
- package/dist/globuscomponents/p-b9119833.entry.js.map +0 -1
- package/dist/globuscomponents/p-d02d2276.entry.js +0 -2
- package/dist/globuscomponents/p-d02d2276.entry.js.map +0 -1
- package/dist/globuscomponents/p-d62aeed0.entry.js +0 -2
- package/dist/globuscomponents/p-d62aeed0.entry.js.map +0 -1
- package/dist/globuscomponents/p-e1255160.js +0 -2
- package/dist/globuscomponents/p-e1255160.js.map +0 -1
- package/dist/globuscomponents/p-e1f35913.entry.js +0 -2
- package/dist/globuscomponents/p-e1f35913.entry.js.map +0 -1
- package/dist/globuscomponents/p-e3e0a65e.entry.js +0 -2
- package/dist/globuscomponents/p-e3e0a65e.entry.js.map +0 -1
- package/dist/globuscomponents/p-e7a2c0ef.entry.js +0 -2
- package/dist/globuscomponents/p-e7a2c0ef.entry.js.map +0 -1
- package/dist/globuscomponents/p-f26ae7b4.entry.js +0 -2
- package/dist/globuscomponents/p-f26ae7b4.entry.js.map +0 -1
- package/dist/globuscomponents/p-ff62ff49.entry.js +0 -2
- package/dist/globuscomponents/p-ff62ff49.entry.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- /package/dist/{esm → globuscomponents}/app-globals-0f993ce5.js +0 -0
- /package/dist/{esm → globuscomponents}/app-globals-0f993ce5.js.map +0 -0
|
@@ -1,468 +0,0 @@
|
|
|
1
|
-
import { h, Fragment, getAssetPath } from "@stencil/core";
|
|
2
|
-
import { StateEnum } from "../../models/reusableModels";
|
|
3
|
-
export class GbInputDropdown {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.handleOutsideClick = (event) => {
|
|
6
|
-
if (this.type === 'tags' && this.dropdownOpen && !this.dropdownRef.contains(event.target)) {
|
|
7
|
-
this.dropdownOpen = false; // Close the dropdown
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
this.type = undefined;
|
|
11
|
-
this.state = undefined;
|
|
12
|
-
this.size = undefined;
|
|
13
|
-
this.showLabel = false;
|
|
14
|
-
this.label = '';
|
|
15
|
-
this.placeholder = '';
|
|
16
|
-
this.showHintText = undefined;
|
|
17
|
-
this.hintText = '';
|
|
18
|
-
this.showHelpIcon = undefined;
|
|
19
|
-
this.showLeadingIcon = false;
|
|
20
|
-
this.iconSwap = '';
|
|
21
|
-
this.text = false;
|
|
22
|
-
this.leadingIcon = '';
|
|
23
|
-
this.items = [];
|
|
24
|
-
this.supportingText = false;
|
|
25
|
-
this.leadingIconSvg = '';
|
|
26
|
-
this.dropdownOpen = false;
|
|
27
|
-
this.selectedItems = [];
|
|
28
|
-
this.selectedItem = undefined;
|
|
29
|
-
this.isSelected = false;
|
|
30
|
-
}
|
|
31
|
-
disconnectedCallback() {
|
|
32
|
-
document.removeEventListener('click', this.handleOutsideClick);
|
|
33
|
-
}
|
|
34
|
-
toggleDropdown() {
|
|
35
|
-
if (this.state !== 'disabled') {
|
|
36
|
-
this.dropdownOpen = !this.dropdownOpen;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
isItemSelected(selectedItem) {
|
|
40
|
-
const found = this.selectedItems.find(item => item.name === selectedItem.name);
|
|
41
|
-
return found !== undefined;
|
|
42
|
-
}
|
|
43
|
-
async loadIcon(iconName) {
|
|
44
|
-
const iconPath = getAssetPath(`${iconName}`);
|
|
45
|
-
const response = await fetch(iconPath);
|
|
46
|
-
const svg = await response.text();
|
|
47
|
-
this.leadingIconSvg = svg;
|
|
48
|
-
}
|
|
49
|
-
getAvatarSize() {
|
|
50
|
-
switch (this.size) {
|
|
51
|
-
case 'sm':
|
|
52
|
-
return 'xs';
|
|
53
|
-
case 'md':
|
|
54
|
-
return 'xs';
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
sortDropdownItems(menuItems) {
|
|
58
|
-
return menuItems.sort((a, b) => {
|
|
59
|
-
if (a.selected && !b.selected) {
|
|
60
|
-
return -1; // Move selected items up
|
|
61
|
-
}
|
|
62
|
-
else if (!a.selected && b.selected) {
|
|
63
|
-
return 1; // Keep unselected items down
|
|
64
|
-
}
|
|
65
|
-
return 0; // Keep order if both are selected or unselected
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
handleItemSelect(item) {
|
|
69
|
-
// item.selected = !item.selected;
|
|
70
|
-
if (this.type === 'tags') {
|
|
71
|
-
const itemExists = this.selectedItems.some(i => i.name === item.name);
|
|
72
|
-
if (itemExists) {
|
|
73
|
-
this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
this.selectedItem = item;
|
|
77
|
-
this.selectedItems.push(this.selectedItem);
|
|
78
|
-
this.value.emit(this.selectedItems);
|
|
79
|
-
}
|
|
80
|
-
// Update the state based on whether there are selected items
|
|
81
|
-
this.state = this.selectedItems.length > 0 ? 'filled' : 'default';
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
// For other types, allow only one selection
|
|
85
|
-
this.selectedItems = [item]; // Replace with the new item
|
|
86
|
-
this.selectedItem = item; // Store the selected item
|
|
87
|
-
this.state = 'filled'; // Update state to 'filled'
|
|
88
|
-
this.dropdownOpen = false; // Close the dropdown
|
|
89
|
-
this.value.emit(this.selectedItem);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
handleTagRemove(item) {
|
|
93
|
-
// Remove the item from selectedItems array
|
|
94
|
-
this.selectedItems = this.selectedItems.filter(i => i !== item);
|
|
95
|
-
// For non-tags type, set selectedItem to null if that item is removed
|
|
96
|
-
if (this.type !== 'tags' && this.selectedItem === item) {
|
|
97
|
-
this.selectedItem = null;
|
|
98
|
-
}
|
|
99
|
-
// Update state based on whether there are selected items
|
|
100
|
-
this.state = this.selectedItems.length > 0 ? 'filled' : 'default';
|
|
101
|
-
}
|
|
102
|
-
componentWillLoad() {
|
|
103
|
-
this.loadIcon(this.leadingIcon);
|
|
104
|
-
}
|
|
105
|
-
componentDidLoad() {
|
|
106
|
-
if (this.type !== 'tags') {
|
|
107
|
-
document.addEventListener('click', this.handleOutsideClick);
|
|
108
|
-
}
|
|
109
|
-
const slottedInitials = this.el.querySelector('[slot="initials"]');
|
|
110
|
-
const mainTextSlot = this.el.querySelector('[slot="tooltip_label"]');
|
|
111
|
-
const supportingTextSlot = this.el.querySelector('[slot="tooltip_supporting_text"]');
|
|
112
|
-
slottedInitials.classList.add('text-xxs-semi-bold');
|
|
113
|
-
if (mainTextSlot) {
|
|
114
|
-
mainTextSlot.classList.add('text-xs-semi-bold');
|
|
115
|
-
}
|
|
116
|
-
if (supportingTextSlot) {
|
|
117
|
-
supportingTextSlot.classList.add('text-xs-regular');
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
render() {
|
|
121
|
-
const items = [
|
|
122
|
-
{
|
|
123
|
-
name: 'Emmanuel Kadiri',
|
|
124
|
-
username: 'kadiri2047',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: 'Gideon Ogunkola',
|
|
128
|
-
username: 'gideon',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
name: 'Precious Okon',
|
|
132
|
-
username: 'presh',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: 'Efe Dakara',
|
|
136
|
-
username: 'efe',
|
|
137
|
-
},
|
|
138
|
-
];
|
|
139
|
-
return [
|
|
140
|
-
h("div", { key: '8e097eb054224afad356abd245f265ae9cc04564', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`, onClick: () => this.toggleDropdown() }, this.showLabel && (h("p", { key: 'f06e8c23fb1ce8678e817cf0764f43db45313b3c', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: 'ceb69ff72ff9fa26fcf917f70b006126b1fff285', class: `input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}` }, this.type === 'icon_leading' && (h("svg", { key: '15739fba4a442826fcd821023af1c55dc37e4c63', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '90ba7deef1f2f8682be22f4967c4e4c4f1a09fc9', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: '91b14aee9660b791787b4d6189bf4a7f411aa86f', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: 'd2e8211b76d267ca45e4e074723c44f91621437a', size: "xs", text: this.text, color: "blue" }, !this.text ? h("slot", { slot: "image", name: "image" }) : h("slot", { slot: "initials", name: "initials" }))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: '1e8321f03d2bac8a6010e0d1b59f117533604ed6', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'fec220d98fff1f334e00de77f136a782cc305fc5', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: 'b490463ce2e9ce67e4eff90b6e56f6c90cdf68a8', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("p", { key: 'c886418dc55100310fc37e8da763623b23f5a2a3', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder)))), this.state === 'filled' && (h(Fragment, null, h("div", { key: 'f7983a88efd40f7e358271de0b21b02a55a01de6', class: `content` }, h("div", { key: '0f698c2ef9c4c435ac8fb73202f982a07c8e9ef9', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags'
|
|
141
|
-
? this.selectedItems.map((item, index) => (h("div", { class: "added_tag" }, h("gb-tag", { size: "sm", icon: "avatar", action: "X_close", key: index, onClick: () => this.handleTagRemove(item) }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase()))))))
|
|
142
|
-
: this.selectedItem.name), this.supportingText && (h("div", { key: '80d4a017c079705ce396fb81d3e730e0b98ae33a', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type === 'tags'
|
|
143
|
-
? this.selectedItems.map(item => item.username).join(', ') // For multiple selections
|
|
144
|
-
: this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: '1f00fa58faee76b5f024dcb6abd7be99bdf89bd5', class: `help_icon` }, h("gb-help-tooltip", { key: '065c4262d724e19d83322db9f1cbe99e74effca3', "show-supporting-text": true }, h("slot", { key: '1d7f77c03186399ac45c71dbdab723c8434a9259', name: "tooltip_label", slot: "label" }), h("slot", { key: '3a73cabc64b0b37862e8e5e6d344bcd43dfd158f', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '7c79ed38a96eef785ddc8df01d227cefb82ca310', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: 'cc8f23dc5b504467d97d7c5707a8e3494cad7105', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '6e2f244e59a9941ff5c359d32d75dc11a50c2ad4', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showHintText && (h("p", { key: 'f224720930d8915ee44bdd373eef5ad66f20443d', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))),
|
|
145
|
-
h(Fragment, null, this.dropdownOpen && (h("div", { key: '3bc5045176e39be789892911312e4e6831715a21', class: "dropdown_menu", ref: el => (this.dropdownRef = el) }, items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username))))))),
|
|
146
|
-
];
|
|
147
|
-
}
|
|
148
|
-
static get is() { return "gb-input-dropdown"; }
|
|
149
|
-
static get encapsulation() { return "shadow"; }
|
|
150
|
-
static get originalStyleUrls() {
|
|
151
|
-
return {
|
|
152
|
-
"$": ["gb-input-dropdown.css"]
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
static get styleUrls() {
|
|
156
|
-
return {
|
|
157
|
-
"$": ["gb-input-dropdown.css"]
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
static get properties() {
|
|
161
|
-
return {
|
|
162
|
-
"type": {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"mutable": false,
|
|
165
|
-
"complexType": {
|
|
166
|
-
"original": "DropdownTypes",
|
|
167
|
-
"resolved": "\"avatar_leading\" | \"checkbox\" | \"default\" | \"dot_leading\" | \"icon_leading\" | \"search\" | \"tags\"",
|
|
168
|
-
"references": {
|
|
169
|
-
"DropdownTypes": {
|
|
170
|
-
"location": "import",
|
|
171
|
-
"path": "../../models/reusableModels",
|
|
172
|
-
"id": "src/models/reusableModels.ts::DropdownTypes"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"required": false,
|
|
177
|
-
"optional": false,
|
|
178
|
-
"docs": {
|
|
179
|
-
"tags": [],
|
|
180
|
-
"text": ""
|
|
181
|
-
},
|
|
182
|
-
"attribute": "type",
|
|
183
|
-
"reflect": false
|
|
184
|
-
},
|
|
185
|
-
"state": {
|
|
186
|
-
"type": "string",
|
|
187
|
-
"mutable": true,
|
|
188
|
-
"complexType": {
|
|
189
|
-
"original": "'default' | 'focused' | 'disabled' | 'filled'",
|
|
190
|
-
"resolved": "\"default\" | \"disabled\" | \"filled\" | \"focused\"",
|
|
191
|
-
"references": {}
|
|
192
|
-
},
|
|
193
|
-
"required": false,
|
|
194
|
-
"optional": false,
|
|
195
|
-
"docs": {
|
|
196
|
-
"tags": [],
|
|
197
|
-
"text": ""
|
|
198
|
-
},
|
|
199
|
-
"attribute": "state",
|
|
200
|
-
"reflect": false
|
|
201
|
-
},
|
|
202
|
-
"size": {
|
|
203
|
-
"type": "string",
|
|
204
|
-
"mutable": false,
|
|
205
|
-
"complexType": {
|
|
206
|
-
"original": "GeneralSizes",
|
|
207
|
-
"resolved": "\"lg\" | \"md\" | \"profile_lg\" | \"profile_md\" | \"profile_sm\" | \"sm\" | \"xl\" | \"xl2\" | \"xl3\" | \"xl4\" | \"xs\" | \"xxs\"",
|
|
208
|
-
"references": {
|
|
209
|
-
"GeneralSizes": {
|
|
210
|
-
"location": "import",
|
|
211
|
-
"path": "../../models/reusableModels",
|
|
212
|
-
"id": "src/models/reusableModels.ts::GeneralSizes"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"required": false,
|
|
217
|
-
"optional": false,
|
|
218
|
-
"docs": {
|
|
219
|
-
"tags": [],
|
|
220
|
-
"text": ""
|
|
221
|
-
},
|
|
222
|
-
"attribute": "size",
|
|
223
|
-
"reflect": false
|
|
224
|
-
},
|
|
225
|
-
"showLabel": {
|
|
226
|
-
"type": "boolean",
|
|
227
|
-
"mutable": false,
|
|
228
|
-
"complexType": {
|
|
229
|
-
"original": "boolean",
|
|
230
|
-
"resolved": "boolean",
|
|
231
|
-
"references": {}
|
|
232
|
-
},
|
|
233
|
-
"required": false,
|
|
234
|
-
"optional": false,
|
|
235
|
-
"docs": {
|
|
236
|
-
"tags": [],
|
|
237
|
-
"text": ""
|
|
238
|
-
},
|
|
239
|
-
"attribute": "show-label",
|
|
240
|
-
"reflect": false,
|
|
241
|
-
"defaultValue": "false"
|
|
242
|
-
},
|
|
243
|
-
"label": {
|
|
244
|
-
"type": "string",
|
|
245
|
-
"mutable": false,
|
|
246
|
-
"complexType": {
|
|
247
|
-
"original": "string",
|
|
248
|
-
"resolved": "string",
|
|
249
|
-
"references": {}
|
|
250
|
-
},
|
|
251
|
-
"required": false,
|
|
252
|
-
"optional": false,
|
|
253
|
-
"docs": {
|
|
254
|
-
"tags": [],
|
|
255
|
-
"text": ""
|
|
256
|
-
},
|
|
257
|
-
"attribute": "label",
|
|
258
|
-
"reflect": false,
|
|
259
|
-
"defaultValue": "''"
|
|
260
|
-
},
|
|
261
|
-
"placeholder": {
|
|
262
|
-
"type": "string",
|
|
263
|
-
"mutable": false,
|
|
264
|
-
"complexType": {
|
|
265
|
-
"original": "string",
|
|
266
|
-
"resolved": "string",
|
|
267
|
-
"references": {}
|
|
268
|
-
},
|
|
269
|
-
"required": false,
|
|
270
|
-
"optional": false,
|
|
271
|
-
"docs": {
|
|
272
|
-
"tags": [],
|
|
273
|
-
"text": ""
|
|
274
|
-
},
|
|
275
|
-
"attribute": "placeholder",
|
|
276
|
-
"reflect": false,
|
|
277
|
-
"defaultValue": "''"
|
|
278
|
-
},
|
|
279
|
-
"showHintText": {
|
|
280
|
-
"type": "boolean",
|
|
281
|
-
"mutable": false,
|
|
282
|
-
"complexType": {
|
|
283
|
-
"original": "boolean",
|
|
284
|
-
"resolved": "boolean",
|
|
285
|
-
"references": {}
|
|
286
|
-
},
|
|
287
|
-
"required": false,
|
|
288
|
-
"optional": false,
|
|
289
|
-
"docs": {
|
|
290
|
-
"tags": [],
|
|
291
|
-
"text": ""
|
|
292
|
-
},
|
|
293
|
-
"attribute": "show-hint-text",
|
|
294
|
-
"reflect": false
|
|
295
|
-
},
|
|
296
|
-
"hintText": {
|
|
297
|
-
"type": "string",
|
|
298
|
-
"mutable": false,
|
|
299
|
-
"complexType": {
|
|
300
|
-
"original": "string",
|
|
301
|
-
"resolved": "string",
|
|
302
|
-
"references": {}
|
|
303
|
-
},
|
|
304
|
-
"required": false,
|
|
305
|
-
"optional": false,
|
|
306
|
-
"docs": {
|
|
307
|
-
"tags": [],
|
|
308
|
-
"text": ""
|
|
309
|
-
},
|
|
310
|
-
"attribute": "hint-text",
|
|
311
|
-
"reflect": false,
|
|
312
|
-
"defaultValue": "''"
|
|
313
|
-
},
|
|
314
|
-
"showHelpIcon": {
|
|
315
|
-
"type": "boolean",
|
|
316
|
-
"mutable": false,
|
|
317
|
-
"complexType": {
|
|
318
|
-
"original": "boolean",
|
|
319
|
-
"resolved": "boolean",
|
|
320
|
-
"references": {}
|
|
321
|
-
},
|
|
322
|
-
"required": false,
|
|
323
|
-
"optional": false,
|
|
324
|
-
"docs": {
|
|
325
|
-
"tags": [],
|
|
326
|
-
"text": ""
|
|
327
|
-
},
|
|
328
|
-
"attribute": "show-help-icon",
|
|
329
|
-
"reflect": false
|
|
330
|
-
},
|
|
331
|
-
"showLeadingIcon": {
|
|
332
|
-
"type": "boolean",
|
|
333
|
-
"mutable": false,
|
|
334
|
-
"complexType": {
|
|
335
|
-
"original": "boolean",
|
|
336
|
-
"resolved": "boolean",
|
|
337
|
-
"references": {}
|
|
338
|
-
},
|
|
339
|
-
"required": false,
|
|
340
|
-
"optional": false,
|
|
341
|
-
"docs": {
|
|
342
|
-
"tags": [],
|
|
343
|
-
"text": ""
|
|
344
|
-
},
|
|
345
|
-
"attribute": "show-leading-icon",
|
|
346
|
-
"reflect": false,
|
|
347
|
-
"defaultValue": "false"
|
|
348
|
-
},
|
|
349
|
-
"iconSwap": {
|
|
350
|
-
"type": "string",
|
|
351
|
-
"mutable": false,
|
|
352
|
-
"complexType": {
|
|
353
|
-
"original": "string",
|
|
354
|
-
"resolved": "string",
|
|
355
|
-
"references": {}
|
|
356
|
-
},
|
|
357
|
-
"required": false,
|
|
358
|
-
"optional": false,
|
|
359
|
-
"docs": {
|
|
360
|
-
"tags": [],
|
|
361
|
-
"text": ""
|
|
362
|
-
},
|
|
363
|
-
"attribute": "icon-swap",
|
|
364
|
-
"reflect": false,
|
|
365
|
-
"defaultValue": "''"
|
|
366
|
-
},
|
|
367
|
-
"text": {
|
|
368
|
-
"type": "boolean",
|
|
369
|
-
"mutable": false,
|
|
370
|
-
"complexType": {
|
|
371
|
-
"original": "boolean",
|
|
372
|
-
"resolved": "boolean",
|
|
373
|
-
"references": {}
|
|
374
|
-
},
|
|
375
|
-
"required": false,
|
|
376
|
-
"optional": false,
|
|
377
|
-
"docs": {
|
|
378
|
-
"tags": [],
|
|
379
|
-
"text": ""
|
|
380
|
-
},
|
|
381
|
-
"attribute": "text",
|
|
382
|
-
"reflect": false,
|
|
383
|
-
"defaultValue": "false"
|
|
384
|
-
},
|
|
385
|
-
"leadingIcon": {
|
|
386
|
-
"type": "string",
|
|
387
|
-
"mutable": false,
|
|
388
|
-
"complexType": {
|
|
389
|
-
"original": "string",
|
|
390
|
-
"resolved": "string",
|
|
391
|
-
"references": {}
|
|
392
|
-
},
|
|
393
|
-
"required": false,
|
|
394
|
-
"optional": false,
|
|
395
|
-
"docs": {
|
|
396
|
-
"tags": [],
|
|
397
|
-
"text": ""
|
|
398
|
-
},
|
|
399
|
-
"attribute": "leading-icon",
|
|
400
|
-
"reflect": false,
|
|
401
|
-
"defaultValue": "''"
|
|
402
|
-
},
|
|
403
|
-
"items": {
|
|
404
|
-
"type": "unknown",
|
|
405
|
-
"mutable": false,
|
|
406
|
-
"complexType": {
|
|
407
|
-
"original": "any[]",
|
|
408
|
-
"resolved": "any[]",
|
|
409
|
-
"references": {}
|
|
410
|
-
},
|
|
411
|
-
"required": false,
|
|
412
|
-
"optional": false,
|
|
413
|
-
"docs": {
|
|
414
|
-
"tags": [],
|
|
415
|
-
"text": ""
|
|
416
|
-
},
|
|
417
|
-
"defaultValue": "[]"
|
|
418
|
-
},
|
|
419
|
-
"supportingText": {
|
|
420
|
-
"type": "boolean",
|
|
421
|
-
"mutable": false,
|
|
422
|
-
"complexType": {
|
|
423
|
-
"original": "boolean",
|
|
424
|
-
"resolved": "boolean",
|
|
425
|
-
"references": {}
|
|
426
|
-
},
|
|
427
|
-
"required": false,
|
|
428
|
-
"optional": false,
|
|
429
|
-
"docs": {
|
|
430
|
-
"tags": [],
|
|
431
|
-
"text": ""
|
|
432
|
-
},
|
|
433
|
-
"attribute": "supporting-text",
|
|
434
|
-
"reflect": false,
|
|
435
|
-
"defaultValue": "false"
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
static get states() {
|
|
440
|
-
return {
|
|
441
|
-
"leadingIconSvg": {},
|
|
442
|
-
"dropdownOpen": {},
|
|
443
|
-
"selectedItems": {},
|
|
444
|
-
"selectedItem": {},
|
|
445
|
-
"isSelected": {}
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
static get events() {
|
|
449
|
-
return [{
|
|
450
|
-
"method": "value",
|
|
451
|
-
"name": "value",
|
|
452
|
-
"bubbles": true,
|
|
453
|
-
"cancelable": true,
|
|
454
|
-
"composed": true,
|
|
455
|
-
"docs": {
|
|
456
|
-
"tags": [],
|
|
457
|
-
"text": ""
|
|
458
|
-
},
|
|
459
|
-
"complexType": {
|
|
460
|
-
"original": "any",
|
|
461
|
-
"resolved": "any",
|
|
462
|
-
"references": {}
|
|
463
|
-
}
|
|
464
|
-
}];
|
|
465
|
-
}
|
|
466
|
-
static get elementRef() { return "el"; }
|
|
467
|
-
}
|
|
468
|
-
//# sourceMappingURL=gb-input-dropdown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAChH,OAAO,EAA+B,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAOrF,MAAM,OAAO,eAAe;;QA+B1B,uBAAkB,GAAG,CAAC,KAAiB,EAAE,EAAE;YACzC,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,IAAI,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAc,CAAC,EAAE,CAAC;gBAClG,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,qBAAqB;YAClD,CAAC;QACH,CAAC,CAAC;;;;yBA/B2B,KAAK;qBACV,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,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EACzF,KAAK,EAAE,SAAS,CAAC,OAAO,qBACP,IAAI,CAAC,cAAc,EACpC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EACnC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;gBAE1C,SAAG,IAAI,EAAC,MAAM,IAAE,IAAI,CAAC,IAAI,CAAK;gBAC9B,SAAG,IAAI,EAAC,iBAAiB;;oBAAG,IAAI,CAAC,QAAQ,CAAK,CAClB,CAC/B,CAAC,CACE,CACP,CACA;SACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath, Event, EventEmitter } from \"@stencil/core\";\r\nimport { DropdownTypes, GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop() items: any[] = [];\r\n @Prop() supportingText: boolean = false;\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n // @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @State() isSelected: boolean = false;\r\n @Element() el: HTMLElement;\r\n @Event() value: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleOutsideClick);\r\n }\r\n\r\n handleOutsideClick = (event: MouseEvent) => {\r\n if (this.type === 'tags' && this.dropdownOpen && !this.dropdownRef.contains(event.target as Node)) {\r\n this.dropdownOpen = false; // Close the dropdown\r\n }\r\n };\r\n\r\n toggleDropdown() {\r\n if(this.state !== 'disabled'){\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n }\r\n\r\n isItemSelected(selectedItem) {\r\n const found = this.selectedItems.find(item => item.name === selectedItem.name);\r\n return found !== undefined;\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n // item.selected = !item.selected;\r\n\r\n if (this.type === 'tags') {\r\n const itemExists = this.selectedItems.some(i => i.name === item.name);\r\n\r\n if (itemExists) {\r\n this.selectedItems = this.selectedItems.filter(i => i.name !== item.name);\r\n } else {\r\n this.selectedItem = item;\r\n this.selectedItems.push(this.selectedItem);\r\n this.value.emit(this.selectedItems);\r\n }\r\n\r\n // Update the state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n } else {\r\n // For other types, allow only one selection\r\n this.selectedItems = [item]; // Replace with the new item\r\n this.selectedItem = item; // Store the selected item\r\n this.state = 'filled'; // Update state to 'filled'\r\n this.dropdownOpen = false; // Close the dropdown\r\n this.value.emit(this.selectedItem);\r\n }\r\n }\r\n\r\n handleTagRemove(item) {\r\n // Remove the item from selectedItems array\r\n this.selectedItems = this.selectedItems.filter(i => i !== item);\r\n\r\n // For non-tags type, set selectedItem to null if that item is removed\r\n if (this.type !== 'tags' && this.selectedItem === item) {\r\n this.selectedItem = null;\r\n }\r\n\r\n // Update state based on whether there are selected items\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n }\r\n\r\n componentDidLoad() {\r\n if(this.type !== 'tags'){\r\n document.addEventListener('click', this.handleOutsideClick);\r\n }\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\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 slottedInitials.classList.add('text-xxs-semi-bold');\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 const items = [\r\n {\r\n name: 'Emmanuel Kadiri',\r\n username: 'kadiri2047',\r\n },\r\n {\r\n name: 'Gideon Ogunkola',\r\n username: 'gideon',\r\n },\r\n {\r\n name: 'Precious Okon',\r\n username: 'presh',\r\n },\r\n {\r\n name: 'Efe Dakara',\r\n username: 'efe',\r\n },\r\n ];\r\n\r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`} onClick={() => this.toggleDropdown()}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label}\r\n </p>\r\n )}\r\n <div class={`input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}`}>\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <gb-avatar size=\"xs\" text={this.text} color=\"blue\">\r\n {!this.text ? <slot slot=\"image\" name=\"image\"></slot> : <slot slot=\"initials\" name=\"initials\"></slot>}\r\n </gb-avatar>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <div class=\"placeholder\">\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map((item, index) => (\r\n <div class=\"added_tag\">\r\n <gb-tag size=\"sm\" icon=\"avatar\" action=\"X_close\" key={index} onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name.split(' ').map(part => part.charAt(0).toUpperCase())}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ))\r\n : this.selectedItem.name}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type === 'tags'\r\n ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections\r\n : this.selectedItem.username}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n </div>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\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 </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n </div>\r\n {this.showHintText && (\r\n <p class=\"text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.hintText}\r\n </p>\r\n )}\r\n </div>,\r\n <>\r\n {this.dropdownOpen && (\r\n <div class=\"dropdown_menu\" ref={el => (this.dropdownRef = el)}>\r\n {items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">@{item.username}</p>\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </div>\r\n )}\r\n </>,\r\n ];\r\n }\r\n} \r\n "]}
|