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,151 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,200 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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}"]}
|