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
|
@@ -2746,9 +2746,10 @@ button {
|
|
|
2746
2746
|
cursor: pointer;
|
|
2747
2747
|
border-radius: var(--rounded-sm);
|
|
2748
2748
|
width: 100%;
|
|
2749
|
+
transition: background-color 0.15s, color 0.15s;
|
|
2749
2750
|
}
|
|
2750
2751
|
|
|
2751
|
-
button.only{
|
|
2752
|
+
button.only {
|
|
2752
2753
|
display: flex;
|
|
2753
2754
|
justify-content: center;
|
|
2754
2755
|
align-items: center;
|
|
@@ -2773,62 +2774,62 @@ button .icon svg circle {
|
|
|
2773
2774
|
}
|
|
2774
2775
|
|
|
2775
2776
|
/* Button Sizes Styles */
|
|
2776
|
-
button.xl2{
|
|
2777
|
-
padding: var(--spacing-none) var(--spacing-6);
|
|
2777
|
+
button.default.xl2 {
|
|
2778
|
+
/* padding: var(--spacing-none) var(--spacing-6); */
|
|
2778
2779
|
height: 3.5rem;
|
|
2779
2780
|
gap: var(--spacing-3);
|
|
2780
2781
|
}
|
|
2781
2782
|
|
|
2782
|
-
button.xl{
|
|
2783
|
-
padding: var(--spacing-none) var(--spacing-5);
|
|
2783
|
+
button.default.xl {
|
|
2784
|
+
/* padding: var(--spacing-none) var(--spacing-5); */
|
|
2784
2785
|
height: 3rem;
|
|
2785
2786
|
gap: var(--spacing-2);
|
|
2786
2787
|
}
|
|
2787
2788
|
|
|
2788
|
-
button.lg{
|
|
2789
|
-
padding: 0.625rem 1.125rem;
|
|
2789
|
+
button.default.lg {
|
|
2790
|
+
/* padding: 0.625rem 1.125rem; */
|
|
2790
2791
|
height: 2.75rem;
|
|
2791
2792
|
gap: var(--spacing-2);
|
|
2792
2793
|
}
|
|
2793
2794
|
|
|
2794
|
-
button.md{
|
|
2795
|
-
padding: var(--spacing-none) var(--spacing-4);
|
|
2795
|
+
button.default.md {
|
|
2796
|
+
/* padding: var(--spacing-none) var(--spacing-4); */
|
|
2796
2797
|
height: 2.5rem;
|
|
2797
2798
|
gap: var(--spacing-2);
|
|
2798
2799
|
}
|
|
2799
2800
|
|
|
2800
|
-
button.sm{
|
|
2801
|
-
padding: var(--spacing-none) var(--spacing-3);
|
|
2801
|
+
button.default.sm {
|
|
2802
|
+
/* padding: var(--spacing-none) var(--spacing-3); */
|
|
2802
2803
|
height: 2.25rem;
|
|
2803
2804
|
gap: var(--spacing-2);
|
|
2804
2805
|
}
|
|
2805
2806
|
|
|
2806
|
-
button.only.xl2{
|
|
2807
|
+
button.only.xl2 {
|
|
2807
2808
|
width: 3.5rem;
|
|
2808
2809
|
height: 3.5rem;
|
|
2809
2810
|
}
|
|
2810
2811
|
|
|
2811
|
-
button.only.xl{
|
|
2812
|
+
button.only.xl {
|
|
2812
2813
|
width: 3rem;
|
|
2813
2814
|
height: 3rem;
|
|
2814
2815
|
}
|
|
2815
2816
|
|
|
2816
|
-
button.only.lg{
|
|
2817
|
+
button.only.lg {
|
|
2817
2818
|
width: 2.75rem;
|
|
2818
2819
|
height: 2.75rem;
|
|
2819
2820
|
}
|
|
2820
2821
|
|
|
2821
|
-
button.only.md{
|
|
2822
|
+
button.only.md {
|
|
2822
2823
|
width: 2.5rem;
|
|
2823
2824
|
height: 2.5rem;
|
|
2824
2825
|
}
|
|
2825
2826
|
|
|
2826
|
-
button.only.sm{
|
|
2827
|
+
button.only.sm {
|
|
2827
2828
|
width: 2.25rem;
|
|
2828
2829
|
height: 2.25rem;
|
|
2829
2830
|
}
|
|
2830
2831
|
|
|
2831
|
-
button.xl2 .icon svg{
|
|
2832
|
+
button.xl2 .icon svg {
|
|
2832
2833
|
width: var(--spacing-6);
|
|
2833
2834
|
height: var(--spacing-6);
|
|
2834
2835
|
}
|
|
@@ -2836,205 +2837,260 @@ button.xl2 .icon svg{
|
|
|
2836
2837
|
button.xl .icon svg,
|
|
2837
2838
|
button.lg .icon svg,
|
|
2838
2839
|
button.md .icon svg,
|
|
2839
|
-
button.sm .icon svg{
|
|
2840
|
+
button.sm .icon svg {
|
|
2840
2841
|
width: var(--spacing-5);
|
|
2841
2842
|
height: var(--spacing-5);
|
|
2842
2843
|
}
|
|
2843
2844
|
|
|
2844
2845
|
/* Hierarchy Styles */
|
|
2845
2846
|
button.primary {
|
|
2846
|
-
background-color: var(--color-background-brandRed, #
|
|
2847
|
-
--icon-color: var(--color-icon-inverse, #
|
|
2848
|
-
color: var(--color-text-inverse, #
|
|
2847
|
+
background-color: var(--color-background-brandRed, #e21b2e);
|
|
2848
|
+
--icon-color: var(--color-icon-inverse, #ffffff);
|
|
2849
|
+
color: var(--color-text-inverse, #ffffff);
|
|
2849
2850
|
}
|
|
2850
2851
|
|
|
2851
2852
|
button.secondary_gray {
|
|
2852
2853
|
background-color: transparent;
|
|
2853
|
-
border: 1px solid var(--color-border, #
|
|
2854
|
-
--icon-color: var(--color-icon, #
|
|
2855
|
-
color: var(--color-text, #
|
|
2854
|
+
border: 1px solid var(--color-border, #9aa4b2);
|
|
2855
|
+
--icon-color: var(--color-icon, #4b5565);
|
|
2856
|
+
color: var(--color-text, #4b5565);
|
|
2856
2857
|
}
|
|
2857
2858
|
|
|
2858
2859
|
button.secondary_color {
|
|
2859
2860
|
background-color: transparent;
|
|
2860
|
-
border: 1px solid var(--color-border-brandRed, #
|
|
2861
|
-
--icon-color: var(--color-icon-brandRed, #
|
|
2862
|
-
color: var(--color-text-brandRed, #
|
|
2861
|
+
border: 1px solid var(--color-border-brandRed, #e21b2e);
|
|
2862
|
+
--icon-color: var(--color-icon-brandRed, #e21b2e);
|
|
2863
|
+
color: var(--color-text-brandRed, #e21b2e);
|
|
2863
2864
|
}
|
|
2864
2865
|
|
|
2865
2866
|
button.tertiary_gray {
|
|
2866
2867
|
background-color: transparent;
|
|
2867
|
-
--icon-color: var(--color-icon, #
|
|
2868
|
-
color: var(--color-text, #
|
|
2868
|
+
--icon-color: var(--color-icon, #4b5565);
|
|
2869
|
+
color: var(--color-text, #4b5565);
|
|
2869
2870
|
}
|
|
2870
2871
|
|
|
2871
2872
|
button.tertiary_color {
|
|
2872
2873
|
background-color: transparent;
|
|
2873
|
-
--icon-color: var(--color-icon-brandRed, #
|
|
2874
|
-
color: var(--color-text-brandRed, #
|
|
2874
|
+
--icon-color: var(--color-icon-brandRed, #e21b2e);
|
|
2875
|
+
color: var(--color-text-brandRed, #e21b2e);
|
|
2875
2876
|
}
|
|
2876
2877
|
|
|
2877
2878
|
button.link_gray {
|
|
2878
2879
|
background-color: transparent;
|
|
2879
|
-
--icon-color: var(--color-icon, #
|
|
2880
|
-
color: var(--color-text, #
|
|
2880
|
+
--icon-color: var(--color-icon, #4b5565);
|
|
2881
|
+
color: var(--color-text, #4b5565);
|
|
2881
2882
|
height: fit-content;
|
|
2882
2883
|
}
|
|
2883
2884
|
|
|
2884
2885
|
button.link_color {
|
|
2885
2886
|
background-color: transparent;
|
|
2886
|
-
--icon-color: var(--color-link, #
|
|
2887
|
-
color: var(--color-link, #
|
|
2887
|
+
--icon-color: var(--color-link, #075db2);
|
|
2888
|
+
color: var(--color-link, #075db2);
|
|
2888
2889
|
padding: var(--spacing-none);
|
|
2889
2890
|
height: fit-content;
|
|
2890
2891
|
}
|
|
2891
2892
|
|
|
2892
2893
|
/* Button Destructive Styles */
|
|
2893
|
-
button.primary.destructive{
|
|
2894
|
-
background-color: var(--color-background-danger, #
|
|
2895
|
-
color: var(--color-text-inverse, #
|
|
2896
|
-
--icon-color: var(--color-icon-danger-inverse, #
|
|
2894
|
+
button.primary.destructive {
|
|
2895
|
+
background-color: var(--color-background-danger, #b51726);
|
|
2896
|
+
color: var(--color-text-inverse, #ffffff);
|
|
2897
|
+
--icon-color: var(--color-icon-danger-inverse, #ffffff);
|
|
2897
2898
|
}
|
|
2898
2899
|
|
|
2899
|
-
button.secondary_gray.destructive,
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2900
|
+
button.secondary_gray.destructive,
|
|
2901
|
+
button.secondary_color.destructive {
|
|
2902
|
+
border: 1px solid var(--color-border-danger, #b51726);
|
|
2903
|
+
color: var(--color-text-danger, #b51726);
|
|
2904
|
+
--icon-color: var(--color-icon-danger, #b51726);
|
|
2903
2905
|
}
|
|
2904
2906
|
|
|
2905
2907
|
button.tertiary_gray.destructive,
|
|
2906
|
-
button.tertiary_color.destructive{
|
|
2907
|
-
color: var(--color-text-danger, #
|
|
2908
|
-
--icon-color: var(--color-icon-danger, #
|
|
2908
|
+
button.tertiary_color.destructive {
|
|
2909
|
+
color: var(--color-text-danger, #b51726);
|
|
2910
|
+
--icon-color: var(--color-icon-danger, #b51726);
|
|
2909
2911
|
}
|
|
2910
2912
|
|
|
2911
|
-
button.link_gray.destructive,
|
|
2912
|
-
button.link_color.destructive{
|
|
2913
|
-
color: var(--color-text-danger, #
|
|
2914
|
-
--icon-color: var(--color-icon-danger, #
|
|
2913
|
+
button.link_gray.destructive,
|
|
2914
|
+
button.link_color.destructive {
|
|
2915
|
+
color: var(--color-text-danger, #b51726);
|
|
2916
|
+
--icon-color: var(--color-icon-danger, #b51726);
|
|
2915
2917
|
}
|
|
2916
2918
|
|
|
2917
2919
|
/* Button States Styles */
|
|
2918
|
-
button.primary:hover{
|
|
2919
|
-
background-color: var(--color-background-brandRed-hover, #
|
|
2920
|
+
button.primary:hover {
|
|
2921
|
+
background-color: var(--color-background-brandRed-hover, #cc1a2a);
|
|
2920
2922
|
}
|
|
2921
2923
|
|
|
2922
|
-
button.primary:active{
|
|
2923
|
-
background-color: var(--color-background-brandRed-pressed, #
|
|
2924
|
+
button.primary:active {
|
|
2925
|
+
background-color: var(--color-background-brandRed-pressed, #b51726);
|
|
2924
2926
|
}
|
|
2925
2927
|
|
|
2926
|
-
button.secondary_gray:hover{
|
|
2927
|
-
background-color: var(--color-background-gray-subtler, #
|
|
2928
|
+
button.secondary_gray:hover {
|
|
2929
|
+
background-color: var(--color-background-gray-subtler, #eef2f6);
|
|
2928
2930
|
}
|
|
2929
2931
|
|
|
2930
|
-
button.secondary_gray:active{
|
|
2931
|
-
background-color: var(--color-background-gray-subtle, #
|
|
2932
|
+
button.secondary_gray:active {
|
|
2933
|
+
background-color: var(--color-background-gray-subtle, #e3e8ef);
|
|
2932
2934
|
}
|
|
2933
2935
|
|
|
2934
|
-
button.secondary_color:hover{
|
|
2935
|
-
background-color: var(--color-background-danger-subtlest, #
|
|
2936
|
+
button.secondary_color:hover {
|
|
2937
|
+
background-color: var(--color-background-danger-subtlest, #fef1f2);
|
|
2936
2938
|
}
|
|
2937
2939
|
|
|
2938
|
-
button.secondary_color:active{
|
|
2939
|
-
background-color: var(--color-background-danger-subtler, #
|
|
2940
|
+
button.secondary_color:active {
|
|
2941
|
+
background-color: var(--color-background-danger-subtler, #fde3e5);
|
|
2940
2942
|
}
|
|
2941
2943
|
|
|
2942
|
-
button.tertiary_gray:hover{
|
|
2943
|
-
background-color: var(--color-background-gray-subtler, #
|
|
2944
|
+
button.tertiary_gray:hover {
|
|
2945
|
+
background-color: var(--color-background-gray-subtler, #eef2f6);
|
|
2944
2946
|
}
|
|
2945
2947
|
|
|
2946
|
-
button.tertiary_gray:active{
|
|
2947
|
-
background-color: var(--color-background-gray-subtle, #
|
|
2948
|
+
button.tertiary_gray:active {
|
|
2949
|
+
background-color: var(--color-background-gray-subtle, #e3e8ef);
|
|
2948
2950
|
}
|
|
2949
2951
|
|
|
2950
|
-
button.tertiary_color:hover{
|
|
2951
|
-
background-color: var(--color-background-danger-subtlest, #
|
|
2952
|
+
button.tertiary_color:hover {
|
|
2953
|
+
background-color: var(--color-background-danger-subtlest, #fef1f2);
|
|
2952
2954
|
}
|
|
2953
2955
|
|
|
2954
|
-
button.tertiary_color:active{
|
|
2955
|
-
background-color: var(--color-background-danger-subtler, #
|
|
2956
|
+
button.tertiary_color:active {
|
|
2957
|
+
background-color: var(--color-background-danger-subtler, #fde3e5);
|
|
2956
2958
|
}
|
|
2957
2959
|
|
|
2958
2960
|
button.link_gray:hover,
|
|
2959
|
-
button.link_color:hover{
|
|
2961
|
+
button.link_color:hover {
|
|
2960
2962
|
text-decoration: underline;
|
|
2961
2963
|
}
|
|
2962
2964
|
|
|
2963
|
-
button.link_gray:active{
|
|
2965
|
+
button.link_gray:active {
|
|
2964
2966
|
text-decoration: none;
|
|
2965
2967
|
color: var(--color-text-bold, #202939);
|
|
2966
2968
|
}
|
|
2967
2969
|
|
|
2968
|
-
button.link_color:active{
|
|
2970
|
+
button.link_color:active {
|
|
2969
2971
|
text-decoration: none;
|
|
2970
|
-
color: var(--color-link-pressed, #
|
|
2972
|
+
color: var(--color-link-pressed, #064e94);
|
|
2971
2973
|
}
|
|
2972
2974
|
|
|
2973
|
-
button.primary.destructive:hover{
|
|
2974
|
-
background-color: var(--color-background-danger-bold, #
|
|
2975
|
+
button.primary.destructive:hover {
|
|
2976
|
+
background-color: var(--color-background-danger-bold, #8c121d);
|
|
2975
2977
|
}
|
|
2976
2978
|
|
|
2977
|
-
button.primary.destructive:active{
|
|
2978
|
-
background-color: var(--color-background-brandRed-hover, #
|
|
2979
|
+
button.primary.destructive:active {
|
|
2980
|
+
background-color: var(--color-background-brandRed-hover, #cc1a2a); /* ask Mr Gideon about this */
|
|
2979
2981
|
}
|
|
2980
2982
|
|
|
2981
|
-
button.secondary_gray.destructive:hover,
|
|
2982
|
-
button.secondary_color.destructive:hover{
|
|
2983
|
-
background-color: var(--color-background-danger-subtlest, #
|
|
2983
|
+
button.secondary_gray.destructive:hover,
|
|
2984
|
+
button.secondary_color.destructive:hover {
|
|
2985
|
+
background-color: var(--color-background-danger-subtlest, #fef1f2);
|
|
2984
2986
|
}
|
|
2985
2987
|
|
|
2986
|
-
button.secondary_gray.destructive:active,
|
|
2987
|
-
button.secondary_color.destructive:active{
|
|
2988
|
-
background-color: var(--color-background-danger-subtler, #
|
|
2988
|
+
button.secondary_gray.destructive:active,
|
|
2989
|
+
button.secondary_color.destructive:active {
|
|
2990
|
+
background-color: var(--color-background-danger-subtler, #fde3e5);
|
|
2989
2991
|
}
|
|
2990
2992
|
|
|
2991
|
-
button.tertiary_gray.destructive:hover,
|
|
2992
|
-
button.tertiary_color.destructive:hover{
|
|
2993
|
-
background-color: var(--color-background-danger-subtlest, #
|
|
2993
|
+
button.tertiary_gray.destructive:hover,
|
|
2994
|
+
button.tertiary_color.destructive:hover {
|
|
2995
|
+
background-color: var(--color-background-danger-subtlest, #fef1f2);
|
|
2994
2996
|
}
|
|
2995
2997
|
|
|
2996
|
-
button.tertiary_gray.destructive:active,
|
|
2997
|
-
button.tertiary_color.destructive:active{
|
|
2998
|
-
background-color: var(--color-background-danger-subtler, #
|
|
2998
|
+
button.tertiary_gray.destructive:active,
|
|
2999
|
+
button.tertiary_color.destructive:active {
|
|
3000
|
+
background-color: var(--color-background-danger-subtler, #fde3e5);
|
|
2999
3001
|
}
|
|
3000
3002
|
|
|
3001
|
-
button.link_gray.destructive:active{
|
|
3002
|
-
color: var(--color-text-danger-bold, #
|
|
3003
|
+
button.link_gray.destructive:active {
|
|
3004
|
+
color: var(--color-text-danger-bold, #8c121d);
|
|
3003
3005
|
}
|
|
3004
3006
|
|
|
3005
|
-
button.link_color.destructive:active{
|
|
3006
|
-
color: var(--color-text-warning-bold, #
|
|
3007
|
+
button.link_color.destructive:active {
|
|
3008
|
+
color: var(--color-text-warning-bold, #93370d);
|
|
3007
3009
|
}
|
|
3008
3010
|
|
|
3009
3011
|
/* Button Disabled Styles */
|
|
3010
|
-
button.disabled{
|
|
3012
|
+
button.disabled {
|
|
3011
3013
|
cursor: not-allowed;
|
|
3012
|
-
pointer-events: none;
|
|
3013
3014
|
}
|
|
3014
3015
|
|
|
3015
3016
|
button.primary.disabled {
|
|
3016
|
-
background-color: var(--color-background-disabled, #
|
|
3017
|
+
background-color: var(--color-background-disabled, #f6f8fa);
|
|
3017
3018
|
--icon-color: var(--color-icon-disabled, #9aa4b2);
|
|
3018
3019
|
color: var(--color-text-disabled, #9aa4b2);
|
|
3019
3020
|
}
|
|
3020
3021
|
|
|
3021
3022
|
button.secondary_gray.disabled,
|
|
3022
|
-
button.secondary_color.disabled{
|
|
3023
|
+
button.secondary_color.disabled {
|
|
3023
3024
|
--icon-color: var(--color-icon-disabled, #9aa4b2);
|
|
3024
3025
|
color: var(--color-text-disabled, #9aa4b2);
|
|
3025
|
-
border-color: var(--color-border-disabled, #
|
|
3026
|
+
border-color: var(--color-border-disabled, #e3e8ef);
|
|
3026
3027
|
}
|
|
3027
3028
|
|
|
3028
3029
|
button.tertiary_gray.disabled,
|
|
3029
3030
|
button.tertiary_color.disabled,
|
|
3030
3031
|
button.link_gray.disabled,
|
|
3031
|
-
button.link_color.disabled{
|
|
3032
|
+
button.link_color.disabled {
|
|
3032
3033
|
--icon-color: var(--color-icon-disabled, #9aa4b2);
|
|
3033
3034
|
color: var(--color-text-disabled, #9aa4b2);
|
|
3034
3035
|
}
|
|
3035
3036
|
|
|
3036
|
-
.btn_text{
|
|
3037
|
+
.btn_text {
|
|
3037
3038
|
white-space: nowrap;
|
|
3038
3039
|
display: flex;
|
|
3039
3040
|
align-items: center;
|
|
3040
|
-
}
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
.btn_text::first-letter {
|
|
3044
|
+
text-transform: uppercase;
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
.loader {
|
|
3048
|
+
aspect-ratio: 1;
|
|
3049
|
+
border-radius: 50%;
|
|
3050
|
+
-webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
|
|
3051
|
+
animation: l13 1s infinite linear;
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
/* Loader Sizes */
|
|
3055
|
+
.loader.default.sm,
|
|
3056
|
+
.loader.default.md,
|
|
3057
|
+
.loader.default.lg,
|
|
3058
|
+
.loader.default.xl {
|
|
3059
|
+
width: 2rem;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
.loader.default.xl2 {
|
|
3063
|
+
width: 2.2rem;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
.loader.only.sm,
|
|
3067
|
+
.loader.only.md,
|
|
3068
|
+
.loader.only.lg,
|
|
3069
|
+
.loader.only.xl {
|
|
3070
|
+
width: 1.5rem;
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
.loader.only.xl2 {
|
|
3074
|
+
width: 1.7rem;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
/* Loader Colors */
|
|
3078
|
+
.loader.primary {
|
|
3079
|
+
background: radial-gradient(farthest-side, var(--color-text-inverse, #ffffff) 94%, #0000) top/8px 8px no-repeat, conic-gradient(#0000 30%, var(--color-text-inverse, #ffffff));
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
.loader.secondary_gray,
|
|
3083
|
+
.loader.tertiary_gray{
|
|
3084
|
+
background: radial-gradient(farthest-side, var(--color-text, #4b5565) 94%, #0000) top/8px 8px no-repeat, conic-gradient(#0000 30%, var(--color-text, #4b5565));
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
.loader.secondary_color,
|
|
3088
|
+
.loader.tertiary_color{
|
|
3089
|
+
background: radial-gradient(farthest-side, var(--color-text-brandRed, #e21b2e) 94%, #0000) top/8px 8px no-repeat, conic-gradient(#0000 30%, var(--color-text-brandRed, #e21b2e));
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
@keyframes l13 {
|
|
3093
|
+
100% {
|
|
3094
|
+
transform: rotate(1turn);
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAssetPath, h } from "@stencil/core";
|
|
1
|
+
import { getAssetPath, h, Fragment } from "@stencil/core";
|
|
2
2
|
export class GbButton {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.destructive = false;
|
|
@@ -15,6 +15,9 @@ export class GbButton {
|
|
|
15
15
|
this.loadIcon(this.iconTrailingSwap, 'trailing');
|
|
16
16
|
}
|
|
17
17
|
const buttonSlot = this.el.querySelector('p');
|
|
18
|
+
if (this.state === 'loading') {
|
|
19
|
+
buttonSlot.style.display = 'none';
|
|
20
|
+
}
|
|
18
21
|
if (buttonSlot) {
|
|
19
22
|
buttonSlot.classList.add(this.getButtonTextClasses());
|
|
20
23
|
buttonSlot.classList.add('nowrap');
|
|
@@ -40,8 +43,8 @@ export class GbButton {
|
|
|
40
43
|
destructive: this.destructive,
|
|
41
44
|
disabled: this.state === 'disabled',
|
|
42
45
|
default: this.icon === 'default',
|
|
46
|
+
loading: this.state === 'loading',
|
|
43
47
|
only: this.icon === 'only',
|
|
44
|
-
// leftandrighticon: this.iconLeading && this.iconTrailing
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
getButtonTextClasses() {
|
|
@@ -65,7 +68,7 @@ export class GbButton {
|
|
|
65
68
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
66
69
|
}
|
|
67
70
|
render() {
|
|
68
|
-
return (h("button", { key: '
|
|
71
|
+
return (h("button", { key: '64fdbebac8cb134e82c31fb125f5d88c57637b6f', class: this.getButtonClasses() }, this.state === 'loading' && h("div", { key: '8ddf61f6d62750d595d6e3ee0722a611a589a287', class: `loader ${this.hierarchy} ${this.size} ${this.icon}` }), this.state !== 'loading' && (h(Fragment, null, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && (h("div", { key: '310c0d8e361d3bf281092a7eb47d3ed6c3bda63c', class: `btn_text` }, h("slot", { key: '3f770929e060709be15603ac28784aecc201eae4' }))), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()))));
|
|
69
72
|
}
|
|
70
73
|
static get is() { return "gb-btn"; }
|
|
71
74
|
static get originalStyleUrls() {
|
|
@@ -173,9 +176,15 @@ export class GbButton {
|
|
|
173
176
|
"type": "string",
|
|
174
177
|
"mutable": false,
|
|
175
178
|
"complexType": {
|
|
176
|
-
"original": "
|
|
177
|
-
"resolved": "\"default\" | \"disabled\"",
|
|
178
|
-
"references": {
|
|
179
|
+
"original": "StateType",
|
|
180
|
+
"resolved": "\"applied\" | \"default\" | \"disabled\" | \"loading\"",
|
|
181
|
+
"references": {
|
|
182
|
+
"StateType": {
|
|
183
|
+
"location": "import",
|
|
184
|
+
"path": "../../models/reusableModels",
|
|
185
|
+
"id": "src/models/reusableModels.ts::StateType"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
179
188
|
},
|
|
180
189
|
"required": false,
|
|
181
190
|
"optional": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-btn.js","sourceRoot":"","sources":["../../../src/components/gb-btn/gb-btn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"gb-btn.js","sourceRoot":"","sources":["../../../src/components/gb-btn/gb-btn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAO3F,MAAM,OAAO,QAAQ;IAJrB;QAQU,gBAAW,GAAY,KAAK,CAAC;QAE7B,gBAAW,GAAY,KAAK,CAAC;QAE7B,iBAAY,GAAY,KAAK,CAAC;QAG7B,mBAAc,GAAW,EAAE,CAAC;QAC5B,oBAAe,GAAW,EAAE,CAAC;KAyFvC;IAvFC,iBAAiB;QACf,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YAC7C,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;QACjD,CAAC;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC/C,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;QACnD,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QAE9C,IAAG,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC5B,UAAU,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;QACpC,CAAC;QAED,IAAI,UAAU,EAAE,CAAC;YACf,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC;YACtD,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,QAAgB,EAAE,IAA4B;QAC3D,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;QACvC,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;QAC5B,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;QAC7B,CAAC;IACH,CAAC;IAED,yDAAyD;IACzD,gBAAgB;QACd,OAAO;YACL,MAAM,EAAE,IAAI;YACZ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI;YACjB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI;YACtB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,KAAK,KAAK,UAAU;YACnC,OAAO,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;YAChC,OAAO,EAAE,IAAI,CAAC,KAAK,KAAK,SAAS;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM;SAC3B,CAAC;IACJ,CAAC;IAED,oBAAoB;QAClB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,KAAK;gBACR,OAAO,mBAAmB,CAAC;YAC7B,KAAK,IAAI;gBACP,OAAO,mBAAmB,CAAC;YAC7B,KAAK,IAAI;gBACP,OAAO,mBAAmB,CAAC;YAC7B,KAAK,IAAI;gBACP,OAAO,mBAAmB,CAAC;YAC7B,KAAK,IAAI;gBACP,OAAO,mBAAmB,CAAC;QAC/B,CAAC;IACH,CAAC;IAED,iBAAiB;QACf,OAAO,WAAK,KAAK,EAAE,kBAAkB,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ,CAAC;IAC3F,CAAC;IAED,kBAAkB;QAChB,OAAO,WAAK,KAAK,EAAC,iBAAiB,EAAC,SAAS,EAAE,IAAI,CAAC,eAAe,GAAQ,CAAC;IAC9E,CAAC;IAED,MAAM;QACJ,OAAO,CACL,+DAAQ,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACnC,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,4DAAK,KAAK,EAAE,UAAU,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,GAAQ;YACpG,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,CAC3B;gBACG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,iBAAiB,EAAE;gBACvE,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,CAC1B,4DAAK,KAAK,EAAE,UAAU;oBACpB,8DAAa,CACT,CACP;gBACA,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,kBAAkB,EAAE;gBAC9C,IAAI,CAAC,IAAI,KAAK,MAAM,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAChD,CACJ,CACM,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, getAssetPath, h, Prop, State, Fragment } from \"@stencil/core\";\r\nimport { GeneralHierarchies, GeneralSizes, StateType } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-btn',\r\n styleUrl: 'gb-btn.css',\r\n})\r\nexport class GbButton {\r\n @Prop() size: GeneralSizes;\r\n @Prop() hierarchy: GeneralHierarchies;\r\n @Prop() icon: 'default' | 'only';\r\n @Prop() destructive: boolean = false;\r\n @Prop() state: StateType;\r\n @Prop() iconLeading: boolean = false;\r\n @Prop() iconLeadingSwap: string;\r\n @Prop() iconTrailing: boolean = false;\r\n @Prop() iconTrailingSwap: string;\r\n @Element() el: HTMLElement;\r\n @State() leadingIconSvg: string = '';\r\n @State() trailingIconSvg: string = '';\r\n\r\n componentWillLoad() {\r\n if (this.iconLeading && this.iconLeadingSwap) {\r\n this.loadIcon(this.iconLeadingSwap, 'leading');\r\n }\r\n if (this.iconTrailing && this.iconTrailingSwap) {\r\n this.loadIcon(this.iconTrailingSwap, 'trailing');\r\n }\r\n\r\n const buttonSlot = this.el.querySelector('p');\r\n\r\n if(this.state === 'loading') {\r\n buttonSlot.style.display = 'none';\r\n }\r\n\r\n if (buttonSlot) {\r\n buttonSlot.classList.add(this.getButtonTextClasses());\r\n buttonSlot.classList.add('nowrap');\r\n }\r\n }\r\n\r\n async loadIcon(iconName: string, type: 'leading' | 'trailing') {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n if (type === 'leading') {\r\n this.leadingIconSvg = svg;\r\n } else {\r\n this.trailingIconSvg = svg;\r\n }\r\n }\r\n\r\n // Helper to apply color styles based on the button state\r\n getButtonClasses() {\r\n return {\r\n button: true,\r\n [this.size]: true,\r\n [this.hierarchy]: true,\r\n destructive: this.destructive,\r\n disabled: this.state === 'disabled',\r\n default: this.icon === 'default',\r\n loading: this.state === 'loading',\r\n only: this.icon === 'only',\r\n };\r\n }\r\n\r\n getButtonTextClasses() {\r\n switch (this.size) {\r\n case 'xl2':\r\n return 'text-lg-semi-bold';\r\n case 'xl':\r\n return 'text-md-semi-bold';\r\n case 'lg':\r\n return 'text-md-semi-bold';\r\n case 'md':\r\n return 'text-sm-semi-bold';\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n }\r\n }\r\n\r\n renderLeadingIcon() {\r\n return <div class={`icon left-icon ${this.size}`} innerHTML={this.leadingIconSvg}></div>;\r\n }\r\n\r\n renderTrailingIcon() {\r\n return <div class=\"icon right-icon\" innerHTML={this.trailingIconSvg}></div>;\r\n }\r\n\r\n render() {\r\n return (\r\n <button class={this.getButtonClasses()}>\r\n {this.state === 'loading' && <div class={`loader ${this.hierarchy} ${this.size} ${this.icon}`}></div>}\r\n {this.state !== 'loading' && (\r\n <>\r\n {this.iconLeading && this.icon === 'default' && this.renderLeadingIcon()}\r\n {this.icon === 'default' && (\r\n <div class={`btn_text`}>\r\n <slot></slot>\r\n </div>\r\n )}\r\n {this.iconTrailing && this.renderTrailingIcon()}\r\n {this.icon === 'only' && this.renderLeadingIcon()}\r\n </>\r\n )}\r\n </button>\r\n );\r\n }\r\n}"]}
|