globuswebcomponents 2.8.0 → 2.8.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-approval-modal_64.cjs.entry.js +189 -137
- 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-category-card.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-comment-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-comment.cjs.entry.js +1 -1
- package/dist/cjs/gb-complex-primary-side-bar-item_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-detail-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-logo.cjs.entry.js +1 -1
- package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-nav-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-nav-bar-sidemenu.cjs.entry.js +1 -1
- package/dist/cjs/gb-nav-bar.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-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-prompt-modal.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 +1 -1
- 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-step-base_2.cjs.entry.js +2 -2
- 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-table-cell.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 +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/components/gb-btn/gb-btn.css +67 -42
- package/dist/collection/components/gb-btn/gb-btn.js +68 -12
- package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.js +1 -1
- 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 +1 -1
- 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-category-card/gb-category-card.js +1 -1
- package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
- package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
- 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 +1 -1
- package/dist/collection/components/gb-comment/gb-comment.js +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-date-picker/gb-date-picker.js +2 -2
- 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.js +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 +3 -3
- 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 +6 -6
- package/dist/collection/components/gb-filter-button/gb-filter-button.js +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- 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 +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 +1 -1
- package/dist/collection/components/gb-icon-button-base/gb-icon-button-base.js +1 -1
- package/dist/collection/components/gb-illustration/gb-illustration.js +8 -8
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +58 -22
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.css +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +44 -26
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-logo/gb-logo.js +1 -1
- 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-modal-header/gb-modal-header.js +2 -2
- package/dist/collection/components/gb-nav-bar/gb-nav-bar.js +1 -1
- package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js +1 -1
- package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js +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 +3 -3
- 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-password-button/gb-password-button.js.map +1 -1
- package/dist/collection/components/gb-pattern/gb-pattern.js +6 -21
- package/dist/collection/components/gb-pattern/gb-pattern.js.map +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-prompt-modal/gb-prompt-modal.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 +1 -1
- package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +2 -2
- 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.css +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-action-panel.js +5 -5
- package/dist/components/gb-approval-modal.js +16 -16
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +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-category-card.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 +8 -8
- 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 +4 -4
- 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-date-picker.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 +7 -7
- 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 +26 -26
- package/dist/components/gb-header.js.map +1 -1
- package/dist/components/gb-help-dropdown.js +1 -1
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +5 -5
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-illustration.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-logo.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-modal-action.js +1 -1
- package/dist/components/gb-modal-header.js +1 -1
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +6 -6
- package/dist/components/gb-nav-bar.js +6 -6
- package/dist/components/gb-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +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-pattern.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-prompt-modal.js +6 -6
- 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 +9 -9
- 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 +26 -26
- 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 +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +5 -5
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-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 +1 -1
- package/dist/components/{p-rDDbjmUk.js → p-2pZTNei2.js} +4 -4
- package/dist/components/{p-rDDbjmUk.js.map → p-2pZTNei2.js.map} +1 -1
- package/dist/components/{p-BvNyJaf6.js → p-9FvHspeE.js} +8 -8
- package/dist/components/{p-BvNyJaf6.js.map → p-9FvHspeE.js.map} +1 -1
- package/dist/components/{p-Cty4HNJA.js → p-AjEGQ2qL.js} +4 -4
- package/dist/components/{p-Cty4HNJA.js.map → p-AjEGQ2qL.js.map} +1 -1
- package/dist/components/{p-C4Cpc_Qf.js → p-B22NNlLP.js} +4 -4
- package/dist/components/{p-C4Cpc_Qf.js.map → p-B22NNlLP.js.map} +1 -1
- package/dist/components/{p-BCEphI-G.js → p-B53E_gSW.js} +3 -3
- package/dist/components/{p-BCEphI-G.js.map → p-B53E_gSW.js.map} +1 -1
- package/dist/components/{p-BfrEegoP.js → p-BBa4Fn7D.js} +4 -4
- package/dist/components/{p-BfrEegoP.js.map → p-BBa4Fn7D.js.map} +1 -1
- package/dist/components/{p-B_hfnklG.js → p-BHLaov0_.js} +5 -5
- package/dist/components/{p-B_hfnklG.js.map → p-BHLaov0_.js.map} +1 -1
- package/dist/components/{p-Dis2gesX.js → p-BIHVkNE4.js} +4 -4
- package/dist/components/{p-Dis2gesX.js.map → p-BIHVkNE4.js.map} +1 -1
- package/dist/components/{p-BdkzcEYp.js → p-BMkAeK5Z.js} +5 -5
- package/dist/components/{p-BdkzcEYp.js.map → p-BMkAeK5Z.js.map} +1 -1
- package/dist/components/{p-BVxdO5bi.js → p-BQduwH1K.js} +12 -12
- package/dist/components/{p-BVxdO5bi.js.map → p-BQduwH1K.js.map} +1 -1
- package/dist/components/{p-D7Goq_Jj.js → p-BQeaURIB.js} +27 -12
- package/dist/components/p-BQeaURIB.js.map +1 -0
- package/dist/components/{p-D3ZfP7Bl.js → p-BaWXQ__r.js} +4 -4
- package/dist/components/{p-D3ZfP7Bl.js.map → p-BaWXQ__r.js.map} +1 -1
- package/dist/components/{p-DJwuWK3S.js → p-BcuKykSc.js} +3 -3
- package/dist/components/{p-DJwuWK3S.js.map → p-BcuKykSc.js.map} +1 -1
- package/dist/components/{p-BUo31bD8.js → p-BeATbKS7.js} +4 -4
- package/dist/components/p-BeATbKS7.js.map +1 -0
- package/dist/components/{p-K_KbMA_t.js → p-Bjw2gC89.js} +4 -4
- package/dist/components/{p-K_KbMA_t.js.map → p-Bjw2gC89.js.map} +1 -1
- package/dist/components/{p-RvoV_nZA.js → p-BnXOyD9E.js} +5 -5
- package/dist/components/{p-RvoV_nZA.js.map → p-BnXOyD9E.js.map} +1 -1
- package/dist/components/{p-DEONqII4.js → p-BnyM5qjj.js} +8 -8
- package/dist/components/{p-DEONqII4.js.map → p-BnyM5qjj.js.map} +1 -1
- package/dist/components/{p-MvgIuDtb.js → p-C-jvyrl1.js} +7 -7
- package/dist/components/{p-MvgIuDtb.js.map → p-C-jvyrl1.js.map} +1 -1
- package/dist/components/{p-DMGIfEmr.js → p-C5ya7ETC.js} +3 -3
- package/dist/components/{p-DMGIfEmr.js.map → p-C5ya7ETC.js.map} +1 -1
- package/dist/components/{p-7b8NVGi5.js → p-C6bmJSrL.js} +6 -6
- package/dist/components/p-C6bmJSrL.js.map +1 -0
- package/dist/components/{p-BoD3uP8t.js → p-C6mRhuUf.js} +3 -3
- package/dist/components/{p-BoD3uP8t.js.map → p-C6mRhuUf.js.map} +1 -1
- package/dist/components/{p-CkUxkbfV.js → p-C7UZjyWa.js} +6 -6
- package/dist/components/{p-CkUxkbfV.js.map → p-C7UZjyWa.js.map} +1 -1
- package/dist/components/{p-B0iHx5Zd.js → p-CBLQlDC-.js} +3 -3
- package/dist/components/{p-B0iHx5Zd.js.map → p-CBLQlDC-.js.map} +1 -1
- package/dist/components/{p-Df2QCCfM.js → p-CNNymMFJ.js} +14 -14
- package/dist/components/{p-Df2QCCfM.js.map → p-CNNymMFJ.js.map} +1 -1
- package/dist/components/{p-BDzhIFzI.js → p-CRosXE9B.js} +74 -42
- package/dist/components/p-CRosXE9B.js.map +1 -0
- package/dist/components/{p-BtPAU7BK.js → p-CT6fjdgY.js} +3 -3
- package/dist/components/{p-BtPAU7BK.js.map → p-CT6fjdgY.js.map} +1 -1
- package/dist/components/{p-BP4CkbOn.js → p-CTupKoNZ.js} +3 -3
- package/dist/components/{p-BP4CkbOn.js.map → p-CTupKoNZ.js.map} +1 -1
- package/dist/components/{p-F7syaoGH.js → p-CV6g9soz.js} +8 -8
- package/dist/components/{p-F7syaoGH.js.map → p-CV6g9soz.js.map} +1 -1
- package/dist/components/{p-Dpxu4w8g.js → p-CVc4qPGI.js} +4 -4
- package/dist/components/{p-Dpxu4w8g.js.map → p-CVc4qPGI.js.map} +1 -1
- package/dist/components/{p-Y55sgqoa.js → p-CYpMSzqG.js} +3 -3
- package/dist/components/{p-Y55sgqoa.js.map → p-CYpMSzqG.js.map} +1 -1
- package/dist/components/{p-B8cUepOB.js → p-Ca4eFkIg.js} +3 -3
- package/dist/components/{p-B8cUepOB.js.map → p-Ca4eFkIg.js.map} +1 -1
- package/dist/components/{p-BFhVkLZH.js → p-CbQeOmOy.js} +5 -5
- package/dist/components/{p-BFhVkLZH.js.map → p-CbQeOmOy.js.map} +1 -1
- package/dist/components/{p-8nTG8ZBW.js → p-CbzrQ01V.js} +4 -4
- package/dist/components/{p-8nTG8ZBW.js.map → p-CbzrQ01V.js.map} +1 -1
- package/dist/components/{p-DhFAcOPC.js → p-ClWO8gQx.js} +6 -6
- package/dist/components/{p-DhFAcOPC.js.map → p-ClWO8gQx.js.map} +1 -1
- package/dist/components/{p-BdBKoSIj.js → p-CouV5zM8.js} +8 -8
- package/dist/components/{p-BdBKoSIj.js.map → p-CouV5zM8.js.map} +1 -1
- package/dist/components/{p-BmqiU49c.js → p-CwBrH_Gy.js} +6 -6
- package/dist/components/{p-BmqiU49c.js.map → p-CwBrH_Gy.js.map} +1 -1
- package/dist/components/{p--dU-wJt0.js → p-CwQUW5_4.js} +4 -4
- package/dist/components/{p--dU-wJt0.js.map → p-CwQUW5_4.js.map} +1 -1
- package/dist/components/{p-CtSUSXFx.js → p-Cwxr0uHc.js} +3 -3
- package/dist/components/{p-CtSUSXFx.js.map → p-Cwxr0uHc.js.map} +1 -1
- package/dist/components/{p-y6vSOYFd.js → p-CxkzPuqu.js} +3 -3
- package/dist/components/{p-y6vSOYFd.js.map → p-CxkzPuqu.js.map} +1 -1
- package/dist/components/{p-CekePqMs.js → p-Cz5H-pJQ.js} +13 -13
- package/dist/components/{p-CekePqMs.js.map → p-Cz5H-pJQ.js.map} +1 -1
- package/dist/components/{p-Cmi3VtOr.js → p-D2gq0J26.js} +4 -4
- package/dist/components/{p-Cmi3VtOr.js.map → p-D2gq0J26.js.map} +1 -1
- package/dist/components/{p-BBL4HSa6.js → p-D5KQeC85.js} +3 -3
- package/dist/components/{p-BBL4HSa6.js.map → p-D5KQeC85.js.map} +1 -1
- package/dist/components/{p-BvHr8QZ_.js → p-D5VakMaB.js} +6 -6
- package/dist/components/{p-BvHr8QZ_.js.map → p-D5VakMaB.js.map} +1 -1
- package/dist/components/{p-C_EwzcsK.js → p-DC9eRciK.js} +8 -8
- package/dist/components/{p-C_EwzcsK.js.map → p-DC9eRciK.js.map} +1 -1
- package/dist/components/{p-BjAXEyGM.js → p-DCJdoNK6.js} +4 -4
- package/dist/components/{p-BjAXEyGM.js.map → p-DCJdoNK6.js.map} +1 -1
- package/dist/components/{p-M0fu6r6F.js → p-DI5VmfPJ.js} +10 -10
- package/dist/components/{p-M0fu6r6F.js.map → p-DI5VmfPJ.js.map} +1 -1
- package/dist/components/{p-Bx5Gf4JG.js → p-DLYIM3pP.js} +4 -4
- package/dist/components/p-DLYIM3pP.js.map +1 -0
- package/dist/components/{p-DEhgJgpf.js → p-DW4pKXr4.js} +3 -3
- package/dist/components/{p-DEhgJgpf.js.map → p-DW4pKXr4.js.map} +1 -1
- package/dist/components/{p-CoP-6_dB.js → p-DYUluAx6.js} +3 -3
- package/dist/components/{p-CoP-6_dB.js.map → p-DYUluAx6.js.map} +1 -1
- package/dist/components/{p-cn314k4t.js → p-DZnKLe8d.js} +3 -3
- package/dist/components/{p-cn314k4t.js.map → p-DZnKLe8d.js.map} +1 -1
- package/dist/components/{p-B0w7aWaS.js → p-Db-mzjAD.js} +8 -8
- package/dist/components/{p-B0w7aWaS.js.map → p-Db-mzjAD.js.map} +1 -1
- package/dist/components/{p-D9VfqUoF.js → p-Db9T6018.js} +10 -10
- package/dist/components/{p-D9VfqUoF.js.map → p-Db9T6018.js.map} +1 -1
- package/dist/components/{p-Bm4cCBH-.js → p-DfQWKCbs.js} +3 -3
- package/dist/components/{p-Bm4cCBH-.js.map → p-DfQWKCbs.js.map} +1 -1
- package/dist/components/{p-DqF4Su5n.js → p-Q19MNh6U.js} +4 -4
- package/dist/components/{p-DqF4Su5n.js.map → p-Q19MNh6U.js.map} +1 -1
- package/dist/components/{p-CREl9pSE.js → p-R_kUzXjS.js} +3 -3
- package/dist/components/{p-CREl9pSE.js.map → p-R_kUzXjS.js.map} +1 -1
- package/dist/components/{p-CpWoXsw_.js → p-TWikQ7cn.js} +3 -3
- package/dist/components/{p-CpWoXsw_.js.map → p-TWikQ7cn.js.map} +1 -1
- package/dist/components/{p-XPVJW4T3.js → p-WIRPmweM.js} +4 -4
- package/dist/components/{p-XPVJW4T3.js.map → p-WIRPmweM.js.map} +1 -1
- package/dist/components/{p-D42OLbE-.js → p-XX_ozutB.js} +5 -5
- package/dist/components/{p-D42OLbE-.js.map → p-XX_ozutB.js.map} +1 -1
- package/dist/components/{p-Dw8FSBWT.js → p-ZcCwFehb.js} +3 -3
- package/dist/components/{p-Dw8FSBWT.js.map → p-ZcCwFehb.js.map} +1 -1
- package/dist/components/{p-Bjujd4PK.js → p-ZqHAkmEL.js} +8 -8
- package/dist/components/{p-Bjujd4PK.js.map → p-ZqHAkmEL.js.map} +1 -1
- package/dist/components/{p-BzvNRMz5.js → p-aeAn9gEA.js} +3 -3
- package/dist/components/{p-BzvNRMz5.js.map → p-aeAn9gEA.js.map} +1 -1
- package/dist/components/{p-DbF4gg5m.js → p-brGtAur-.js} +58 -40
- package/dist/components/p-brGtAur-.js.map +1 -0
- package/dist/components/{p-2s5kIkzc.js → p-fM3XegFU.js} +3 -3
- package/dist/components/{p-2s5kIkzc.js.map → p-fM3XegFU.js.map} +1 -1
- package/dist/components/{p-wA_HGXx_.js → p-t9X9zw0V.js} +3 -3
- package/dist/components/{p-wA_HGXx_.js.map → p-t9X9zw0V.js.map} +1 -1
- package/dist/components/{p-DdtrEGlS.js → p-uyKTZeg_.js} +4 -4
- package/dist/components/{p-DdtrEGlS.js.map → p-uyKTZeg_.js.map} +1 -1
- package/dist/components/test-input-tag.js +11 -11
- package/dist/docs.json +152 -43
- package/dist/esm/gb-approval-modal_64.entry.js +189 -137
- package/dist/esm/gb-card-icon.entry.js +1 -1
- package/dist/esm/gb-carousel-arrow.entry.js +1 -1
- package/dist/esm/gb-category-card.entry.js +1 -1
- package/dist/esm/gb-checkbox-group.entry.js +1 -1
- package/dist/esm/gb-comment-item.entry.js +1 -1
- package/dist/esm/gb-comment.entry.js +1 -1
- package/dist/esm/gb-complex-primary-side-bar-item_2.entry.js +2 -2
- package/dist/esm/gb-detail-cell.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +12 -12
- package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
- package/dist/esm/gb-logo.entry.js +1 -1
- package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
- package/dist/esm/gb-nav-bar-item.entry.js +1 -1
- package/dist/esm/gb-nav-bar-sidemenu.entry.js +1 -1
- package/dist/esm/gb-nav-bar.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-progress-circle.entry.js +1 -1
- package/dist/esm/gb-prompt-modal.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 +1 -1
- package/dist/esm/gb-slider-control-handle.entry.js +1 -1
- package/dist/esm/gb-slider.entry.js +1 -1
- package/dist/esm/gb-step-base_2.entry.js +2 -2
- 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-table-cell.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 +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-60c6bc59.entry.js → p-0aca01aa.entry.js} +2 -2
- package/dist/globuscomponents/p-0fa4e90b.entry.js +2 -0
- package/dist/globuscomponents/{p-6ba2c48a.entry.js → p-14a14cf7.entry.js} +2 -2
- package/dist/globuscomponents/{p-420be4c2.entry.js → p-1703f77f.entry.js} +2 -2
- package/dist/globuscomponents/{p-836996b2.entry.js → p-20fff5d8.entry.js} +2 -2
- package/dist/globuscomponents/p-2d348616.entry.js +2 -0
- package/dist/globuscomponents/{p-0b17c398.entry.js → p-3665eb5a.entry.js} +2 -2
- package/dist/globuscomponents/{p-229c256a.entry.js → p-372d8c17.entry.js} +2 -2
- package/dist/globuscomponents/{p-7ab8a012.entry.js → p-3b9e055e.entry.js} +2 -2
- package/dist/globuscomponents/{p-a69fbf27.entry.js → p-450e1ee6.entry.js} +2 -2
- package/dist/globuscomponents/{p-dc7cd869.entry.js → p-47a16997.entry.js} +2 -2
- package/dist/globuscomponents/{p-e8ce7bbf.entry.js → p-4f4c1805.entry.js} +2 -2
- package/dist/globuscomponents/{p-cf6384d9.entry.js → p-51cd3859.entry.js} +2 -2
- package/dist/globuscomponents/{p-24129640.entry.js → p-54c68582.entry.js} +2 -2
- package/dist/globuscomponents/{p-f9d1e9c6.entry.js → p-57a403e7.entry.js} +2 -2
- package/dist/globuscomponents/p-5a96576d.entry.js +2 -0
- package/dist/globuscomponents/{p-75771ebb.entry.js → p-5e62edcf.entry.js} +2 -2
- package/dist/globuscomponents/{p-ecb5671d.entry.js → p-5ed1035a.entry.js} +2 -2
- package/dist/globuscomponents/{p-ccda9df1.entry.js → p-787066a5.entry.js} +2 -2
- package/dist/globuscomponents/{p-73fa574e.entry.js → p-7899b855.entry.js} +2 -2
- package/dist/globuscomponents/p-7adb464b.entry.js +2 -0
- package/dist/globuscomponents/{p-945c0345.entry.js → p-85d1d2d5.entry.js} +2 -2
- package/dist/globuscomponents/{p-3bed13ce.entry.js → p-9aca53ca.entry.js} +2 -2
- package/dist/globuscomponents/{p-8862f86d.entry.js → p-a0c00b44.entry.js} +2 -2
- package/dist/globuscomponents/{p-2de33a89.entry.js → p-a3fe950e.entry.js} +2 -2
- package/dist/globuscomponents/{p-0ace4a5a.entry.js → p-aac97719.entry.js} +2 -2
- package/dist/globuscomponents/{p-1a9395bc.entry.js → p-ac3fd31f.entry.js} +2 -2
- package/dist/globuscomponents/{p-69088311.entry.js → p-b125590d.entry.js} +2 -2
- package/dist/globuscomponents/{p-6d558e90.entry.js → p-b68c5922.entry.js} +2 -2
- package/dist/globuscomponents/{p-08b864ad.entry.js → p-b6acb1cb.entry.js} +2 -2
- package/dist/globuscomponents/{p-bb449f8c.entry.js → p-b91dac9e.entry.js} +2 -2
- package/dist/globuscomponents/{p-4a1b0fff.entry.js → p-baa375e0.entry.js} +2 -2
- package/dist/globuscomponents/{p-7cf6ad93.entry.js → p-bbe2e087.entry.js} +2 -2
- package/dist/globuscomponents/p-bbe2e087.entry.js.map +1 -0
- package/dist/globuscomponents/{p-88c62216.entry.js → p-ca85617a.entry.js} +2 -2
- package/dist/globuscomponents/{p-7142782b.entry.js → p-cc2e644f.entry.js} +2 -2
- package/dist/globuscomponents/{p-854af29b.entry.js → p-cedaf7eb.entry.js} +2 -2
- package/dist/globuscomponents/{p-9ccb1848.entry.js → p-e7fd0d37.entry.js} +2 -2
- package/dist/globuscomponents/{p-cda2eed2.entry.js → p-fc84ed29.entry.js} +2 -2
- package/dist/types/components/gb-btn/gb-btn.d.ts +7 -2
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +1 -0
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +2 -2
- package/dist/types/components.d.ts +41 -15
- package/package.json +2 -2
- package/dist/components/p-7b8NVGi5.js.map +0 -1
- package/dist/components/p-BDzhIFzI.js.map +0 -1
- package/dist/components/p-BUo31bD8.js.map +0 -1
- package/dist/components/p-Bx5Gf4JG.js.map +0 -1
- package/dist/components/p-D7Goq_Jj.js.map +0 -1
- package/dist/components/p-DbF4gg5m.js.map +0 -1
- package/dist/globuscomponents/p-0912d7b9.entry.js +0 -2
- package/dist/globuscomponents/p-16fb165c.entry.js +0 -2
- package/dist/globuscomponents/p-2df226f5.entry.js +0 -2
- package/dist/globuscomponents/p-71023a8e.entry.js +0 -2
- package/dist/globuscomponents/p-7cf6ad93.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-60c6bc59.entry.js.map → p-0aca01aa.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-71023a8e.entry.js.map → p-0fa4e90b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6ba2c48a.entry.js.map → p-14a14cf7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-420be4c2.entry.js.map → p-1703f77f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-836996b2.entry.js.map → p-20fff5d8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0912d7b9.entry.js.map → p-2d348616.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0b17c398.entry.js.map → p-3665eb5a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-229c256a.entry.js.map → p-372d8c17.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7ab8a012.entry.js.map → p-3b9e055e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-a69fbf27.entry.js.map → p-450e1ee6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-dc7cd869.entry.js.map → p-47a16997.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e8ce7bbf.entry.js.map → p-4f4c1805.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cf6384d9.entry.js.map → p-51cd3859.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-24129640.entry.js.map → p-54c68582.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-f9d1e9c6.entry.js.map → p-57a403e7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-16fb165c.entry.js.map → p-5a96576d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-75771ebb.entry.js.map → p-5e62edcf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ecb5671d.entry.js.map → p-5ed1035a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ccda9df1.entry.js.map → p-787066a5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-73fa574e.entry.js.map → p-7899b855.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2df226f5.entry.js.map → p-7adb464b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-945c0345.entry.js.map → p-85d1d2d5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3bed13ce.entry.js.map → p-9aca53ca.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8862f86d.entry.js.map → p-a0c00b44.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2de33a89.entry.js.map → p-a3fe950e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0ace4a5a.entry.js.map → p-aac97719.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1a9395bc.entry.js.map → p-ac3fd31f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-69088311.entry.js.map → p-b125590d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6d558e90.entry.js.map → p-b68c5922.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-08b864ad.entry.js.map → p-b6acb1cb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-bb449f8c.entry.js.map → p-b91dac9e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4a1b0fff.entry.js.map → p-baa375e0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-88c62216.entry.js.map → p-ca85617a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7142782b.entry.js.map → p-cc2e644f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-854af29b.entry.js.map → p-cedaf7eb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9ccb1848.entry.js.map → p-e7fd0d37.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cda2eed2.entry.js.map → p-fc84ed29.entry.js.map} +0 -0
|
@@ -2788,6 +2788,12 @@
|
|
|
2788
2788
|
--icon-color: var(--primary-color);
|
|
2789
2789
|
display: flex;
|
|
2790
2790
|
align-items: center;
|
|
2791
|
+
/* width: 100%; */
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
.button_wrapper{
|
|
2795
|
+
position: relative;
|
|
2796
|
+
width: 100%;
|
|
2791
2797
|
}
|
|
2792
2798
|
|
|
2793
2799
|
button {
|
|
@@ -2856,6 +2862,10 @@ button.sm {
|
|
|
2856
2862
|
gap: var(--spacing-2);
|
|
2857
2863
|
}
|
|
2858
2864
|
|
|
2865
|
+
button.only{
|
|
2866
|
+
padding: 0;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2859
2869
|
button.only.xl2 {
|
|
2860
2870
|
width: 3.5rem;
|
|
2861
2871
|
height: 3.5rem;
|
|
@@ -2874,6 +2884,7 @@ button.only.lg {
|
|
|
2874
2884
|
button.only.md {
|
|
2875
2885
|
width: 2.5rem;
|
|
2876
2886
|
height: 2.5rem;
|
|
2887
|
+
/* padding: 0; */
|
|
2877
2888
|
}
|
|
2878
2889
|
|
|
2879
2890
|
button.only.sm {
|
|
@@ -2898,47 +2909,32 @@ button.sm .icon svg {
|
|
|
2898
2909
|
button.primary {
|
|
2899
2910
|
background-color: var(--color-background-brandRed, #e21b2e);
|
|
2900
2911
|
--icon-color: var(--color-icon-inverse, #ffffff);
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
.slotted_button_text.primary {
|
|
2904
|
-
color: var(--color-text-inverse, #ffffff) !important;
|
|
2912
|
+
color: var(--color-text-inverse, #ffffff);
|
|
2905
2913
|
}
|
|
2906
2914
|
|
|
2907
2915
|
button.secondary_gray {
|
|
2908
2916
|
background-color: transparent;
|
|
2909
2917
|
border: 1px solid var(--color-border, #9aa4b2);
|
|
2910
2918
|
--icon-color: var(--color-icon, #4b5565);
|
|
2911
|
-
}
|
|
2912
|
-
|
|
2913
|
-
.slotted_button_text.secondary_gray {
|
|
2914
2919
|
color: var(--color-text, #4b5565) !important;
|
|
2915
2920
|
}
|
|
2916
2921
|
|
|
2917
2922
|
button.secondary_color {
|
|
2918
2923
|
background-color: transparent;
|
|
2919
2924
|
border: 1px solid var(--color-border-brandRed, #e21b2e);
|
|
2920
|
-
--icon-color: var(--color-icon-brandRed, #e21b2e);
|
|
2921
|
-
}
|
|
2922
|
-
|
|
2923
|
-
.slotted_button_text.secondary_color {
|
|
2924
2925
|
color: var(--color-text-brandRed, #e21b2e) !important;
|
|
2926
|
+
--icon-color: var(--color-icon-brandRed, #e21b2e);
|
|
2925
2927
|
}
|
|
2926
2928
|
|
|
2927
2929
|
button.tertiary_gray {
|
|
2928
2930
|
background-color: transparent;
|
|
2929
2931
|
--icon-color: var(--color-icon, #4b5565);
|
|
2930
|
-
}
|
|
2931
|
-
|
|
2932
|
-
.slotted_button_text.tertiary_gray {
|
|
2933
2932
|
color: var(--color-text, #4b5565) !important;
|
|
2934
2933
|
}
|
|
2935
2934
|
|
|
2936
2935
|
button.tertiary_color {
|
|
2937
2936
|
background-color: transparent;
|
|
2938
2937
|
--icon-color: var(--color-icon-brandRed, #e21b2e);
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
.slotted_button_text.tertiary_color {
|
|
2942
2938
|
color: var(--color-text-brandRed, #e21b2e) !important;
|
|
2943
2939
|
}
|
|
2944
2940
|
|
|
@@ -2948,9 +2944,6 @@ button.link_gray {
|
|
|
2948
2944
|
padding: var(--spacing-none);
|
|
2949
2945
|
height: fit-content;
|
|
2950
2946
|
justify-content: flex-start;
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
|
-
.slotted_button_text.link_gray {
|
|
2954
2947
|
color: var(--color-text, #4b5565) !important;
|
|
2955
2948
|
}
|
|
2956
2949
|
|
|
@@ -2960,22 +2953,16 @@ button.link_color {
|
|
|
2960
2953
|
padding: var(--spacing-none);
|
|
2961
2954
|
height: fit-content;
|
|
2962
2955
|
justify-content: flex-start;
|
|
2963
|
-
}
|
|
2964
|
-
|
|
2965
|
-
.slotted_button_text.link_color {
|
|
2966
2956
|
color: var(--color-link, #075db2) !important;
|
|
2967
2957
|
}
|
|
2968
2958
|
|
|
2969
2959
|
/* Button Destructive Styles */
|
|
2970
2960
|
button.primary.destructive {
|
|
2971
2961
|
background-color: var(--color-background-danger, #b51726);
|
|
2962
|
+
color: var(--color-text-inverse, #ffffff);
|
|
2972
2963
|
--icon-color: var(--color-icon-danger-inverse, #ffffff);
|
|
2973
2964
|
}
|
|
2974
2965
|
|
|
2975
|
-
.slotted_button_text.primary.destructive {
|
|
2976
|
-
color: var(--color-text-inverse, #ffffff) !important;
|
|
2977
|
-
}
|
|
2978
|
-
|
|
2979
2966
|
button.secondary_gray.destructive,
|
|
2980
2967
|
button.secondary_color.destructive {
|
|
2981
2968
|
border: 1px solid var(--color-border-danger, #b51726);
|
|
@@ -2992,12 +2979,12 @@ button.link_color.destructive {
|
|
|
2992
2979
|
--icon-color: var(--color-icon-danger, #b51726);
|
|
2993
2980
|
}
|
|
2994
2981
|
|
|
2995
|
-
.
|
|
2996
|
-
.
|
|
2997
|
-
.
|
|
2998
|
-
.
|
|
2999
|
-
.
|
|
3000
|
-
.
|
|
2982
|
+
button.secondary_gray.destructive,
|
|
2983
|
+
button.secondary_color.destructive,
|
|
2984
|
+
button.tertiary_gray.destructive,
|
|
2985
|
+
button.tertiary_color.destructive,
|
|
2986
|
+
button.link_gray.destructive,
|
|
2987
|
+
button.link_color.destructive {
|
|
3001
2988
|
color: var(--color-text-danger, #b51726) !important;
|
|
3002
2989
|
}
|
|
3003
2990
|
|
|
@@ -3102,6 +3089,7 @@ button.disabled {
|
|
|
3102
3089
|
button.primary.disabled {
|
|
3103
3090
|
background-color: var(--color-background-btn-disabled, #eef2f6);
|
|
3104
3091
|
--icon-color: var(--color-icon-disabled, #9aa4b2);
|
|
3092
|
+
color: var(--color-text-disabled, #9aa4b2) !important;
|
|
3105
3093
|
}
|
|
3106
3094
|
|
|
3107
3095
|
button.secondary_gray.disabled,
|
|
@@ -3116,7 +3104,7 @@ button.tertiary_color.disabled,
|
|
|
3116
3104
|
button.link_gray.disabled,
|
|
3117
3105
|
button.link_color.disabled {
|
|
3118
3106
|
--icon-color: var(--color-icon-disabled, #9aa4b2);
|
|
3119
|
-
color: var(--color-text-disabled, #9aa4b2);
|
|
3107
|
+
color: var(--color-text-disabled, #9aa4b2) !important;
|
|
3120
3108
|
}
|
|
3121
3109
|
|
|
3122
3110
|
.btn_text {
|
|
@@ -3130,13 +3118,14 @@ button.link_color.disabled {
|
|
|
3130
3118
|
}
|
|
3131
3119
|
|
|
3132
3120
|
.loader {
|
|
3121
|
+
--loader-thickness: 4px;
|
|
3133
3122
|
aspect-ratio: 1;
|
|
3134
3123
|
border-radius: 50%;
|
|
3135
3124
|
-webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
|
|
3136
3125
|
animation: l13 1s infinite linear;
|
|
3126
|
+
mask: radial-gradient(farthest-side, rgba(0,0,0,0) calc(100% - var(--loader-thickness)), #000 0);
|
|
3137
3127
|
}
|
|
3138
3128
|
|
|
3139
|
-
/* Loader Sizes */
|
|
3140
3129
|
.loader.default.sm,
|
|
3141
3130
|
.loader.default.md,
|
|
3142
3131
|
.loader.default.lg,
|
|
@@ -3159,19 +3148,30 @@ button.link_color.disabled {
|
|
|
3159
3148
|
width: 1.7rem;
|
|
3160
3149
|
}
|
|
3161
3150
|
|
|
3162
|
-
|
|
3163
|
-
.loader.primary {
|
|
3164
|
-
background: radial-gradient(farthest-side, var(--color-text-inverse, #ffffff) 94%, #0000) top/
|
|
3151
|
+
.loader.primary,
|
|
3152
|
+
.loader.primary.destructive {
|
|
3153
|
+
background: radial-gradient(farthest-side, var(--color-text-inverse, #ffffff) 94%, #0000) top/var(--loader-thickness) var(--loader-thickness) no-repeat,
|
|
3154
|
+
conic-gradient(#0000 30%, var(--color-text-inverse, #ffffff));
|
|
3165
3155
|
}
|
|
3166
3156
|
|
|
3167
3157
|
.loader.secondary_gray,
|
|
3168
|
-
.loader.tertiary_gray
|
|
3169
|
-
background:
|
|
3158
|
+
.loader.tertiary_gray{
|
|
3159
|
+
background:
|
|
3160
|
+
radial-gradient(farthest-side, var(--color-text, #4b5565) 94%, #0000) top/var(--loader-thickness) var(--loader-thickness) no-repeat,
|
|
3161
|
+
conic-gradient(#0000 30%, var(--color-text, #4b5565));
|
|
3170
3162
|
}
|
|
3171
3163
|
|
|
3172
3164
|
.loader.secondary_color,
|
|
3173
|
-
.loader.tertiary_color
|
|
3174
|
-
background:
|
|
3165
|
+
.loader.tertiary_color{
|
|
3166
|
+
background:
|
|
3167
|
+
radial-gradient(farthest-side, var(--color-text-brandRed, #e21b2e) 94%, #0000) top/var(--loader-thickness) var(--loader-thickness) no-repeat,
|
|
3168
|
+
conic-gradient(#0000 30%, var(--color-text-brandRed, #e21b2e));
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
.loader.destructive {
|
|
3172
|
+
background:
|
|
3173
|
+
radial-gradient(farthest-side, var(--color-text-danger-bold, #8c121d) 94%, #0000) top/var(--loader-thickness) var(--loader-thickness) no-repeat,
|
|
3174
|
+
conic-gradient(#0000 30%, var(--color-text-danger-bold, #8c121d));
|
|
3175
3175
|
}
|
|
3176
3176
|
|
|
3177
3177
|
@keyframes l13 {
|
|
@@ -3179,3 +3179,28 @@ button.link_color.disabled {
|
|
|
3179
3179
|
transform: rotate(1turn);
|
|
3180
3180
|
}
|
|
3181
3181
|
}
|
|
3182
|
+
|
|
3183
|
+
.tooltip{
|
|
3184
|
+
position: absolute;
|
|
3185
|
+
left: 0;
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
.tooltip.sm{
|
|
3189
|
+
top: -120%;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
.tooltip.md{
|
|
3193
|
+
top: -110%;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
.tooltip.lg{
|
|
3197
|
+
top: -100%;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
.tooltip.xl{
|
|
3201
|
+
top: -90%;
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
.tooltip.xl2{
|
|
3205
|
+
top: -75%;
|
|
3206
|
+
}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { getAssetPath, h, Fragment } from "@stencil/core";
|
|
2
2
|
export class GbButton {
|
|
3
3
|
constructor() {
|
|
4
|
+
this.size = 'xl';
|
|
5
|
+
this.hierarchy = 'primary';
|
|
4
6
|
this.destructive = false;
|
|
7
|
+
this.state = 'default';
|
|
5
8
|
this.iconLeading = false;
|
|
6
9
|
this.iconTrailing = false;
|
|
10
|
+
this.tooltipText = '';
|
|
11
|
+
this.arrow = 'bottom_center';
|
|
7
12
|
this.leadingIconSvg = '';
|
|
8
13
|
this.trailingIconSvg = '';
|
|
14
|
+
this.internalButtonState = '';
|
|
15
|
+
this.internalIconLeadingState = '';
|
|
16
|
+
this.internalIconTrailingState = '';
|
|
17
|
+
this.tooltipShown = false;
|
|
9
18
|
}
|
|
10
19
|
componentWillLoad() {
|
|
11
20
|
if (this.iconLeading && this.iconLeadingSwap) {
|
|
@@ -21,11 +30,6 @@ export class GbButton {
|
|
|
21
30
|
if (buttonSlot) {
|
|
22
31
|
buttonSlot.classList.add(this.getButtonTextClasses());
|
|
23
32
|
buttonSlot.classList.add('nowrap');
|
|
24
|
-
buttonSlot.id = 'slotted_button_text';
|
|
25
|
-
buttonSlot.classList.add('slotted_button_text');
|
|
26
|
-
buttonSlot.classList.add(`${this.hierarchy}`);
|
|
27
|
-
buttonSlot.classList.add(`${this.destructive ? 'destructive' : ''}`);
|
|
28
|
-
buttonSlot.classList.add(`${this.state === 'disabled' ? 'disabled' : ''}`);
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
async loadIcon(iconName, type) {
|
|
@@ -47,7 +51,6 @@ export class GbButton {
|
|
|
47
51
|
[this.hierarchy]: true,
|
|
48
52
|
destructive: this.destructive,
|
|
49
53
|
disabled: this.state === 'disabled',
|
|
50
|
-
loading: this.state === 'loading',
|
|
51
54
|
only: this.icon === 'only',
|
|
52
55
|
};
|
|
53
56
|
}
|
|
@@ -72,7 +75,7 @@ export class GbButton {
|
|
|
72
75
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
73
76
|
}
|
|
74
77
|
render() {
|
|
75
|
-
return (h("button", { key: '
|
|
78
|
+
return (h("div", { key: '5974279873d85165551e848ba6e5df545299d362', class: "button_wrapper" }, h("button", { key: '35ded83872e1ae6098ce79d0af6c63b5550eb801', disabled: this.state === 'disabled', class: this.getButtonClasses(), onMouseEnter: () => (this.tooltipShown = true), onMouseLeave: () => (this.tooltipShown = false) }, this.state === 'loading' && h("div", { key: '0ae36a67479896f6f8dea1ab2af243995d9069a6', class: `loader ${this.hierarchy} ${this.size} ${this.icon} ${this.destructive ? 'destructive' : ''}` }), this.state !== 'loading' && (h(Fragment, null, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && (h("div", { key: '5ee8aff376c438b3128b3a398cae036dba4a13e2', class: `btn_text` }, h("slot", { key: 'c16d23af7ee68f18bab93067150d90a068bc87a4' }))), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()))), this.tooltipText && this.icon === 'only' && this.tooltipShown && (h("gb-tooltip", { key: '75b67003b8a3faacf7454dc547cbea334cb7791b', "show-arrow": true, arrow: this.arrow, class: `tooltip ${this.size}` }, h("p", { key: 'e36063072c57570f5f6974f665ef1cf16f9865f9', slot: "label" }, this.tooltipText)))));
|
|
76
79
|
}
|
|
77
80
|
static get is() { return "gb-btn"; }
|
|
78
81
|
static get originalStyleUrls() {
|
|
@@ -110,7 +113,8 @@ export class GbButton {
|
|
|
110
113
|
"getter": false,
|
|
111
114
|
"setter": false,
|
|
112
115
|
"reflect": false,
|
|
113
|
-
"attribute": "size"
|
|
116
|
+
"attribute": "size",
|
|
117
|
+
"defaultValue": "'xl'"
|
|
114
118
|
},
|
|
115
119
|
"hierarchy": {
|
|
116
120
|
"type": "string",
|
|
@@ -135,7 +139,8 @@ export class GbButton {
|
|
|
135
139
|
"getter": false,
|
|
136
140
|
"setter": false,
|
|
137
141
|
"reflect": false,
|
|
138
|
-
"attribute": "hierarchy"
|
|
142
|
+
"attribute": "hierarchy",
|
|
143
|
+
"defaultValue": "'primary'"
|
|
139
144
|
},
|
|
140
145
|
"icon": {
|
|
141
146
|
"type": "string",
|
|
@@ -145,7 +150,7 @@ export class GbButton {
|
|
|
145
150
|
"resolved": "\"default\" | \"only\"",
|
|
146
151
|
"references": {}
|
|
147
152
|
},
|
|
148
|
-
"required":
|
|
153
|
+
"required": true,
|
|
149
154
|
"optional": false,
|
|
150
155
|
"docs": {
|
|
151
156
|
"tags": [],
|
|
@@ -199,7 +204,8 @@ export class GbButton {
|
|
|
199
204
|
"getter": false,
|
|
200
205
|
"setter": false,
|
|
201
206
|
"reflect": false,
|
|
202
|
-
"attribute": "state"
|
|
207
|
+
"attribute": "state",
|
|
208
|
+
"defaultValue": "'default'"
|
|
203
209
|
},
|
|
204
210
|
"iconLeading": {
|
|
205
211
|
"type": "boolean",
|
|
@@ -278,13 +284,63 @@ export class GbButton {
|
|
|
278
284
|
"setter": false,
|
|
279
285
|
"reflect": false,
|
|
280
286
|
"attribute": "icon-trailing-swap"
|
|
287
|
+
},
|
|
288
|
+
"tooltipText": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"mutable": false,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "string",
|
|
293
|
+
"resolved": "string",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": ""
|
|
301
|
+
},
|
|
302
|
+
"getter": false,
|
|
303
|
+
"setter": false,
|
|
304
|
+
"reflect": false,
|
|
305
|
+
"attribute": "tooltip-text",
|
|
306
|
+
"defaultValue": "''"
|
|
307
|
+
},
|
|
308
|
+
"arrow": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"mutable": false,
|
|
311
|
+
"complexType": {
|
|
312
|
+
"original": "ArrowPositions",
|
|
313
|
+
"resolved": "\"bottom_center\" | \"bottom_left\" | \"bottom_right\" | \"center\" | \"left\" | \"none\" | \"right\" | \"top_center\"",
|
|
314
|
+
"references": {
|
|
315
|
+
"ArrowPositions": {
|
|
316
|
+
"location": "import",
|
|
317
|
+
"path": "../../models/reusableModels",
|
|
318
|
+
"id": "src/models/reusableModels.ts::ArrowPositions"
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"required": false,
|
|
323
|
+
"optional": false,
|
|
324
|
+
"docs": {
|
|
325
|
+
"tags": [],
|
|
326
|
+
"text": ""
|
|
327
|
+
},
|
|
328
|
+
"getter": false,
|
|
329
|
+
"setter": false,
|
|
330
|
+
"reflect": false,
|
|
331
|
+
"attribute": "arrow",
|
|
332
|
+
"defaultValue": "'bottom_center'"
|
|
281
333
|
}
|
|
282
334
|
};
|
|
283
335
|
}
|
|
284
336
|
static get states() {
|
|
285
337
|
return {
|
|
286
338
|
"leadingIconSvg": {},
|
|
287
|
-
"trailingIconSvg": {}
|
|
339
|
+
"trailingIconSvg": {},
|
|
340
|
+
"internalButtonState": {},
|
|
341
|
+
"internalIconLeadingState": {},
|
|
342
|
+
"internalIconTrailingState": {},
|
|
343
|
+
"tooltipShown": {}
|
|
288
344
|
};
|
|
289
345
|
}
|
|
290
346
|
static get elementRef() { return "el"; }
|
|
@@ -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,QAAQ,EAAE,MAAM,eAAe,CAAC;AAO3F,MAAM,OAAO,QAAQ;IAJrB;
|
|
1
|
+
{"version":3,"file":"gb-btn.js","sourceRoot":"","sources":["../../../src/components/gb-btn/gb-btn.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, getAssetPath, h, Prop, State, Fragment } from '@stencil/core';\r\nimport { ArrowPositions, 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 = 'xl';\r\n @Prop() hierarchy: GeneralHierarchies = 'primary';\r\n @Prop() icon!: 'default' | 'only';\r\n @Prop() destructive: boolean = false;\r\n @Prop() state: StateType = 'default';\r\n @Prop() iconLeading: boolean = false;\r\n @Prop() iconLeadingSwap: string;\r\n @Prop() iconTrailing: boolean = false;\r\n @Prop() iconTrailingSwap: string;\r\n @Prop() tooltipText: string = '';\r\n @Prop() arrow: ArrowPositions = 'bottom_center';\r\n @Element() el: HTMLElement;\r\n @State() leadingIconSvg: string = '';\r\n @State() trailingIconSvg: string = '';\r\n @State() internalButtonState: string = '';\r\n @State() internalIconLeadingState: string = '';\r\n @State() internalIconTrailingState: string = '';\r\n @State() tooltipShown: boolean = false;\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 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 <div class=\"button_wrapper\">\r\n <button\r\n disabled={this.state === 'disabled'}\r\n class={this.getButtonClasses()}\r\n onMouseEnter={() => (this.tooltipShown = true)}\r\n onMouseLeave={() => (this.tooltipShown = false)}\r\n >\r\n {this.state === 'loading' && <div class={`loader ${this.hierarchy} ${this.size} ${this.icon} ${this.destructive ? 'destructive' : ''}`}></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 {this.tooltipText && this.icon === 'only' && this.tooltipShown && (\r\n <gb-tooltip show-arrow={true} arrow={this.arrow} class={`tooltip ${this.size}`}>\r\n <p slot=\"label\">{this.tooltipText}</p>\r\n </gb-tooltip>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -75,7 +75,7 @@ export class GbButton {
|
|
|
75
75
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return (h("div", { key: '
|
|
78
|
+
return (h("div", { key: 'e73578ed6c44c1088cfd3c1f79a6ba4ab56a0bb4', class: "button_wrapper" }, h("button", { key: '9600c03a6a0fc3ec276f7456b4f5bd3d0c17bd29', disabled: this.state === 'disabled', class: this.getButtonClasses(), onMouseEnter: () => this.tooltipShown = true, onMouseLeave: () => this.tooltipShown = false }, this.state === 'loading' && h("div", { key: '8e91ef2760cd64157faa55d02f326063026a6784', class: `loader ${this.hierarchy} ${this.size} ${this.icon} ${this.destructive ? 'destructive' : ''}` }), this.state !== 'loading' && (h(Fragment, null, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && (h("div", { key: 'b35e79253084dc15e224e62349439ecac11b526e', class: `btn_text` }, h("slot", { key: 'a2bbb2f18d5bb3373e4e23de9b8ae65cf0cf2fda' }))), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()))), this.tooltipText && this.icon === 'only' && this.tooltipShown && (h("gb-tooltip", { key: '7ee7cdd05d7a32f61f50f7f3966fbc57dd9999cf', "show-arrow": true, arrow: this.arrow, class: `tooltip ${this.size}` }, h("p", { key: '0cda8d3a9086d5724ce448f6d8c6b16cff9ad2a5', slot: "label" }, this.tooltipText)))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "gb-button"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '738a4fc4885b33fd01cb17e7d00958008a5bb7f1', class: `${this.size} ${this.color}` }, h("svg", { key: '9ad0f993085b04ec8a2e259ce5d94eab1de403b9', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `${this.size}` }, h("path", { key: '344fe30c0dda833d455270e8eb75efd3a82321fd', 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: 'eee8d36896df16f3a303aae8e1e5b14ba1035eca', class: "button_group_container" }, this.showLabel && h("p", { key: 'e92e4015de28d11feb17df832f740d9395b3b04c', class: "dropdown_label text-sm-regular" }, this.label), h("div", { key: 'ccbb6c61d25f6c50b92a97c987092798b9ce6618', 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: '5b772891a5a03e8827dd3bace325b2044cecc297', class: `button_group_base_div ${this.current ? 'current' : ''} ${this.icon} ${this.state}` }, this.icon === 'leading' && h("div", { key: '48e10a836f752eb9736adf152cccf86250184a2b', class: `icon ${this.current ? 'current' : ''} ${this.state}`, innerHTML: this.leadingIconSvg }), this.icon === 'only' && h("div", { key: 'f5266500b872813ffee73c2665ea54d31abfa00f', class: `icon ${this.current ? 'current' : ''} ${this.state}`, innerHTML: this.leadingIconSvg }), this.icon === 'checkbox' && (h("gb-checkbox", { key: '5b907619703ffccf259f90fddbee720d70955b88', checked: this.current, indeterminate: false, size: "sm", type: "radio", state: this.state, text: true, "supporting-text": false }, h("p", { key: 'cf05feb8157854241303b0ec10df0513a1c81df0', slot: "label" }, this.label))), this.icon === 'dot' && (h("div", { key: 'da9fabfacc7a55bdb11928de92c19e9ef01ee2bd', class: "dot_div" }, h("div", { key: '0d5ae1a5cc2cf1f9d70e5c00413ce4ac2bfb12a0', class: `dott ${this.state}` }))), this.icon !== 'only' && this.icon !== 'checkbox' && h("p", { key: 'a2f76f45097a7773a6fdbcae390635f55e791147', 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"; }
|
|
@@ -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: 'dd8f6c525363f52bcb406675e85fab006dac6b6b', class: `card_icon_div ${this.color} ${this.size}` }, h("div", { key: '03e1d3164e676670a0cb3014912dc339f935d754', 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: 'e9e842f534d00a76621d8634b29f64982b2ed203', class: `carousel_arrow ${this.size}` }, this.chevron === 'left' && (h("svg", { key: '892af6f3ba0cbd6881ada2c7f200a1b082974df5', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '6bebe1e14968ddefff3b9c730f4a7186b5898764', 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: '3b613c62746364c953df7d3da68b1fa497f37833', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '4e11ea957520dc2e9b81846621db763bb7b0bb17', 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() {
|
|
@@ -17,7 +17,7 @@ export class GbCategoryCard {
|
|
|
17
17
|
this.setBackgroundImage();
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '3fcfecf45974968c17a19c9afa853a194e79cf1a', class: "card shadow-xs" }, h("div", { key: 'c093e7a9f8d994257ff836505eddcafef5d97889', class: "image_container" }, h("div", { key: '9df9b8ca65c7c5ee545787a94319f7e54c88d2f2', class: "image", ref: el => (this.imageContainerEl = el) })), h("div", { key: '92c96ed779bafc5c46e80ef446e5934e36e37abb', class: "Globus-pattern" }, h("div", { key: 'b59054592774b6d4f12b8768613f8d485ed82043', class: "red" }), h("div", { key: 'b73dfaa7f91b102b510771fa1b689d79392c2ade', class: "blue" })), h("div", { key: 'fd0875d9120160fa107faedb6780233ed8546fa7', class: "card-content" }, h("h2", { key: '75e1b6785689f6221b1af449ddd3a387dbe495d2', class: "text-xl-semi-bold card-title" }, this.label), this.showSupportingText && this.supportingText && h("p", { key: '3184dcde515b8882ba90e985fad4e376c863f065', class: "text-sm-regular supporting-text" }, this.supportingText))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "gb-category-card"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class GbCheckbox {
|
|
|
37
37
|
this.checkboxClicked.emit(event.detail);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '078bb6091648d6df562f9774339a179a2c472e9c', class: `checkbox_div ${this.size} ${this.text ? 'text_class' : ''}` }, h("div", { key: '3e94b1f17f6167c239b60e8d8ebd4b6fcd36696b', class: `checkbox_base ${!this.supportingText ? 'checkbox_no_supporting_text' : ''}` }, h("gb-checkbox-base", { key: '78b2c2879eaa74bab13e41775fa8250c4b426e78', 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: 'a266ff7ac233117f63731229cc0bda878bf1101d', class: `text ${!this.supportingText ? 'no_supporting_text' : ''}` }, h("slot", { key: '13b5eea135668c3a1751cebbb5c2b9b8cb9c110b', name: "label" }), this.supportingText && h("slot", { key: '6b81ad1d9e677a43c5df36ee6bf549b19e5744b9', name: "supporting_text" })))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "gb-checkbox"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,7 +99,7 @@ export class GbCheckboxBase {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h("div", { key: '
|
|
102
|
+
return (h("div", { key: '7dec1e1607b5293f210beec19ef567d008f585af', class: `checkbox_container ${this.size}`, onClick: () => {
|
|
103
103
|
if (this.type === 'checkbox') {
|
|
104
104
|
return this.toggleCheckboxState();
|
|
105
105
|
}
|
|
@@ -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: '4064bab0732c0f21d64acc45acfd2fba5fbb8de1', class: `checkbox_group` }, h("gb-checkbox-group-item", { key: 'a5c9a388a9a7847a044949d8d1bbb8ff2a9f9ffd', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: '564e7cf5d17d15102cfb156430fc2cfd708469c7', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: '7ac85d6aa26445b96c4121631bf81e52f0998524', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: 'af42ef6158d43e55cff6d9d409526994aabdff30', size: this.size, type: this.type, breakpoint: this.breakpoint }), h("gb-checkbox-group-item", { key: '35480c69054ecd85f48dacf7a0e10eaa7b22c602', 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: '8a56d9461f62ed1b7268073f7b829baa6247e814', class: `checkbox_group_item ${this.size} ${this.state} ${this.selected ? 'selected' : ''} ${this.breakpoint}`, onClick: () => this.toggleSelection() }, h("div", { key: '43eda36670d097ca277904a9b675647fd931b0ec', class: "item-content" }, this.renderIcon(), h("div", { key: '05439ed0c6a3c4bb3159011a3440ff9958e26ed5', class: "text-container" }, h("div", { key: '50b94e4e9ca3177a84bc6f133b7dfd05cf1b4062', class: `label-cost ${this.type}` }, h("slot", { key: 'ff4674924d44f2afce85337a77009e1a7637f8f2', name: "label" }), this.showCost && h("slot", { key: 'acfaa6f472157b9778dc9b9bccd35214a88d0694', 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: '29dbdf04939c0af97310e985225853c88bf0477a', 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: '7959cf46e6a5f8f74c2931c501c1547449500232' }, 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"; }
|
|
@@ -35,7 +35,7 @@ export class GbCollapseButton {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
return [
|
|
38
|
-
h(Fragment, null, h("div", { key: '
|
|
38
|
+
h(Fragment, null, h("div", { key: '4b509015e7dc60520c34a29cfd36a139cfb47694', class: `collapse_btn ${this.color}`, onClick: this.toggleIcon.bind(this), onMouseOver: () => (this.isHovered = true), onMouseOut: () => (this.isHovered = false) }, h("div", { key: '6191b33529788b0e4cfede733d33fe3747e83ef5', class: `icon ${this.color} ${this.direction} ${this.action}`, innerHTML: this.leadingIconSvg })), this.isHovered && this.action === 'collapse' ? (h("gb-tooltip", { class: `tooltip ${this.direction}`, "show-arrow": true, arrow: this.direction === 'horizontal' ? 'left' : this.direction === 'vertical' ? 'bottom_left' : null }, h("p", { slot: "label", class: "text-xs-semi-bold" }, "Collapse"))) : this.isHovered && this.action === 'expand' ? (h("gb-tooltip", { class: `tooltip ${this.direction}`, "show-arrow": true, arrow: this.direction === 'horizontal' ? 'left' : this.direction === 'vertical' ? 'bottom_left' : null }, h("p", { slot: "label", class: "text-xs-semi-bold" }, "Expand"))) : null),
|
|
39
39
|
];
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "gb-collapse-button"; }
|
|
@@ -66,7 +66,7 @@ export class GbComment {
|
|
|
66
66
|
const patternSrcDarkMode = getAssetPath(`assets/background_pattern_dark_mode.svg`);
|
|
67
67
|
const illustrationSrcLightMode = getAssetPath(`assets/illustration.svg`);
|
|
68
68
|
const illustrationSrcDarkMode = getAssetPath(`assets/illustration_dark_mode.svg`);
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: '2b2ad83aca1880553c0f32dec8463762550f8771', class: `comments-container ${!hasComments ? 'no-comments-state' : ''}` }, h("div", { key: 'abcda384d2f90ed69ffa0844e2ee3c62ebaf57a6', class: `header ${this.state}` }, h("div", { key: '79be0873b23975766795db5107f5463cbe3750d1', class: "title-section" }, h("svg", { key: '6e657591cfcda854fe86f7cb70686af578bb3458', width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "info-icon" }, h("path", { key: '13aefd3087378527811586672f47150d0cb8849c', 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: '593645e98ba539c18c0c25779fb6254ace1dfee9', "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: 'bec5e6502b6737b60265f7abc4478da06bc96828', "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: 'd0b370fa4083626fbe9d6a7333043dcb2c2e62da', class: "text-md-semi-bold heading" }, this.heading)), h("gb-button", { key: '80ae35bc35ea87e744f5e33f01020d5125f1f161', 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
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))))))))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "gb-comment"; }
|