globuswebcomponents 0.6.3 → 0.6.4
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 +1521 -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/cjs/gb-toast-button.cjs.entry.js +29 -0
- 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 +200 -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 +2671 -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 +2704 -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 +2804 -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} +86 -16
- 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} +47 -12
- 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/{globuscomponents/gb-checkbox.entry.js → components/p-02b6abc5.js} +40 -9
- package/dist/components/p-02b6abc5.js.map +1 -0
- package/dist/{globuscomponents/gb-help-tooltip.entry.js → components/p-07a41a89.js} +36 -9
- package/dist/components/p-07a41a89.js.map +1 -0
- package/dist/components/p-0a66bea5.js +61 -0
- package/dist/components/p-0a66bea5.js.map +1 -0
- package/dist/{globuscomponents/gb-password-button.entry.js → components/p-2593d460.js} +41 -9
- package/dist/components/p-2593d460.js.map +1 -0
- package/dist/{globuscomponents/gb-tag-checkbox.entry.js → components/p-269fc593.js} +30 -9
- package/dist/components/p-269fc593.js.map +1 -0
- package/dist/{globuscomponents/gb-tag.entry.js → components/p-27c7572c.js} +69 -9
- package/dist/components/p-27c7572c.js.map +1 -0
- package/dist/components/p-30dc7ace.js +141 -0
- package/dist/components/p-30dc7ace.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/components/p-33ef73e5.js +58 -0
- package/dist/components/p-33ef73e5.js.map +1 -0
- package/dist/components/p-3926487a.js +133 -0
- package/dist/components/p-3926487a.js.map +1 -0
- package/dist/{globuscomponents/gb-tab-button-base.entry.js → components/p-4586ba04.js} +66 -12
- package/dist/components/p-4586ba04.js.map +1 -0
- package/dist/{globuscomponents/gb-status-indicator.entry.js → components/p-45e9db9f.js} +32 -10
- package/dist/components/p-45e9db9f.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-header-icon.entry.js → components/p-4bcb105b.js} +30 -9
- package/dist/components/p-4bcb105b.js.map +1 -0
- package/dist/{globuscomponents/gb-tag-close.entry.js → components/p-4e1f9e69.js} +28 -9
- package/dist/components/p-4e1f9e69.js.map +1 -0
- package/dist/components/p-51845b4a.js +64 -0
- package/dist/components/p-51845b4a.js.map +1 -0
- package/dist/{globuscomponents/gb-notification-content.entry.js → components/p-529d167d.js} +31 -9
- package/dist/components/p-529d167d.js.map +1 -0
- package/dist/components/p-69eb05e6.js +49 -0
- package/dist/components/p-69eb05e6.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-tooltip.entry.js → components/p-88985c81.js} +31 -10
- package/dist/components/p-88985c81.js.map +1 -0
- package/dist/{globuscomponents/gb-progress-bar.entry.js → components/p-8c11bf30.js} +37 -9
- package/dist/components/p-8c11bf30.js.map +1 -0
- package/dist/{globuscomponents/gb-toggle-base.entry.js → components/p-9002f572.js} +31 -10
- package/dist/components/p-9002f572.js.map +1 -0
- package/dist/{globuscomponents/gb-collapse-button.entry.js → components/p-93f34aac.js} +38 -8
- package/dist/components/p-93f34aac.js.map +1 -0
- package/dist/{globuscomponents/gb-side-bar-item.entry.js → components/p-96e978a1.js} +74 -10
- package/dist/components/p-96e978a1.js.map +1 -0
- package/dist/{globuscomponents/gb-input-dropdown-menu-item.entry.js → components/p-982a08fb.js} +61 -9
- package/dist/components/p-982a08fb.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/components/p-aafa633a.js +79 -0
- package/dist/components/p-aafa633a.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-input-dropdown.entry.js → components/p-bea0b305.js} +120 -10
- package/dist/components/p-bea0b305.js.map +1 -0
- package/dist/components/p-c991b6ce.js +1439 -0
- package/dist/components/p-c991b6ce.js.map +1 -0
- package/dist/components/p-cff1083f.js +162 -0
- package/dist/components/p-cff1083f.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-avatar.entry.js → components/p-e52f2d0e.js} +49 -10
- package/dist/components/p-e52f2d0e.js.map +1 -0
- package/dist/{globuscomponents/gb-tag-count.entry.js → components/p-e5e4535f.js} +28 -9
- package/dist/components/p-e5e4535f.js.map +1 -0
- package/dist/components/p-e756f170.js +44 -0
- package/dist/components/p-e756f170.js.map +1 -0
- package/dist/{globuscomponents/gb-badge.entry.js → components/p-ee813bff.js} +61 -9
- package/dist/{globuscomponents/gb-badge.entry.js.map → components/p-ee813bff.js.map} +1 -1
- package/dist/components/p-f305b3a4.js +45 -0
- package/dist/components/p-f305b3a4.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 +1484 -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-0869d175.entry.js +2 -0
- package/dist/globuscomponents/p-0869d175.entry.js.map +1 -0
- package/dist/globuscomponents/p-0cb1a784.entry.js +2 -0
- package/dist/globuscomponents/p-0cb1a784.entry.js.map +1 -0
- package/dist/globuscomponents/p-0cc29bc9.entry.js +2 -0
- package/dist/globuscomponents/p-0cc29bc9.entry.js.map +1 -0
- package/dist/globuscomponents/p-19885058.entry.js +2 -0
- package/dist/globuscomponents/p-19885058.entry.js.map +1 -0
- package/dist/globuscomponents/p-202a3c9c.entry.js +2 -0
- package/dist/globuscomponents/p-202a3c9c.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-42f1db13.entry.js +2 -0
- package/dist/globuscomponents/p-42f1db13.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-4a27e1e0.entry.js +2 -0
- package/dist/globuscomponents/p-4a27e1e0.entry.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-56845361.entry.js +2 -0
- package/dist/globuscomponents/p-56845361.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-5f10aee0.entry.js +2 -0
- package/dist/globuscomponents/p-5f10aee0.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-781b650f.entry.js +2 -0
- package/dist/globuscomponents/p-781b650f.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-8a1d870a.entry.js +2 -0
- package/dist/globuscomponents/p-8a1d870a.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-a40011a7.entry.js +2 -0
- package/dist/globuscomponents/p-a40011a7.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-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-cab01c3b.entry.js +2 -0
- package/dist/globuscomponents/p-cab01c3b.entry.js.map +1 -0
- package/dist/globuscomponents/p-d01d820f.entry.js +2 -0
- package/dist/globuscomponents/p-d01d820f.entry.js.map +1 -0
- package/dist/globuscomponents/p-d808b613.entry.js +2 -0
- package/dist/globuscomponents/p-d808b613.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/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/gb-horizontal-tabs/gb-horizontal-tabs.d.ts +1 -2
- package/dist/types/components.d.ts +0 -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,151 @@
|
|
|
1
|
+
import { h, Fragment } from "@stencil/core";
|
|
2
|
+
import { StateEnum } from "../../models/reusableModels";
|
|
3
|
+
export class GbFileUploadItemBase {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.icon = undefined;
|
|
6
|
+
this.state = undefined;
|
|
7
|
+
this.heightSize = 'md';
|
|
8
|
+
this.fileType = undefined;
|
|
9
|
+
this.buttonState = StateEnum.Default;
|
|
10
|
+
}
|
|
11
|
+
returnIcons() {
|
|
12
|
+
switch (this.icon) {
|
|
13
|
+
case 'outline':
|
|
14
|
+
switch (this.fileType) {
|
|
15
|
+
case 'pdf':
|
|
16
|
+
return (h("svg", { width: "40", height: "41", viewBox: "0 0 40 41", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M7.75 4.5C7.75 2.70508 9.20508 1.25 11 1.25H27C27.1212 1.25 27.2375 1.29816 27.3232 1.38388L38.1161 12.1768C38.2018 12.2625 38.25 12.3788 38.25 12.5V36.5C38.25 38.2949 36.7949 39.75 35 39.75H11C9.20507 39.75 7.75 38.2949 7.75 36.5V4.5Z", fill: "white", stroke: "#CDD5DF", "stroke-width": "1.5" }), h("path", { d: "M27 1V8.5C27 10.7091 28.7909 12.5 31 12.5H38.5", stroke: "#CDD5DF", "stroke-width": "1.5" }), h("rect", { x: "0.5", y: "18", width: "27", height: "17", rx: "2", fill: "#E21B2E" }), h("path", { d: "M6.22094 27.91V26.49H7.53094C7.78427 26.49 8.00094 26.44 8.18094 26.34C8.3676 26.24 8.51094 26.1 8.61094 25.92C8.71094 25.7333 8.76094 25.52 8.76094 25.28C8.76094 25.0267 8.71094 24.81 8.61094 24.63C8.51094 24.4433 8.3676 24.3033 8.18094 24.21C8.00094 24.11 7.78427 24.06 7.53094 24.06H6.22094V22.64H7.45094C8.07094 22.64 8.60094 22.7433 9.04094 22.95C9.4876 23.1567 9.8276 23.45 10.0609 23.83C10.3009 24.21 10.4209 24.6667 10.4209 25.2V25.36C10.4209 25.88 10.3009 26.3333 10.0609 26.72C9.8276 27.1 9.4876 27.3933 9.04094 27.6C8.60094 27.8067 8.07094 27.91 7.45094 27.91H6.22094ZM4.78094 30V22.64H6.42094V30H4.78094ZM12.8909 30.04V28.51H14.2509C14.5909 28.51 14.8975 28.46 15.1709 28.36C15.4442 28.2533 15.6775 28.1067 15.8709 27.92C16.0642 27.7267 16.2109 27.4967 16.3109 27.23C16.4109 26.9567 16.4609 26.6567 16.4609 26.33C16.4609 25.99 16.4109 25.6867 16.3109 25.42C16.2109 25.1533 16.0642 24.9267 15.8709 24.74C15.6775 24.5533 15.4442 24.4133 15.1709 24.32C14.8975 24.22 14.5909 24.17 14.2509 24.17H12.8909V22.64H14.1609C14.8209 22.64 15.3975 22.7367 15.8909 22.93C16.3842 23.1233 16.7975 23.3867 17.1309 23.72C17.4642 24.0533 17.7109 24.4367 17.8709 24.87C18.0375 25.2967 18.1209 25.7467 18.1209 26.22V26.44C18.1209 26.88 18.0375 27.3167 17.8709 27.75C17.7109 28.1767 17.4642 28.5633 17.1309 28.91C16.7975 29.25 16.3842 29.5233 15.8909 29.73C15.3975 29.9367 14.8209 30.04 14.1609 30.04H12.8909ZM11.4509 30.04V22.64H13.0909V30.04H11.4509ZM19.2634 30V22.7H20.9034V30H19.2634ZM20.7034 27.06V25.7H23.5234V27.06H20.7034ZM20.7034 24.06V22.7H23.6434V24.06H20.7034Z", fill: "white" })));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h("div", { key: 'f117145bc32118318efafa5b1d31a5bfddc30c0d', class: `file_upload_item_base_container ${this.state} ${this.heightSize}` }, this.state === 'in_progress' && (h("div", { key: '5abb0fe1f2b665af65deeccff4aff44e05ff2fa2', class: `in_progress_div ${this.heightSize}` }, h("div", { key: 'dbbbe03446b2db8eeb21e1d5254e26bc74ec2594', class: "file_icon" }), h("div", { key: '02c33a322ccab3c5a447f9dfd7043be7bde1cfae', class: "in_progress_content" }, this.heightSize === 'md' && (h(Fragment, null, h("p", { key: '380fe97b42f0f7f2a37159758e2a95f0ae6c0fdf', class: `file_type_text ${this.state} text-sm-medium` }, "Tech design requirements.pdf"), h("p", { key: '5c2f25f4956c3323dfa07991533fd2c1ed0bdbb1', class: `file_size_text ${this.state} text-sm-regular` }, "200 KB"), h("gb-progress-bar", { key: 'a25eb6a63203562c01b4c85fec6c7a24d2652aa5', progress: 20, "show-label": true, "label-position": "right", class: "progress_bar" }), h("gb-button-close", { key: '0c2c72197d8b1b47061b54bb07b8d7a3db0314a0', size: "sm", color: "gray", class: "close_button" }))), this.heightSize === 'lg' && (h(Fragment, null, h("p", { key: 'd3dc96fff352ebcea9c015da41dbf5e41db40df8', class: `file_type_text ${this.state} text-sm-medium` }, "Tech design requirements.pdf"), h("p", { key: '4068b0b2303da1046856e614a4513b08b5c2300c', class: `file_size_text ${this.state} text-sm-regular` }, "200 KB"), h("gb-progress-bar", { key: 'fe816e1950f1fb22d8d50a4f2de9b8099ab72b21', progress: 20, "show-label": true, "label-position": "right", class: "progress_bar" }), h("gb-button-close", { key: 'e1da0fc1f386ad8cc2dc12f4d1fb0d5b6538e107', size: "sm", color: "gray", class: "close_button" })))))), this.state === 'complete' && (h("div", { key: '78c8d2fb74571c7e5b72e4ea44432758dd2a97e8', class: `complete ${this.heightSize}` }, h("div", { key: 'fb3458c21c01e7d5a11a8f77dd0cdb2f61b80576', class: "file_icon" }), h("div", { key: '1d36ddf38528ce2f662dbdcee06e17f5dcc0dd9c', class: `complete_content ${this.heightSize}` }, this.heightSize === 'md' && (h(Fragment, null, h("p", { key: '48458746fc3d80f848bcfd6391dfff3e2e0cdfc2', class: `file_type_text ${this.state} text-sm-medium` }, "Tech design requirements.pdf"), h("p", { key: 'd5656829bd41a2e30fe59cc92b9bf1acb0f7459b', class: `file_size_text ${this.state} text-sm-regular` }, "200 KB \u2013 100% uploaded"), h("test-button", { key: 'fe353f40f403179113ab8adf8d9e3881f65b5696', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": true, "icon-leading-swap": "delete-02", class: "delete_button" }))), this.heightSize === 'lg' && (h(Fragment, null, h("p", { key: '33dd47687cc75d3e696a6954c2c627100d81b1c6', class: `file_type_text ${this.state} text-sm-medium` }, "Tech design requirements.pdf"), h("p", { key: '76659ee68738ef6886c578bc575669658c11b733', class: `file_size_text ${this.state} text-sm-regular` }, "200 KB \u2013 100% uploaded"), h("test-button", { key: 'de10e6372f5c5dca12d4b44f3c29cff5c01e845c', size: "sm", hierarchy: "tertiary_gray", icon: "default", "icon-leading": true, "icon-leading-swap": "delete-02" }, h("p", { key: '6d0fa29d867c7da492145304e7b60e3ff41152ad' }, "Clear"))))))), this.state === 'error' && (h("div", { key: 'f4b91aec26698075e32d8f5e125c84c17781fe7d', class: `error ${this.heightSize}` }, h("div", { key: 'db4cd61e640d9fa51d6bf8c84de64e9a26009899', class: "file_icon" }), h("div", { key: 'f6b8ae042fd023dfde86d17d368328437cd3fb74', class: "error_content" }, this.heightSize === 'md' && (h(Fragment, null, h("p", { key: '440daac4dc96ae036e08bc4d28ee21dd3f07b48c', class: `file_type_text ${this.state} text-sm-medium` }, "Tech design requirements.pdf"), h("p", { key: '0ed1afc00978f1620f6f701787772001197d48ac', class: `file_size_text ${this.state} text-sm-regular` }, "200 KB \u2013 100% uploaded"), h("gb-button", { key: 'bab6ab6db6a4a4fc4ca2423ddfed57ced7631a28', size: "sm", hierarchy: "link_color", icon: StateEnum.Default, destructive: true }, h("p", { key: '9d591820e80bafb388d3d28f4373fcc90b6fe389' }, "Try again")), h("gb-button", { key: '2bd8d0f5108235caf6a4eb7056f3e3a58d772096', size: "sm", hierarchy: "tertiary_gray", icon: "only", destructive: true, "icon-leading": true, "icon-leading-swap": "delete-02", class: "delete_button" }))), this.heightSize === 'lg' && (h(Fragment, null, h("p", { key: '318ae0daaa805385c30d8069064ff733372b1498', class: `file_type_text ${this.state} text-sm-medium` }, "Tech design requirements.pdf"), h("p", { key: 'd2951adb3ffbfb80718c17061632e985338182a1', class: `file_size_text ${this.state} text-sm-regular` }, "200 KB \u2013 100% uploaded"), h("div", { key: '8b586626c78119c0bc32fb1d21e9e39996ca001a', class: "btns" }, h("test-button", { key: '0b54212e440a5a4d27a44c84087c9c354bd51c34', size: "sm", hierarchy: "tertiary_gray", icon: "default", destructive: true, "icon-leading": true, "icon-leading-swap": "delete-02" }, h("p", { key: 'ad6c744b0e4baccbcc5a64340c3e2eedb0fd2280' }, "Clear")), h("div", { key: '73bbca0dfebdbd7740941eada7dbffb283897335', class: "btn" }, h("test-button", { key: '7aa1b74b7a370e20aadbc05ed89bcbcd942e7a95', size: "sm", hierarchy: "link_color", icon: StateEnum.Default, destructive: true, class: "btn" }, h("p", { key: 'a38cb26b54ed6572b6a05cbaa0af884e9b7e4019' }, "Try again")))))))))));
|
|
22
|
+
}
|
|
23
|
+
static get is() { return "gb-file-upload-item-base"; }
|
|
24
|
+
static get encapsulation() { return "shadow"; }
|
|
25
|
+
static get originalStyleUrls() {
|
|
26
|
+
return {
|
|
27
|
+
"$": ["gb-file-upload-item-base.css"]
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
static get styleUrls() {
|
|
31
|
+
return {
|
|
32
|
+
"$": ["gb-file-upload-item-base.css"]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static get properties() {
|
|
36
|
+
return {
|
|
37
|
+
"icon": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"mutable": false,
|
|
40
|
+
"complexType": {
|
|
41
|
+
"original": "FileUploadIconType",
|
|
42
|
+
"resolved": "\"icon\" | \"outline\"",
|
|
43
|
+
"references": {
|
|
44
|
+
"FileUploadIconType": {
|
|
45
|
+
"location": "import",
|
|
46
|
+
"path": "../../models/reusableModels",
|
|
47
|
+
"id": "src/models/reusableModels.ts::FileUploadIconType"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"optional": false,
|
|
53
|
+
"docs": {
|
|
54
|
+
"tags": [],
|
|
55
|
+
"text": ""
|
|
56
|
+
},
|
|
57
|
+
"attribute": "icon",
|
|
58
|
+
"reflect": false
|
|
59
|
+
},
|
|
60
|
+
"state": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"mutable": false,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "FileUploadStates",
|
|
65
|
+
"resolved": "\"complete\" | \"default\" | \"disabled\" | \"error\" | \"hover\" | \"in_progress\"",
|
|
66
|
+
"references": {
|
|
67
|
+
"FileUploadStates": {
|
|
68
|
+
"location": "import",
|
|
69
|
+
"path": "../../models/reusableModels",
|
|
70
|
+
"id": "src/models/reusableModels.ts::FileUploadStates"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"attribute": "state",
|
|
81
|
+
"reflect": false
|
|
82
|
+
},
|
|
83
|
+
"heightSize": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "GeneralSizes",
|
|
88
|
+
"resolved": "\"lg\" | \"md\" | \"profile_lg\" | \"profile_md\" | \"profile_sm\" | \"sm\" | \"xl\" | \"xl2\" | \"xl3\" | \"xl4\" | \"xs\" | \"xxs\"",
|
|
89
|
+
"references": {
|
|
90
|
+
"GeneralSizes": {
|
|
91
|
+
"location": "import",
|
|
92
|
+
"path": "../../models/reusableModels",
|
|
93
|
+
"id": "src/models/reusableModels.ts::GeneralSizes"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "height-size",
|
|
104
|
+
"reflect": false,
|
|
105
|
+
"defaultValue": "'md'"
|
|
106
|
+
},
|
|
107
|
+
"fileType": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "'pdf' | 'png' | 'jpg' | 'doc' | 'mp4'",
|
|
112
|
+
"resolved": "\"doc\" | \"jpg\" | \"mp4\" | \"pdf\" | \"png\"",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": ""
|
|
120
|
+
},
|
|
121
|
+
"attribute": "file-type",
|
|
122
|
+
"reflect": false
|
|
123
|
+
},
|
|
124
|
+
"buttonState": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"mutable": false,
|
|
127
|
+
"complexType": {
|
|
128
|
+
"original": "StateEnum",
|
|
129
|
+
"resolved": "StateEnum.Default | StateEnum.Disabled",
|
|
130
|
+
"references": {
|
|
131
|
+
"StateEnum": {
|
|
132
|
+
"location": "import",
|
|
133
|
+
"path": "../../models/reusableModels",
|
|
134
|
+
"id": "src/models/reusableModels.ts::StateEnum"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": false,
|
|
139
|
+
"optional": false,
|
|
140
|
+
"docs": {
|
|
141
|
+
"tags": [],
|
|
142
|
+
"text": ""
|
|
143
|
+
},
|
|
144
|
+
"attribute": "button-state",
|
|
145
|
+
"reflect": false,
|
|
146
|
+
"defaultValue": "StateEnum.Default"
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=gb-file-upload-item-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-file-upload-item-base.js","sourceRoot":"","sources":["../../../src/components/gb-file-upload-item-base/gb-file-upload-item-base.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop, Fragment } from '@stencil/core';\r\nimport { FileUploadIconType, FileUploadStates, GeneralSizes, StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-file-upload-item-base',\r\n styleUrl: 'gb-file-upload-item-base.css',\r\n shadow: true,\r\n})\r\nexport class GbFileUploadItemBase {\r\n @Prop() icon: FileUploadIconType;\r\n @Prop() state: FileUploadStates;\r\n @Prop() heightSize: GeneralSizes = 'md';\r\n @Prop() fileType: 'pdf' | 'png' | 'jpg' | 'doc' | 'mp4';\r\n @Prop() buttonState: StateEnum = StateEnum.Default;\r\n\r\n returnIcons() {\r\n switch (this.icon) {\r\n case 'outline':\r\n switch (this.fileType) {\r\n case 'pdf':\r\n return (\r\n <svg width=\"40\" height=\"41\" viewBox=\"0 0 40 41\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M7.75 4.5C7.75 2.70508 9.20508 1.25 11 1.25H27C27.1212 1.25 27.2375 1.29816 27.3232 1.38388L38.1161 12.1768C38.2018 12.2625 38.25 12.3788 38.25 12.5V36.5C38.25 38.2949 36.7949 39.75 35 39.75H11C9.20507 39.75 7.75 38.2949 7.75 36.5V4.5Z\"\r\n fill=\"white\"\r\n stroke=\"#CDD5DF\"\r\n stroke-width=\"1.5\"\r\n />\r\n <path d=\"M27 1V8.5C27 10.7091 28.7909 12.5 31 12.5H38.5\" stroke=\"#CDD5DF\" stroke-width=\"1.5\" />\r\n <rect x=\"0.5\" y=\"18\" width=\"27\" height=\"17\" rx=\"2\" fill=\"#E21B2E\" />\r\n <path\r\n d=\"M6.22094 27.91V26.49H7.53094C7.78427 26.49 8.00094 26.44 8.18094 26.34C8.3676 26.24 8.51094 26.1 8.61094 25.92C8.71094 25.7333 8.76094 25.52 8.76094 25.28C8.76094 25.0267 8.71094 24.81 8.61094 24.63C8.51094 24.4433 8.3676 24.3033 8.18094 24.21C8.00094 24.11 7.78427 24.06 7.53094 24.06H6.22094V22.64H7.45094C8.07094 22.64 8.60094 22.7433 9.04094 22.95C9.4876 23.1567 9.8276 23.45 10.0609 23.83C10.3009 24.21 10.4209 24.6667 10.4209 25.2V25.36C10.4209 25.88 10.3009 26.3333 10.0609 26.72C9.8276 27.1 9.4876 27.3933 9.04094 27.6C8.60094 27.8067 8.07094 27.91 7.45094 27.91H6.22094ZM4.78094 30V22.64H6.42094V30H4.78094ZM12.8909 30.04V28.51H14.2509C14.5909 28.51 14.8975 28.46 15.1709 28.36C15.4442 28.2533 15.6775 28.1067 15.8709 27.92C16.0642 27.7267 16.2109 27.4967 16.3109 27.23C16.4109 26.9567 16.4609 26.6567 16.4609 26.33C16.4609 25.99 16.4109 25.6867 16.3109 25.42C16.2109 25.1533 16.0642 24.9267 15.8709 24.74C15.6775 24.5533 15.4442 24.4133 15.1709 24.32C14.8975 24.22 14.5909 24.17 14.2509 24.17H12.8909V22.64H14.1609C14.8209 22.64 15.3975 22.7367 15.8909 22.93C16.3842 23.1233 16.7975 23.3867 17.1309 23.72C17.4642 24.0533 17.7109 24.4367 17.8709 24.87C18.0375 25.2967 18.1209 25.7467 18.1209 26.22V26.44C18.1209 26.88 18.0375 27.3167 17.8709 27.75C17.7109 28.1767 17.4642 28.5633 17.1309 28.91C16.7975 29.25 16.3842 29.5233 15.8909 29.73C15.3975 29.9367 14.8209 30.04 14.1609 30.04H12.8909ZM11.4509 30.04V22.64H13.0909V30.04H11.4509ZM19.2634 30V22.7H20.9034V30H19.2634ZM20.7034 27.06V25.7H23.5234V27.06H20.7034ZM20.7034 24.06V22.7H23.6434V24.06H20.7034Z\"\r\n fill=\"white\"\r\n />\r\n </svg>\r\n );\r\n }\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`file_upload_item_base_container ${this.state} ${this.heightSize}`}>\r\n {this.state === 'in_progress' && (\r\n <div class={`in_progress_div ${this.heightSize}`}>\r\n <div class=\"file_icon\"></div>\r\n <div class=\"in_progress_content\">\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>Tech design requirements.pdf</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>200 KB</p>\r\n <gb-progress-bar progress={20} show-label={true} label-position=\"right\" class=\"progress_bar\"></gb-progress-bar>\r\n <gb-button-close size=\"sm\" color=\"gray\" class=\"close_button\"></gb-button-close>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>Tech design requirements.pdf</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>200 KB</p>\r\n <gb-progress-bar progress={20} show-label={true} label-position=\"right\" class=\"progress_bar\"></gb-progress-bar>\r\n <gb-button-close size=\"sm\" color=\"gray\" class=\"close_button\"></gb-button-close>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.state === 'complete' && (\r\n <div class={`complete ${this.heightSize}`}>\r\n <div class=\"file_icon\"></div>\r\n <div class={`complete_content ${this.heightSize}`}>\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>Tech design requirements.pdf</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>200 KB – 100% uploaded</p>\r\n <test-button \r\n size=\"sm\" \r\n hierarchy=\"tertiary_gray\" \r\n icon=\"only\" \r\n icon-leading={true} \r\n icon-leading-swap=\"delete-02\" \r\n class=\"delete_button\"\r\n ></test-button>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>Tech design requirements.pdf</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>200 KB – 100% uploaded</p>\r\n <test-button size=\"sm\" \r\n hierarchy=\"tertiary_gray\" \r\n icon=\"default\" \r\n icon-leading={true} \r\n icon-leading-swap=\"delete-02\">\r\n <p>Clear</p>\r\n </test-button>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n {this.state === 'error' && (\r\n <div class={`error ${this.heightSize}`}>\r\n <div class=\"file_icon\"></div>\r\n <div class=\"error_content\">\r\n {this.heightSize === 'md' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>Tech design requirements.pdf</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>200 KB – 100% uploaded</p>\r\n <gb-button \r\n size=\"sm\" \r\n hierarchy=\"link_color\" \r\n icon={StateEnum.Default} \r\n destructive={true}>\r\n <p>Try again</p>\r\n </gb-button>\r\n <gb-button \r\n size=\"sm\" \r\n hierarchy=\"tertiary_gray\" \r\n icon=\"only\" destructive={true} \r\n icon-leading={true} \r\n icon-leading-swap=\"delete-02\"\r\n class=\"delete_button\"\r\n ></gb-button>\r\n </>\r\n )}\r\n {this.heightSize === 'lg' && (\r\n <>\r\n <p class={`file_type_text ${this.state} text-sm-medium`}>Tech design requirements.pdf</p>\r\n <p class={`file_size_text ${this.state} text-sm-regular`}>200 KB – 100% uploaded</p>\r\n <div class=\"btns\">\r\n <test-button size=\"sm\" \r\n hierarchy=\"tertiary_gray\" \r\n icon=\"default\" \r\n destructive={true} \r\n icon-leading={true} \r\n icon-leading-swap=\"delete-02\">\r\n <p>Clear</p>\r\n </test-button>\r\n <div class=\"btn\">\r\n <test-button \r\n size=\"sm\" \r\n hierarchy=\"link_color\" \r\n icon={StateEnum.Default} \r\n destructive={true} \r\n class=\"btn\">\r\n <p>Try again</p>\r\n </test-button>\r\n </div>\r\n </div>\r\n </>\r\n )}\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.header_div{
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
border-bottom: 0.7px solid var(--color-border-subtle, #CDD5DF);
|
|
6
|
+
background: var(--color-surface, #FFFFFF);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.content{
|
|
10
|
+
display: flex;
|
|
11
|
+
height: 4.5rem;
|
|
12
|
+
padding: 0rem 2rem;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
align-items: center;
|
|
15
|
+
align-self: stretch;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.inner_content{
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: flex-end;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: var(--spacing-4);
|
|
23
|
+
flex: 1 0 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.action{
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: var(--spacing-2);
|
|
29
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { getAssetPath, h } from "@stencil/core";
|
|
2
|
+
import { StateEnum } from "../../models/reusableModels";
|
|
3
|
+
export class GbHeader {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.state = undefined;
|
|
6
|
+
this.showIndicator = false;
|
|
7
|
+
this.text = false;
|
|
8
|
+
this.placeholder = false;
|
|
9
|
+
this.color = undefined;
|
|
10
|
+
}
|
|
11
|
+
applyColorToInitials() {
|
|
12
|
+
switch (this.color) {
|
|
13
|
+
case 'gray': return 'gray';
|
|
14
|
+
case 'blue': return 'blue';
|
|
15
|
+
case 'cyan': return 'cyan';
|
|
16
|
+
case 'pink': return 'pink';
|
|
17
|
+
case 'purple': return 'purple';
|
|
18
|
+
case 'green': return 'green';
|
|
19
|
+
case 'yellow': return 'yellow';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
const initials = this.el.querySelector("[slot='initials']");
|
|
24
|
+
if (initials) {
|
|
25
|
+
initials.classList.add('text-md-semi-bold');
|
|
26
|
+
initials.classList.add(this.applyColorToInitials());
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
async onNavBarItemClicked(index) {
|
|
30
|
+
// console.log('nav-bar-item clicked');
|
|
31
|
+
this.navBarItemClicked.emit(index);
|
|
32
|
+
// console.log(index);
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
const helpIconSrc = getAssetPath(`assets/help-circle.svg`);
|
|
36
|
+
const notificationIconSrc = getAssetPath(`assets/notification-03.svg`);
|
|
37
|
+
return (h("div", { key: '498f89fa79aa9726db6937b6e0fcc0c84b536b55', class: `header_div` }, h("div", { key: '910b340b6092907dc9f6a3c34a5fb1e5f00c9801', class: "content" }, h("div", { key: '1092c8d8c93228a4484a919d40e39e9aa3dd9158', class: "inner_content" }, h("div", { key: '6028979ae0bb3abe2a37254fa5d9730e33e26439', class: `action` }, h("gb-header-icon", { key: '7a83f22d95ddb3b6801051e314800617ea6af5b9', state: StateEnum.Default, icon: helpIconSrc, onClick: () => this.onNavBarItemClicked(0) }), h("gb-header-icon", { key: '1b78c89b90d8e7a163b555f848621d2e5cc232e0', state: this.state, icon: notificationIconSrc, "show-indicator": this.showIndicator, onClick: () => this.onNavBarItemClicked(1) })), h("gb-avatar", { key: '7b98eb12ee5fddf807de9e870a149538d051e3c2', size: "md", text: this.text, placeholder: this.placeholder, color: this.color, onClick: () => this.onNavBarItemClicked(2) }, this.text ? h("slot", { slot: "initials", name: "initials" }) : h("slot", { name: "image", slot: "image" }))))));
|
|
38
|
+
}
|
|
39
|
+
static get is() { return "gb-header"; }
|
|
40
|
+
static get encapsulation() { return "shadow"; }
|
|
41
|
+
static get originalStyleUrls() {
|
|
42
|
+
return {
|
|
43
|
+
"$": ["gb-header.css"]
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static get styleUrls() {
|
|
47
|
+
return {
|
|
48
|
+
"$": ["gb-header.css"]
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static get properties() {
|
|
52
|
+
return {
|
|
53
|
+
"state": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"mutable": false,
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "StateEnum",
|
|
58
|
+
"resolved": "StateEnum.Default | StateEnum.Disabled",
|
|
59
|
+
"references": {
|
|
60
|
+
"StateEnum": {
|
|
61
|
+
"location": "import",
|
|
62
|
+
"path": "../../models/reusableModels",
|
|
63
|
+
"id": "src/models/reusableModels.ts::StateEnum"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"attribute": "state",
|
|
74
|
+
"reflect": false
|
|
75
|
+
},
|
|
76
|
+
"showIndicator": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"mutable": false,
|
|
79
|
+
"complexType": {
|
|
80
|
+
"original": "boolean",
|
|
81
|
+
"resolved": "boolean",
|
|
82
|
+
"references": {}
|
|
83
|
+
},
|
|
84
|
+
"required": false,
|
|
85
|
+
"optional": false,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": ""
|
|
89
|
+
},
|
|
90
|
+
"attribute": "show-indicator",
|
|
91
|
+
"reflect": false,
|
|
92
|
+
"defaultValue": "false"
|
|
93
|
+
},
|
|
94
|
+
"text": {
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"mutable": false,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "boolean",
|
|
99
|
+
"resolved": "boolean",
|
|
100
|
+
"references": {}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": ""
|
|
107
|
+
},
|
|
108
|
+
"attribute": "text",
|
|
109
|
+
"reflect": false,
|
|
110
|
+
"defaultValue": "false"
|
|
111
|
+
},
|
|
112
|
+
"placeholder": {
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"mutable": false,
|
|
115
|
+
"complexType": {
|
|
116
|
+
"original": "boolean",
|
|
117
|
+
"resolved": "boolean",
|
|
118
|
+
"references": {}
|
|
119
|
+
},
|
|
120
|
+
"required": false,
|
|
121
|
+
"optional": false,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": ""
|
|
125
|
+
},
|
|
126
|
+
"attribute": "placeholder",
|
|
127
|
+
"reflect": false,
|
|
128
|
+
"defaultValue": "false"
|
|
129
|
+
},
|
|
130
|
+
"color": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"mutable": false,
|
|
133
|
+
"complexType": {
|
|
134
|
+
"original": "AvatarColorTypes",
|
|
135
|
+
"resolved": "\"blue\" | \"cyan\" | \"gray\" | \"green\" | \"pink\" | \"purple\" | \"yellow\"",
|
|
136
|
+
"references": {
|
|
137
|
+
"AvatarColorTypes": {
|
|
138
|
+
"location": "import",
|
|
139
|
+
"path": "../../models/reusableModels",
|
|
140
|
+
"id": "src/models/reusableModels.ts::AvatarColorTypes"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": ""
|
|
149
|
+
},
|
|
150
|
+
"attribute": "color",
|
|
151
|
+
"reflect": false
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
static get events() {
|
|
156
|
+
return [{
|
|
157
|
+
"method": "navBarItemClicked",
|
|
158
|
+
"name": "navBarItemClicked",
|
|
159
|
+
"bubbles": true,
|
|
160
|
+
"cancelable": true,
|
|
161
|
+
"composed": true,
|
|
162
|
+
"docs": {
|
|
163
|
+
"tags": [],
|
|
164
|
+
"text": ""
|
|
165
|
+
},
|
|
166
|
+
"complexType": {
|
|
167
|
+
"original": "number",
|
|
168
|
+
"resolved": "number",
|
|
169
|
+
"references": {}
|
|
170
|
+
}
|
|
171
|
+
}];
|
|
172
|
+
}
|
|
173
|
+
static get methods() {
|
|
174
|
+
return {
|
|
175
|
+
"onNavBarItemClicked": {
|
|
176
|
+
"complexType": {
|
|
177
|
+
"signature": "(index: number) => Promise<void>",
|
|
178
|
+
"parameters": [{
|
|
179
|
+
"name": "index",
|
|
180
|
+
"type": "number",
|
|
181
|
+
"docs": ""
|
|
182
|
+
}],
|
|
183
|
+
"references": {
|
|
184
|
+
"Promise": {
|
|
185
|
+
"location": "global",
|
|
186
|
+
"id": "global::Promise"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"return": "Promise<void>"
|
|
190
|
+
},
|
|
191
|
+
"docs": {
|
|
192
|
+
"text": "",
|
|
193
|
+
"tags": []
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
static get elementRef() { return "el"; }
|
|
199
|
+
}
|
|
200
|
+
//# sourceMappingURL=gb-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-header.js","sourceRoot":"","sources":["../../../src/components/gb-header/gb-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAoB,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAO1E,MAAM,OAAO,QAAQ;;;6BAEc,KAAK;oBACd,KAAK;2BACE,KAAK;;;IAMpC,oBAAoB;QAClB,QAAO,IAAI,CAAC,KAAK,EAAE,CAAC;YAClB,KAAK,MAAM,CAAC,CAAC,OAAO,MAAM,CAAC;YAC3B,KAAK,MAAM,CAAC,CAAC,OAAO,MAAM,CAAC;YAC3B,KAAK,MAAM,CAAC,CAAC,OAAO,MAAM,CAAC;YAC3B,KAAK,MAAM,CAAC,CAAC,OAAO,MAAM,CAAC;YAC3B,KAAK,QAAQ,CAAC,CAAC,OAAO,QAAQ,CAAC;YAC/B,KAAK,OAAO,CAAC,CAAC,OAAO,OAAO,CAAC;YAC7B,KAAK,QAAQ,CAAC,CAAC,OAAO,QAAQ,CAAC;QACjC,CAAC;IACH,CAAC;IAED,gBAAgB;QACd,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;QAE5D,IAAI,QAAQ,EAAE,CAAC;YACb,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;YAC5C,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC;QACtD,CAAC;IACH,CAAC;IAGD,KAAK,CAAC,mBAAmB,CAAC,KAAa;QACrC,uCAAuC;QACvC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnC,sBAAsB;IACxB,CAAC;IAED,MAAM;QACJ,MAAM,WAAW,GAAG,YAAY,CAAC,wBAAwB,CAAC,CAAC;QAC3D,MAAM,mBAAmB,GAAG,YAAY,CAAC,4BAA4B,CAAC,CAAC;QAEvE,OAAO,CACL,4DAAK,KAAK,EAAE,YAAY;YACtB,4DAAK,KAAK,EAAC,SAAS;gBAClB,4DAAK,KAAK,EAAC,eAAe;oBACxB,4DAAK,KAAK,EAAE,QAAQ;wBAClB,uEAAgB,KAAK,EAAE,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAmB;wBAC1H,uEAAgB,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,mBAAmB,oBAAkB,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAmB,CAC3J;oBACN,kEAAW,IAAI,EAAC,IAAI,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAC/H,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,UAAU,GAAQ,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC1F,CACR,CACF,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, getAssetPath, h, Method, Prop } from \"@stencil/core\";\r\nimport { AvatarColorTypes, StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-header',\r\n styleUrl: 'gb-header.css',\r\n shadow: true,\r\n})\r\nexport class GbHeader {\r\n @Prop() state: StateEnum;\r\n @Prop() showIndicator: boolean = false;\r\n @Prop() text: boolean = false;\r\n @Prop() placeholder: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Element() el: HTMLElement;\r\n @Event() navBarItemClicked: EventEmitter<number>;\r\n\r\n \r\n applyColorToInitials() {\r\n switch(this.color) {\r\n case 'gray': return 'gray';\r\n case 'blue': return 'blue';\r\n case 'cyan': return 'cyan';\r\n case 'pink': return 'pink';\r\n case 'purple': return 'purple';\r\n case 'green': return 'green';\r\n case 'yellow': return 'yellow';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const initials = this.el.querySelector(\"[slot='initials']\");\r\n\r\n if (initials) {\r\n initials.classList.add('text-md-semi-bold');\r\n initials.classList.add(this.applyColorToInitials());\r\n }\r\n }\r\n\r\n @Method()\r\n async onNavBarItemClicked(index: number) {\r\n // console.log('nav-bar-item clicked');\r\n this.navBarItemClicked.emit(index);\r\n // console.log(index);\r\n }\r\n\r\n render() {\r\n const helpIconSrc = getAssetPath(`assets/help-circle.svg`);\r\n const notificationIconSrc = getAssetPath(`assets/notification-03.svg`);\r\n\r\n return (\r\n <div class={`header_div`}>\r\n <div class=\"content\">\r\n <div class=\"inner_content\">\r\n <div class={`action`}>\r\n <gb-header-icon state={StateEnum.Default} icon={helpIconSrc} onClick={() => this.onNavBarItemClicked(0)}></gb-header-icon>\r\n <gb-header-icon state={this.state} icon={notificationIconSrc} show-indicator={this.showIndicator} onClick={() => this.onNavBarItemClicked(1)}></gb-header-icon>\r\n </div>\r\n <gb-avatar size=\"md\" text={this.text} placeholder={this.placeholder} color={this.color} onClick={() => this.onNavBarItemClicked(2)}>\r\n {this.text ? <slot slot=\"initials\" name=\"initials\"></slot> : <slot name=\"image\" slot=\"image\"></slot>}\r\n </gb-avatar>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
|