globuswebcomponents 2.5.0 → 2.5.2
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.gb-header-icon.gb-help-dropdown.gb-notification-pane.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-avatar-dropdown_4.cjs.entry.js +219 -0
- package/dist/cjs/gb-avatar-dropdown_4.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-label-group.gb-icon-button-base.gb-theme-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/{gb-avatar-label-group_2.cjs.entry.js → gb-avatar-label-group_3.cjs.entry.js} +31 -4
- package/dist/cjs/gb-avatar-label-group_3.cjs.entry.js.map +1 -0
- package/dist/cjs/{gb-avatar_25.cjs.entry.js → gb-avatar_19.cjs.entry.js} +249 -420
- package/dist/cjs/gb-avatar_19.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-badge.gb-badge-close.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-badge_2.cjs.entry.js +100 -0
- package/dist/cjs/gb-badge_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close.cjs.entry.js +1 -1
- package/dist/cjs/gb-button-group-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-button-group_3.cjs.entry.js +3 -3
- package/dist/cjs/gb-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-carousel-arrow.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +2 -2
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-collapse-button_4.cjs.entry.js +159 -0
- package/dist/cjs/gb-collapse-button_4.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-comment-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-comment.cjs.entry.js +28 -5
- package/dist/cjs/gb-comment.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-comment.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-detail-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-dropdown-item_3.cjs.entry.js +3 -3
- package/dist/cjs/gb-featured-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +5 -5
- package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
- package/dist/cjs/gb-header.cjs.entry.js +104 -10
- package/dist/cjs/gb-header.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-header.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +61 -1
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-horizontal-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-input-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
- package/dist/cjs/{gb-header-icon.cjs.entry.js → gb-metric-card.cjs.entry.js} +9 -30
- package/dist/cjs/gb-metric-card.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-metric-card.entry.cjs.js.map +1 -0
- package/dist/{globuscomponents/p-05a36742.entry.js → cjs/gb-metric-featured-icon.cjs.entry.js} +30 -2
- package/dist/cjs/gb-metric-featured-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-metric-featured-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-nav-bar-sidemenu.cjs.entry.js +10 -10
- package/dist/cjs/gb-nav-bar-sidemenu.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-nav-bar-sidemenu.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gb-pagination.cjs.entry.js +4 -4
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-quick-action-card.cjs.entry.js +1 -1
- package/dist/cjs/gb-quick-action-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-sidebar.cjs.entry.js +142 -0
- package/dist/cjs/gb-sidebar.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-sidebar.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-minimal-icons.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
- package/dist/cjs/gb-tab-button-base.cjs.entry.js +3 -3
- package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-table-header.cjs.entry.js +1 -1
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +3 -3
- package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
- package/dist/cjs/gb-toast.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-vertical-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/background_pattern_dark_mode.svg +52 -0
- package/dist/collection/assets/illustration_dark_mode.svg +21 -0
- package/dist/collection/components/gb-action-panel/gb-action-panel.js +6 -6
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +15 -19
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +37 -35
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +9 -2
- package/dist/collection/components/gb-btn/gb-btn.css +158 -102
- package/dist/collection/components/gb-btn/gb-btn.js +15 -6
- package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.css +154 -102
- package/dist/collection/components/gb-button/gb-button.js +11 -32
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +23 -30
- package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
- package/dist/collection/components/gb-button-group/gb-button-group.js +1 -1
- package/dist/collection/components/gb-button-group-base/gb-button-group-base.js +2 -2
- package/dist/collection/components/gb-card-icon/gb-card-icon.js +1 -1
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +2 -2
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +2 -2
- package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +2 -2
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
- package/dist/collection/components/gb-comment/gb-comment.css +1 -1
- package/dist/collection/components/gb-comment/gb-comment.js +58 -4
- package/dist/collection/components/gb-comment/gb-comment.js.map +1 -1
- package/dist/collection/components/gb-comment-item/gb-comment-item.js +1 -1
- package/dist/collection/components/gb-complex-primary-side-bar-item/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/collection/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +1 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +0 -4
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js.map +1 -1
- package/dist/collection/components/gb-empty-state/gb-empty-state.js +1 -1
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +1 -1
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
- package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
- package/dist/collection/components/gb-featured-icon/gb-featured-icon.js +1 -1
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +12 -12
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +5 -5
- package/dist/collection/components/gb-filter-button/gb-filter-button.js +2 -2
- package/dist/collection/components/gb-header/gb-header.css +2756 -0
- package/dist/collection/components/gb-header/gb-header.js +415 -32
- package/dist/collection/components/gb-header/gb-header.js.map +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +1 -1
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +2 -27
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js.map +1 -1
- package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +62 -2
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
- package/dist/collection/components/gb-icon-button-base/gb-icon-button-base.js +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +3 -3
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +12 -12
- package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
- package/dist/collection/components/gb-metric-card/gb-metric-card.js +1 -1
- package/dist/collection/components/gb-metric-featured-icon/gb-metric-featured-icon.js +1 -1
- package/dist/collection/components/gb-nav-bar/gb-nav-bar.js +6 -7
- package/dist/collection/components/gb-nav-bar/gb-nav-bar.js.map +1 -1
- package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js +1 -1
- package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js.map +1 -1
- package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.css +38 -38
- package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js +10 -10
- package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js.map +1 -1
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +23 -95
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js.map +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +4 -4
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.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.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- 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-quick-action-card/gb-quick-action-card.js +1 -1
- package/dist/collection/components/gb-quick-action-icon/gb-quick-action-icon.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +30 -24
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
- package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +1 -1
- package/dist/collection/components/gb-slider/gb-slider.js +1 -1
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
- package/dist/collection/components/gb-step-icon-base/gb-step-icon-base.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-icons-connected/gb-stepper-horizontal-icons-connected.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
- package/dist/collection/components/gb-stepper-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
- package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.js +2 -2
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- 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.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +3 -3
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js.map +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-action-panel.js +4 -4
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -183
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +2 -2
- package/dist/components/gb-avatar.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-group-base.js +1 -1
- package/dist/components/gb-button-group.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-card-icon.js +1 -1
- package/dist/components/gb-carousel-arrow.js +1 -1
- package/dist/components/gb-checkbox-base.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +7 -7
- package/dist/components/gb-checkbox.js +1 -1
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment-item.js +1 -1
- package/dist/components/gb-comment.js +33 -8
- package/dist/components/gb-comment.js.map +1 -1
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-detail-cell.js +7 -7
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-empty-state.js +2 -2
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +1 -1
- package/dist/components/gb-export-sub-dropdown-item.js +1 -1
- package/dist/components/gb-export-sub-dropdown.js +1 -1
- package/dist/components/gb-featured-icon.js +1 -1
- package/dist/components/gb-file-type-icon.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +18 -18
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +215 -46
- package/dist/components/gb-header.js.map +1 -1
- package/dist/components/gb-help-dropdown.js +1 -54
- package/dist/components/gb-help-dropdown.js.map +1 -1
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +65 -5
- package/dist/components/gb-horizontal-tabs.js.map +1 -1
- package/dist/components/gb-icon-button-base.js +1 -1
- 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 +1 -1
- package/dist/components/gb-mega-input-field-base.js +1 -1
- package/dist/components/gb-metric-card.js +5 -5
- package/dist/components/gb-metric-featured-icon.js +1 -1
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +15 -15
- package/dist/components/gb-nav-bar-sidemenu.js.map +1 -1
- package/dist/components/gb-nav-bar.js +9 -10
- package/dist/components/gb-nav-bar.js.map +1 -1
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +1 -100
- package/dist/components/gb-notification-pane.js.map +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-group.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +22 -22
- 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-quick-action-card.js +2 -2
- package/dist/components/gb-quick-action-icon.js +2 -2
- package/dist/components/gb-scrollbar.js +1 -1
- package/dist/components/gb-sidebar.js +29 -29
- package/dist/components/gb-sidebar.js.map +1 -1
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +3 -3
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-step-base.js +1 -1
- package/dist/components/gb-step-icon-base.js +1 -1
- package/dist/components/gb-stepper-horizontal-icons-centered.js +4 -4
- package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
- package/dist/components/gb-stepper-horizontal-line-with-text.js +4 -4
- package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
- package/dist/components/gb-stepper-vertical-icons-with-text.js +4 -4
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-table-cell.js +1 -1
- package/dist/components/gb-table-header.js +24 -24
- 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-textarea-input-field.js +12 -12
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +4 -4
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +3 -3
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +2 -2
- package/dist/components/{p-Cwh9x1wZ.js → p-6zLcKTIJ.js} +7 -7
- package/dist/components/{p-Cwh9x1wZ.js.map → p-6zLcKTIJ.js.map} +1 -1
- package/dist/components/{p-CBztft9m.js → p-AW2dTi9S.js} +8 -8
- package/dist/components/{p-CBztft9m.js.map → p-AW2dTi9S.js.map} +1 -1
- package/dist/components/{p-DJX_3tWY.js → p-B15QBWX6.js} +12 -12
- package/dist/components/{p-DJX_3tWY.js.map → p-B15QBWX6.js.map} +1 -1
- package/dist/components/{p-XhG0Zbdn.js → p-B4Doyp5m.js} +3 -3
- package/dist/components/{p-XhG0Zbdn.js.map → p-B4Doyp5m.js.map} +1 -1
- package/dist/components/{p-CiwkubRW.js → p-BG9oe56d.js} +7 -7
- package/dist/components/{p-CiwkubRW.js.map → p-BG9oe56d.js.map} +1 -1
- package/dist/components/{p-x0_pwfAX.js → p-BKiWUKNA.js} +5 -5
- package/dist/components/p-BKiWUKNA.js.map +1 -0
- package/dist/components/{p-XjW4rAiY.js → p-BLJPJrUd.js} +3 -3
- package/dist/components/{p-XjW4rAiY.js.map → p-BLJPJrUd.js.map} +1 -1
- package/dist/components/{p-wvgMLuKF.js → p-BOBpQY0o.js} +6 -6
- package/dist/components/{p-wvgMLuKF.js.map → p-BOBpQY0o.js.map} +1 -1
- package/dist/components/{p-CoASAB-G.js → p-BRk6RbM5.js} +4 -4
- package/dist/components/{p-CoASAB-G.js.map → p-BRk6RbM5.js.map} +1 -1
- package/dist/components/{p-BKCA-Nft.js → p-BTdG-aSj.js} +5 -5
- package/dist/components/{p-BKCA-Nft.js.map → p-BTdG-aSj.js.map} +1 -1
- package/dist/components/{p-CEdTZzy-.js → p-B_NRXYKd.js} +4 -4
- package/dist/components/{p-CEdTZzy-.js.map → p-B_NRXYKd.js.map} +1 -1
- package/dist/components/{p-CCsxDeGv.js → p-BcIv_mLx.js} +3 -3
- package/dist/components/{p-CCsxDeGv.js.map → p-BcIv_mLx.js.map} +1 -1
- package/dist/components/{p-CjMyK3tT.js → p-Bkka0bjp.js} +6 -6
- package/dist/components/{p-CjMyK3tT.js.map → p-Bkka0bjp.js.map} +1 -1
- package/dist/components/{p-C5hfsfyl.js → p-Bl5hPdtM.js} +3 -3
- package/dist/components/{p-C5hfsfyl.js.map → p-Bl5hPdtM.js.map} +1 -1
- package/dist/components/{p-DrPbTpq9.js → p-BwKlVoRe.js} +3 -3
- package/dist/components/{p-DrPbTpq9.js.map → p-BwKlVoRe.js.map} +1 -1
- package/dist/components/{p-DcbS97OK.js → p-C8eU03Iq.js} +3 -3
- package/dist/components/{p-DcbS97OK.js.map → p-C8eU03Iq.js.map} +1 -1
- package/dist/components/{p-BGv2320n.js → p-C8xO5wfj.js} +3 -3
- package/dist/components/{p-BGv2320n.js.map → p-C8xO5wfj.js.map} +1 -1
- package/dist/{esm/gb-notification-pane.entry.js → components/p-CNe9HHcx.js} +54 -21
- package/dist/components/p-CNe9HHcx.js.map +1 -0
- package/dist/components/{p-BswrDy0Z.js → p-CRkdZZ-D.js} +3 -3
- package/dist/components/{p-BswrDy0Z.js.map → p-CRkdZZ-D.js.map} +1 -1
- package/dist/components/{p-CeDRmFfD.js → p-CTQ9HC5z.js} +3 -3
- package/dist/components/{p-CeDRmFfD.js.map → p-CTQ9HC5z.js.map} +1 -1
- package/dist/components/{p-Bbk8oig3.js → p-CV74mobL.js} +3 -3
- package/dist/components/{p-Bbk8oig3.js.map → p-CV74mobL.js.map} +1 -1
- package/dist/components/{p-_YFiwVxe.js → p-CVkfA__z.js} +4 -4
- package/dist/components/{p-_YFiwVxe.js.map → p-CVkfA__z.js.map} +1 -1
- package/dist/components/{p-BKxv8iCt.js → p-CWtFbSKS.js} +4 -4
- package/dist/components/{p-BKxv8iCt.js.map → p-CWtFbSKS.js.map} +1 -1
- package/dist/components/{p-CTpU81CE.js → p-Cjkskl1V.js} +3 -3
- package/dist/components/{p-CTpU81CE.js.map → p-Cjkskl1V.js.map} +1 -1
- package/dist/components/{p-Q_8n1dCw.js → p-ClGbLleg.js} +3 -3
- package/dist/components/{p-Q_8n1dCw.js.map → p-ClGbLleg.js.map} +1 -1
- package/dist/components/{p-CSLbHX_T.js → p-CnHJq9y9.js} +9 -6
- package/dist/components/p-CnHJq9y9.js.map +1 -0
- package/dist/components/{p-CTddvX8z.js → p-CqVV_OOy.js} +4 -4
- package/dist/components/{p-CTddvX8z.js.map → p-CqVV_OOy.js.map} +1 -1
- package/dist/components/{p-C47pgbwk.js → p-Cv6ZZ7fd.js} +3 -3
- package/dist/components/{p-C47pgbwk.js.map → p-Cv6ZZ7fd.js.map} +1 -1
- package/dist/components/{p-BOsBGsXy.js → p-D3IdSsoc.js} +4 -4
- package/dist/components/{p-BOsBGsXy.js.map → p-D3IdSsoc.js.map} +1 -1
- package/dist/components/{p-BZ1mH78n.js → p-D4OVZg2p.js} +4 -4
- package/dist/components/{p-BZ1mH78n.js.map → p-D4OVZg2p.js.map} +1 -1
- package/dist/components/{p-DAde5sTO.js → p-D88Jr-bL.js} +3 -3
- package/dist/components/{p-DAde5sTO.js.map → p-D88Jr-bL.js.map} +1 -1
- package/dist/components/{p-DLTKp444.js → p-D9EMJEed.js} +3 -3
- package/dist/components/{p-DLTKp444.js.map → p-D9EMJEed.js.map} +1 -1
- package/dist/components/{p-CllCou_l.js → p-DF4pGSoY.js} +3 -3
- package/dist/components/{p-CllCou_l.js.map → p-DF4pGSoY.js.map} +1 -1
- package/dist/components/{p-BnFFEa0u.js → p-DI9XFh4S.js} +8 -8
- package/dist/components/{p-BnFFEa0u.js.map → p-DI9XFh4S.js.map} +1 -1
- package/dist/components/{p-CU4DhT_Y.js → p-DIILdGQv.js} +28 -28
- package/dist/components/{p-CU4DhT_Y.js.map → p-DIILdGQv.js.map} +1 -1
- package/dist/components/{p-BkQch75o.js → p-DIw-IuY4.js} +13 -32
- package/dist/components/p-DIw-IuY4.js.map +1 -0
- package/dist/components/{p-BEi8B0ba.js → p-DSCRk826.js} +3 -3
- package/dist/components/{p-BEi8B0ba.js.map → p-DSCRk826.js.map} +1 -1
- package/dist/components/{p-xXvzXnzW.js → p-DUNpO9QM.js} +5 -5
- package/dist/components/{p-xXvzXnzW.js.map → p-DUNpO9QM.js.map} +1 -1
- package/dist/components/{p-Dzq2ZwfA.js → p-DVkzTHyb.js} +4 -4
- package/dist/components/{p-Dzq2ZwfA.js.map → p-DVkzTHyb.js.map} +1 -1
- package/dist/components/{p-OLaa8Yku.js → p-DYlUQ8ED.js} +4 -4
- package/dist/components/{p-OLaa8Yku.js.map → p-DYlUQ8ED.js.map} +1 -1
- package/dist/components/{p-CWPswiLC.js → p-D_F0P4Te.js} +4 -4
- package/dist/components/{p-CWPswiLC.js.map → p-D_F0P4Te.js.map} +1 -1
- package/dist/components/{p-ZjoFesPY.js → p-De-OiofA.js} +5 -5
- package/dist/components/{p-ZjoFesPY.js.map → p-De-OiofA.js.map} +1 -1
- package/dist/components/{p-g3Ffd3n9.js → p-Di49OOfv.js} +3 -3
- package/dist/components/{p-g3Ffd3n9.js.map → p-Di49OOfv.js.map} +1 -1
- package/dist/components/{p-BjY6hrNn.js → p-DlcvqxML.js} +9 -9
- package/dist/components/{p-BjY6hrNn.js.map → p-DlcvqxML.js.map} +1 -1
- package/dist/components/{p-C9anXX8X.js → p-Dlmfn61u.js} +4 -4
- package/dist/components/{p-C9anXX8X.js.map → p-Dlmfn61u.js.map} +1 -1
- package/dist/components/{p-EGfRX9m-.js → p-DokEEF0_.js} +3 -3
- package/dist/components/{p-EGfRX9m-.js.map → p-DokEEF0_.js.map} +1 -1
- package/dist/components/{p-BbYiE_Ws.js → p-DvbBgZob.js} +6 -6
- package/dist/components/p-DvbBgZob.js.map +1 -0
- package/dist/{esm/gb-avatar-dropdown.entry.js → components/p-Fv-bzgzI.js} +125 -14
- package/dist/components/p-Fv-bzgzI.js.map +1 -0
- package/dist/components/{p-BW8vH38F.js → p-LxlvCAsT.js} +3 -3
- package/dist/components/{p-BW8vH38F.js.map → p-LxlvCAsT.js.map} +1 -1
- package/dist/components/{p-Clr_W4sc.js → p-Qzn-w8l3.js} +20 -20
- package/dist/components/{p-Clr_W4sc.js.map → p-Qzn-w8l3.js.map} +1 -1
- package/dist/components/{p-v-wX8-Qu.js → p-XW_IM4V7.js} +5 -5
- package/dist/components/{p-v-wX8-Qu.js.map → p-XW_IM4V7.js.map} +1 -1
- package/dist/components/{p-CU3g2wWg.js → p-YUJ5XxFW.js} +6 -6
- package/dist/components/{p-CU3g2wWg.js.map → p-YUJ5XxFW.js.map} +1 -1
- package/dist/components/p-cHn6O-Kf.js.map +1 -1
- package/dist/components/{p-BPCOwEYw.js → p-lYAS4vmU.js} +3 -3
- package/dist/components/{p-BPCOwEYw.js.map → p-lYAS4vmU.js.map} +1 -1
- package/dist/components/{p-C59Bge1L.js → p-nUbOevpG.js} +8 -8
- package/dist/components/{p-C59Bge1L.js.map → p-nUbOevpG.js.map} +1 -1
- package/dist/components/{p-DI_u9TpX.js → p-pU1FuFmV.js} +3 -3
- package/dist/components/{p-DI_u9TpX.js.map → p-pU1FuFmV.js.map} +1 -1
- package/dist/{esm/gb-help-dropdown.entry.js → components/p-qfiW91Sf.js} +47 -11
- package/dist/components/p-qfiW91Sf.js.map +1 -0
- package/dist/components/{p-BPn73l91.js → p-r8N_dplB.js} +4 -4
- package/dist/components/p-r8N_dplB.js.map +1 -0
- package/dist/components/{p-DI2bdAKN.js → p-vzO7-TQf.js} +8 -8
- package/dist/components/{p-DI2bdAKN.js.map → p-vzO7-TQf.js.map} +1 -1
- package/dist/components/{p-BiwC-xCD.js → p-weSM7zA1.js} +3 -3
- package/dist/components/{p-BiwC-xCD.js.map → p-weSM7zA1.js.map} +1 -1
- package/dist/components/test-input-tag.js +11 -11
- package/dist/docs.json +615 -252
- package/dist/esm/gb-avatar-dropdown.gb-header-icon.gb-help-dropdown.gb-notification-pane.entry.js.map +1 -0
- package/dist/esm/gb-avatar-dropdown_4.entry.js +214 -0
- package/dist/esm/gb-avatar-dropdown_4.entry.js.map +1 -0
- package/dist/esm/gb-avatar-label-group.gb-icon-button-base.gb-theme-tab.entry.js.map +1 -0
- package/dist/esm/{gb-avatar-label-group_2.entry.js → gb-avatar-label-group_3.entry.js} +32 -6
- package/dist/esm/gb-avatar-label-group_3.entry.js.map +1 -0
- package/dist/esm/{gb-avatar_25.entry.js → gb-avatar_19.entry.js} +248 -413
- package/dist/esm/gb-avatar_19.entry.js.map +1 -0
- package/dist/esm/gb-badge.gb-badge-close.entry.js.map +1 -0
- package/dist/esm/gb-badge_2.entry.js +97 -0
- package/dist/esm/gb-badge_2.entry.js.map +1 -0
- package/dist/esm/gb-button-close.entry.js +1 -1
- package/dist/esm/gb-button-group-base.entry.js +1 -1
- package/dist/esm/gb-button-group_3.entry.js +3 -3
- package/dist/esm/gb-card-icon.entry.js +1 -1
- package/dist/esm/gb-carousel-arrow.entry.js +1 -1
- package/dist/esm/gb-checkbox-group-item.entry.js +2 -2
- package/dist/esm/gb-checkbox-group.entry.js +1 -1
- package/dist/esm/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.js.map +1 -0
- package/dist/esm/gb-collapse-button_4.entry.js +154 -0
- package/dist/esm/gb-collapse-button_4.entry.js.map +1 -0
- package/dist/esm/gb-comment-item.entry.js +1 -1
- package/dist/esm/gb-comment.entry.js +28 -5
- package/dist/esm/gb-comment.entry.js.map +1 -1
- package/dist/esm/gb-detail-cell.entry.js +1 -1
- package/dist/esm/gb-empty-state.entry.js +1 -1
- package/dist/esm/gb-export-dropdown-item_3.entry.js +3 -3
- package/dist/esm/gb-featured-icon_3.entry.js +3 -3
- package/dist/esm/gb-file-type-icon_2.entry.js +2 -2
- package/dist/esm/gb-file-upload-item-base.entry.js +5 -5
- package/dist/esm/gb-file-upload.entry.js +12 -12
- package/dist/esm/gb-header.entry.js +105 -11
- package/dist/esm/gb-header.entry.js.map +1 -1
- package/dist/esm/gb-horizontal-tabs.entry.js +61 -1
- package/dist/esm/gb-horizontal-tabs.entry.js.map +1 -1
- package/dist/esm/gb-input-dropdown_3.entry.js +5 -5
- package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
- package/dist/esm/{gb-header-icon.entry.js → gb-metric-card.entry.js} +10 -31
- package/dist/esm/gb-metric-card.entry.js.map +1 -0
- package/dist/{globuscomponents/p-fbac81bb.entry.js → esm/gb-metric-featured-icon.entry.js} +28 -2
- package/dist/esm/gb-metric-featured-icon.entry.js.map +1 -0
- package/dist/esm/gb-nav-bar-sidemenu.entry.js +10 -10
- package/dist/esm/gb-nav-bar-sidemenu.entry.js.map +1 -1
- package/dist/esm/gb-notification-content.entry.js +1 -1
- package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
- package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
- package/dist/esm/gb-pagination.entry.js +4 -4
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-quick-action-card.entry.js +1 -1
- package/dist/esm/gb-quick-action-icon.entry.js +1 -1
- package/dist/esm/gb-scrollbar.entry.js +1 -1
- package/dist/esm/gb-sidebar.entry.js +140 -0
- package/dist/esm/gb-sidebar.entry.js.map +1 -0
- package/dist/esm/gb-slider-control-handle.entry.js +1 -1
- package/dist/esm/gb-slider.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-minimal-icons.entry.js +1 -1
- package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
- package/dist/esm/gb-tab-button-base.entry.js +3 -3
- package/dist/esm/gb-table-cell.entry.js +1 -1
- package/dist/esm/gb-table-header.entry.js +1 -1
- package/dist/esm/gb-textarea-input-field.entry.js +3 -3
- package/dist/esm/gb-toast-button.entry.js +1 -1
- package/dist/esm/gb-toast.entry.js +1 -1
- package/dist/esm/gb-toggle-base.entry.js +2 -2
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-vertical-tabs.entry.js +2 -2
- package/dist/esm/gb-vertical-tabs.entry.js.map +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/background_pattern_dark_mode.svg +52 -0
- package/dist/globuscomponents/assets/illustration_dark_mode.svg +21 -0
- package/dist/globuscomponents/gb-avatar-dropdown.gb-header-icon.gb-help-dropdown.gb-notification-pane.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-avatar-label-group.gb-icon-button-base.gb-theme-tab.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-badge.gb-badge-close.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-button.css +154 -102
- package/dist/globuscomponents/gb-button.tsx +23 -30
- package/dist/globuscomponents/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-simple-side-bar-item.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-comment.entry.esm.js.map +1 -1
- package/dist/globuscomponents/gb-header.entry.esm.js.map +1 -1
- package/dist/globuscomponents/gb-horizontal-tabs.entry.esm.js.map +1 -1
- package/dist/globuscomponents/gb-metric-card.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-metric-featured-icon.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-nav-bar-sidemenu.entry.esm.js.map +1 -1
- package/dist/globuscomponents/gb-sidebar.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-vertical-tabs.entry.esm.js.map +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-4bba6f3c.entry.js → p-0094ec8c.entry.js} +2 -2
- package/dist/globuscomponents/{p-b6fdb570.entry.js → p-021e6f02.entry.js} +2 -2
- package/dist/globuscomponents/{p-3394423b.entry.js → p-06904109.entry.js} +2 -2
- package/dist/globuscomponents/p-06904109.entry.js.map +1 -0
- package/dist/globuscomponents/{p-325682b7.entry.js → p-0e81990b.entry.js} +2 -2
- package/dist/globuscomponents/{p-ddcf6ca2.entry.js → p-107dcce5.entry.js} +2 -2
- package/dist/globuscomponents/{p-ace1a2cb.entry.js → p-19202ec5.entry.js} +2 -2
- package/dist/globuscomponents/{p-1ea19c48.entry.js → p-21cd562b.entry.js} +2 -2
- package/dist/globuscomponents/{p-16e6831e.entry.js → p-229a8569.entry.js} +2 -2
- package/dist/globuscomponents/{p-8c4c85ed.entry.js → p-28e8bff3.entry.js} +2 -2
- package/dist/globuscomponents/p-2acb52f8.entry.js +2 -0
- package/dist/globuscomponents/p-2acb52f8.entry.js.map +1 -0
- package/dist/globuscomponents/p-2d6a2325.entry.js +2 -0
- package/dist/globuscomponents/{p-e81bd2be.entry.js → p-31c02f59.entry.js} +2 -2
- package/dist/globuscomponents/{p-dce58d5c.entry.js → p-38a019f2.entry.js} +2 -2
- package/dist/globuscomponents/{p-8f9f722f.entry.js → p-3a112465.entry.js} +2 -2
- package/dist/globuscomponents/p-3a3c22d9.entry.js +2 -0
- package/dist/globuscomponents/{p-66dd9b74.entry.js → p-3ab091b5.entry.js} +2 -2
- package/dist/globuscomponents/p-40c2b7e6.entry.js +2 -0
- package/dist/globuscomponents/{p-61f35bc1.entry.js → p-40d21155.entry.js} +2 -2
- package/dist/globuscomponents/{p-771977ec.entry.js → p-457515bd.entry.js} +2 -2
- package/dist/globuscomponents/{p-a596fae9.entry.js → p-537fda7e.entry.js} +2 -2
- package/dist/globuscomponents/{p-0fdc810e.entry.js → p-544bfb7d.entry.js} +2 -2
- package/dist/globuscomponents/{p-09b37d23.entry.js → p-5a841b8e.entry.js} +2 -2
- package/dist/globuscomponents/p-5a841b8e.entry.js.map +1 -0
- package/dist/globuscomponents/p-62abcbce.entry.js +2 -0
- package/dist/globuscomponents/p-62abcbce.entry.js.map +1 -0
- package/dist/globuscomponents/{p-4be40100.entry.js → p-641d2cfb.entry.js} +2 -2
- package/dist/globuscomponents/{p-6c54fe01.entry.js → p-67dc948a.entry.js} +2 -2
- package/dist/globuscomponents/{p-c5b2179d.entry.js → p-68b484ec.entry.js} +2 -2
- package/dist/globuscomponents/{p-cab8d227.entry.js → p-6b78b655.entry.js} +2 -2
- package/dist/globuscomponents/{p-abe44585.entry.js → p-7484519e.entry.js} +2 -2
- package/dist/globuscomponents/p-7484519e.entry.js.map +1 -0
- package/dist/globuscomponents/{p-9c72435d.entry.js → p-788e1a48.entry.js} +2 -2
- package/dist/globuscomponents/{p-4aca63c6.entry.js → p-80d64cd5.entry.js} +2 -2
- package/dist/globuscomponents/{p-47f1553c.entry.js → p-8e95ab26.entry.js} +2 -2
- package/dist/globuscomponents/p-8e95ab26.entry.js.map +1 -0
- package/dist/globuscomponents/{p-543b79c2.entry.js → p-952fb75f.entry.js} +2 -2
- package/dist/globuscomponents/{p-8938964a.entry.js → p-9538305a.entry.js} +2 -2
- package/dist/globuscomponents/p-9791d214.entry.js +2 -0
- package/dist/globuscomponents/p-9791d214.entry.js.map +1 -0
- package/dist/globuscomponents/{p-37c47cc9.entry.js → p-9ee7eb44.entry.js} +2 -2
- package/dist/globuscomponents/{p-bc8f7e54.entry.js → p-a25eef22.entry.js} +2 -2
- package/dist/globuscomponents/p-aa4345bd.entry.js +2 -0
- package/dist/globuscomponents/p-aca3a804.entry.js +2 -0
- package/dist/globuscomponents/p-aca3a804.entry.js.map +1 -0
- package/dist/globuscomponents/{p-a7499971.entry.js → p-b2ca510c.entry.js} +2 -2
- package/dist/globuscomponents/p-b4a34760.entry.js +2 -0
- package/dist/globuscomponents/{p-aebb6673.entry.js → p-ba834699.entry.js} +2 -2
- package/dist/globuscomponents/{p-d4673bdd.entry.js → p-bb7bc057.entry.js} +2 -2
- package/dist/globuscomponents/{p-a105b6d7.entry.js → p-bbb650c6.entry.js} +2 -2
- package/dist/globuscomponents/p-c0501d76.entry.js +2 -0
- package/dist/globuscomponents/{p-d407243b.entry.js → p-c539b0a9.entry.js} +2 -2
- package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
- package/dist/globuscomponents/{p-0d111efe.entry.js → p-d12d9675.entry.js} +2 -2
- package/dist/globuscomponents/p-d34dd2e7.entry.js +2 -0
- package/dist/globuscomponents/p-d34dd2e7.entry.js.map +1 -0
- package/dist/globuscomponents/p-d58223d1.entry.js +2 -0
- package/dist/globuscomponents/p-d58223d1.entry.js.map +1 -0
- package/dist/globuscomponents/{p-a17eb580.entry.js → p-d59e2d17.entry.js} +2 -2
- package/dist/globuscomponents/p-d7565a74.entry.js +2 -0
- package/dist/globuscomponents/p-d7565a74.entry.js.map +1 -0
- package/dist/globuscomponents/p-d8733150.entry.js +2 -0
- package/dist/globuscomponents/p-d8733150.entry.js.map +1 -0
- package/dist/globuscomponents/{p-e288e951.entry.js → p-db9ace60.entry.js} +2 -2
- package/dist/globuscomponents/{p-ab158196.entry.js → p-de214a7d.entry.js} +2 -2
- package/dist/globuscomponents/{p-9a84e3d5.entry.js → p-e3b590ee.entry.js} +2 -2
- package/dist/globuscomponents/{p-b655af13.entry.js → p-e906ff6f.entry.js} +2 -2
- package/dist/globuscomponents/{p-e2728e93.entry.js → p-f27ce3db.entry.js} +2 -2
- package/dist/globuscomponents/p-f641cd22.entry.js +2 -0
- package/dist/globuscomponents/p-f641cd22.entry.js.map +1 -0
- package/dist/globuscomponents/{p-05f77672.entry.js → p-f7934ead.entry.js} +2 -2
- package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +3 -4
- package/dist/types/components/gb-btn/gb-btn.d.ts +3 -2
- package/dist/types/components/gb-button/gb-button.d.ts +0 -5
- package/dist/types/components/gb-comment/gb-comment.d.ts +5 -0
- package/dist/types/components/gb-header/gb-header.d.ts +29 -3
- package/dist/types/components/gb-help-dropdown/gb-help-dropdown.d.ts +1 -1
- package/dist/types/components/gb-nav-bar/gb-nav-bar.d.ts +2 -2
- package/dist/types/components/gb-notification-pane/gb-notification-pane.d.ts +2 -5
- package/dist/types/components/gb-sidebar/gb-sidebar.d.ts +2 -2
- package/dist/types/components.d.ts +46 -26
- package/dist/types/models/reusableModels.d.ts +12 -1
- package/package.json +1 -1
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +0 -88
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar-dropdown.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-avatar-label-group.gb-theme-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-avatar-label-group_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-avatar_25.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +0 -47
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-header-icon.entry.cjs.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-help-dropdown.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-icon-button-base.cjs.entry.js +0 -34
- package/dist/cjs/gb-icon-button-base.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-icon-button-base.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-nav-bar-item.cjs.entry.js +0 -51
- package/dist/cjs/gb-nav-bar-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-nav-bar-item.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-nav-bar.cjs.entry.js +0 -185
- package/dist/cjs/gb-nav-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-nav-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-notification-pane.cjs.entry.js +0 -72
- package/dist/cjs/gb-notification-pane.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-notification-pane.entry.cjs.js.map +0 -1
- package/dist/components/p-BPn73l91.js.map +0 -1
- package/dist/components/p-BbYiE_Ws.js.map +0 -1
- package/dist/components/p-BkQch75o.js.map +0 -1
- package/dist/components/p-CSLbHX_T.js.map +0 -1
- package/dist/components/p-x0_pwfAX.js.map +0 -1
- package/dist/esm/gb-avatar-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-avatar-label-group.gb-theme-tab.entry.js.map +0 -1
- package/dist/esm/gb-avatar-label-group_2.entry.js.map +0 -1
- package/dist/esm/gb-avatar_25.entry.js.map +0 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +0 -45
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +0 -1
- package/dist/esm/gb-header-icon.entry.js.map +0 -1
- package/dist/esm/gb-help-dropdown.entry.js.map +0 -1
- package/dist/esm/gb-icon-button-base.entry.js +0 -32
- package/dist/esm/gb-icon-button-base.entry.js.map +0 -1
- package/dist/esm/gb-nav-bar-item.entry.js +0 -49
- package/dist/esm/gb-nav-bar-item.entry.js.map +0 -1
- package/dist/esm/gb-nav-bar.entry.js +0 -183
- package/dist/esm/gb-nav-bar.entry.js.map +0 -1
- package/dist/esm/gb-notification-pane.entry.js.map +0 -1
- package/dist/globuscomponents/gb-avatar-dropdown.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-avatar-label-group.gb-theme-tab.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-dropdown-items-with-shortcut.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-header-icon.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-help-dropdown.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-icon-button-base.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-nav-bar-item.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-nav-bar.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-notification-pane.entry.esm.js.map +0 -1
- package/dist/globuscomponents/p-05a36742.entry.js.map +0 -1
- package/dist/globuscomponents/p-05ea26dc.entry.js +0 -2
- package/dist/globuscomponents/p-05ea26dc.entry.js.map +0 -1
- package/dist/globuscomponents/p-09b37d23.entry.js.map +0 -1
- package/dist/globuscomponents/p-1656c630.entry.js +0 -2
- package/dist/globuscomponents/p-1f29eff6.entry.js +0 -2
- package/dist/globuscomponents/p-1f29eff6.entry.js.map +0 -1
- package/dist/globuscomponents/p-1fecb9bc.entry.js +0 -2
- package/dist/globuscomponents/p-1fecb9bc.entry.js.map +0 -1
- package/dist/globuscomponents/p-2f022da6.entry.js +0 -2
- package/dist/globuscomponents/p-2f022da6.entry.js.map +0 -1
- package/dist/globuscomponents/p-3394423b.entry.js.map +0 -1
- package/dist/globuscomponents/p-368da9a1.entry.js +0 -2
- package/dist/globuscomponents/p-368da9a1.entry.js.map +0 -1
- package/dist/globuscomponents/p-47f1553c.entry.js.map +0 -1
- package/dist/globuscomponents/p-5339db78.entry.js +0 -2
- package/dist/globuscomponents/p-6b081d70.entry.js +0 -2
- package/dist/globuscomponents/p-799e67d0.entry.js +0 -2
- package/dist/globuscomponents/p-853a4f0d.entry.js +0 -2
- package/dist/globuscomponents/p-853a4f0d.entry.js.map +0 -1
- package/dist/globuscomponents/p-a0480cfd.entry.js +0 -2
- package/dist/globuscomponents/p-abe44585.entry.js.map +0 -1
- package/dist/globuscomponents/p-afc39c5f.entry.js +0 -2
- package/dist/globuscomponents/p-afc39c5f.entry.js.map +0 -1
- package/dist/globuscomponents/p-afed55ea.entry.js +0 -2
- package/dist/globuscomponents/p-afed55ea.entry.js.map +0 -1
- package/dist/globuscomponents/p-c3debf40.entry.js +0 -2
- package/dist/globuscomponents/p-c3debf40.entry.js.map +0 -1
- package/dist/globuscomponents/p-c5e1da9e.entry.js +0 -2
- package/dist/globuscomponents/p-fbac81bb.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-4bba6f3c.entry.js.map → p-0094ec8c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b6fdb570.entry.js.map → p-021e6f02.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-325682b7.entry.js.map → p-0e81990b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ddcf6ca2.entry.js.map → p-107dcce5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ace1a2cb.entry.js.map → p-19202ec5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1ea19c48.entry.js.map → p-21cd562b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-16e6831e.entry.js.map → p-229a8569.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8c4c85ed.entry.js.map → p-28e8bff3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c5e1da9e.entry.js.map → p-2d6a2325.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e81bd2be.entry.js.map → p-31c02f59.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-dce58d5c.entry.js.map → p-38a019f2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8f9f722f.entry.js.map → p-3a112465.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5339db78.entry.js.map → p-3a3c22d9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-66dd9b74.entry.js.map → p-3ab091b5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a0480cfd.entry.js.map → p-40c2b7e6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-61f35bc1.entry.js.map → p-40d21155.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-771977ec.entry.js.map → p-457515bd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a596fae9.entry.js.map → p-537fda7e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0fdc810e.entry.js.map → p-544bfb7d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4be40100.entry.js.map → p-641d2cfb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6c54fe01.entry.js.map → p-67dc948a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c5b2179d.entry.js.map → p-68b484ec.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cab8d227.entry.js.map → p-6b78b655.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9c72435d.entry.js.map → p-788e1a48.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4aca63c6.entry.js.map → p-80d64cd5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-543b79c2.entry.js.map → p-952fb75f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8938964a.entry.js.map → p-9538305a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-37c47cc9.entry.js.map → p-9ee7eb44.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-bc8f7e54.entry.js.map → p-a25eef22.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-799e67d0.entry.js.map → p-aa4345bd.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a7499971.entry.js.map → p-b2ca510c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6b081d70.entry.js.map → p-b4a34760.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-aebb6673.entry.js.map → p-ba834699.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d4673bdd.entry.js.map → p-bb7bc057.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a105b6d7.entry.js.map → p-bbb650c6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1656c630.entry.js.map → p-c0501d76.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d407243b.entry.js.map → p-c539b0a9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0d111efe.entry.js.map → p-d12d9675.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a17eb580.entry.js.map → p-d59e2d17.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e288e951.entry.js.map → p-db9ace60.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ab158196.entry.js.map → p-de214a7d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9a84e3d5.entry.js.map → p-e3b590ee.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b655af13.entry.js.map → p-e906ff6f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e2728e93.entry.js.map → p-f27ce3db.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-05f77672.entry.js.map → p-f7934ead.entry.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Element, getAssetPath, h, Prop, State,
|
|
1
|
+
import { Component, Element, getAssetPath, h, Prop, State, Fragment } from '@stencil/core';
|
|
2
2
|
import { GeneralHierarchies, GeneralSizes, StateType } from '../../models/reusableModels';
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
@@ -23,40 +23,25 @@ export class GbButton {
|
|
|
23
23
|
@State() internalButtonState: string = '';
|
|
24
24
|
@State() internalIconLeadingState: string = '';
|
|
25
25
|
@State() internalIconTrailingState: string = '';
|
|
26
|
-
@State() internalSize: string = '';
|
|
27
26
|
|
|
28
27
|
componentWillLoad() {
|
|
29
28
|
if (this.iconLeading && this.iconLeadingSwap) {
|
|
30
29
|
this.loadIcon(this.iconLeadingSwap, 'leading');
|
|
31
30
|
}
|
|
32
|
-
if (this.iconTrailing && this.iconTrailingSwap) {
|
|
31
|
+
if (this.iconTrailing && this.iconTrailingSwap) {
|
|
33
32
|
this.loadIcon(this.iconTrailingSwap, 'trailing');
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
const buttonSlot = this.el.querySelector('p');
|
|
37
36
|
|
|
37
|
+
if (this.state === 'loading') {
|
|
38
|
+
buttonSlot.style.display = 'none';
|
|
39
|
+
}
|
|
40
|
+
|
|
38
41
|
if (buttonSlot) {
|
|
39
42
|
buttonSlot.classList.add(this.getButtonTextClasses());
|
|
40
43
|
buttonSlot.classList.add('nowrap');
|
|
41
44
|
}
|
|
42
|
-
|
|
43
|
-
// if (!this.iconLeading && !this.iconTrailing) {
|
|
44
|
-
// buttonSlot.classList.add('center');
|
|
45
|
-
// }
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@Watch('state')
|
|
49
|
-
updateButtonState(newValue: string) {
|
|
50
|
-
this.internalButtonState = newValue;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@Watch('size')
|
|
54
|
-
updateSize(newValue: GeneralSizes) {
|
|
55
|
-
this.internalSize = newValue;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
componentWillRender() {
|
|
59
|
-
this.internalButtonState = this.state;
|
|
60
45
|
}
|
|
61
46
|
|
|
62
47
|
async loadIcon(iconName: string, type: 'leading' | 'trailing') {
|
|
@@ -74,18 +59,17 @@ export class GbButton {
|
|
|
74
59
|
getButtonClasses() {
|
|
75
60
|
return {
|
|
76
61
|
button: true,
|
|
77
|
-
[this.
|
|
62
|
+
[this.size]: true,
|
|
78
63
|
[this.hierarchy]: true,
|
|
79
64
|
destructive: this.destructive,
|
|
80
|
-
disabled: this.
|
|
65
|
+
disabled: this.state === 'disabled',
|
|
81
66
|
default: this.icon === 'default',
|
|
82
67
|
only: this.icon === 'only',
|
|
83
|
-
oneicon: this.iconLeading || this.iconTrailing,
|
|
84
68
|
};
|
|
85
69
|
}
|
|
86
70
|
|
|
87
71
|
getButtonTextClasses() {
|
|
88
|
-
switch (this.
|
|
72
|
+
switch (this.size) {
|
|
89
73
|
case 'xl2':
|
|
90
74
|
return 'text-lg-semi-bold';
|
|
91
75
|
case 'xl':
|
|
@@ -100,7 +84,7 @@ export class GbButton {
|
|
|
100
84
|
}
|
|
101
85
|
|
|
102
86
|
renderLeadingIcon() {
|
|
103
|
-
return <div class={`icon left-icon ${this.
|
|
87
|
+
return <div class={`icon left-icon ${this.size}`} innerHTML={this.leadingIconSvg}></div>;
|
|
104
88
|
}
|
|
105
89
|
|
|
106
90
|
renderTrailingIcon() {
|
|
@@ -110,10 +94,19 @@ export class GbButton {
|
|
|
110
94
|
render() {
|
|
111
95
|
return (
|
|
112
96
|
<button disabled={this.internalButtonState === 'disabled'} class={this.getButtonClasses()}>
|
|
113
|
-
{this.
|
|
114
|
-
{this.
|
|
115
|
-
|
|
116
|
-
|
|
97
|
+
{this.state === 'loading' && <div class={`loader ${this.hierarchy} ${this.size} ${this.icon}`}></div>}
|
|
98
|
+
{this.state !== 'loading' && (
|
|
99
|
+
<>
|
|
100
|
+
{this.iconLeading && this.icon === 'default' && this.renderLeadingIcon()}
|
|
101
|
+
{this.icon === 'default' && (
|
|
102
|
+
<div class={`btn_text`}>
|
|
103
|
+
<slot></slot>
|
|
104
|
+
</div>
|
|
105
|
+
)}
|
|
106
|
+
{this.iconTrailing && this.renderTrailingIcon()}
|
|
107
|
+
{this.icon === 'only' && this.renderLeadingIcon()}
|
|
108
|
+
</>
|
|
109
|
+
)}
|
|
117
110
|
</button>
|
|
118
111
|
);
|
|
119
112
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbButtonClose {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'fcc6d7f281904147734552c3fbda666db3ba5843', class: `${this.size} ${this.color}` }, h("svg", { key: '8c8ff25c541045f283ad62e755b0bcf923bfe34a', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `${this.size}` }, h("path", { key: 'c546771c6a7c0c38942407f9c4971e9f118094b9', d: "M19.0005 4.99988L5.00049 18.9999M5.00049 4.99988L19.0005 18.9999", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "gb-button-close"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class GbButtonGroup {
|
|
|
29
29
|
// this.valueChange.emit({ value: this.selectedValue, current: this.internalItems[index].current });
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'deee2d888e363af6013de1cbdc73f74430bf4080', class: "button_group_container" }, this.showLabel && h("p", { key: '013af862d6e27f4d068abdd258959c5ce014c791', class: "dropdown_label text-sm-regular" }, this.label), h("div", { key: '91970ada826620710da0ceca6b1de8c2469a33e5', class: "button_group_wrapper" }, this.internalItems.map((item, index) => (h("gb-button-group-base", { key: index, state: "default", icon: this.icon, label: item.label, current: item.current, onClick: () => this.handleSelect(index), "icon-src": item.icon }))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "gb-button-group"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class GbButtonGroupBase {
|
|
|
16
16
|
this.loadIcon(this.iconSrc);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '76b11845160f33dd61adcc09c488b467287fb7d0', class: `button_group_base_div ${this.current ? 'current' : ''} ${this.icon} ${this.state}` }, this.icon === 'leading' && h("div", { key: '36942c914fd1e2a72d2597bcbe6c670b1dda05c4', class: `icon ${this.current ? 'current' : ''} ${this.state}`, innerHTML: this.leadingIconSvg }), this.icon === 'only' && h("div", { key: 'ceba870c62ddf022075ae1ce775c90bbc93fb3e0', class: `icon ${this.current ? 'current' : ''} ${this.state}`, innerHTML: this.leadingIconSvg }), this.icon === 'checkbox' && (h("gb-checkbox", { key: 'ee67d673fca5cfa087bdeef987810072de6a7272', checked: this.current, indeterminate: false, size: "sm", type: "radio", state: this.state, text: true, "supporting-text": false }, h("p", { key: 'b878de44aed7fba4328e5adffa67869cc807939c', slot: "label" }, this.label))), this.icon === 'dot' && (h("div", { key: 'ff502337e2f96dcf2bb44db3d32bb8dfef2a194e', class: "dot_div" }, h("div", { key: 'fc4d6d07f7d3c70069623641b24222e71fda9f32', class: `dott ${this.state}` }))), this.icon !== 'only' && this.icon !== 'checkbox' && h("p", { key: '048047275c6917f693005b9963921e05d26386cf', class: "text-sm-semi-bold" }, this.label)));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gb-button-group-base"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class GbButtonGroupBase {
|
|
|
82
82
|
"mutable": false,
|
|
83
83
|
"complexType": {
|
|
84
84
|
"original": "StateType",
|
|
85
|
-
"resolved": "\"applied\" | \"default\" | \"disabled\"",
|
|
85
|
+
"resolved": "\"applied\" | \"default\" | \"disabled\" | \"loading\"",
|
|
86
86
|
"references": {
|
|
87
87
|
"StateType": {
|
|
88
88
|
"location": "import",
|
|
@@ -14,7 +14,7 @@ export class GbCardIcon {
|
|
|
14
14
|
this.loadIcon(this.icon);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '1cceeff0f5258560e2bad06221dff0aadb38093d', class: `card_icon_div ${this.color} ${this.size}` }, h("div", { key: '55ee7424911c44a29177c2248f4ebaa05d323203', class: `icon_svg ${this.size}`, innerHTML: this.leadingIconSvg })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "gb-card-icon"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbCarouselArrow {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'c7760f53af94d1e71fb624227ee1c44914fc52ff', class: `carousel_arrow ${this.size}` }, this.chevron === 'left' && (h("svg", { key: '8ed59944f037c319eb544f2e7f0fda634ee80226', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'd59e77a0a4a4fd06e162aeb9eb088bc61c531f44', d: "M15 5.99989C15 5.99989 9.00001 10.4188 9 11.9999C8.99999 13.5811 15 17.9999 15 17.9999", stroke: "#202939", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.chevron === 'right' && (h("svg", { key: '60f760f594cac54bf5ac67664224dc2b187ca33c', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: 'f2e66a56e0aa46f49dcd388dfb8927313e96c34e', d: "M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18", stroke: "#202939", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "gb-carousel-arrow"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -36,7 +36,7 @@ export class GbCheckbox {
|
|
|
36
36
|
this.checkboxClicked.emit(event.detail);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'b33c4e5d27d93b06dad019dba4e31c456bd9ecb8', class: `checkbox_div ${this.size} ${this.text ? 'text_class' : ''}` }, h("div", { key: '5b0ab89fab8c4c4f11bfc2784aee8f54764256e2', class: `checkbox_base ${!this.supportingText ? 'checkbox_no_supporting_text' : ''}` }, h("gb-checkbox-base", { key: '2536f13968c33e7c63c9e121dbb63947765ecb63', size: this.size, type: this.type, state: this.state, indeterminate: this.indeterminate, onCheckboxClicked: this.onCheckboxClicked.bind(this), checked: this.checked })), this.text && (h("div", { key: 'cfec632ee0b87b83e47f81fb5d56432847a509ff', class: `text ${!this.supportingText ? 'no_supporting_text' : ''}` }, h("slot", { key: '98811182dddc5f0b69ac70568848d656ec73c4df', name: "label" }), this.supportingText && h("slot", { key: '4dbc45f944a6e1f0306f492fd1d45e96faff71d2', name: "supporting_text" })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "gb-checkbox"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -147,7 +147,7 @@ export class GbCheckbox {
|
|
|
147
147
|
"mutable": false,
|
|
148
148
|
"complexType": {
|
|
149
149
|
"original": "StateType",
|
|
150
|
-
"resolved": "\"applied\" | \"default\" | \"disabled\"",
|
|
150
|
+
"resolved": "\"applied\" | \"default\" | \"disabled\" | \"loading\"",
|
|
151
151
|
"references": {
|
|
152
152
|
"StateType": {
|
|
153
153
|
"location": "import",
|
|
@@ -99,7 +99,7 @@ export class GbCheckboxBase {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h("div", { key: '
|
|
102
|
+
return (h("div", { key: 'ac63c6c0b6e569cf571ab2cc962e208c3bb83977', class: `checkbox_container ${this.size}`, onClick: () => {
|
|
103
103
|
if (this.type === 'checkbox') {
|
|
104
104
|
return this.toggleCheckboxState();
|
|
105
105
|
}
|
|
@@ -130,7 +130,7 @@ export class GbCheckboxBase {
|
|
|
130
130
|
"mutable": true,
|
|
131
131
|
"complexType": {
|
|
132
132
|
"original": "StateType",
|
|
133
|
-
"resolved": "\"applied\" | \"default\" | \"disabled\"",
|
|
133
|
+
"resolved": "\"applied\" | \"default\" | \"disabled\" | \"loading\"",
|
|
134
134
|
"references": {
|
|
135
135
|
"StateType": {
|
|
136
136
|
"location": "import",
|
|
@@ -5,7 +5,7 @@ export class GbCheckboxGroup {
|
|
|
5
5
|
this.selected = false;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'a366b70afdb0aa92b0cf2a41a3e888d33a08b9c5', class: `checkbox_group` }, h("gb-checkbox-group-item", { key: '39c971ced416bffbcffb6de211dececd6218d854', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: '0e252e92577af53936065a29588a5d157df3de23', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: '737a3c335a08a328c55470327a0fb2af74cb0f7a', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: 'c416562c359c29406e5ab6d1a48a5b67167253bc', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: '5c3b967ec184a18275052dbf54dfc0fd3e2e589a', size: this.size, type: this.type, breakpoint: this.breakpoint })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-checkbox-group"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -124,10 +124,10 @@ export class GbCheckboxGroupItem {
|
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
126
|
return [
|
|
127
|
-
h("div", { key: '
|
|
127
|
+
h("div", { key: 'cc0c2a5ae1a54e62656e3661c1a43fcbff8bef11', class: `checkbox_group_item ${this.size} ${this.state} ${this.selected ? 'selected' : ''} ${this.breakpoint}`, onClick: () => this.toggleSelection() }, h("div", { key: 'cef275d837921c15260d78b82cd48e018ff82517', class: "item-content" }, this.renderIcon(), h("div", { key: '56e655c3abc8979a577b971d382bd2b97f1ce020', class: "text-container" }, h("div", { key: 'f8a00c07383d232338206b10fd50a9ec1a8b1a31', class: `label-cost ${this.type}` }, h("slot", { key: '4c4aa20e58b5bee38ac5f27464783b3bf75e5c2c', name: "label" }), this.showCost && h("slot", { key: 'e035872c103a69936f853420b025f9f2bb9122bb', name: "cost" })), this.type === 'payment_icon' ? (h("div", { class: "buttons" }, h("gb-button", { size: this.size, hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "Set as default")), h("gb-button", { size: this.size, hierarchy: "link_color", icon: "default", state: this.state }, h("p", null, "Edit")))) : (h("slot", { name: "supporting_text" })), h("gb-button", { key: 'ea2e590b99fae9fbc2a6284b4e6f1215f7b1cf07', class: "button", size: "lg", state: this.state, hierarchy: this.selected ? 'link_color' : 'link_gray', icon: "default", onClick: e => {
|
|
128
128
|
this.onButtonClicked();
|
|
129
129
|
e.stopPropagation();
|
|
130
|
-
} }, h("p", { key: '
|
|
130
|
+
} }, h("p", { key: '3d8b6d3ab4ff3e545755046413c3fe84991eba9d' }, this.buttonText)))), this.type === 'icon_simple' || this.type === 'avatar' || this.type === 'payment_icon' ? (h("div", { class: `checkbox_container` }, h("gb-checkbox", { type: this.checkboxType, size: this.size, state: this.state, checked: this.selected }))) : null),
|
|
131
131
|
];
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "gb-checkbox-group-item"; }
|
|
@@ -23,9 +23,9 @@ export class GbCollapseButton {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
return [
|
|
26
|
-
h("div", { key: '
|
|
27
|
-
h("svg", { key: '
|
|
28
|
-
], this.action === 'expand' && (h("svg", { key: '
|
|
26
|
+
h("div", { key: 'a5ad7e83156ad524024d6e26aa645081157f3434' }, h("div", { key: 'ab497d9f11c34f471a926f6695bb0a83f9254981', class: `collapse_btn ${this.color}`, onClick: this.toggleIcon.bind(this), onMouseOver: () => (this.isHovered = true), onMouseOut: () => (this.isHovered = false) }, this.action === 'collapse' && [
|
|
27
|
+
h("svg", { key: '0348fe1fae5e0ee37b44f3e04b53695614b1cac8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `icon ${this.color}` }, h("path", { key: '287eac53f2fa203dca181adaa46f6bcbe3c4dbd9', d: "M9.58321 15C9.58321 15 4.58326 11.3176 4.58325 9.99996C4.58324 8.68237 9.58325 5 9.58325 5M15.4165 15C15.4165 15 10.4166 11.3176 10.4166 9.99996C10.4166 8.68237 15.4166 5 15.4166 5", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })),
|
|
28
|
+
], this.action === 'expand' && (h("svg", { key: '6b8f018b3c445df90c93f1204d95113696ebdf0d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `icon ${this.color}` }, h("path", { key: '2d8c2b73978cd42dbd119c8c8ddc729514465964', d: "M10.4166 15C10.4166 15 15.4166 11.3176 15.4166 9.99996C15.4166 8.68237 10.4166 5 10.4166 5M4.58329 15C4.58329 15 9.58324 11.3176 9.58325 9.99996C9.58326 8.68237 4.58325 5 4.58325 5", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.isHovered && this.action === 'collapse' ? (h("gb-tooltip", { class: "tooltip", "show-arrow": true, arrow: "left" }, h("p", { slot: "label", class: "text-xs-semi-bold" }, "Collapse"))) : this.isHovered && this.action === 'expand' ? (h("gb-tooltip", { class: "tooltip", "show-arrow": true, arrow: "left" }, h("p", { slot: "label", class: "text-xs-semi-bold" }, "Expand"))) : null),
|
|
29
29
|
];
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "gb-collapse-button"; }
|
|
@@ -2751,7 +2751,7 @@
|
|
|
2751
2751
|
border: 1px solid var(--color-border-infromation-subtle, #9AC7F4);
|
|
2752
2752
|
background: var(--color-background-information-subtlest, #E4F0FC);
|
|
2753
2753
|
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
2754
|
-
/* transition:
|
|
2754
|
+
/* transition: height 0.4s; */
|
|
2755
2755
|
}
|
|
2756
2756
|
|
|
2757
2757
|
.header {
|
|
@@ -30,6 +30,8 @@ export class GbComment {
|
|
|
30
30
|
// timestamp: '07-Nov-2024 6:00PM',
|
|
31
31
|
// },
|
|
32
32
|
];
|
|
33
|
+
this.theme = 'system';
|
|
34
|
+
this.isDarkTheme = false;
|
|
33
35
|
}
|
|
34
36
|
toggleComments() {
|
|
35
37
|
if (this.state === 'expanded') {
|
|
@@ -39,12 +41,33 @@ export class GbComment {
|
|
|
39
41
|
this.state = 'expanded';
|
|
40
42
|
}
|
|
41
43
|
}
|
|
44
|
+
changeTheme() {
|
|
45
|
+
if (this.theme === 'system') {
|
|
46
|
+
if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
47
|
+
this.isDarkTheme = true;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
this.isDarkTheme = false;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
else if (this.theme === 'light') {
|
|
54
|
+
this.isDarkTheme = false;
|
|
55
|
+
}
|
|
56
|
+
else if (this.theme === 'dark') {
|
|
57
|
+
this.isDarkTheme = true;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
componentWillLoad() {
|
|
61
|
+
this.changeTheme();
|
|
62
|
+
}
|
|
42
63
|
render() {
|
|
43
64
|
const hasComments = this.comments && this.comments.length > 0;
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
65
|
+
const patternSrcLightMode = getAssetPath(`assets/background_pattern.svg`);
|
|
66
|
+
const patternSrcDarkMode = getAssetPath(`assets/background_pattern_dark_mode.svg`);
|
|
67
|
+
const illustrationSrcLightMode = getAssetPath(`assets/illustration.svg`);
|
|
68
|
+
const illustrationSrcDarkMode = getAssetPath(`assets/illustration_dark_mode.svg`);
|
|
69
|
+
return (h("div", { key: 'b74af102c0eb2d74f7db4aad30ba05486e948be4', class: `comments-container ${!hasComments ? 'no-comments-state' : ''}` }, h("div", { key: '173400abd9f65f85d2a504d41a2513ec9ec9e6f9', class: `header ${this.state}` }, h("div", { key: 'c941f8fb353bea6c9ec47f0dbc9e5e4aff1b3b8f', class: "title-section" }, h("svg", { key: '0dc315c8a8aec664b4935a6cc4e686f8188b93cf', width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "info-icon" }, h("path", { key: 'c05aa9c215ff1fc1d8378fd139ad2a7bad6bb2b5', opacity: "0.4", d: "M12.0572 1.75C14.2479 1.74999 15.9686 1.74998 17.312 1.93059C18.6886 2.11568 19.7809 2.50271 20.6391 3.36091C21.4973 4.21911 21.8843 5.31137 22.0694 6.68802C22.25 8.03143 22.25 9.7521 22.25 11.9428V11.9428V12.0572V12.0572C22.25 14.2479 22.25 15.9686 22.0694 17.312C21.8843 18.6886 21.4973 19.7809 20.6391 20.6391C19.7809 21.4973 18.6886 21.8843 17.312 22.0694C15.9686 22.25 14.2479 22.25 12.0572 22.25H12.0572H11.9428H11.9428C9.7521 22.25 8.03143 22.25 6.68802 22.0694C5.31137 21.8843 4.21911 21.4973 3.36091 20.6391C2.50271 19.7809 2.11568 18.6886 1.93059 17.312C1.74998 15.9686 1.74999 14.2479 1.75 12.0572V11.9428C1.74999 9.75212 1.74998 8.03144 1.93059 6.68802C2.11568 5.31137 2.50272 4.21911 3.36091 3.36091C4.21911 2.50272 5.31137 2.11568 6.68802 1.93059C8.03144 1.74998 9.75212 1.74999 11.9428 1.75H12.0572Z", fill: "var(--color-icon-information, #064E94)" }), h("path", { key: '64cae3bde46b8ebe554e7caa5978612a31aa30b1', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.6819 10.5273C11.9289 10.5605 12.2707 10.6494 12.5607 10.9394C12.8507 11.2294 12.9396 11.5711 12.9728 11.8182C13.0003 12.0228 13.0001 12.2608 13 12.4606C13 12.474 13 12.4871 13 12.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V12.5C10.4477 12.5 10 12.0523 10 11.5C10 10.9477 10.4477 10.5 11 10.5C11.0129 10.5 11.0261 10.5 11.0394 10.5C11.2393 10.4999 11.4772 10.4997 11.6819 10.5273Z", fill: "var(--color-icon-information, #064E94)" }), h("path", { key: '40a55ab297a8742a0c2dd7f80de63ef1f1a7c068', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.9999 7.5C10.9999 6.94772 11.4456 6.5 11.9954 6.5H12.0044C12.5542 6.5 12.9999 6.94772 12.9999 7.5C12.9999 8.05228 12.5542 8.5 12.0044 8.5H11.9954C11.4456 8.5 10.9999 8.05228 10.9999 7.5Z", fill: "var(--color-icon-information, #064E94)" })), h("h2", { key: '9b2b1969d3bfe54e963f2100645d42daead0d915', class: "text-md-semi-bold heading" }, this.heading)), h("gb-button", { key: 'cc13ca4b98727a9aa16853d5d73d2765506321f3', size: "sm", hierarchy: "link_color", icon: "default", onClick: () => this.toggleComments() }, this.state === 'expanded' ? h("p", null, "Hide Comments") : h("p", null, "Show Comments"))), this.state === 'expanded' &&
|
|
70
|
+
(hasComments ? (h("div", { class: "comments-wrapper" }, this.comments.map((comment, index) => (h("gb-comment-item", { key: index, name: comment.name, duty: comment.role, comment: comment.comment, "time-stamp": comment.timeStamp, connector: this.comments.length > 1 && index < this.comments.length - 1 ? true : false }))))) : (h("div", { class: "container" }, h("div", { class: "frame" }, this.isDarkTheme ? h("img", { src: patternSrcDarkMode, alt: "", class: "empty_state_pattern" }) : h("img", { src: patternSrcLightMode, alt: "", class: "empty_state_pattern" }), h("div", { class: "empty_state" }, h("div", { class: "content" }, this.isDarkTheme ? (h("img", { src: illustrationSrcDarkMode, alt: "bell-icon", class: "bell_icon" })) : (h("img", { src: illustrationSrcLightMode, alt: "bell-icon", class: "bell_icon" })), h("div", { class: "text" }, h("p", { class: "main-text text-lg-semi-bold" }, this.noCommentText), h("p", { class: "sub-text text-sm-regular" }, this.noCommentTextSub))))))))));
|
|
48
71
|
}
|
|
49
72
|
static get is() { return "gb-comment"; }
|
|
50
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -156,8 +179,39 @@ export class GbComment {
|
|
|
156
179
|
"getter": false,
|
|
157
180
|
"setter": false,
|
|
158
181
|
"defaultValue": "[\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'This is error and fraud free. I concur',\r\n // timestamp: '07-Oct-2024 6:00PM' ,\r\n // },\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'This is error and fraud free. I concur',\r\n // timestamp: '07-Oct-2024 6:00PM',\r\n // },\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'I concur to the transactions in this call-over',\r\n // timestamp: '07-Oct-2024 6:00PM',\r\n // },\r\n // {\r\n // name: 'Gideon',\r\n // role: 'Designer',\r\n // comment: 'I concur to the transactions in this call-over',\r\n // timestamp: '07-Nov-2024 6:00PM',\r\n // },\r\n ]"
|
|
182
|
+
},
|
|
183
|
+
"theme": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"mutable": false,
|
|
186
|
+
"complexType": {
|
|
187
|
+
"original": "ThemeTypes",
|
|
188
|
+
"resolved": "\"dark\" | \"light\" | \"system\"",
|
|
189
|
+
"references": {
|
|
190
|
+
"ThemeTypes": {
|
|
191
|
+
"location": "import",
|
|
192
|
+
"path": "../../models/reusableModels",
|
|
193
|
+
"id": "src/models/reusableModels.ts::ThemeTypes"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": false,
|
|
198
|
+
"optional": false,
|
|
199
|
+
"docs": {
|
|
200
|
+
"tags": [],
|
|
201
|
+
"text": ""
|
|
202
|
+
},
|
|
203
|
+
"getter": false,
|
|
204
|
+
"setter": false,
|
|
205
|
+
"attribute": "theme",
|
|
206
|
+
"reflect": false,
|
|
207
|
+
"defaultValue": "'system'"
|
|
159
208
|
}
|
|
160
209
|
};
|
|
161
210
|
}
|
|
211
|
+
static get states() {
|
|
212
|
+
return {
|
|
213
|
+
"isDarkTheme": {}
|
|
214
|
+
};
|
|
215
|
+
}
|
|
162
216
|
}
|
|
163
217
|
//# sourceMappingURL=gb-comment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-comment.js","sourceRoot":"","sources":["../../../src/components/gb-comment/gb-comment.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Prop, h, getAssetPath } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-comment',\r\n styleUrl: 'gb-comment.css',\r\n shadow: true,\r\n})\r\nexport class GbComment {\r\n @Prop() heading: string = '';\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed';\r\n @Prop() noCommentText: string = 'No comment yet';\r\n @Prop() noCommentTextSub: string = 'No reviewer has left a comment yet, you will be notified when a comment drops';\r\n @Prop() comments: any[] = [\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'This is error and fraud free. I concur',\r\n // timestamp: '07-Oct-2024 6:00PM' ,\r\n // },\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'This is error and fraud free. I concur',\r\n // timestamp: '07-Oct-2024 6:00PM',\r\n // },\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'I concur to the transactions in this call-over',\r\n // timestamp: '07-Oct-2024 6:00PM',\r\n // },\r\n // {\r\n // name: 'Gideon',\r\n // role: 'Designer',\r\n // comment: 'I concur to the transactions in this call-over',\r\n // timestamp: '07-Nov-2024 6:00PM',\r\n // },\r\n ];\r\n\r\n toggleComments() {\r\n if (this.state === 'expanded') {\r\n this.state = 'collapsed';\r\n } else if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n }\r\n\r\n render() {\r\n const hasComments = this.comments && this.comments.length > 0;\r\n const patternSrc = getAssetPath(`assets/background_pattern.svg`);\r\n const illustrationSrc = getAssetPath(`assets/illustration.svg`);\r\n\r\n return (\r\n <div class={`comments-container ${!hasComments ? 'no-comments-state' : ''}`}>\r\n <div class={`header ${this.state}`}>\r\n <div class=\"title-section\">\r\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"info-icon\">\r\n <path\r\n opacity=\"0.4\"\r\n d=\"M12.0572 1.75C14.2479 1.74999 15.9686 1.74998 17.312 1.93059C18.6886 2.11568 19.7809 2.50271 20.6391 3.36091C21.4973 4.21911 21.8843 5.31137 22.0694 6.68802C22.25 8.03143 22.25 9.7521 22.25 11.9428V11.9428V12.0572V12.0572C22.25 14.2479 22.25 15.9686 22.0694 17.312C21.8843 18.6886 21.4973 19.7809 20.6391 20.6391C19.7809 21.4973 18.6886 21.8843 17.312 22.0694C15.9686 22.25 14.2479 22.25 12.0572 22.25H12.0572H11.9428H11.9428C9.7521 22.25 8.03143 22.25 6.68802 22.0694C5.31137 21.8843 4.21911 21.4973 3.36091 20.6391C2.50271 19.7809 2.11568 18.6886 1.93059 17.312C1.74998 15.9686 1.74999 14.2479 1.75 12.0572V11.9428C1.74999 9.75212 1.74998 8.03144 1.93059 6.68802C2.11568 5.31137 2.50272 4.21911 3.36091 3.36091C4.21911 2.50272 5.31137 2.11568 6.68802 1.93059C8.03144 1.74998 9.75212 1.74999 11.9428 1.75H12.0572Z\"\r\n fill=\"#064E94\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.6819 10.5273C11.9289 10.5605 12.2707 10.6494 12.5607 10.9394C12.8507 11.2294 12.9396 11.5711 12.9728 11.8182C13.0003 12.0228 13.0001 12.2608 13 12.4606C13 12.474 13 12.4871 13 12.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V12.5C10.4477 12.5 10 12.0523 10 11.5C10 10.9477 10.4477 10.5 11 10.5C11.0129 10.5 11.0261 10.5 11.0394 10.5C11.2393 10.4999 11.4772 10.4997 11.6819 10.5273Z\"\r\n fill=\"#064E94\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M10.9999 7.5C10.9999 6.94772 11.4456 6.5 11.9954 6.5H12.0044C12.5542 6.5 12.9999 6.94772 12.9999 7.5C12.9999 8.05228 12.5542 8.5 12.0044 8.5H11.9954C11.4456 8.5 10.9999 8.05228 10.9999 7.5Z\"\r\n fill=\"#064E94\"\r\n />\r\n </svg>\r\n <h2 class=\"text-md-semi-bold heading\">{this.heading}</h2>\r\n </div>\r\n\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon=\"default\" onClick={() => this.toggleComments()}>\r\n {this.state === 'expanded' ? <p>Hide Comments</p> : <p>Show Comments</p>}\r\n </gb-button>\r\n </div>\r\n\r\n {this.state === 'expanded' &&\r\n (hasComments ? (\r\n <div class=\"comments-wrapper\">\r\n {this.comments.map((comment, index) => (\r\n <gb-comment-item\r\n key={index}\r\n name={comment.name}\r\n duty={comment.role}\r\n comment={comment.comment}\r\n time-stamp={comment.timeStamp}\r\n connector={this.comments.length > 1 && index < this.comments.length - 1 ? true : false}\r\n />\r\n ))}\r\n </div>\r\n ) : (\r\n <div class=\"container\">\r\n <div class=\"frame\">\r\n <img src={patternSrc} alt=\"\" class=\"empty_state_pattern\" />\r\n <div class=\"empty_state\">\r\n <div class=\"content\">\r\n <img src={illustrationSrc} alt=\"bell-icon\" class=\"bell_icon\" />\r\n <div class=\"text\">\r\n <p class=\"main-text text-lg-semi-bold\">{this.noCommentText}</p>\r\n <p class=\"sub-text text-sm-regular\">{this.noCommentTextSub}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ))}\r\n </div>\r\n );\r\n }\r\n}"]}
|
|
1
|
+
{"version":3,"file":"gb-comment.js","sourceRoot":"","sources":["../../../src/components/gb-comment/gb-comment.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Prop, h, getAssetPath, State } from '@stencil/core';\r\nimport { ThemeTypes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-comment',\r\n styleUrl: 'gb-comment.css',\r\n shadow: true,\r\n})\r\nexport class GbComment {\r\n @Prop() heading: string = '';\r\n @Prop({ mutable: true }) state: 'expanded' | 'collapsed';\r\n @Prop() noCommentText: string = 'No comment yet';\r\n @Prop() noCommentTextSub: string = 'No reviewer has left a comment yet, you will be notified when a comment drops';\r\n @Prop() comments: any[] = [\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'This is error and fraud free. I concur',\r\n // timestamp: '07-Oct-2024 6:00PM' ,\r\n // },\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'This is error and fraud free. I concur',\r\n // timestamp: '07-Oct-2024 6:00PM',\r\n // },\r\n // {\r\n // name: 'Prince Ogheneriere',\r\n // role: 'Authorizer',\r\n // comment: 'I concur to the transactions in this call-over',\r\n // timestamp: '07-Oct-2024 6:00PM',\r\n // },\r\n // {\r\n // name: 'Gideon',\r\n // role: 'Designer',\r\n // comment: 'I concur to the transactions in this call-over',\r\n // timestamp: '07-Nov-2024 6:00PM',\r\n // },\r\n ];\r\n @Prop() theme: ThemeTypes = 'system';\r\n @State() isDarkTheme: boolean = false;\r\n\r\n toggleComments() {\r\n if (this.state === 'expanded') {\r\n this.state = 'collapsed';\r\n } else if (this.state === 'collapsed') {\r\n this.state = 'expanded';\r\n }\r\n }\r\n\r\n changeTheme() {\r\n if (this.theme === 'system') {\r\n if (window.matchMedia('(prefers-color-scheme: dark)').matches) {\r\n this.isDarkTheme = true;\r\n } else {\r\n this.isDarkTheme = false;\r\n }\r\n } else if (this.theme === 'light') {\r\n this.isDarkTheme = false;\r\n } else if (this.theme === 'dark') {\r\n this.isDarkTheme = true;\r\n }\r\n }\r\n\r\n componentWillLoad() {\r\n this.changeTheme();\r\n }\r\n\r\n render() {\r\n const hasComments = this.comments && this.comments.length > 0;\r\n const patternSrcLightMode = getAssetPath(`assets/background_pattern.svg`);\r\n const patternSrcDarkMode = getAssetPath(`assets/background_pattern_dark_mode.svg`);\r\n const illustrationSrcLightMode = getAssetPath(`assets/illustration.svg`);\r\n const illustrationSrcDarkMode = getAssetPath(`assets/illustration_dark_mode.svg`);\r\n\r\n return (\r\n <div class={`comments-container ${!hasComments ? 'no-comments-state' : ''}`}>\r\n <div class={`header ${this.state}`}>\r\n <div class=\"title-section\">\r\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"info-icon\">\r\n <path\r\n opacity=\"0.4\"\r\n d=\"M12.0572 1.75C14.2479 1.74999 15.9686 1.74998 17.312 1.93059C18.6886 2.11568 19.7809 2.50271 20.6391 3.36091C21.4973 4.21911 21.8843 5.31137 22.0694 6.68802C22.25 8.03143 22.25 9.7521 22.25 11.9428V11.9428V12.0572V12.0572C22.25 14.2479 22.25 15.9686 22.0694 17.312C21.8843 18.6886 21.4973 19.7809 20.6391 20.6391C19.7809 21.4973 18.6886 21.8843 17.312 22.0694C15.9686 22.25 14.2479 22.25 12.0572 22.25H12.0572H11.9428H11.9428C9.7521 22.25 8.03143 22.25 6.68802 22.0694C5.31137 21.8843 4.21911 21.4973 3.36091 20.6391C2.50271 19.7809 2.11568 18.6886 1.93059 17.312C1.74998 15.9686 1.74999 14.2479 1.75 12.0572V11.9428C1.74999 9.75212 1.74998 8.03144 1.93059 6.68802C2.11568 5.31137 2.50272 4.21911 3.36091 3.36091C4.21911 2.50272 5.31137 2.11568 6.68802 1.93059C8.03144 1.74998 9.75212 1.74999 11.9428 1.75H12.0572Z\"\r\n fill=\"var(--color-icon-information, #064E94)\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M11.6819 10.5273C11.9289 10.5605 12.2707 10.6494 12.5607 10.9394C12.8507 11.2294 12.9396 11.5711 12.9728 11.8182C13.0003 12.0228 13.0001 12.2608 13 12.4606C13 12.474 13 12.4871 13 12.5V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V12.5C10.4477 12.5 10 12.0523 10 11.5C10 10.9477 10.4477 10.5 11 10.5C11.0129 10.5 11.0261 10.5 11.0394 10.5C11.2393 10.4999 11.4772 10.4997 11.6819 10.5273Z\"\r\n fill=\"var(--color-icon-information, #064E94)\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M10.9999 7.5C10.9999 6.94772 11.4456 6.5 11.9954 6.5H12.0044C12.5542 6.5 12.9999 6.94772 12.9999 7.5C12.9999 8.05228 12.5542 8.5 12.0044 8.5H11.9954C11.4456 8.5 10.9999 8.05228 10.9999 7.5Z\"\r\n fill=\"var(--color-icon-information, #064E94)\"\r\n />\r\n </svg>\r\n <h2 class=\"text-md-semi-bold heading\">{this.heading}</h2>\r\n </div>\r\n\r\n <gb-button size=\"sm\" hierarchy=\"link_color\" icon=\"default\" onClick={() => this.toggleComments()}>\r\n {this.state === 'expanded' ? <p>Hide Comments</p> : <p>Show Comments</p>}\r\n </gb-button>\r\n </div>\r\n\r\n {this.state === 'expanded' &&\r\n (hasComments ? (\r\n <div class=\"comments-wrapper\">\r\n {this.comments.map((comment, index) => (\r\n <gb-comment-item\r\n key={index}\r\n name={comment.name}\r\n duty={comment.role}\r\n comment={comment.comment}\r\n time-stamp={comment.timeStamp}\r\n connector={this.comments.length > 1 && index < this.comments.length - 1 ? true : false}\r\n />\r\n ))}\r\n </div>\r\n ) : (\r\n <div class=\"container\">\r\n <div class=\"frame\">\r\n {this.isDarkTheme ? <img src={patternSrcDarkMode} alt=\"\" class=\"empty_state_pattern\" /> : <img src={patternSrcLightMode} alt=\"\" class=\"empty_state_pattern\" />}\r\n <div class=\"empty_state\">\r\n <div class=\"content\">\r\n {this.isDarkTheme ? (\r\n <img src={illustrationSrcDarkMode} alt=\"bell-icon\" class=\"bell_icon\" />\r\n ) : (\r\n <img src={illustrationSrcLightMode} alt=\"bell-icon\" class=\"bell_icon\" />\r\n )}\r\n <div class=\"text\">\r\n <p class=\"main-text text-lg-semi-bold\">{this.noCommentText}</p>\r\n <p class=\"sub-text text-sm-regular\">{this.noCommentTextSub}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n ))}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -12,7 +12,7 @@ export class GbCommentItem {
|
|
|
12
12
|
return nameAndRole;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '9154236a4e0fcc2b4d009591a9c2a007b9bf7ca1', class: "comment-item" }, h("div", { key: '49f5caa589a17c29dada791b201e5585fdb33ed9', class: "left" }, h("div", { key: '1ad30034cc8e59ebca19471592bab7875d047fdc', class: "comment-bullet" }), this.connector && h("hr", { key: '08386c258ef3bf8daa2a8294971f9c30bde6d9f2', class: "line" })), h("div", { key: '32694fc9d3bcf588ecc66cfcd673b48e0195aafe', class: "comment-content" }, h("div", { key: 'c34e6d257549551b555d9b506de5a4f241da7a8f', class: "reviewer-info" }, h("p", { key: 'ee1f567e7dd9d181278685788c1a106b72a41eca', class: "text-sm-semi-bold" }, this.displayNameAndRole())), h("div", { key: '41ab75b27efb110a9d3cd32862ca6ab06bd5a151', class: "comment-text" }, h("p", { key: 'b91ad398f9c99b9c47cba219b4dff0bef083d641', class: "text-sm-regular" }, this.comment)), h("div", { key: '0a9b78b8a69dc8c589f2ed8d8e5988dfba72a6b5', class: "timestamp" }, h("p", { key: 'aa96ea796051a4eda3f44ccc344c4ea0cfef8a87', class: "text-xs-regular" }, this.timeStamp)))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "gb-comment-item"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class GbComplexPrimarySideBarItem {
|
|
|
22
22
|
const whiteBarSrc = getAssetPath(`assets/complex_bar_white.svg`);
|
|
23
23
|
const redCompactBarSrc = getAssetPath(`assets/compact_bar_red.svg`);
|
|
24
24
|
const whiteCompactBarSrc = getAssetPath(`assets/compact_bar_white.svg`);
|
|
25
|
-
return (h(Fragment, null, this.itemStyle === 'standard' && (h("div", { key: '
|
|
25
|
+
return (h(Fragment, null, this.itemStyle === 'standard' && (h("div", { key: 'c0e307129545e1bc528a857edc52d343848cf593', class: `container ${this.state} ${this.category}` }, h("div", { key: 'a7f74b11a7313be4261af4e8546d66e56a635252', class: `wrapper ${this.state} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '3ce40f685004196bb708a66fd970407a6fe0d1be', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '73172015b7b5b340480ea1e530502f0ac866489e', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '6d070c2274dcfb713bb2b31e7a3667d947d78c47', class: "icon_container" }, h("div", { key: '3cbcb27d11300b3a6339d57b37ca195a2cdff685', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg })), h("p", { key: '00fb9747f6e0f5aece1f9e1002f5631b43324568', class: `label_text ${this.state} ${this.category} ${this.state === 'active' ? 'text-xs-semi-bold' : 'text-xs-regular'}` }, this.label)))), this.itemStyle === 'compact' && (h("div", { key: '371847f3d74b0edefcd6985a206b26a126a2c10a', class: "compact_container" }, h("div", { key: '82976868c06db672e9bd71bc4aa53112d8ba39d5', class: `compact_wrapper ${this.state} ${this.category}`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '9c4efb7f0c75a845e9ba2bafd9ecf3c8e2335fb4', src: redCompactBarSrc, alt: "", class: "compact_bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '84b2ab3a3ff6b728e1a87ecd80ee4750b3fc947e', src: whiteCompactBarSrc, alt: "", class: "compact_bar" }), h("div", { key: 'df914503e5e8a733b60efb828f1bcdaa53ee5246', class: "compact_icon_container" }, h("div", { key: '7cd9501d38d611f16a50b0a299ef0513f5c9505b', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg })), this.itemStyle === 'compact' && this.showTooltip && (h("gb-tooltip", { key: '20b289915079a8a0f5a630dc79a6b3651543332a', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '739f2d33400514d0380b7890c75f98c27b004a7e', slot: "label" }, this.label))))))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "gb-complex-primary-side-bar-item"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class GbComplexSecondarySideBarItem {
|
|
|
16
16
|
this.loadIcon(this.icon);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '8d17f006b9a9786c3077ccc2a5cf572d12d7982a', class: `container ${this.type}` }, h("div", { key: '722ade506a11cfb03e6a7f566b65b3243fede588', class: `secondary_side_bar_item_div ${this.state} ${this.type} ${this.category}`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '6881aeed084afebd5f464ae64cb77bbcc9a8986d', class: "icon" }, h("div", { key: '56626d32f07e864b85c306d14431586b10b80f9f', class: "icon_container" }, h("div", { key: '775277409945a431dee00c5502c8292d6be07791', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }))), this.type === 'full_with_label' && (h("div", { key: '195eca14cd1253f4e36f184071c74d1fa40e8022', class: "text" }, h("p", { key: '45c7a057148bf993f744320e8634f0caf25b1722', class: `label_text ${this.state} ${this.category} ${this.state !== 'active' ? 'text-md-medium' : 'text-md-semi-bold'}` }, this.label))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: '42e3602fcfec0f21599ca030b917c769b637d893', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: 'da78d025e87260bb044dfbce8bec22363054c2fb', slot: "label" }, this.label))))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gb-complex-secondary-side-bar-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,7 +75,7 @@ export class GbDetailCell {
|
|
|
75
75
|
this.showActionButtons = false;
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return (h("div", { key: '
|
|
78
|
+
return (h("div", { key: 'ab4974812e48b4067d04ee98c32dae8f618e35d7', class: `detail_cell_div ${this.type} ${this.cellStyle}`, onMouseEnter: () => this.onShowCopyButton(), onMouseLeave: () => this.onHideCopyButton() }, this.type === 'information' && this.cellStyle === 'standard' && (h(Fragment, null, h("div", { key: '5228687821061bf49fa9334418cc480b3f7bd929', class: "info_text_div" }, h("p", { key: 'f21ce62acb723dd186a1e44ffd1601c9288dc15b', class: "label text-sm-regular" }, this.label), h("div", { key: '6d1e08915bd0168fc46bd838d9872822b3bee36f', class: "detail_div" }, h("p", { key: 'b426c7e6dacbab752cea2a811a8813ac1451fe1e', class: `detail ${this.supportingText ? '' : 'no_supporting_text'} text-md-medium`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail), this.showSupportingText && h("p", { key: '4dea6268ef276dfd1636e88bb04c6e96def42bd5', class: "supporting_text text-md-medium" }, this.supportingText)), this.showTooltip && (h("gb-tooltip", { key: '7b105539d3a91a943e799422bee951b0b078f258', "show-arrow": false, class: "information_text_tooltip" }, h("p", { key: '10056d049c23839fdfb800e2644d6015947b2ecb', slot: "label" }, this.detail)))), this.showStandardCopyButton && (h("gb-button", { key: '9cee1446c5a53d3dd82fdb8a0814db2ec6a518db', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/copy.svg", onClick: () => this.copyToClipboard() })), this.copied && (h("gb-tooltip", { key: '444ae514d5193c4e458269e200a6b23c44084442', "show-arrow": false, class: "copied_tooltip" }, h("p", { key: '43920feb6a6fcdb9c7f8136a7636cf1a2b5e6a8c', slot: "label" }, "Copied!"))))), this.type === 'document' && this.cellStyle === 'standard' && (h(Fragment, null, h("gb-file-type-icon", { key: 'bbce59d4bd9da4e00ecb6f8240781be9c58e690d', "file-style": this.fileStyle, "file-type": this.fileType }), h("div", { key: '84d3dfecf0228641ef8f480188b6edfb12981ca3', class: "document_text_div" }, h("p", { key: 'bcc8e87292e431a92733e0359cc5343a7a3490a8', class: "label text-sm-regular" }, this.label), h("p", { key: '44574d5add48a4c754383d958ac3292b90b9d811', class: "detail text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail), this.showTooltip && (h("gb-tooltip", { key: '98e8f4e602b61cbb709b58dc9d14bc8e94ca6c0e', "show-arrow": false, class: "document_detail_tooltip" }, h("p", { key: 'c27b331285134f2574e71d4a232c9afc438415c2', slot: "label" }, this.detail)))), !this.isDownloaded ? (h(Fragment, null, this.showActionButtons && (h(Fragment, null, this.showViewButton && (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/view.svg", onClick: () => this.onViewButtonClicked() })), this.showDownloadButton && (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/download-03.svg", onClick: () => this.onDownloadButtonClicked() })))))) : (h("gb-tooltip", { "show-arrow": false, class: "downloaded_tooltip" }, h("p", { slot: "label" }, "Downloaded!"))))), this.type === 'status' && this.cellStyle === 'standard' && (h("div", { key: '48ebf6a0c407f64e84bad3241626269524ae745f', class: "status_text_div" }, h("p", { key: 'd0225b2604c49307b60bd94a2efb33694aba7ccc', class: "label text-sm-regular" }, this.label), h("gb-badge", { key: '49ddb9d18f70f116f235798992c1baabb5623530', size: "sm", type: this.badgeType, icon: this.badgeIcon, color: this.badgeColor, "icon-leading-swap": this.badgeIconLeading, "icon-trailing-swap": this.badgeIconTrailing }, h("p", { key: 'ca0a7069d703e8216ad3b8c1c4673a0f6ee8e38a' }, this.badgeLabel)))), this.type === 'button' && this.cellStyle === 'standard' && (h("div", { key: 'f4adc213daa662924403ea2e9c3153e8e3b24282', class: "button_div" }, h("p", { key: '2d90f2ad560e5b3e5a7e751d3e1fd05c870e4bab', class: "label text-sm-regular" }, this.label), h("gb-button", { key: '80349ed9893aea70bfe56c4b4671c3c4170c2870', size: "sm", hierarchy: "link_color", icon: "default" }, h("p", { key: '4a46e6c20eb55d67c1c5656032da358096dfc72e' }, "Button CTA")))), this.type === 'information' && this.cellStyle === 'compact' && (h("div", { key: '736a6cdc83e3efe33a99757501e9c68079411fd3', class: "compact_info_div" }, h("div", { key: 'ab8fa2055e5077495865b53ddcaace115a39eb16', class: "compact_info_text_div" }, h("div", { key: 'b9d025027ba75c404dce0c1e4464122e192203b0', class: "compact_label" }, h("p", { key: 'b200c29ae5989c36b205dd626730fe5e7fb01111', class: "label text-sm-regular" }, this.label)), h("div", { key: '4a15d6b40bb88df9d7bbabdf7a2c2d18328830c7', class: "compact_detail" }, h("p", { key: 'bc2c8375ba1189cd7e8ffa9f30a1434ec17dbef7', class: "detail_compact_text text-md-medium" }, this.detail), this.copied && (h("gb-tooltip", { key: 'ad0b3afffd17bc63d8ce95f4c2ced364283a08bf', "show-arrow": false, class: "compact_copied_tooltip" }, h("p", { key: 'ae5393dd3e7d4d85733dfc525487deaf69472ee5', slot: "label" }, "Copied!")))), this.showCopyButton && (h("gb-button", { key: '15bb1d7c289941e46a8a449830ed4f9ea143bfdf', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/copy.svg", onClick: () => this.copyToClipboard() }))))), this.type === 'document' && this.cellStyle === 'compact' && (h("div", { key: 'e7515d9538d4066d5c0294b0a2614e85ac072cb6', class: "compact_div" }, h("gb-file-type-icon", { key: 'eb1cc07447a5f41b19a777b82680d75524eac8f9', "file-style": this.fileStyle, "file-type": this.fileType }), h("div", { key: '1cd9b31b5be5cc08a9e1360b474cf4c7d1f55136', class: "compact_doc_text_div" }, h("p", { key: '778a56ca3869787e0f2d10093d7c6643d4a32c60', class: "doc_label text-sm-regular" }, this.label), h("div", { key: 'cdff5855a4f233bb7cf9693d1c6fd0b35ab057ce', class: "compact_doc_detail" }, h("p", { key: '2dccfe23169d6dde7ef22e6c31a4da165f9452ef', class: "detaill text-md-medium", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, this.detail)), this.isDownloaded && (h("gb-tooltip", { key: 'ae0f4a929acd51717c9350407618127e54d30346', "show-arrow": false, class: "compact_downloaded_tooltip" }, h("p", { key: 'e5cfc4a3a1965cffe000737fba78ec6a5079bedb', slot: "label" }, "Downloaded!"))), this.showActionButtons && (h("div", { key: '9ab8ff8afb6d1446dd7b141701dc8d4a224f5bc0', class: "button_container" }, this.showViewButton && (h("gb-button", { key: 'a02a282b2e2370cae8367a80f5ea54bc2eccc1b7', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/view.svg", onClick: () => this.onViewButtonClicked() })), this.showDownloadButton && (h("gb-button", { key: '5d15872dcf0ab54d67ff3137180dc618190a690f', size: "sm", hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/download-03.svg", onClick: () => this.onDownloadButtonClicked() }))))))), this.type === 'status' && this.cellStyle === 'compact' && (h("div", { key: '5ce467088037a2fb5a41012b2dc6a353803dc885', class: "compact_div" }, h("div", { key: '0cfa77af8d2095c77b22006052761b3f3aebcab0', class: "compact_status_text_div" }, h("div", { key: '1221ca294a6832140dea307ffcdfc7e4ec296d28', class: "compact_label" }, h("p", { key: 'ef0df96922d0908ba5891c53e509b8fc7c9083bc', class: "label text-sm-regular" }, this.label)), h("gb-badge", { key: 'd689ed39daa767c3b21da0929d56440fa2be2b36', size: "sm", type: this.badgeType, icon: "dot", color: this.badgeColor }, h("p", { key: 'd04b9137fdcb8c1b0e2cd9e85ce515cd951e41d2' }, this.badgeLabel))))), this.type === 'button' && this.cellStyle === 'compact' && (h("div", { key: 'eb124d66414d16dcd328fe15947900eb58b8628f', class: "compact_div" }, h("div", { key: '0501505139f2bbca89d7bf3881003f726bb65e7c', class: "compact_status_text_div" }, h("div", { key: 'aa3be01891b0d47f9212a5e9e8732b3c2aff63b6', class: "compact_label" }, h("p", { key: '352fe7d0b8db64b9ae4f45ca85739fdf83065ccc', class: "label text-sm-regular" }, this.label)), h("gb-button", { key: '041b1c65462a275f023c3eb7bd47a87304d130f2', size: "sm", hierarchy: "link_color", icon: "default", onClick: () => this.onButtonClicked() }, h("p", { key: 'a6e51cc8315e55e513a0b37377b228adde87b0b1' }, this.buttonText)))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "gb-detail-cell"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class GbDropdownShortcut {
|
|
|
29
29
|
this.loadIcon(this.iconSrc);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'faeb16acfc049c498bc282e5ac7261e0b77b9a9a', class: "shortcut-container" }, h("div", { key: 'ce7bcb3aebd843d522a8072b1d39f36334dc7e10', class: `shortcut ${this.state === 'disabled' ? 'disabled' : ''} ${this.destructive ? 'destructive' : ''}` }, this.icon && (h("div", { key: '3d692fe26c90c19e53ced8b5fab5c93b0b549e74', class: "icon_div" }, h("div", { key: '0086c482131911f44c25296e429c2edc1226c799', class: `icon ${this.state === 'disabled' ? 'disabled' : ''} ${this.destructive ? 'destructive' : ''}`, innerHTML: this.leadingIconSvg }))), this.checkbox && !this.icon && h("gb-checkbox", { key: 'f0f6af2a4b8deb2a4acadcd37e74a076315148c5', class: "checkbox", size: "sm", type: "checkbox", state: StateEnum.Default }), h("span", { key: '6ab60a27a4d447dbce925396b0ff54c94d4aa65f', class: "label_div" }, h("p", { key: 'fd7c275ced9ced21248a56e2505f6bfcaca344c1', class: `label text-sm-medium ${this.destructive ? 'destructive' : ''}` }, this.label)), this.shortcut && (h("span", { key: 'ca03553368d5af120842f2295e6617ce5fe529ce', class: "shortcut-icon" }, h("slot", { key: '6d3c96964904b389d53fd449033a06a25d56c3a2' }, this.shortcutIcon))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "gb-dropdown-items-with-shortcut"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|