globuswebcomponents 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +16 -3
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/gb-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +27 -8
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
- package/dist/cjs/{gb-avatar_28.cjs.entry.js → gb-avatar_32.cjs.entry.js} +280 -110
- package/dist/cjs/gb-avatar_32.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close_2.cjs.entry.js +3 -3
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +3 -2
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gb-megainput-field.cjs.entry.js +3 -3
- package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
- package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +2 -2
- package/dist/cjs/gb-slider.cjs.entry.js +2 -2
- package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
- package/dist/cjs/gb-toast.cjs.entry.js +2 -2
- package/dist/cjs/gb-toggle-base.cjs.entry.js +3 -3
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +3 -3
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/cancel-01.svg +5 -0
- package/dist/collection/assets/copy-01.svg +5 -0
- package/dist/collection/assets/mail-02.svg +5 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +2 -2
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2 -2
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2 -2
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -2
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +38 -2
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +2 -2
- package/dist/collection/components/gb-avatar-group/gb-avatar-group.js.map +1 -1
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -2
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +49 -7
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +2 -2
- package/dist/collection/components/gb-badge-close/gb-badge-close.css +2 -2
- package/dist/collection/components/gb-badges/gb-badges.css +2 -2
- package/dist/collection/components/gb-btn/gb-btn.css +2 -2
- package/dist/collection/components/gb-button/gb-button.css +2 -2
- package/dist/collection/components/gb-button/gb-button.js +4 -4
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +3 -3
- package/dist/collection/components/gb-button/readme.md +0 -2
- package/dist/collection/components/gb-button-close/gb-button-close.css +2 -2
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +2 -2
- package/dist/collection/components/gb-checkbox/gb-checkbox.css +6 -2
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +20 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.js.map +1 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +2 -2
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +2 -2
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +931 -407
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +2 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js.map +1 -1
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +2 -2
- package/dist/collection/components/gb-header/gb-header.css +5 -0
- package/dist/collection/components/gb-header/gb-header.js +39 -3
- package/dist/collection/components/gb-header/gb-header.js.map +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.css +2 -2
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +2 -2
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.css +2688 -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 +2 -2
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +21 -5
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +61 -70
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +7 -7
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +4 -2
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -1
- package/dist/collection/components/gb-input-field/gb-input-field.css +118 -246
- package/dist/collection/components/gb-input-field/gb-input-field.js +54 -14
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +2 -2
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.css +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +2 -2
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +2 -2
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.css +2 -2
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +2 -2
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-rich-text/gb-rich-text.css +2 -2
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +2 -2
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +11 -3
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +2 -2
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js.map +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +2 -2
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/gb-slider/gb-slider.css +2 -2
- package/dist/collection/components/gb-slider/gb-slider.js +1 -1
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +2 -2
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +2 -2
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +2 -2
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-tag/gb-tag.css +2 -2
- package/dist/collection/components/gb-tag/gb-tag.js +2 -2
- package/dist/collection/components/gb-tag/gb-tag.js.map +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +2 -2
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.css +2 -2
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.css +2 -2
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.css +2 -2
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.css +2 -2
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +2 -2
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field/gb-token-field.css +2 -2
- package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.css +4 -4
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2 -2
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/collection/global/global.css +2 -2
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +23 -9
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +7 -7
- package/dist/components/gb-avatar-group.js.map +1 -1
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +4 -4
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge-close.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button-close.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-carousel-arrow.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +6 -6
- package/dist/components/gb-checkbox.js +1 -1
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +5 -5
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +22 -8
- package/dist/components/gb-header.js.map +1 -1
- package/dist/components/gb-help-dropdown.js +4 -4
- package/dist/components/gb-help-tooltip.d.ts +11 -0
- package/dist/components/gb-help-tooltip.js +8 -0
- package/dist/components/gb-help-tooltip.js.map +1 -0
- package/dist/components/gb-horizontal-tabs.js +8 -8
- package/dist/components/gb-input-dropdown-menu-item.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +54 -19
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-megainput-field.js +1 -1
- package/dist/components/gb-notification-content.js +2 -2
- package/dist/components/gb-notification-pane.js +3 -3
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +2 -2
- package/dist/components/gb-pagination.js +2 -2
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-rich-text.js +38 -26
- package/dist/components/gb-rich-text.js.map +1 -1
- package/dist/components/gb-scrollbar.js +2 -2
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +10 -10
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +4 -4
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +5 -5
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.js +3 -3
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +4 -4
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/{p-049f8084.js → p-0f3c2b65.js} +2 -2
- package/dist/components/{p-049f8084.js.map → p-0f3c2b65.js.map} +1 -1
- package/dist/components/{p-684a3a44.js → p-106adce5.js} +3 -3
- package/dist/components/{p-684a3a44.js.map → p-106adce5.js.map} +1 -1
- package/dist/components/{p-828cdee0.js → p-1e8cfd4f.js} +4 -4
- package/dist/components/{p-828cdee0.js.map → p-1e8cfd4f.js.map} +1 -1
- package/dist/components/p-2b07a583.js +55 -0
- package/dist/components/p-2b07a583.js.map +1 -0
- package/dist/components/{p-5c8697f4.js → p-2f832c69.js} +10 -10
- package/dist/components/{p-5c8697f4.js.map → p-2f832c69.js.map} +1 -1
- package/dist/components/{p-85c64917.js → p-2ff5a205.js} +4 -4
- package/dist/components/{p-85c64917.js.map → p-2ff5a205.js.map} +1 -1
- package/dist/components/{p-45b383f3.js → p-374f96e3.js} +10 -10
- package/dist/components/p-374f96e3.js.map +1 -0
- package/dist/components/{p-b3a3cd2c.js → p-40e77b3f.js} +6 -6
- package/dist/components/{p-b3a3cd2c.js.map → p-40e77b3f.js.map} +1 -1
- package/dist/components/{p-29e457b4.js → p-411051a0.js} +6 -6
- package/dist/components/p-411051a0.js.map +1 -0
- package/dist/components/{p-fd8f1d13.js → p-45e660b6.js} +6 -6
- package/dist/components/{p-fd8f1d13.js.map → p-45e660b6.js.map} +1 -1
- package/dist/components/{p-fa3dbfc9.js → p-525cedd3.js} +10 -10
- package/dist/components/p-525cedd3.js.map +1 -0
- package/dist/components/{p-01ca2c76.js → p-5b4b41a1.js} +7 -7
- package/dist/components/{p-01ca2c76.js.map → p-5b4b41a1.js.map} +1 -1
- package/dist/components/{p-0519dce2.js → p-69f6c3c0.js} +2 -2
- package/dist/components/{p-0519dce2.js.map → p-69f6c3c0.js.map} +1 -1
- package/dist/components/{p-1bf71f2b.js → p-7ca3a134.js} +3 -3
- package/dist/components/{p-1bf71f2b.js.map → p-7ca3a134.js.map} +1 -1
- package/dist/components/{p-da4c5b74.js → p-7d8046c5.js} +94 -74
- package/dist/components/p-7d8046c5.js.map +1 -0
- package/dist/components/{p-136d6625.js → p-813dce63.js} +3 -3
- package/dist/components/{p-136d6625.js.map → p-813dce63.js.map} +1 -1
- package/dist/components/{p-2ff90ce5.js → p-8790a8f8.js} +37 -25
- package/dist/components/p-8790a8f8.js.map +1 -0
- package/dist/components/{p-16a63898.js → p-8919365d.js} +3 -3
- package/dist/components/{p-16a63898.js.map → p-8919365d.js.map} +1 -1
- package/dist/components/{p-4ad10413.js → p-8ae9de24.js} +5 -3
- package/dist/components/p-8ae9de24.js.map +1 -0
- package/dist/components/{p-4bc4b9d4.js → p-9363bb21.js} +33 -13
- package/dist/components/p-9363bb21.js.map +1 -0
- package/dist/components/{p-69a17ca1.js → p-96a21b95.js} +21 -18
- package/dist/components/p-96a21b95.js.map +1 -0
- package/dist/components/{p-a621882d.js → p-a29219ba.js} +10 -8
- package/dist/components/p-a29219ba.js.map +1 -0
- package/dist/components/{p-0def795f.js → p-ac8821f5.js} +3 -3
- package/dist/components/{p-0def795f.js.map → p-ac8821f5.js.map} +1 -1
- package/dist/components/{p-3eee1170.js → p-b819c4a3.js} +2 -2
- package/dist/components/{p-3eee1170.js.map → p-b819c4a3.js.map} +1 -1
- package/dist/components/{p-502ce20d.js → p-ba27d41c.js} +5 -4
- package/dist/components/p-ba27d41c.js.map +1 -0
- package/dist/components/{p-d35a5ebf.js → p-bb047e9e.js} +3 -3
- package/dist/components/{p-d35a5ebf.js.map → p-bb047e9e.js.map} +1 -1
- package/dist/components/{p-624a1576.js → p-bcbba77a.js} +5 -5
- package/dist/components/{p-624a1576.js.map → p-bcbba77a.js.map} +1 -1
- package/dist/components/{p-977764ce.js → p-c17ca314.js} +2 -2
- package/dist/components/{p-977764ce.js.map → p-c17ca314.js.map} +1 -1
- package/dist/components/{p-bf8461c6.js → p-c96a614c.js} +2 -2
- package/dist/components/{p-bf8461c6.js.map → p-c96a614c.js.map} +1 -1
- package/dist/components/{p-80e5c981.js → p-cebf2b53.js} +4 -4
- package/dist/components/{p-80e5c981.js.map → p-cebf2b53.js.map} +1 -1
- package/dist/components/{p-3f0f1542.js → p-dc4e23c7.js} +3 -3
- package/dist/components/{p-3f0f1542.js.map → p-dc4e23c7.js.map} +1 -1
- package/dist/components/{p-6f80ffdd.js → p-e977790c.js} +4 -4
- package/dist/components/{p-6f80ffdd.js.map → p-e977790c.js.map} +1 -1
- package/dist/components/{p-c3435528.js → p-ef54b157.js} +6 -6
- package/dist/components/{p-c3435528.js.map → p-ef54b157.js.map} +1 -1
- package/dist/components/{p-86b97b4e.js → p-f4b686d3.js} +2 -2
- package/dist/components/{p-86b97b4e.js.map → p-f4b686d3.js.map} +1 -1
- package/dist/esm/gb-avatar-dropdown.entry.js +16 -3
- package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-avatar-group.entry.js +2 -2
- package/dist/esm/gb-avatar-group.entry.js.map +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js +27 -8
- package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
- package/dist/esm/{gb-avatar_28.entry.js → gb-avatar_32.entry.js} +277 -111
- package/dist/esm/gb-avatar_32.entry.js.map +1 -0
- package/dist/esm/gb-button-close_2.entry.js +3 -3
- package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +4 -3
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +2 -2
- package/dist/esm/gb-megainput-field.entry.js +3 -3
- package/dist/esm/gb-notification-content.entry.js +2 -2
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +2 -2
- package/dist/esm/gb-scrollbar.entry.js +2 -2
- package/dist/esm/gb-slider-control-handle.entry.js +2 -2
- package/dist/esm/gb-slider.entry.js +2 -2
- package/dist/esm/gb-toast-button.entry.js +2 -2
- package/dist/esm/gb-toast.entry.js +2 -2
- package/dist/esm/gb-toggle-base.entry.js +3 -3
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field.entry.js +2 -2
- package/dist/esm/gb-verification-code-field.entry.js +3 -3
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/globuscomponents/assets/cancel-01.svg +5 -0
- package/dist/globuscomponents/assets/copy-01.svg +5 -0
- package/dist/globuscomponents/assets/mail-02.svg +5 -0
- package/dist/globuscomponents/gb-button.tsx +3 -3
- package/dist/globuscomponents/global/global.css +2 -2
- package/dist/globuscomponents/globuscomponents.css +2 -2
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-130d1778.entry.js → p-0bc1121f.entry.js} +2 -2
- package/dist/globuscomponents/p-0bc1121f.entry.js.map +1 -0
- package/dist/globuscomponents/p-0f414f9f.entry.js +2 -0
- package/dist/globuscomponents/{p-e77016c3.entry.js → p-2324c427.entry.js} +2 -2
- package/dist/globuscomponents/{p-c0e095b8.entry.js → p-24a974f3.entry.js} +2 -2
- package/dist/globuscomponents/{p-9f6d25da.entry.js → p-26cb7c9d.entry.js} +2 -2
- package/dist/globuscomponents/{p-74dc85da.entry.js → p-29ece541.entry.js} +2 -2
- package/dist/globuscomponents/{p-e52d8cdf.entry.js → p-325acabb.entry.js} +2 -2
- package/dist/globuscomponents/p-38d53dd9.entry.js +2 -0
- package/dist/globuscomponents/p-38d53dd9.entry.js.map +1 -0
- package/dist/globuscomponents/{p-d7187578.entry.js → p-50481024.entry.js} +2 -2
- package/dist/globuscomponents/{p-790abb4e.entry.js → p-581bce75.entry.js} +2 -2
- package/dist/globuscomponents/p-581bce75.entry.js.map +1 -0
- package/dist/globuscomponents/{p-c72859a2.entry.js → p-6b1178b3.entry.js} +2 -2
- package/dist/globuscomponents/{p-acf94a1a.entry.js → p-79659428.entry.js} +2 -2
- package/dist/globuscomponents/{p-934f454a.entry.js → p-8f5f24fc.entry.js} +2 -2
- package/dist/globuscomponents/{p-98dbf27b.entry.js → p-928aabc3.entry.js} +2 -2
- package/dist/globuscomponents/{p-c319a1ac.entry.js → p-9ee50d85.entry.js} +2 -2
- package/dist/globuscomponents/{p-7d39e1bb.entry.js → p-a4f0c19b.entry.js} +2 -2
- package/dist/globuscomponents/{p-52b8180e.entry.js → p-a6f098dd.entry.js} +2 -2
- package/dist/globuscomponents/{p-a05326b0.entry.js → p-b59bac43.entry.js} +2 -2
- package/dist/globuscomponents/{p-f75875e4.entry.js → p-b7994673.entry.js} +2 -2
- package/dist/globuscomponents/{p-8f90b024.entry.js → p-b843b355.entry.js} +2 -2
- package/dist/globuscomponents/p-bf439635.entry.js +2 -0
- package/dist/globuscomponents/p-bf439635.entry.js.map +1 -0
- package/dist/globuscomponents/{p-5e5e8adb.entry.js → p-c935a36a.entry.js} +2 -2
- package/dist/globuscomponents/{p-263e06c7.entry.js → p-e2d38d7a.entry.js} +2 -2
- package/dist/globuscomponents/{p-ae1e9810.entry.js → p-ec76b2eb.entry.js} +2 -2
- package/dist/globuscomponents/{p-2a3cf534.entry.js → p-f8671b41.entry.js} +2 -2
- package/dist/globuscomponents/p-f8671b41.entry.js.map +1 -0
- package/dist/globuscomponents/readme.md +0 -2
- package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +3 -0
- package/dist/types/components/gb-avatar-label-group/gb-avatar-label-group.d.ts +3 -1
- package/dist/types/components/gb-checkbox/gb-checkbox.d.ts +1 -0
- package/dist/types/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.d.ts +1 -0
- package/dist/types/components/gb-header/gb-header.d.ts +3 -1
- package/dist/types/components/gb-help-tooltip/gb-help-tooltip.d.ts +8 -0
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +3 -3
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +7 -1
- package/dist/types/components.d.ts +31 -6
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_28.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js +0 -34
- package/dist/cjs/gb-header-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-header.cjs.entry.js +0 -42
- package/dist/cjs/gb-header.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-notification-pane.cjs.entry.js +0 -45
- package/dist/cjs/gb-notification-pane.cjs.entry.js.map +0 -1
- package/dist/components/p-29e457b4.js.map +0 -1
- package/dist/components/p-2ff90ce5.js.map +0 -1
- package/dist/components/p-45b383f3.js.map +0 -1
- package/dist/components/p-4ad10413.js.map +0 -1
- package/dist/components/p-4bc4b9d4.js.map +0 -1
- package/dist/components/p-502ce20d.js.map +0 -1
- package/dist/components/p-69a17ca1.js.map +0 -1
- package/dist/components/p-a621882d.js.map +0 -1
- package/dist/components/p-da4c5b74.js.map +0 -1
- package/dist/components/p-fa3dbfc9.js.map +0 -1
- package/dist/esm/gb-avatar_28.entry.js.map +0 -1
- package/dist/esm/gb-header-icon.entry.js +0 -30
- package/dist/esm/gb-header-icon.entry.js.map +0 -1
- package/dist/esm/gb-header.entry.js +0 -38
- package/dist/esm/gb-header.entry.js.map +0 -1
- package/dist/esm/gb-notification-pane.entry.js +0 -41
- package/dist/esm/gb-notification-pane.entry.js.map +0 -1
- package/dist/globuscomponents/p-071f2e68.entry.js +0 -2
- package/dist/globuscomponents/p-071f2e68.entry.js.map +0 -1
- package/dist/globuscomponents/p-130d1778.entry.js.map +0 -1
- package/dist/globuscomponents/p-1626936d.entry.js +0 -2
- package/dist/globuscomponents/p-1626936d.entry.js.map +0 -1
- package/dist/globuscomponents/p-2a3cf534.entry.js.map +0 -1
- package/dist/globuscomponents/p-74d432cd.entry.js +0 -2
- package/dist/globuscomponents/p-790abb4e.entry.js.map +0 -1
- package/dist/globuscomponents/p-85954677.entry.js +0 -2
- package/dist/globuscomponents/p-85954677.entry.js.map +0 -1
- package/dist/globuscomponents/p-863cf07a.entry.js +0 -2
- package/dist/globuscomponents/p-863cf07a.entry.js.map +0 -1
- package/dist/globuscomponents/p-9f1b85de.entry.js +0 -2
- package/dist/globuscomponents/p-9f1b85de.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-74d432cd.entry.js.map → p-0f414f9f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e77016c3.entry.js.map → p-2324c427.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c0e095b8.entry.js.map → p-24a974f3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9f6d25da.entry.js.map → p-26cb7c9d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-74dc85da.entry.js.map → p-29ece541.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e52d8cdf.entry.js.map → p-325acabb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d7187578.entry.js.map → p-50481024.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c72859a2.entry.js.map → p-6b1178b3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-acf94a1a.entry.js.map → p-79659428.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-934f454a.entry.js.map → p-8f5f24fc.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-98dbf27b.entry.js.map → p-928aabc3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c319a1ac.entry.js.map → p-9ee50d85.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7d39e1bb.entry.js.map → p-a4f0c19b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-52b8180e.entry.js.map → p-a6f098dd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a05326b0.entry.js.map → p-b59bac43.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f75875e4.entry.js.map → p-b7994673.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8f90b024.entry.js.map → p-b843b355.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5e5e8adb.entry.js.map → p-c935a36a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-263e06c7.entry.js.map → p-e2d38d7a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ae1e9810.entry.js.map → p-ec76b2eb.entry.js.map} +0 -0
|
@@ -12,7 +12,7 @@ export class GbDropdownShortcut {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const iconSrc = this.iconSrc ? getAssetPath(`assets/${this.iconSrc}.svg`) : '';
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: 'dc4b1902fabf056c69336a704e726f0614999e31', class: "shortcut-container" }, h("div", { key: '0b88f34e4ad40fee202d5a75401540b4ce90d004', class: `shortcut ${this.state === 'disabled' ? 'disabled' : ''}` }, this.icon && (h("div", { key: 'c9ff3b5ff7385c60717d213dfe1e5059f1bf09e0', class: "icon" }, h("img", { key: 'a5eb33ecf3a6d6313e89409476030e53cd608892', src: iconSrc, alt: "Icon" }))), this.checkbox && !this.icon && (h("gb-checkbox", { key: '9f0c9a9b3c9c2381241a5e4f96ac82fe48d0de29', class: "checkbox", size: "sm", type: 'checkbox', state: StateEnum.Default })), h("span", { key: '4b4546ddfaa3649922423e2506f7f6b5f3bd85ee', class: "label" }, h("p", { key: '8e153ae713432c6d06f06d1ed131d6f8f8b368ff', class: `text-sm-medium` }, this.label)), this.shortcut && (h("span", { key: '9fcadb672b1f2784c20255492c3d9364a01d3d15', class: "shortcut-icon" }, h("slot", { key: '315e301328d5f9959d4d2694bee80b012608734d' }, "\u2318", this.shortcutIcon))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "gb-dropdown-items-with-shortcut"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,5 +154,6 @@ export class GbDropdownShortcut {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
+
static get elementRef() { return "el"; }
|
|
157
158
|
}
|
|
158
159
|
//# sourceMappingURL=gb-dropdown-items-with-shortcut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-dropdown-items-with-shortcut.js","sourceRoot":"","sources":["../../../src/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"gb-dropdown-items-with-shortcut.js","sourceRoot":"","sources":["../../../src/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,EAAE,OAAO,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAQvD,MAAM,OAAO,kBAAkB;;oBACH,KAAK;;wBAED,KAAK;;4BAEF,GAAG;qBACV,EAAE;qBACc,SAAS;;IAGjD,MAAM;QACF,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,IAAI,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAE/E,OAAO,CACH,4DAAK,KAAK,EAAC,oBAAoB;YAC3B,4DAAK,KAAK,EAAE,YAAY,IAAI,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE;gBAChE,IAAI,CAAC,IAAI,IAAI,CACV,4DAAK,KAAK,EAAC,MAAM;oBACb,4DAAK,GAAG,EAAE,OAAO,EAAE,GAAG,EAAC,MAAM,GAAO,CAClC,CACT;gBACA,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAC5B,oEAAa,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAE,SAAS,CAAC,OAAO,GAAgB,CACnG;gBACD,6DAAM,KAAK,EAAC,OAAO;oBACf,0DAAG,KAAK,EAAE,gBAAgB,IAAG,IAAI,CAAC,KAAK,CAAK,CACzC;gBACN,IAAI,CAAC,QAAQ,IAAI,CACd,6DAAM,KAAK,EAAC,eAAe;oBACvB;;wBAAQ,IAAI,CAAC,YAAY,CAAQ,CAC9B,CACV,CACC,CACJ,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {Component, Prop, h, getAssetPath, Element} from '@stencil/core';\r\nimport {StateEnum } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-dropdown-items-with-shortcut',\r\n styleUrl: 'gb-dropdown-items-with-shortcut.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbDropdownShortcut {\r\n @Prop() icon: boolean = false;\r\n @Prop() iconSrc: string;\r\n @Prop() checkbox: boolean = false;\r\n @Prop() shortcut: boolean;\r\n @Prop() shortcutIcon: string = 'C';\r\n @Prop() label: string = '';\r\n @Prop() state: 'default' | 'disabled' = 'default';\r\n @Element() el: HTMLElement;\r\n\r\n render() {\r\n const iconSrc = this.iconSrc ? getAssetPath(`assets/${this.iconSrc}.svg`) : '';\r\n\r\n return (\r\n <div class=\"shortcut-container\">\r\n <div class={`shortcut ${this.state === 'disabled' ? 'disabled' : ''}`}>\r\n {this.icon && (\r\n <div class=\"icon\">\r\n <img src={iconSrc} alt=\"Icon\"></img>\r\n </div>\r\n )}\r\n {this.checkbox && !this.icon && (\r\n <gb-checkbox class=\"checkbox\" size=\"sm\" type='checkbox' state={StateEnum.Default}></gb-checkbox>\r\n )}\r\n <span class=\"label\">\r\n <p class={`text-sm-medium`}>{this.label}</p>\r\n </span>\r\n {this.shortcut && (\r\n <span class=\"shortcut-icon\">\r\n <slot>⌘{this.shortcutIcon}</slot>\r\n </span>\r\n )}\r\n </div>\r\n </div>\r\n )\r\n }\r\n}\r\n"]}
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
--color-text-subtle: var(--gray-500);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
[data-theme="
|
|
179
|
+
[data-theme="dark"] {
|
|
180
180
|
--color-text-subtle: var(--gray-500);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
[data-theme="
|
|
183
|
+
[data-theme="light"] {
|
|
184
184
|
--color-text-disabled: var(--gray-300);
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -6,22 +6,35 @@ export class GbHeader {
|
|
|
6
6
|
this.showIndicator = false;
|
|
7
7
|
this.text = false;
|
|
8
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
|
+
}
|
|
9
21
|
}
|
|
10
22
|
componentDidLoad() {
|
|
11
23
|
const initials = this.el.querySelector("[slot='initials']");
|
|
12
24
|
if (initials) {
|
|
13
25
|
initials.classList.add('text-md-semi-bold');
|
|
26
|
+
initials.classList.add(this.applyColorToInitials());
|
|
14
27
|
}
|
|
15
28
|
}
|
|
16
29
|
async onNavBarItemClicked(index) {
|
|
17
|
-
console.log('nav-bar-item clicked');
|
|
30
|
+
// console.log('nav-bar-item clicked');
|
|
18
31
|
this.navBarItemClicked.emit(index);
|
|
19
|
-
console.log(index);
|
|
32
|
+
// console.log(index);
|
|
20
33
|
}
|
|
21
34
|
render() {
|
|
22
35
|
const helpIconSrc = getAssetPath(`assets/help-circle.svg`);
|
|
23
36
|
const notificationIconSrc = getAssetPath(`assets/notification-03.svg`);
|
|
24
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '80ac9805ac66f58d867f99a5c920ad742868033f', class: `header_div` }, h("div", { key: '05c85170999766f4cce99c3f8a1a76726cc35b91', class: "content" }, h("div", { key: '37eeb6437ae67737fcffaf6384b5a97296417c0e', class: "inner_content" }, h("div", { key: '2677a615e7ff4686b08ce1ec8c7d76982b92561e', class: `action` }, h("gb-header-icon", { key: '19e266d3a2eed826de2b75abae8d1b687afb9e80', state: StateEnum.Default, icon: helpIconSrc, onClick: () => this.onNavBarItemClicked(0) }), h("gb-header-icon", { key: 'bce88d166d7c8f667b547fef20b178dbcdf1e24a', state: this.state, icon: notificationIconSrc, "show-indicator": this.showIndicator, onClick: () => this.onNavBarItemClicked(1) })), h("gb-avatar", { key: 'c01ac44ac85d27f499102101872eac5ab4ca45b8', 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" }))))));
|
|
25
38
|
}
|
|
26
39
|
static get is() { return "gb-header"; }
|
|
27
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,6 +126,29 @@ export class GbHeader {
|
|
|
113
126
|
"attribute": "placeholder",
|
|
114
127
|
"reflect": false,
|
|
115
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
|
|
116
152
|
}
|
|
117
153
|
};
|
|
118
154
|
}
|
|
@@ -1 +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,
|
|
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}"]}
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
--color-text-subtle: var(--gray-500);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
[data-theme="
|
|
179
|
+
[data-theme="dark"] {
|
|
180
180
|
--color-text-subtle: var(--gray-500);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
[data-theme="
|
|
183
|
+
[data-theme="light"] {
|
|
184
184
|
--color-text-disabled: var(--gray-300);
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -8,13 +8,13 @@ export class GbHeaderIcon {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
return [
|
|
11
|
-
h("div", { key: '
|
|
11
|
+
h("div", { key: '7a00e97477aae0149fd099b9e99606493062eee9', class: `background ${this.state}` }, this.state === StateEnum.Default && [
|
|
12
12
|
// <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
13
13
|
// <path d="M3.72919 7.73286L4.47919 7.73293V7.73286H3.72919ZM16.2706 7.73286H15.5206V7.73293L16.2706 7.73286ZM16.3065 14.2952L16.5863 14.9911L16.3065 14.2952ZM3.6933 14.2952L3.97308 13.5994L3.97308 13.5994L3.6933 14.2952ZM16.8452 10.1617L16.2307 10.5916L16.2332 10.5951L16.8452 10.1617ZM17.8916 11.9951L17.1507 12.1115L17.1507 12.1115L17.8916 11.9951ZM3.15459 10.1617L3.76669 10.5951L3.76915 10.5916L3.15459 10.1617ZM2.10819 11.9951L1.36728 11.8786H1.36728L2.10819 11.9951ZM7.9616 16.909C7.63517 16.654 7.16384 16.7119 6.90886 17.0383C6.65388 17.3648 6.7118 17.8361 7.03824 18.0911L7.9616 16.909ZM12.9616 18.0911C13.288 17.8361 13.346 17.3648 13.091 17.0383C12.836 16.7119 12.3647 16.654 12.0382 16.909L12.9616 18.0911ZM16.0268 13.5994C12.4873 15.0225 7.51251 15.0225 3.97308 13.5994L3.41351 14.9911C7.31201 16.5586 12.6878 16.5586 16.5863 14.9911L16.0268 13.5994ZM17.0206 7.73286C17.0206 3.94514 13.8537 0.916687 9.99992 0.916687V2.41669C13.0726 2.41669 15.5206 4.82007 15.5206 7.73286H17.0206ZM4.47919 7.73286C4.47919 4.82007 6.92727 2.41669 9.99992 2.41669V0.916687C6.14612 0.916687 2.97919 3.94514 2.97919 7.73286H4.47919ZM3.97308 13.5994C3.14627 13.2669 2.75147 12.7326 2.84909 12.1115L1.36728 11.8786C1.11048 13.5125 2.30023 14.5434 3.41351 14.9911L3.97308 13.5994ZM16.5863 14.9911C17.6996 14.5434 18.8894 13.5125 18.6326 11.8786L17.1507 12.1115C17.2484 12.7326 16.8536 13.2669 16.0268 13.5994L16.5863 14.9911ZM17.4598 9.73179C17.0815 9.19099 17.0207 8.58744 17.0206 7.7328L15.5206 7.73293C15.5207 8.61212 15.5638 9.63826 16.2307 10.5916L17.4598 9.73179ZM3.76915 10.5916C4.43604 9.63825 4.47911 8.61212 4.47919 7.73293L2.97919 7.7328C2.97911 8.58744 2.91834 9.19099 2.54003 9.73179L3.76915 10.5916ZM2.54251 9.72827C2.45079 9.8578 2.35253 9.98608 2.23845 10.1379C2.12877 10.2839 2.00871 10.4463 1.89595 10.6178C1.67289 10.957 1.44576 11.3793 1.36728 11.8786L2.84909 12.1115C2.87952 11.9179 2.97611 11.7052 3.14928 11.4419C3.23464 11.3121 3.33082 11.1812 3.43773 11.0389C3.54024 10.9024 3.65891 10.7473 3.76668 10.5951L2.54251 9.72827ZM16.2332 10.5951C16.3409 10.7473 16.4596 10.9024 16.5621 11.0389C16.669 11.1812 16.7652 11.3121 16.8506 11.4419C17.0237 11.7052 17.1203 11.9179 17.1507 12.1115L18.6326 11.8786C18.5541 11.3793 18.327 10.957 18.1039 10.6178C17.9911 10.4463 17.8711 10.2839 17.7614 10.1379C17.6473 9.98608 17.5491 9.8578 17.4573 9.72827L16.2332 10.5951ZM9.99992 17.5834C9.20289 17.5834 8.49015 17.3218 7.9616 16.909L7.03824 18.0911C7.83658 18.7147 8.87606 19.0834 9.99992 19.0834V17.5834ZM12.0382 16.909C11.5097 17.3218 10.7969 17.5834 9.99992 17.5834V19.0834C11.1238 19.0834 12.1633 18.7147 12.9616 18.0911L12.0382 16.909Z" fill="#4B5565"/>
|
|
14
14
|
// </svg>,
|
|
15
|
-
h("img", { key: '
|
|
16
|
-
h(Fragment, null, this.showIndicator && (h("div", { key: '
|
|
17
|
-
], this.state === StateEnum.Disabled && (h("svg", { key: '
|
|
15
|
+
h("img", { key: 'fbf213e7ce166fea131aeb3b6217aca81ef02127', src: this.icon, alt: "", class: "icon" }),
|
|
16
|
+
h(Fragment, null, this.showIndicator && (h("div", { key: 'c6cce9e7b6ae47ebf9d5a9f12984e2245194cf24', class: "red_dot" })))
|
|
17
|
+
], this.state === StateEnum.Disabled && (h("svg", { key: '7059d891e4daba6ff56e2d1261533c3c08000dfc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '22351ccf1dc372c825a276f191b32c88d8159979', d: "M3.72919 7.73286L4.47919 7.73293V7.73286H3.72919ZM16.2706 7.73286H15.5206V7.73293L16.2706 7.73286ZM16.3065 14.2952L16.5863 14.9911L16.3065 14.2952ZM3.6933 14.2952L3.97308 13.5994L3.97308 13.5994L3.6933 14.2952ZM16.8452 10.1617L16.2307 10.5916L16.2332 10.5951L16.8452 10.1617ZM17.8916 11.9951L17.1507 12.1115L17.1507 12.1115L17.8916 11.9951ZM3.15459 10.1617L3.76669 10.5951L3.76915 10.5916L3.15459 10.1617ZM2.10819 11.9951L1.36728 11.8786H1.36728L2.10819 11.9951ZM7.9616 16.909C7.63517 16.654 7.16384 16.7119 6.90886 17.0383C6.65388 17.3648 6.7118 17.8361 7.03824 18.0911L7.9616 16.909ZM12.9616 18.0911C13.288 17.8361 13.346 17.3648 13.091 17.0383C12.836 16.7119 12.3647 16.654 12.0382 16.909L12.9616 18.0911ZM16.0268 13.5994C12.4873 15.0225 7.51251 15.0225 3.97308 13.5994L3.41351 14.9911C7.31201 16.5586 12.6878 16.5586 16.5863 14.9911L16.0268 13.5994ZM17.0206 7.73286C17.0206 3.94514 13.8537 0.916687 9.99992 0.916687V2.41669C13.0726 2.41669 15.5206 4.82007 15.5206 7.73286H17.0206ZM4.47919 7.73286C4.47919 4.82007 6.92727 2.41669 9.99992 2.41669V0.916687C6.14612 0.916687 2.97919 3.94514 2.97919 7.73286H4.47919ZM3.97308 13.5994C3.14627 13.2669 2.75147 12.7326 2.84909 12.1115L1.36728 11.8786C1.11048 13.5125 2.30023 14.5434 3.41351 14.9911L3.97308 13.5994ZM16.5863 14.9911C17.6996 14.5434 18.8894 13.5125 18.6326 11.8786L17.1507 12.1115C17.2484 12.7326 16.8536 13.2669 16.0268 13.5994L16.5863 14.9911ZM17.4598 9.73179C17.0815 9.19099 17.0207 8.58744 17.0206 7.7328L15.5206 7.73293C15.5207 8.61212 15.5638 9.63826 16.2307 10.5916L17.4598 9.73179ZM3.76915 10.5916C4.43604 9.63825 4.47911 8.61212 4.47919 7.73293L2.97919 7.7328C2.97911 8.58744 2.91834 9.19099 2.54003 9.73179L3.76915 10.5916ZM2.54251 9.72827C2.45079 9.8578 2.35253 9.98608 2.23845 10.1379C2.12877 10.2839 2.00871 10.4463 1.89595 10.6178C1.67289 10.957 1.44576 11.3793 1.36728 11.8786L2.84909 12.1115C2.87952 11.9179 2.97611 11.7052 3.14928 11.4419C3.23464 11.3121 3.33082 11.1812 3.43773 11.0389C3.54024 10.9024 3.65891 10.7473 3.76668 10.5951L2.54251 9.72827ZM16.2332 10.5951C16.3409 10.7473 16.4596 10.9024 16.5621 11.0389C16.669 11.1812 16.7652 11.3121 16.8506 11.4419C17.0237 11.7052 17.1203 11.9179 17.1507 12.1115L18.6326 11.8786C18.5541 11.3793 18.327 10.957 18.1039 10.6178C17.9911 10.4463 17.8711 10.2839 17.7614 10.1379C17.6473 9.98608 17.5491 9.8578 17.4573 9.72827L16.2332 10.5951ZM9.99992 17.5834C9.20289 17.5834 8.49015 17.3218 7.9616 16.909L7.03824 18.0911C7.83658 18.7147 8.87606 19.0834 9.99992 19.0834V17.5834ZM12.0382 16.909C11.5097 17.3218 10.7969 17.5834 9.99992 17.5834V19.0834C11.1238 19.0834 12.1633 18.7147 12.9616 18.0911L12.0382 16.909Z", fill: "#CDD5DF" }))))
|
|
18
18
|
];
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "gb-header-icon"; }
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
--color-text-subtle: var(--gray-500);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
[data-theme="
|
|
179
|
+
[data-theme="dark"] {
|
|
180
180
|
--color-text-subtle: var(--gray-500);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
[data-theme="
|
|
183
|
+
[data-theme="light"] {
|
|
184
184
|
--color-text-disabled: var(--gray-300);
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -5,7 +5,7 @@ export class GbHelpDropdown {
|
|
|
5
5
|
}
|
|
6
6
|
async downloadUserGuideClicked() { }
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '863eebab16a8bd5cab7caf94481662d3f5c62f65', class: "dropdown-container" }, h("div", { key: '936e6b554162d1239d270dd1fea5340ea66c5769', class: "user_guide" }, h("gb-dropdown-items-with-shortcut", { key: '9d5be8601305afa2aba02488877c6d2fa91f10df', icon: true, iconSrc: "book_open", label: "Download user guide", onClick: () => this.downloadUserGuideClicked() })), h("div", { key: '3d8d36d064ece1be4e42c6a94e828a3e5b8ec0bb', class: "bug" }, h("gb-dropdown-items-with-shortcut", { key: 'e4f1b6b42e8a8d6a9b0b1e9ad964086425db66a6', icon: true, iconSrc: "bug_02", label: "Report a bug" })), this.showLogError && (h("div", { key: '14fc52476942743f78bb69ec833d8489f7282ab9', class: "log_error" }, h("gb-dropdown-items-with-shortcut", { key: 'a14fdaa90bbcd8d60d3f92e5a2cc0986eef41e18', icon: true, iconSrc: "alert_02", label: "Log a profile error" })))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-help-dropdown"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|