globuswebcomponents 1.5.9 → 1.6.0
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_3.cjs.entry.js +1 -1
- package/dist/cjs/gb-breadcrumb-button-base.gb-breadcrumbs.gb-btn.gb-button.gb-card-icon.gb-comment.gb-comment-item.gb-quick-action-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-breadcrumb-button-base_8.cjs.entry.js +367 -0
- package/dist/cjs/gb-breadcrumb-button-base_8.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close.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 +1 -1
- package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-collapse-button_4.cjs.entry.js +6 -6
- package/dist/cjs/gb-detail-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-export-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-featured-icon.gb-step-base.entry.cjs.js.map +1 -0
- package/dist/cjs/{gb-btn_3.cjs.entry.js → gb-featured-icon_2.cjs.entry.js} +25 -81
- package/dist/cjs/gb-featured-icon_2.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
- package/dist/cjs/gb-header-icon.cjs.entry.js +4 -4
- package/dist/cjs/gb-header.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-tooltip_3.cjs.entry.js +14 -14
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-input-dropdown-menu-item_5.cjs.entry.js +6 -6
- 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-notification-content.cjs.entry.js +1 -1
- package/dist/cjs/gb-notification-pane.cjs.entry.js +3 -3
- 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 +1 -1
- 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-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-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
- package/dist/cjs/gb-stepper-horizontal-line-with-text.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-textarea-input-field.cjs.entry.js +4 -4
- 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-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar-sidemenu.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar.cjs.entry.js +1 -1
- 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/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/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/add-square.svg +4 -0
- package/dist/collection/assets/dashboard-square-04.svg +10 -0
- package/dist/collection/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.css +142 -13
- package/dist/collection/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.js +47 -4
- package/dist/collection/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.js.map +1 -1
- package/dist/collection/components/gb-breadcrumbs/gb-breadcrumbs.css +6 -0
- package/dist/collection/components/gb-breadcrumbs/gb-breadcrumbs.js +67 -133
- package/dist/collection/components/gb-breadcrumbs/gb-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gb-btn/gb-btn.css +3 -5
- package/dist/collection/components/gb-btn/gb-btn.js +1 -1
- package/dist/collection/components/gb-button/gb-button.css +7 -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-card-icon/gb-card-icon.css +12 -1
- package/dist/collection/components/gb-card-icon/gb-card-icon.js +16 -2
- package/dist/collection/components/gb-card-icon/gb-card-icon.js.map +1 -1
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.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 +1 -1
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
- package/dist/collection/components/gb-comment/gb-comment.css +1 -0
- package/dist/collection/components/gb-comment/gb-comment.js +26 -26
- 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.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.css +10 -2
- 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 +1 -1
- package/dist/collection/components/gb-header/gb-header.js +1 -1
- package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
- 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-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-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 +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-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 +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 +21 -1
- package/dist/collection/components/gb-step-base/gb-step-base.js.map +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-line-with-text/gb-stepper-horizontal-line-with-text.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-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 +4 -4
- 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-top-bar/gb-top-bar.js +1 -1
- package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js +1 -1
- package/dist/collection/components/gb-top-bar-sidemenu/gb-top-bar-sidemenu.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/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- 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 +6 -6
- 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-breadcrumb-button-base.js +1 -1
- package/dist/components/gb-breadcrumbs.js +47 -57
- package/dist/components/gb-breadcrumbs.js.map +1 -1
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button-close.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-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 +28 -28
- 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-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +4 -4
- 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-header-icon.js +1 -1
- package/dist/components/gb-header.js +4 -4
- package/dist/components/gb-help-dropdown.js +4 -4
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +5 -5
- 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-notification-content.js +1 -1
- package/dist/components/gb-notification-pane.js +5 -5
- 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 +19 -19
- 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 +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-stepper-horizontal-icons-centered.js +3 -3
- package/dist/components/gb-stepper-horizontal-line-with-text.js +3 -3
- package/dist/components/gb-stepper-vertical-icons-with-text.js +3 -3
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-table-cell.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +13 -13
- 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 +2 -2
- package/dist/components/gb-token-field-compressed.js +3 -3
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-top-bar-item.js +1 -1
- package/dist/components/gb-top-bar-sidemenu.js +6 -6
- package/dist/components/gb-top-bar.js +3 -3
- 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-vLnf-eem.js → p--A9DuJIU.js} +3 -3
- package/dist/components/{p-vLnf-eem.js.map → p--A9DuJIU.js.map} +1 -1
- package/dist/components/{p-CjkmiGbW.js → p-31dMgY12.js} +3 -3
- package/dist/components/{p-CjkmiGbW.js.map → p-31dMgY12.js.map} +1 -1
- package/dist/components/{p-BpNvVCnZ.js → p-B1na1WKm.js} +3 -3
- package/dist/components/{p-BpNvVCnZ.js.map → p-B1na1WKm.js.map} +1 -1
- package/dist/components/{p-BcHsAO9W.js → p-B4PD2Tez.js} +4 -4
- package/dist/components/{p-BcHsAO9W.js.map → p-B4PD2Tez.js.map} +1 -1
- package/dist/components/{p-DNenFkxG.js → p-BH4jpvZW.js} +3 -3
- package/dist/components/{p-DNenFkxG.js.map → p-BH4jpvZW.js.map} +1 -1
- package/dist/components/{p-jcm4ukgw.js → p-BJKJICFv.js} +5 -5
- package/dist/components/{p-jcm4ukgw.js.map → p-BJKJICFv.js.map} +1 -1
- package/dist/components/{p-5XOQHr87.js → p-BNG1IcFt.js} +4 -4
- package/dist/components/{p-5XOQHr87.js.map → p-BNG1IcFt.js.map} +1 -1
- package/dist/components/{p-BwsFrJm9.js → p-BPTBKz1v.js} +3 -3
- package/dist/components/{p-BwsFrJm9.js.map → p-BPTBKz1v.js.map} +1 -1
- package/dist/components/{p-CbMnDsmA.js → p-BUJna3TS.js} +4 -4
- package/dist/components/{p-CbMnDsmA.js.map → p-BUJna3TS.js.map} +1 -1
- package/dist/components/{p-CxyWcpUd.js → p-BVW_pVNB.js} +6 -6
- package/dist/components/{p-CxyWcpUd.js.map → p-BVW_pVNB.js.map} +1 -1
- package/dist/components/{p-BmwgYFBQ.js → p-BWBihtRo.js} +8 -8
- package/dist/components/{p-BmwgYFBQ.js.map → p-BWBihtRo.js.map} +1 -1
- package/dist/components/{p-DDJKjzHM.js → p-BWC2kdbb.js} +3 -3
- package/dist/components/{p-DDJKjzHM.js.map → p-BWC2kdbb.js.map} +1 -1
- package/dist/components/{p-CR6jp8N-.js → p-BZ0U8zfs.js} +3 -3
- package/dist/components/{p-CR6jp8N-.js.map → p-BZ0U8zfs.js.map} +1 -1
- package/dist/components/{p-ZDIxNhyh.js → p-BaD6Aaha.js} +3 -3
- package/dist/components/{p-ZDIxNhyh.js.map → p-BaD6Aaha.js.map} +1 -1
- package/dist/components/{p-Bv2gUX6V.js → p-BexdXTlZ.js} +4 -4
- package/dist/components/{p-Bv2gUX6V.js.map → p-BexdXTlZ.js.map} +1 -1
- package/dist/components/{p-B7d_rHDG.js → p-BfqN49A7.js} +24 -4
- package/dist/components/p-BfqN49A7.js.map +1 -0
- package/dist/components/{p-CWtHknXy.js → p-Bun8obU7.js} +7 -7
- package/dist/components/{p-CWtHknXy.js.map → p-Bun8obU7.js.map} +1 -1
- package/dist/components/{p-LnmQcUpl.js → p-BxIZ-xzc.js} +5 -5
- package/dist/components/{p-LnmQcUpl.js.map → p-BxIZ-xzc.js.map} +1 -1
- package/dist/components/{p-_t2gDjmG.js → p-C3_Sfw66.js} +3 -3
- package/dist/components/{p-_t2gDjmG.js.map → p-C3_Sfw66.js.map} +1 -1
- package/dist/components/{p-Def3WLsO.js → p-CAKmlbWp.js} +3 -3
- package/dist/components/{p-Def3WLsO.js.map → p-CAKmlbWp.js.map} +1 -1
- package/dist/components/{p-c2J7RBpu.js → p-CFTtWUo5.js} +4 -4
- package/dist/components/{p-c2J7RBpu.js.map → p-CFTtWUo5.js.map} +1 -1
- package/dist/components/{p-B72LWIVI.js → p-CTj4Ioj7.js} +4 -4
- package/dist/components/{p-B72LWIVI.js.map → p-CTj4Ioj7.js.map} +1 -1
- package/dist/components/{p-CnRRsgyL.js → p-CZFOWcvV.js} +3 -3
- package/dist/components/{p-CnRRsgyL.js.map → p-CZFOWcvV.js.map} +1 -1
- package/dist/components/{p-D3kcr7l_.js → p-Cn18N_PQ.js} +4 -4
- package/dist/components/{p-D3kcr7l_.js.map → p-Cn18N_PQ.js.map} +1 -1
- package/dist/components/{p-BR7HU6qt.js → p-Cn3fAbqY.js} +3 -3
- package/dist/components/{p-BR7HU6qt.js.map → p-Cn3fAbqY.js.map} +1 -1
- package/dist/components/{p-DT9rEdRy.js → p-Cp0fWz52.js} +3 -3
- package/dist/components/{p-DT9rEdRy.js.map → p-Cp0fWz52.js.map} +1 -1
- package/dist/components/{p-B2Gkw5eu.js → p-D6Qauuqt.js} +4 -4
- package/dist/components/{p-B2Gkw5eu.js.map → p-D6Qauuqt.js.map} +1 -1
- package/dist/components/{p-CaRv3E3f.js → p-D8zusFu1.js} +8 -8
- package/dist/components/{p-CaRv3E3f.js.map → p-D8zusFu1.js.map} +1 -1
- package/dist/components/{p-C_O7QsfJ.js → p-D9Wg9v3R.js} +3 -3
- package/dist/components/{p-C_O7QsfJ.js.map → p-D9Wg9v3R.js.map} +1 -1
- package/dist/components/{p-CAbBEo8T.js → p-DLE_yRuw.js} +3 -3
- package/dist/components/{p-CAbBEo8T.js.map → p-DLE_yRuw.js.map} +1 -1
- package/dist/components/{p-fkXqPkEx.js → p-DNVipIEI.js} +4 -4
- package/dist/components/{p-fkXqPkEx.js.map → p-DNVipIEI.js.map} +1 -1
- package/dist/components/{p-Cy3B6la8.js → p-DS4N9kvb.js} +26 -6
- package/dist/components/p-DS4N9kvb.js.map +1 -0
- package/dist/components/{p-B2uVU3Q3.js → p-DXK_93R4.js} +3 -3
- package/dist/components/{p-B2uVU3Q3.js.map → p-DXK_93R4.js.map} +1 -1
- package/dist/components/{p-B4d13Jvu.js → p-DXd2gBTx.js} +8 -8
- package/dist/components/{p-B4d13Jvu.js.map → p-DXd2gBTx.js.map} +1 -1
- package/dist/components/{p-I7_VcSZ2.js → p-DXgw13b-.js} +20 -20
- package/dist/components/{p-I7_VcSZ2.js.map → p-DXgw13b-.js.map} +1 -1
- package/dist/components/{p-DhKgp1er.js → p-DbVpvOCb.js} +3 -3
- package/dist/components/{p-DhKgp1er.js.map → p-DbVpvOCb.js.map} +1 -1
- package/dist/components/{p-Dn-6CH8H.js → p-DoeriZDH.js} +4 -4
- package/dist/components/{p-Dn-6CH8H.js.map → p-DoeriZDH.js.map} +1 -1
- package/dist/components/{p-C8EDqBtr.js → p-DpKTEHth.js} +16 -6
- package/dist/components/p-DpKTEHth.js.map +1 -0
- package/dist/components/{p-D7Z3GyPi.js → p-DuLknIMt.js} +4 -4
- package/dist/components/{p-D7Z3GyPi.js.map → p-DuLknIMt.js.map} +1 -1
- package/dist/components/{p-BGmbRnqQ.js → p-JAFoW3IV.js} +3 -3
- package/dist/components/{p-BGmbRnqQ.js.map → p-JAFoW3IV.js.map} +1 -1
- package/dist/components/{p-CiIsdurl.js → p-NiuJaZuK.js} +8 -8
- package/dist/components/{p-CiIsdurl.js.map → p-NiuJaZuK.js.map} +1 -1
- package/dist/components/{p-CbPjaTv9.js → p-Np38Ok__.js} +28 -28
- package/dist/components/{p-CbPjaTv9.js.map → p-Np38Ok__.js.map} +1 -1
- package/dist/components/{p-DL5GQjcw.js → p-OiP9secW.js} +8 -8
- package/dist/components/{p-DL5GQjcw.js.map → p-OiP9secW.js.map} +1 -1
- package/dist/components/{p-CiHFSrbp.js → p-Vs_T1kQh.js} +4 -4
- package/dist/components/{p-CiHFSrbp.js.map → p-Vs_T1kQh.js.map} +1 -1
- package/dist/components/{p-BX1CWEyD.js → p-_DscvXiK.js} +4 -4
- package/dist/components/{p-BX1CWEyD.js.map → p-_DscvXiK.js.map} +1 -1
- package/dist/components/{p-CMfdwslw.js → p-au0Iu1eb.js} +7 -7
- package/dist/components/{p-CMfdwslw.js.map → p-au0Iu1eb.js.map} +1 -1
- package/dist/components/{p-CZJvIR5f.js → p-fYxGcYkK.js} +6 -6
- package/dist/components/{p-CZJvIR5f.js.map → p-fYxGcYkK.js.map} +1 -1
- package/dist/components/{p-DWQntLKt.js → p-qH0qQGph.js} +4 -4
- package/dist/components/{p-DWQntLKt.js.map → p-qH0qQGph.js.map} +1 -1
- package/dist/components/{p-CyIJk08g.js → p-tQRYwlzE.js} +4 -4
- package/dist/components/{p-CyIJk08g.js.map → p-tQRYwlzE.js.map} +1 -1
- package/dist/components/test-input-tag.js +11 -11
- package/dist/docs.json +62 -107
- package/dist/esm/gb-avatar_3.entry.js +1 -1
- package/dist/esm/gb-breadcrumb-button-base.gb-breadcrumbs.gb-btn.gb-button.gb-card-icon.gb-comment.gb-comment-item.gb-quick-action-icon.entry.js.map +1 -0
- package/dist/esm/gb-breadcrumb-button-base_8.entry.js +358 -0
- package/dist/esm/gb-breadcrumb-button-base_8.entry.js.map +1 -0
- package/dist/esm/gb-button-close.entry.js +1 -1
- package/dist/esm/gb-carousel-arrow.entry.js +1 -1
- package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
- package/dist/esm/gb-checkbox-group.entry.js +1 -1
- package/dist/esm/gb-checkbox_2.entry.js +2 -2
- package/dist/esm/gb-collapse-button_4.entry.js +6 -6
- package/dist/esm/gb-detail-cell.entry.js +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
- package/dist/esm/gb-export-dropdown-item_2.entry.js +2 -2
- package/dist/esm/gb-export-dropdown.entry.js +1 -1
- package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
- package/dist/esm/gb-featured-icon.gb-step-base.entry.js.map +1 -0
- package/dist/esm/{gb-btn_3.entry.js → gb-featured-icon_2.entry.js} +27 -82
- package/dist/esm/gb-featured-icon_2.entry.js.map +1 -0
- package/dist/esm/gb-file-type-icon_2.entry.js +2 -2
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload.entry.js +12 -12
- package/dist/esm/gb-header-icon.entry.js +4 -4
- package/dist/esm/gb-header.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +1 -1
- package/dist/esm/gb-help-tooltip_3.entry.js +14 -14
- package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
- package/dist/esm/gb-input-dropdown-menu-item_5.entry.js +6 -6
- 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-notification-content.entry.js +1 -1
- package/dist/esm/gb-notification-pane.entry.js +3 -3
- 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 +1 -1
- 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-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-stepper-horizontal-icons-centered.entry.js +1 -1
- package/dist/esm/gb-stepper-horizontal-line-with-text.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-textarea-input-field.entry.js +4 -4
- 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-tooltip.entry.js +1 -1
- package/dist/esm/gb-top-bar-item.entry.js +1 -1
- package/dist/esm/gb-top-bar-sidemenu.entry.js +1 -1
- package/dist/esm/gb-top-bar.entry.js +1 -1
- package/dist/esm/gb-vertical-tabs.entry.js +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/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/add-square.svg +4 -0
- package/dist/globuscomponents/assets/dashboard-square-04.svg +10 -0
- package/dist/globuscomponents/gb-breadcrumb-button-base.gb-breadcrumbs.gb-btn.gb-button.gb-card-icon.gb-comment.gb-comment-item.gb-quick-action-icon.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-button.css +7 -1
- package/dist/globuscomponents/gb-featured-icon.gb-step-base.entry.esm.js.map +1 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-1d9ea08c.entry.js → p-0382b8c3.entry.js} +2 -2
- package/dist/globuscomponents/{p-fbd079dd.entry.js → p-1291e660.entry.js} +2 -2
- package/dist/globuscomponents/{p-63ee6fa2.entry.js → p-131f5c18.entry.js} +2 -2
- package/dist/globuscomponents/{p-775f0845.entry.js → p-1482903e.entry.js} +2 -2
- package/dist/globuscomponents/{p-3609363f.entry.js → p-154dfc4f.entry.js} +2 -2
- package/dist/globuscomponents/p-17241f5c.entry.js +2 -0
- package/dist/globuscomponents/{p-2ec4a979.entry.js → p-19f728d1.entry.js} +2 -2
- package/dist/globuscomponents/{p-ebd94196.entry.js → p-1c99a763.entry.js} +2 -2
- package/dist/globuscomponents/{p-727d2eb9.entry.js → p-23049fe3.entry.js} +2 -2
- package/dist/globuscomponents/{p-5803a6ba.entry.js → p-2996b102.entry.js} +2 -2
- package/dist/globuscomponents/{p-556075ec.entry.js → p-2d0bd79e.entry.js} +2 -2
- package/dist/globuscomponents/{p-0cf48905.entry.js → p-30ea99ce.entry.js} +2 -2
- package/dist/globuscomponents/{p-43bfbdc9.entry.js → p-338171e7.entry.js} +2 -2
- package/dist/globuscomponents/{p-621c06e3.entry.js → p-34092ddc.entry.js} +2 -2
- package/dist/globuscomponents/{p-67e64831.entry.js → p-3c44fed6.entry.js} +2 -2
- package/dist/globuscomponents/{p-05c88be1.entry.js → p-3ddb3e5b.entry.js} +2 -2
- package/dist/globuscomponents/{p-6fdd80fb.entry.js → p-4aeac90c.entry.js} +2 -2
- package/dist/globuscomponents/{p-678b7c85.entry.js → p-4ce79532.entry.js} +2 -2
- package/dist/globuscomponents/{p-d1ba7d20.entry.js → p-53c4e7c3.entry.js} +2 -2
- package/dist/globuscomponents/{p-84854432.entry.js → p-58e33bac.entry.js} +2 -2
- package/dist/globuscomponents/p-5b8abd2e.entry.js +2 -0
- package/dist/globuscomponents/{p-731e8a53.entry.js → p-60e4960c.entry.js} +2 -2
- package/dist/globuscomponents/{p-e0d7a25c.entry.js → p-6b141a87.entry.js} +2 -2
- package/dist/globuscomponents/{p-1eaf5f49.entry.js → p-6b5cbfd2.entry.js} +2 -2
- package/dist/globuscomponents/{p-ab69838b.entry.js → p-71493dae.entry.js} +2 -2
- package/dist/globuscomponents/p-72547014.entry.js +2 -0
- package/dist/globuscomponents/{p-130586d6.entry.js → p-728d1e3a.entry.js} +2 -2
- package/dist/globuscomponents/{p-887e14b2.entry.js → p-760f1982.entry.js} +2 -2
- package/dist/globuscomponents/{p-9d8a0470.entry.js → p-76d20aef.entry.js} +2 -2
- package/dist/globuscomponents/{p-92abcdd5.entry.js → p-79e4c66f.entry.js} +2 -2
- package/dist/globuscomponents/p-7ecab674.entry.js +2 -0
- package/dist/globuscomponents/p-7ecab674.entry.js.map +1 -0
- package/dist/globuscomponents/{p-09e9b56d.entry.js → p-88c53fbf.entry.js} +2 -2
- package/dist/globuscomponents/{p-e62efa91.entry.js → p-8d6e622b.entry.js} +2 -2
- package/dist/globuscomponents/{p-09b24524.entry.js → p-8dd64d49.entry.js} +2 -2
- package/dist/globuscomponents/{p-23c41301.entry.js → p-8fc6f81b.entry.js} +2 -2
- package/dist/globuscomponents/{p-540a3cfb.entry.js → p-915a8d42.entry.js} +2 -2
- package/dist/globuscomponents/{p-927a3889.entry.js → p-98ca53c9.entry.js} +2 -2
- package/dist/globuscomponents/{p-2be0e884.entry.js → p-991139b4.entry.js} +2 -2
- package/dist/globuscomponents/p-a09e5dd5.entry.js +2 -0
- package/dist/globuscomponents/{p-f11c096c.entry.js.map → p-a09e5dd5.entry.js.map} +1 -1
- package/dist/globuscomponents/{p-d54dbcde.entry.js → p-b0fa5921.entry.js} +2 -2
- package/dist/globuscomponents/{p-6d7956d5.entry.js → p-b418b6e0.entry.js} +2 -2
- package/dist/globuscomponents/{p-5eaa669b.entry.js → p-c388d168.entry.js} +2 -2
- package/dist/globuscomponents/{p-37831607.entry.js → p-c4f7d3bb.entry.js} +2 -2
- package/dist/globuscomponents/{p-765ce0c1.entry.js → p-d63ad847.entry.js} +2 -2
- package/dist/globuscomponents/{p-90a0f007.entry.js → p-d644fe6e.entry.js} +2 -2
- package/dist/globuscomponents/{p-fca18930.entry.js → p-d8550cb1.entry.js} +2 -2
- package/dist/globuscomponents/{p-b4a50bc3.entry.js → p-dd88f4a7.entry.js} +2 -2
- package/dist/globuscomponents/{p-99409b64.entry.js → p-de69a6d9.entry.js} +2 -2
- package/dist/globuscomponents/{p-d1e282f9.entry.js → p-e3ffcc64.entry.js} +2 -2
- package/dist/globuscomponents/{p-ea4132f9.entry.js → p-e6f97c1a.entry.js} +2 -2
- package/dist/globuscomponents/p-eabdd627.entry.js +2 -0
- package/dist/globuscomponents/p-eabdd627.entry.js.map +1 -0
- package/dist/globuscomponents/{p-81a95bbc.entry.js → p-ed3a9bb8.entry.js} +2 -2
- package/dist/globuscomponents/{p-b07db326.entry.js → p-f44db8b7.entry.js} +2 -2
- package/dist/globuscomponents/{p-b035196a.entry.js → p-f6c37b8d.entry.js} +2 -2
- package/dist/globuscomponents/{p-1df67eea.entry.js → p-fe129439.entry.js} +2 -2
- package/dist/globuscomponents/{p-2f4d9b3d.entry.js → p-fe2feec8.entry.js} +2 -2
- package/dist/types/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.d.ts +5 -1
- package/dist/types/components/gb-breadcrumbs/gb-breadcrumbs.d.ts +18 -9
- package/dist/types/components/gb-card-icon/gb-card-icon.d.ts +4 -1
- package/dist/types/components/gb-step-base/gb-step-base.d.ts +2 -0
- package/dist/types/components.d.ts +10 -14
- package/package.json +1 -1
- package/dist/cjs/gb-breadcrumb-button-base.cjs.entry.js +0 -23
- package/dist/cjs/gb-breadcrumb-button-base.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-breadcrumb-button-base.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-breadcrumbs.cjs.entry.js +0 -69
- package/dist/cjs/gb-breadcrumbs.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-breadcrumbs.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-btn.gb-featured-icon.gb-step-base.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-btn_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-button.cjs.entry.js +0 -87
- package/dist/cjs/gb-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-button.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-card-icon.cjs.entry.js +0 -22
- package/dist/cjs/gb-card-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-card-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-comment-item.cjs.entry.js +0 -29
- package/dist/cjs/gb-comment-item.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-comment-item.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-comment.cjs.entry.js +0 -61
- package/dist/cjs/gb-comment.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-comment.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-quick-action-icon.cjs.entry.js +0 -23
- package/dist/cjs/gb-quick-action-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-quick-action-icon.entry.cjs.js.map +0 -1
- package/dist/components/p-B7d_rHDG.js.map +0 -1
- package/dist/components/p-C8EDqBtr.js.map +0 -1
- package/dist/components/p-Cy3B6la8.js.map +0 -1
- package/dist/esm/gb-breadcrumb-button-base.entry.js +0 -21
- package/dist/esm/gb-breadcrumb-button-base.entry.js.map +0 -1
- package/dist/esm/gb-breadcrumbs.entry.js +0 -67
- package/dist/esm/gb-breadcrumbs.entry.js.map +0 -1
- package/dist/esm/gb-btn.gb-featured-icon.gb-step-base.entry.js.map +0 -1
- package/dist/esm/gb-btn_3.entry.js.map +0 -1
- package/dist/esm/gb-button.entry.js +0 -85
- package/dist/esm/gb-button.entry.js.map +0 -1
- package/dist/esm/gb-card-icon.entry.js +0 -20
- package/dist/esm/gb-card-icon.entry.js.map +0 -1
- package/dist/esm/gb-comment-item.entry.js +0 -27
- package/dist/esm/gb-comment-item.entry.js.map +0 -1
- package/dist/esm/gb-comment.entry.js +0 -59
- package/dist/esm/gb-comment.entry.js.map +0 -1
- package/dist/esm/gb-quick-action-icon.entry.js +0 -21
- package/dist/esm/gb-quick-action-icon.entry.js.map +0 -1
- package/dist/globuscomponents/gb-breadcrumb-button-base.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-breadcrumbs.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-btn.gb-featured-icon.gb-step-base.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-button.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-card-icon.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-comment-item.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-comment.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-quick-action-icon.entry.esm.js.map +0 -1
- package/dist/globuscomponents/p-1d4dd634.entry.js +0 -2
- package/dist/globuscomponents/p-23c04ba0.entry.js +0 -2
- package/dist/globuscomponents/p-23c04ba0.entry.js.map +0 -1
- package/dist/globuscomponents/p-47e9c5bf.entry.js +0 -2
- package/dist/globuscomponents/p-47e9c5bf.entry.js.map +0 -1
- package/dist/globuscomponents/p-505037bb.entry.js +0 -2
- package/dist/globuscomponents/p-505037bb.entry.js.map +0 -1
- package/dist/globuscomponents/p-9234e60d.entry.js +0 -2
- package/dist/globuscomponents/p-97db0982.entry.js +0 -2
- package/dist/globuscomponents/p-97db0982.entry.js.map +0 -1
- package/dist/globuscomponents/p-af912816.entry.js +0 -2
- package/dist/globuscomponents/p-af912816.entry.js.map +0 -1
- package/dist/globuscomponents/p-b83a30cb.entry.js +0 -2
- package/dist/globuscomponents/p-b83a30cb.entry.js.map +0 -1
- package/dist/globuscomponents/p-d7847724.entry.js +0 -2
- package/dist/globuscomponents/p-d7847724.entry.js.map +0 -1
- package/dist/globuscomponents/p-e1070a35.entry.js +0 -2
- package/dist/globuscomponents/p-e1070a35.entry.js.map +0 -1
- package/dist/globuscomponents/p-ee6f3c54.entry.js +0 -2
- package/dist/globuscomponents/p-f11c096c.entry.js +0 -2
- /package/dist/globuscomponents/{p-1d9ea08c.entry.js.map → p-0382b8c3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-fbd079dd.entry.js.map → p-1291e660.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-63ee6fa2.entry.js.map → p-131f5c18.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-775f0845.entry.js.map → p-1482903e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3609363f.entry.js.map → p-154dfc4f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1d4dd634.entry.js.map → p-17241f5c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2ec4a979.entry.js.map → p-19f728d1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ebd94196.entry.js.map → p-1c99a763.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-727d2eb9.entry.js.map → p-23049fe3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5803a6ba.entry.js.map → p-2996b102.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-556075ec.entry.js.map → p-2d0bd79e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-0cf48905.entry.js.map → p-30ea99ce.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-43bfbdc9.entry.js.map → p-338171e7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-621c06e3.entry.js.map → p-34092ddc.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-67e64831.entry.js.map → p-3c44fed6.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-05c88be1.entry.js.map → p-3ddb3e5b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6fdd80fb.entry.js.map → p-4aeac90c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-678b7c85.entry.js.map → p-4ce79532.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d1ba7d20.entry.js.map → p-53c4e7c3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-84854432.entry.js.map → p-58e33bac.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9234e60d.entry.js.map → p-5b8abd2e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-731e8a53.entry.js.map → p-60e4960c.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e0d7a25c.entry.js.map → p-6b141a87.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1eaf5f49.entry.js.map → p-6b5cbfd2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ab69838b.entry.js.map → p-71493dae.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ee6f3c54.entry.js.map → p-72547014.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-130586d6.entry.js.map → p-728d1e3a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-887e14b2.entry.js.map → p-760f1982.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9d8a0470.entry.js.map → p-76d20aef.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-92abcdd5.entry.js.map → p-79e4c66f.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-09e9b56d.entry.js.map → p-88c53fbf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e62efa91.entry.js.map → p-8d6e622b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-09b24524.entry.js.map → p-8dd64d49.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-23c41301.entry.js.map → p-8fc6f81b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-540a3cfb.entry.js.map → p-915a8d42.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-927a3889.entry.js.map → p-98ca53c9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2be0e884.entry.js.map → p-991139b4.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d54dbcde.entry.js.map → p-b0fa5921.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-6d7956d5.entry.js.map → p-b418b6e0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5eaa669b.entry.js.map → p-c388d168.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-37831607.entry.js.map → p-c4f7d3bb.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-765ce0c1.entry.js.map → p-d63ad847.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-90a0f007.entry.js.map → p-d644fe6e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-fca18930.entry.js.map → p-d8550cb1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b4a50bc3.entry.js.map → p-dd88f4a7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-99409b64.entry.js.map → p-de69a6d9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d1e282f9.entry.js.map → p-e3ffcc64.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ea4132f9.entry.js.map → p-e6f97c1a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-81a95bbc.entry.js.map → p-ed3a9bb8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b07db326.entry.js.map → p-f44db8b7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b035196a.entry.js.map → p-f6c37b8d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1df67eea.entry.js.map → p-fe129439.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-2f4d9b3d.entry.js.map → p-fe2feec8.entry.js.map} +0 -0
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
1
|
+
import { getAssetPath, h } from "@stencil/core";
|
|
2
2
|
export class GbBreadcrumbButtonBase {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.current = false;
|
|
5
5
|
this.icon = false;
|
|
6
6
|
this.label = '';
|
|
7
|
+
this.iconSrc = '';
|
|
8
|
+
this.leadingIconSvg = '';
|
|
9
|
+
}
|
|
10
|
+
async loadIcon(iconName) {
|
|
11
|
+
const iconPath = getAssetPath(`${iconName}`);
|
|
12
|
+
const response = await fetch(iconPath);
|
|
13
|
+
const svg = await response.text();
|
|
14
|
+
this.leadingIconSvg = svg;
|
|
15
|
+
}
|
|
16
|
+
componentWillLoad() {
|
|
17
|
+
this.loadIcon(this.iconSrc);
|
|
7
18
|
}
|
|
8
19
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '1f94d55c874c187149f3bdd079ff0de707c045d0', class: `breadcrumb_button_base_div ${this.type} ${this.icon ? 'icon' : ''} ${this.current ? 'current' : ''}` }, this.icon ? (
|
|
21
|
+
// <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" class="icon">
|
|
22
|
+
// <path
|
|
23
|
+
// d="M9.25013 15C9.25013 15.4142 9.58592 15.75 10.0001 15.75C10.4143 15.75 10.7501 15.4142 10.7501 15H9.25013ZM10.7501 12.5C10.7501 12.0858 10.4143 11.75 10.0001 11.75C9.58592 11.75 9.25013 12.0858 9.25013 12.5H10.7501ZM5.85096 3.83335L5.41152 3.22558L5.85096 3.83335ZM14.1493 3.83335L14.5888 3.22558V3.22558L14.1493 3.83335ZM2.21049 12.6437L1.46919 12.7576L2.21049 12.6437ZM17.7898 12.6437L17.0485 12.5298V12.5298L17.7898 12.6437ZM18.0406 11.0112L18.7819 11.1251L18.0406 11.0112ZM15.3492 4.70091L14.9097 5.30868V5.30868L15.3492 4.70091ZM1.95963 11.0112L2.70093 10.8973L1.95963 11.0112ZM4.65108 4.70091L5.09053 5.30868L4.65108 4.70091ZM10.7501 15V12.5H9.25013V15H10.7501ZM17.2993 10.8973L17.0485 12.5298L18.5311 12.7576L18.7819 11.1251L17.2993 10.8973ZM10.9491 17.5834H9.05112V19.0834H10.9491V17.5834ZM2.95179 12.5298L2.70093 10.8973L1.21833 11.1251L1.46919 12.7576L2.95179 12.5298ZM5.09053 5.30868L6.2904 4.44113L5.41152 3.22558L4.21164 4.09313L5.09053 5.30868ZM13.7099 4.44113L14.9097 5.30868L15.7886 4.09313L14.5888 3.22558L13.7099 4.44113ZM6.2904 4.44113C7.30337 3.70872 8.01234 3.19753 8.60953 2.86241C9.18937 2.53703 9.5984 2.41669 10.0001 2.41669V0.916687C9.24932 0.916687 8.58264 1.15746 7.87547 1.5543C7.18565 1.9414 6.3963 2.51355 5.41152 3.22558L6.2904 4.44113ZM14.5888 3.22558C13.604 2.51355 12.8146 1.9414 12.1248 1.5543C11.4176 1.15746 10.7509 0.916687 10.0001 0.916687V2.41669C10.4019 2.41669 10.8109 2.53703 11.3907 2.86241C11.9879 3.19753 12.6969 3.70872 13.7099 4.44113L14.5888 3.22558ZM9.05112 17.5834C7.60947 17.5834 6.59586 17.5821 5.81847 17.4876C5.05984 17.3955 4.62131 17.2237 4.2889 16.9472L3.3297 18.1005C3.97055 18.6335 4.73007 18.8665 5.63761 18.9767C6.52639 19.0846 7.64706 19.0834 9.05112 19.0834V17.5834ZM1.46919 12.7576C1.67466 14.0946 1.83829 15.1692 2.08095 16.0066C2.33016 16.8666 2.68578 17.5649 3.3297 18.1005L4.2889 16.9472C3.95956 16.6733 3.7243 16.2884 3.52168 15.5891C3.3125 14.8673 3.16336 13.9065 2.95179 12.5298L1.46919 12.7576ZM17.0485 12.5298C16.8369 13.9065 16.6878 14.8673 16.4786 15.5891C16.276 16.2884 16.0407 16.6733 15.7114 16.9472L16.6706 18.1005C17.3145 17.5649 17.6701 16.8666 17.9193 16.0066C18.162 15.1692 18.3256 14.0946 18.5311 12.7576L17.0485 12.5298ZM10.9491 19.0834C12.3532 19.0834 13.4739 19.0846 14.3627 18.9767C15.2702 18.8665 16.0297 18.6335 16.6706 18.1005L15.7114 16.9472C15.379 17.2237 14.9404 17.3955 14.1818 17.4876C13.4044 17.5821 12.3908 17.5834 10.9491 17.5834V19.0834ZM18.7819 11.1251C18.9267 10.1833 19.0448 9.42055 19.0755 8.7878C19.107 8.1371 19.0507 7.56162 18.8099 6.99693L17.4301 7.58541C17.5512 7.86926 17.6023 8.19665 17.5772 8.71526C17.5513 9.25182 17.4488 9.9248 17.2993 10.8973L18.7819 11.1251ZM14.9097 5.30868C15.7248 5.898 16.2911 6.30854 16.7033 6.67427C17.1036 7.02939 17.3085 7.30014 17.4301 7.58541L18.8099 6.99693C18.5696 6.43364 18.1921 5.98984 17.6989 5.55225C17.2176 5.12527 16.5795 4.66495 15.7886 4.09313L14.9097 5.30868ZM2.70093 10.8973C2.55148 9.9248 2.44901 9.25182 2.42303 8.71526C2.39793 8.19665 2.44908 7.86926 2.57014 7.58541L1.1904 6.99693C0.949549 7.56162 0.893285 8.1371 0.924789 8.7878C0.955423 9.42055 1.0736 10.1833 1.21833 11.1251L2.70093 10.8973ZM4.21164 4.09313C3.42078 4.66495 2.78265 5.12527 2.30142 5.55225C1.80822 5.98984 1.43065 6.43364 1.1904 6.99693L2.57014 7.58541C2.69181 7.30014 2.89669 7.02939 3.29693 6.67427C3.70915 6.30854 4.27546 5.898 5.09053 5.30868L4.21164 4.09313Z"
|
|
24
|
+
// fill="#697586"
|
|
25
|
+
// />
|
|
26
|
+
// </svg>
|
|
27
|
+
h("div", { class: `icon_svg`, innerHTML: this.leadingIconSvg })) : (h("p", { class: `breadcrumb_text text-sm-medium ${this.type} ${this.current ? 'current' : ''}` }, this.label))));
|
|
10
28
|
}
|
|
11
29
|
static get is() { return "gb-breadcrumb-button-base"; }
|
|
12
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,8 +64,8 @@ export class GbBreadcrumbButtonBase {
|
|
|
46
64
|
"type": "string",
|
|
47
65
|
"mutable": false,
|
|
48
66
|
"complexType": {
|
|
49
|
-
"original": "'text' | '
|
|
50
|
-
"resolved": "\"button_gray\" | \"
|
|
67
|
+
"original": "'text' | 'button_primary' | 'button_gray'",
|
|
68
|
+
"resolved": "\"button_gray\" | \"button_primary\" | \"text\"",
|
|
51
69
|
"references": {}
|
|
52
70
|
},
|
|
53
71
|
"required": false,
|
|
@@ -100,8 +118,33 @@ export class GbBreadcrumbButtonBase {
|
|
|
100
118
|
"attribute": "label",
|
|
101
119
|
"reflect": false,
|
|
102
120
|
"defaultValue": "''"
|
|
121
|
+
},
|
|
122
|
+
"iconSrc": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "string",
|
|
127
|
+
"resolved": "string",
|
|
128
|
+
"references": {}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": ""
|
|
135
|
+
},
|
|
136
|
+
"getter": false,
|
|
137
|
+
"setter": false,
|
|
138
|
+
"attribute": "icon-src",
|
|
139
|
+
"reflect": false,
|
|
140
|
+
"defaultValue": "''"
|
|
103
141
|
}
|
|
104
142
|
};
|
|
105
143
|
}
|
|
144
|
+
static get states() {
|
|
145
|
+
return {
|
|
146
|
+
"leadingIconSvg": {}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
106
149
|
}
|
|
107
150
|
//# sourceMappingURL=gb-breadcrumb-button-base.js.map
|
package/dist/collection/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-breadcrumb-button-base.js","sourceRoot":"","sources":["../../../src/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"gb-breadcrumb-button-base.js","sourceRoot":"","sources":["../../../src/components/gb-breadcrumb-button-base/gb-breadcrumb-button-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOxE,MAAM,OAAO,sBAAsB;IALnC;QAMU,YAAO,GAAY,KAAK,CAAC;QAEzB,SAAI,GAAY,KAAK,CAAC;QACtB,UAAK,GAAW,EAAE,CAAC;QACnB,YAAO,GAAW,EAAE,CAAC;QACpB,mBAAc,GAAW,EAAE,CAAC;KA8BtC;IA5BC,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,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,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAE,8BAA8B,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,IAC9G,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACX,+GAA+G;QAC/G,UAAU;QACV,20GAA20G;QAC30G,qBAAqB;QACrB,OAAO;QACP,SAAS;QACT,WAAK,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ,CAC/D,CAAC,CAAC,CAAC,CACF,SAAG,KAAK,EAAE,kCAAkC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,IAAG,IAAI,CAAC,KAAK,CAAK,CAC3G,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, State, getAssetPath, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-breadcrumb-button-base',\r\n styleUrl: 'gb-breadcrumb-button-base.css',\r\n shadow: true,\r\n})\r\nexport class GbBreadcrumbButtonBase {\r\n @Prop() current: boolean = false;\r\n @Prop() type: 'text' | 'button_primary' | 'button_gray';\r\n @Prop() icon: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() iconSrc: string = '';\r\n @State() leadingIconSvg: string = '';\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.iconSrc);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`breadcrumb_button_base_div ${this.type} ${this.icon ? 'icon' : ''} ${this.current ? 'current' : ''}`}>\r\n {this.icon ? (\r\n // <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class=\"icon\">\r\n // <path\r\n // d=\"M9.25013 15C9.25013 15.4142 9.58592 15.75 10.0001 15.75C10.4143 15.75 10.7501 15.4142 10.7501 15H9.25013ZM10.7501 12.5C10.7501 12.0858 10.4143 11.75 10.0001 11.75C9.58592 11.75 9.25013 12.0858 9.25013 12.5H10.7501ZM5.85096 3.83335L5.41152 3.22558L5.85096 3.83335ZM14.1493 3.83335L14.5888 3.22558V3.22558L14.1493 3.83335ZM2.21049 12.6437L1.46919 12.7576L2.21049 12.6437ZM17.7898 12.6437L17.0485 12.5298V12.5298L17.7898 12.6437ZM18.0406 11.0112L18.7819 11.1251L18.0406 11.0112ZM15.3492 4.70091L14.9097 5.30868V5.30868L15.3492 4.70091ZM1.95963 11.0112L2.70093 10.8973L1.95963 11.0112ZM4.65108 4.70091L5.09053 5.30868L4.65108 4.70091ZM10.7501 15V12.5H9.25013V15H10.7501ZM17.2993 10.8973L17.0485 12.5298L18.5311 12.7576L18.7819 11.1251L17.2993 10.8973ZM10.9491 17.5834H9.05112V19.0834H10.9491V17.5834ZM2.95179 12.5298L2.70093 10.8973L1.21833 11.1251L1.46919 12.7576L2.95179 12.5298ZM5.09053 5.30868L6.2904 4.44113L5.41152 3.22558L4.21164 4.09313L5.09053 5.30868ZM13.7099 4.44113L14.9097 5.30868L15.7886 4.09313L14.5888 3.22558L13.7099 4.44113ZM6.2904 4.44113C7.30337 3.70872 8.01234 3.19753 8.60953 2.86241C9.18937 2.53703 9.5984 2.41669 10.0001 2.41669V0.916687C9.24932 0.916687 8.58264 1.15746 7.87547 1.5543C7.18565 1.9414 6.3963 2.51355 5.41152 3.22558L6.2904 4.44113ZM14.5888 3.22558C13.604 2.51355 12.8146 1.9414 12.1248 1.5543C11.4176 1.15746 10.7509 0.916687 10.0001 0.916687V2.41669C10.4019 2.41669 10.8109 2.53703 11.3907 2.86241C11.9879 3.19753 12.6969 3.70872 13.7099 4.44113L14.5888 3.22558ZM9.05112 17.5834C7.60947 17.5834 6.59586 17.5821 5.81847 17.4876C5.05984 17.3955 4.62131 17.2237 4.2889 16.9472L3.3297 18.1005C3.97055 18.6335 4.73007 18.8665 5.63761 18.9767C6.52639 19.0846 7.64706 19.0834 9.05112 19.0834V17.5834ZM1.46919 12.7576C1.67466 14.0946 1.83829 15.1692 2.08095 16.0066C2.33016 16.8666 2.68578 17.5649 3.3297 18.1005L4.2889 16.9472C3.95956 16.6733 3.7243 16.2884 3.52168 15.5891C3.3125 14.8673 3.16336 13.9065 2.95179 12.5298L1.46919 12.7576ZM17.0485 12.5298C16.8369 13.9065 16.6878 14.8673 16.4786 15.5891C16.276 16.2884 16.0407 16.6733 15.7114 16.9472L16.6706 18.1005C17.3145 17.5649 17.6701 16.8666 17.9193 16.0066C18.162 15.1692 18.3256 14.0946 18.5311 12.7576L17.0485 12.5298ZM10.9491 19.0834C12.3532 19.0834 13.4739 19.0846 14.3627 18.9767C15.2702 18.8665 16.0297 18.6335 16.6706 18.1005L15.7114 16.9472C15.379 17.2237 14.9404 17.3955 14.1818 17.4876C13.4044 17.5821 12.3908 17.5834 10.9491 17.5834V19.0834ZM18.7819 11.1251C18.9267 10.1833 19.0448 9.42055 19.0755 8.7878C19.107 8.1371 19.0507 7.56162 18.8099 6.99693L17.4301 7.58541C17.5512 7.86926 17.6023 8.19665 17.5772 8.71526C17.5513 9.25182 17.4488 9.9248 17.2993 10.8973L18.7819 11.1251ZM14.9097 5.30868C15.7248 5.898 16.2911 6.30854 16.7033 6.67427C17.1036 7.02939 17.3085 7.30014 17.4301 7.58541L18.8099 6.99693C18.5696 6.43364 18.1921 5.98984 17.6989 5.55225C17.2176 5.12527 16.5795 4.66495 15.7886 4.09313L14.9097 5.30868ZM2.70093 10.8973C2.55148 9.9248 2.44901 9.25182 2.42303 8.71526C2.39793 8.19665 2.44908 7.86926 2.57014 7.58541L1.1904 6.99693C0.949549 7.56162 0.893285 8.1371 0.924789 8.7878C0.955423 9.42055 1.0736 10.1833 1.21833 11.1251L2.70093 10.8973ZM4.21164 4.09313C3.42078 4.66495 2.78265 5.12527 2.30142 5.55225C1.80822 5.98984 1.43065 6.43364 1.1904 6.99693L2.57014 7.58541C2.69181 7.30014 2.89669 7.02939 3.29693 6.67427C3.70915 6.30854 4.27546 5.898 5.09053 5.30868L4.21164 4.09313Z\"\r\n // fill=\"#697586\"\r\n // />\r\n // </svg>\r\n <div class={`icon_svg`} innerHTML={this.leadingIconSvg}></div>\r\n ) : (\r\n <p class={`breadcrumb_text text-sm-medium ${this.type} ${this.current ? 'current' : ''}`}>{this.label}</p>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -2667,6 +2667,12 @@
|
|
|
2667
2667
|
align-items: center;
|
|
2668
2668
|
}
|
|
2669
2669
|
|
|
2670
|
+
.breadcrumb-item{
|
|
2671
|
+
display: flex;
|
|
2672
|
+
align-items: center;
|
|
2673
|
+
gap: var(--spacing-2);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2670
2676
|
.breadcrumbs_div.text_with_line {
|
|
2671
2677
|
display: inline-flex;
|
|
2672
2678
|
padding: 0.5rem 0rem;
|
|
@@ -1,59 +1,49 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbBreadcrumbs {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.
|
|
5
|
-
this.
|
|
6
|
-
this.
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
this.type = 'text';
|
|
5
|
+
this.divider = 'chevron';
|
|
6
|
+
this.breadcrumbs = [
|
|
7
|
+
// { label: 'Projects', id: 'projects' },
|
|
8
|
+
// { label: 'Design System', id: 'design-system' },
|
|
9
|
+
// { label: 'Buttons', id: 'buttons' },
|
|
10
|
+
];
|
|
11
|
+
this.visibleBreadcrumbs = [];
|
|
9
12
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
componentWillLoad() {
|
|
14
|
+
this.visibleBreadcrumbs = [...this.breadcrumbs];
|
|
15
|
+
}
|
|
16
|
+
handleBreadcrumbClick(clickedId) {
|
|
17
|
+
const index = this.visibleBreadcrumbs.findIndex(b => b.id === clickedId);
|
|
18
|
+
if (index !== -1) {
|
|
19
|
+
this.visibleBreadcrumbs = this.visibleBreadcrumbs.slice(0, index + 1);
|
|
20
|
+
this.breadcrumbClicked.emit({ id: clickedId });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
handleHomeClick() {
|
|
24
|
+
this.visibleBreadcrumbs = [];
|
|
25
|
+
this.breadcrumbClicked.emit({ id: 'home' });
|
|
26
|
+
}
|
|
27
|
+
renderDivider() {
|
|
28
|
+
return this.divider === 'chevron' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6 4C6 4 10 6.946 10 8C10 9.054 6 12 6 12", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M5.833 18.333L14.167 1.667", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
29
|
+
}
|
|
30
|
+
resolveType() {
|
|
31
|
+
switch (this.type) {
|
|
32
|
+
case 'text':
|
|
33
|
+
case 'text_with_line':
|
|
34
|
+
return 'text';
|
|
35
|
+
case 'button_primary':
|
|
36
|
+
return 'button_primary';
|
|
37
|
+
case 'button_gray':
|
|
38
|
+
case 'button_gray_with_border':
|
|
39
|
+
return 'button_gray';
|
|
40
|
+
default:
|
|
41
|
+
return 'text';
|
|
13
42
|
}
|
|
14
43
|
}
|
|
15
44
|
render() {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
: this.type === 'text_with_line'
|
|
19
|
-
? 'text'
|
|
20
|
-
: this.type === 'button_primary'
|
|
21
|
-
? 'buttton_primary'
|
|
22
|
-
: this.type === 'button_gray'
|
|
23
|
-
? 'button_gray'
|
|
24
|
-
: this.type === 'button_gray_with_border'
|
|
25
|
-
? 'button_gray'
|
|
26
|
-
: null, current: false, onClick: () => this.onHomeButtonClicked() }), this.divider === 'chevron' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M5.83325 18.3334L14.1666 1.66669", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.firstLink && (h("gb-breadcrumb-button-base", { key: '9241ddf30e39a55fc740148e4f79895a09ac1b2b', icon: false, type: this.type === 'text'
|
|
27
|
-
? 'text'
|
|
28
|
-
: this.type === 'text_with_line'
|
|
29
|
-
? 'text'
|
|
30
|
-
: this.type === 'button_primary'
|
|
31
|
-
? 'buttton_primary'
|
|
32
|
-
: this.type === 'button_gray'
|
|
33
|
-
? 'button_gray'
|
|
34
|
-
: this.type === 'button_gray_with_border'
|
|
35
|
-
? 'button_gray'
|
|
36
|
-
: null, current: false, label: "Projects" })), this.divider === 'chevron' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M5.83325 18.3334L14.1666 1.66669", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("gb-breadcrumb-button-base", { key: '73e32dfd7b29907f3ee8fdf054398743ec98e3f6', icon: false, type: this.type === 'text'
|
|
37
|
-
? 'text'
|
|
38
|
-
: this.type === 'text_with_line'
|
|
39
|
-
? 'text'
|
|
40
|
-
: this.type === 'button_primary'
|
|
41
|
-
? 'buttton_primary'
|
|
42
|
-
: this.type === 'button_gray'
|
|
43
|
-
? 'button_gray'
|
|
44
|
-
: this.type === 'button_gray_with_border'
|
|
45
|
-
? 'button_gray'
|
|
46
|
-
: null, current: false, label: "Projects" }), this.divider === 'chevron' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M5.83325 18.3334L14.1666 1.66669", stroke: "#CDD5DF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("gb-breadcrumb-button-base", { key: '2b77cb1445fda8d5cf8b55aac75d430cb73ce702', icon: false, type: this.type === 'text'
|
|
47
|
-
? 'text'
|
|
48
|
-
: this.type === 'text_with_line'
|
|
49
|
-
? 'text'
|
|
50
|
-
: this.type === 'button_primary'
|
|
51
|
-
? 'buttton_primary'
|
|
52
|
-
: this.type === 'button_gray'
|
|
53
|
-
? 'button_gray'
|
|
54
|
-
: this.type === 'button_gray_with_border'
|
|
55
|
-
? 'button_gray'
|
|
56
|
-
: null, current: false, label: "Projects" }))));
|
|
45
|
+
const btnType = this.resolveType();
|
|
46
|
+
return (h("div", { key: 'df30706ac537edf7920486e973666d4774264f4a', class: `breadcrumbs_div ${this.type}` }, h("div", { key: '523a968c485f5a4932fec909b26450edc6d26279', class: `tabs ${this.type}` }, h("gb-breadcrumb-button-base", { key: '14f87db65f8462cb1f14b760c25109b7eb0b504f', icon: true, "icon-src": this.icon, type: btnType, current: this.visibleBreadcrumbs.length === 0, onClick: () => this.handleHomeClick() }), this.visibleBreadcrumbs.map((breadcrumb, index) => (h("div", { class: "breadcrumb-item", key: breadcrumb.id }, this.renderDivider(), h("gb-breadcrumb-button-base", { icon: false, label: breadcrumb.label, type: btnType, current: index === this.visibleBreadcrumbs.length - 1, onClick: () => this.handleBreadcrumbClick(breadcrumb.id) })))))));
|
|
57
47
|
}
|
|
58
48
|
static get is() { return "gb-breadcrumbs"; }
|
|
59
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,25 +59,6 @@ export class GbBreadcrumbs {
|
|
|
69
59
|
}
|
|
70
60
|
static get properties() {
|
|
71
61
|
return {
|
|
72
|
-
"divider": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"mutable": false,
|
|
75
|
-
"complexType": {
|
|
76
|
-
"original": "'chevron' | 'slash'",
|
|
77
|
-
"resolved": "\"chevron\" | \"slash\"",
|
|
78
|
-
"references": {}
|
|
79
|
-
},
|
|
80
|
-
"required": false,
|
|
81
|
-
"optional": false,
|
|
82
|
-
"docs": {
|
|
83
|
-
"tags": [],
|
|
84
|
-
"text": ""
|
|
85
|
-
},
|
|
86
|
-
"getter": false,
|
|
87
|
-
"setter": false,
|
|
88
|
-
"attribute": "divider",
|
|
89
|
-
"reflect": false
|
|
90
|
-
},
|
|
91
62
|
"type": {
|
|
92
63
|
"type": "string",
|
|
93
64
|
"mutable": false,
|
|
@@ -105,54 +76,15 @@ export class GbBreadcrumbs {
|
|
|
105
76
|
"getter": false,
|
|
106
77
|
"setter": false,
|
|
107
78
|
"attribute": "type",
|
|
108
|
-
"reflect": false
|
|
109
|
-
},
|
|
110
|
-
"firstLink": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"mutable": false,
|
|
113
|
-
"complexType": {
|
|
114
|
-
"original": "boolean",
|
|
115
|
-
"resolved": "boolean",
|
|
116
|
-
"references": {}
|
|
117
|
-
},
|
|
118
|
-
"required": false,
|
|
119
|
-
"optional": false,
|
|
120
|
-
"docs": {
|
|
121
|
-
"tags": [],
|
|
122
|
-
"text": ""
|
|
123
|
-
},
|
|
124
|
-
"getter": false,
|
|
125
|
-
"setter": false,
|
|
126
|
-
"attribute": "first-link",
|
|
127
|
-
"reflect": false,
|
|
128
|
-
"defaultValue": "false"
|
|
129
|
-
},
|
|
130
|
-
"secondLink": {
|
|
131
|
-
"type": "boolean",
|
|
132
|
-
"mutable": false,
|
|
133
|
-
"complexType": {
|
|
134
|
-
"original": "boolean",
|
|
135
|
-
"resolved": "boolean",
|
|
136
|
-
"references": {}
|
|
137
|
-
},
|
|
138
|
-
"required": false,
|
|
139
|
-
"optional": false,
|
|
140
|
-
"docs": {
|
|
141
|
-
"tags": [],
|
|
142
|
-
"text": ""
|
|
143
|
-
},
|
|
144
|
-
"getter": false,
|
|
145
|
-
"setter": false,
|
|
146
|
-
"attribute": "second-link",
|
|
147
79
|
"reflect": false,
|
|
148
|
-
"defaultValue": "
|
|
80
|
+
"defaultValue": "'text'"
|
|
149
81
|
},
|
|
150
|
-
"
|
|
151
|
-
"type": "
|
|
82
|
+
"divider": {
|
|
83
|
+
"type": "string",
|
|
152
84
|
"mutable": false,
|
|
153
85
|
"complexType": {
|
|
154
|
-
"original": "
|
|
155
|
-
"resolved": "
|
|
86
|
+
"original": "'chevron' | 'slash'",
|
|
87
|
+
"resolved": "\"chevron\" | \"slash\"",
|
|
156
88
|
"references": {}
|
|
157
89
|
},
|
|
158
90
|
"required": false,
|
|
@@ -163,16 +95,16 @@ export class GbBreadcrumbs {
|
|
|
163
95
|
},
|
|
164
96
|
"getter": false,
|
|
165
97
|
"setter": false,
|
|
166
|
-
"attribute": "
|
|
98
|
+
"attribute": "divider",
|
|
167
99
|
"reflect": false,
|
|
168
|
-
"defaultValue": "
|
|
100
|
+
"defaultValue": "'chevron'"
|
|
169
101
|
},
|
|
170
|
-
"
|
|
171
|
-
"type": "
|
|
102
|
+
"breadcrumbs": {
|
|
103
|
+
"type": "unknown",
|
|
172
104
|
"mutable": false,
|
|
173
105
|
"complexType": {
|
|
174
|
-
"original": "
|
|
175
|
-
"resolved": "
|
|
106
|
+
"original": "{ label: string; id: string }[]",
|
|
107
|
+
"resolved": "{ label: string; id: string; }[]",
|
|
176
108
|
"references": {}
|
|
177
109
|
},
|
|
178
110
|
"required": false,
|
|
@@ -183,36 +115,38 @@ export class GbBreadcrumbs {
|
|
|
183
115
|
},
|
|
184
116
|
"getter": false,
|
|
185
117
|
"setter": false,
|
|
186
|
-
"
|
|
187
|
-
"reflect": false,
|
|
188
|
-
"defaultValue": "false"
|
|
118
|
+
"defaultValue": "[\r\n // { label: 'Projects', id: 'projects' },\r\n // { label: 'Design System', id: 'design-system' },\r\n // { label: 'Buttons', id: 'buttons' },\r\n ]"
|
|
189
119
|
},
|
|
190
|
-
"
|
|
191
|
-
"type": "
|
|
120
|
+
"icon": {
|
|
121
|
+
"type": "string",
|
|
192
122
|
"mutable": false,
|
|
193
123
|
"complexType": {
|
|
194
|
-
"original": "
|
|
195
|
-
"resolved": "
|
|
124
|
+
"original": "string",
|
|
125
|
+
"resolved": "string",
|
|
196
126
|
"references": {}
|
|
197
127
|
},
|
|
198
128
|
"required": false,
|
|
199
|
-
"optional":
|
|
129
|
+
"optional": true,
|
|
200
130
|
"docs": {
|
|
201
131
|
"tags": [],
|
|
202
132
|
"text": ""
|
|
203
133
|
},
|
|
204
134
|
"getter": false,
|
|
205
135
|
"setter": false,
|
|
206
|
-
"attribute": "
|
|
207
|
-
"reflect": false
|
|
208
|
-
"defaultValue": "false"
|
|
136
|
+
"attribute": "icon",
|
|
137
|
+
"reflect": false
|
|
209
138
|
}
|
|
210
139
|
};
|
|
211
140
|
}
|
|
141
|
+
static get states() {
|
|
142
|
+
return {
|
|
143
|
+
"visibleBreadcrumbs": {}
|
|
144
|
+
};
|
|
145
|
+
}
|
|
212
146
|
static get events() {
|
|
213
147
|
return [{
|
|
214
|
-
"method": "
|
|
215
|
-
"name": "
|
|
148
|
+
"method": "breadcrumbClicked",
|
|
149
|
+
"name": "breadcrumbClicked",
|
|
216
150
|
"bubbles": true,
|
|
217
151
|
"cancelable": true,
|
|
218
152
|
"composed": true,
|
|
@@ -221,8 +155,8 @@ export class GbBreadcrumbs {
|
|
|
221
155
|
"text": ""
|
|
222
156
|
},
|
|
223
157
|
"complexType": {
|
|
224
|
-
"original": "
|
|
225
|
-
"resolved": "
|
|
158
|
+
"original": "{ id: string }",
|
|
159
|
+
"resolved": "{ id: string; }",
|
|
226
160
|
"references": {}
|
|
227
161
|
}
|
|
228
162
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-breadcrumbs.js","sourceRoot":"","sources":["../../../src/components/gb-breadcrumbs/gb-breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"gb-breadcrumbs.js","sourceRoot":"","sources":["../../../src/components/gb-breadcrumbs/gb-breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AAO/E,MAAM,OAAO,aAAa;IAL1B;QAMU,SAAI,GAA6F,MAAM,CAAC;QACxG,YAAO,GAAwB,SAAS,CAAC;QACzC,gBAAW,GAAoC;QACrD,yCAAyC;QACzC,mDAAmD;QACnD,uCAAuC;SACxC,CAAC;QAGO,uBAAkB,GAAoC,EAAE,CAAC;KA6EnE;IA3EC,iBAAiB;QACf,IAAI,CAAC,kBAAkB,GAAG,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAEO,qBAAqB,CAAC,SAAiB;QAC7C,MAAM,KAAK,GAAG,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC;QACzE,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;YACjB,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;YACtE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;IAEO,eAAe;QACrB,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9C,CAAC;IAEO,aAAa;QACnB,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAClC,WAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;YAC5F,YAAM,CAAC,EAAC,2CAA2C,EAAC,MAAM,EAAC,SAAS,kBAAc,KAAK,oBAAgB,OAAO,qBAAiB,OAAO,GAAG,CACrI,CACP,CAAC,CAAC,CAAC,CACF,WAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;YAC5F,YAAM,CAAC,EAAC,4BAA4B,EAAC,MAAM,EAAC,SAAS,kBAAc,KAAK,oBAAgB,OAAO,qBAAiB,OAAO,GAAG,CACtH,CACP,CAAC;IACJ,CAAC;IAEO,WAAW;QACjB,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,MAAM,CAAC;YACZ,KAAK,gBAAgB;gBACnB,OAAO,MAAM,CAAC;YAChB,KAAK,gBAAgB;gBACnB,OAAO,gBAAgB,CAAC;YAC1B,KAAK,aAAa,CAAC;YACnB,KAAK,yBAAyB;gBAC5B,OAAO,aAAa,CAAC;YACvB;gBACE,OAAO,MAAM,CAAC;QAClB,CAAC;IACH,CAAC;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAEnC,OAAO,CACL,4DAAK,KAAK,EAAE,mBAAmB,IAAI,CAAC,IAAI,EAAE;YACxC,4DAAK,KAAK,EAAE,QAAQ,IAAI,CAAC,IAAI,EAAE;gBAE7B,kFACE,IAAI,EAAE,IAAI,cACA,IAAI,CAAC,IAAI,EACnB,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,IAAI,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAC7C,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,GACV;gBAE5B,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAClD,WAAK,KAAK,EAAC,iBAAiB,EAAC,GAAG,EAAE,UAAU,CAAC,EAAE;oBAC5C,IAAI,CAAC,aAAa,EAAE;oBACrB,iCACE,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,KAAK,KAAK,IAAI,CAAC,kBAAkB,CAAC,MAAM,GAAG,CAAC,EACrD,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,EAAE,CAAC,GAC7B,CACzB,CACP,CAAC,CACE,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Event, EventEmitter, State } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-breadcrumbs',\r\n styleUrl: 'gb-breadcrumbs.css',\r\n shadow: true,\r\n})\r\nexport class GbBreadcrumbs {\r\n @Prop() type: 'text' | 'text_with_line' | 'button_primary' | 'button_gray' | 'button_gray_with_border' = 'text';\r\n @Prop() divider: 'chevron' | 'slash' = 'chevron';\r\n @Prop() breadcrumbs: { label: string; id: string }[] = [\r\n // { label: 'Projects', id: 'projects' },\r\n // { label: 'Design System', id: 'design-system' },\r\n // { label: 'Buttons', id: 'buttons' },\r\n ];\r\n @Prop() icon?: string;\r\n @Event() breadcrumbClicked: EventEmitter<{ id: string }>;\r\n @State() visibleBreadcrumbs: { label: string; id: string }[] = [];\r\n\r\n componentWillLoad() {\r\n this.visibleBreadcrumbs = [...this.breadcrumbs];\r\n }\r\n\r\n private handleBreadcrumbClick(clickedId: string) {\r\n const index = this.visibleBreadcrumbs.findIndex(b => b.id === clickedId);\r\n if (index !== -1) {\r\n this.visibleBreadcrumbs = this.visibleBreadcrumbs.slice(0, index + 1);\r\n this.breadcrumbClicked.emit({ id: clickedId });\r\n }\r\n }\r\n\r\n private handleHomeClick() {\r\n this.visibleBreadcrumbs = [];\r\n this.breadcrumbClicked.emit({ id: 'home' });\r\n }\r\n\r\n private renderDivider() {\r\n return this.divider === 'chevron' ? (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\r\n <path d=\"M6 4C6 4 10 6.946 10 8C10 9.054 6 12 6 12\" stroke=\"#CDD5DF\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n ) : (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path d=\"M5.833 18.333L14.167 1.667\" stroke=\"#CDD5DF\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n );\r\n }\r\n\r\n private resolveType() {\r\n switch (this.type) {\r\n case 'text':\r\n case 'text_with_line':\r\n return 'text';\r\n case 'button_primary':\r\n return 'button_primary';\r\n case 'button_gray':\r\n case 'button_gray_with_border':\r\n return 'button_gray';\r\n default:\r\n return 'text';\r\n }\r\n }\r\n\r\n render() {\r\n const btnType = this.resolveType();\r\n\r\n return (\r\n <div class={`breadcrumbs_div ${this.type}`}>\r\n <div class={`tabs ${this.type}`}>\r\n {/* Home button */}\r\n <gb-breadcrumb-button-base\r\n icon={true}\r\n icon-src={this.icon}\r\n type={btnType}\r\n current={this.visibleBreadcrumbs.length === 0}\r\n onClick={() => this.handleHomeClick()}\r\n ></gb-breadcrumb-button-base>\r\n\r\n {this.visibleBreadcrumbs.map((breadcrumb, index) => (\r\n <div class=\"breadcrumb-item\" key={breadcrumb.id}>\r\n {this.renderDivider()}\r\n <gb-breadcrumb-button-base\r\n icon={false}\r\n label={breadcrumb.label}\r\n type={btnType}\r\n current={index === this.visibleBreadcrumbs.length - 1}\r\n onClick={() => this.handleBreadcrumbClick(breadcrumb.id)}\r\n ></gb-breadcrumb-button-base>\r\n </div>\r\n ))}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -2891,7 +2891,7 @@ button.link_gray:active{
|
|
|
2891
2891
|
color: var(--color-text-bold, #202939);
|
|
2892
2892
|
}
|
|
2893
2893
|
|
|
2894
|
-
button.
|
|
2894
|
+
button.link_color:active{
|
|
2895
2895
|
text-decoration: none;
|
|
2896
2896
|
color: var(--color-link-pressed, #064E94);
|
|
2897
2897
|
}
|
|
@@ -2961,8 +2961,6 @@ button.link_color.disabled{
|
|
|
2961
2961
|
|
|
2962
2962
|
.btn_text{
|
|
2963
2963
|
white-space: nowrap;
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
.btn_text::first-letter{
|
|
2967
|
-
text-transform: uppercase;
|
|
2964
|
+
display: flex;
|
|
2965
|
+
align-items: center;
|
|
2968
2966
|
}
|
|
@@ -65,7 +65,7 @@ export class GbButton {
|
|
|
65
65
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h("button", { key: '
|
|
68
|
+
return (h("button", { key: '7fba478bb4ec5cf7341ef16e12dfbf2be62b04e7', class: this.getButtonClasses() }, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && (h("div", { key: '607972ad9ff3f7ba1cf319b906b48733ba4e2a4e', class: `btn_text` }, h("slot", { key: '85daa13aab8dd9f8b407a025645bb1cc108880af' }))), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "gb-btn"; }
|
|
71
71
|
static get originalStyleUrls() {
|
|
@@ -2891,7 +2891,7 @@ button.link_gray:active{
|
|
|
2891
2891
|
color: var(--color-text-bold, #202939);
|
|
2892
2892
|
}
|
|
2893
2893
|
|
|
2894
|
-
button.
|
|
2894
|
+
button.link_color:active{
|
|
2895
2895
|
text-decoration: none;
|
|
2896
2896
|
color: var(--color-link-pressed, #064E94);
|
|
2897
2897
|
}
|
|
@@ -2961,4 +2961,10 @@ button.link_color.disabled{
|
|
|
2961
2961
|
|
|
2962
2962
|
.btn_text{
|
|
2963
2963
|
white-space: nowrap;
|
|
2964
|
+
display: flex;
|
|
2965
|
+
align-items: center;
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
.btn_text::first-letter{
|
|
2969
|
+
text-transform: uppercase;
|
|
2964
2970
|
}
|
|
@@ -68,7 +68,7 @@ export class GbButton {
|
|
|
68
68
|
return h("div", { class: "icon right-icon", innerHTML: this.trailingIconSvg });
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h("button", { key: '
|
|
71
|
+
return (h("button", { key: '0616f0dcab44ca4d1de0df7c9c50d5eba8aab10e', disabled: this.state === 'disabled', class: this.getButtonClasses() }, this.iconLeading && this.icon === 'default' && this.renderLeadingIcon(), this.icon === 'default' && h("slot", { key: '833d3b309676f0a71aff32fefe296bb123ae2388' }), this.iconTrailing && this.renderTrailingIcon(), this.icon === 'only' && this.renderLeadingIcon()));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "gb-button"; }
|
|
74
74
|
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: 'f9b037216a499c0e8d634e89c6eea93d19ec7448', class: `${this.size} ${this.color}` }, h("svg", { key: '77478a8766eb80a9be792b3ca030932f16398ea2', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `${this.size}` }, h("path", { key: '92d8b9a142a61c50276da6510e0fa228fb6d395d', 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"; }
|
|
@@ -2702,7 +2702,18 @@
|
|
|
2702
2702
|
background: var(--color-background-card, #ffffff);
|
|
2703
2703
|
}
|
|
2704
2704
|
|
|
2705
|
-
.
|
|
2705
|
+
.icon_svg {
|
|
2706
2706
|
width: 1.125rem;
|
|
2707
2707
|
height: 1.125rem;
|
|
2708
|
+
display: flex;
|
|
2709
|
+
justify-content: center;
|
|
2710
|
+
align-items: center;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
.icon_svg path[stroke]{
|
|
2714
|
+
stroke: var(--color-icon-bold, #202939)
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
.icon_svg path[fill]{
|
|
2718
|
+
fill: var(--color-icon-bold, #202939)
|
|
2708
2719
|
}
|
|
@@ -2,10 +2,19 @@ import { getAssetPath, h } from "@stencil/core";
|
|
|
2
2
|
export class GbCardIcon {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.icon = '';
|
|
5
|
+
this.leadingIconSvg = '';
|
|
6
|
+
}
|
|
7
|
+
async loadIcon(iconName) {
|
|
8
|
+
const iconPath = getAssetPath(`${iconName}`);
|
|
9
|
+
const response = await fetch(iconPath);
|
|
10
|
+
const svg = await response.text();
|
|
11
|
+
this.leadingIconSvg = svg;
|
|
12
|
+
}
|
|
13
|
+
componentWillLoad() {
|
|
14
|
+
this.loadIcon(this.icon);
|
|
5
15
|
}
|
|
6
16
|
render() {
|
|
7
|
-
|
|
8
|
-
return (h("div", { key: '0ddeec0af91be69b15cd3a6a9e4d1c67f6dfff3d', class: `card_icon_div ${this.color}` }, h("img", { key: '2db2f8459fe8a00480f699faac8b5208a52deccc', src: iconSrc, class: "icon", alt: "" })));
|
|
17
|
+
return (h("div", { key: '6317fd91801dd57364c8608ede4c3dc56ec90edb', class: `card_icon_div ${this.color}` }, h("div", { key: '05659a147df5666cd43f31c80e0285c68d3061ec', class: `icon_svg`, innerHTML: this.leadingIconSvg })));
|
|
9
18
|
}
|
|
10
19
|
static get is() { return "gb-card-icon"; }
|
|
11
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -68,5 +77,10 @@ export class GbCardIcon {
|
|
|
68
77
|
}
|
|
69
78
|
};
|
|
70
79
|
}
|
|
80
|
+
static get states() {
|
|
81
|
+
return {
|
|
82
|
+
"leadingIconSvg": {}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
71
85
|
}
|
|
72
86
|
//# sourceMappingURL=gb-card-icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-card-icon.js","sourceRoot":"","sources":["../../../src/components/gb-card-icon/gb-card-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"gb-card-icon.js","sourceRoot":"","sources":["../../../src/components/gb-card-icon/gb-card-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQxE,MAAM,OAAO,UAAU;IALvB;QAOU,SAAI,GAAW,EAAE,CAAC;QACjB,mBAAc,GAAW,EAAE,CAAC;KAoBtC;IAlBC,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,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,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAE,iBAAiB,IAAI,CAAC,KAAK,EAAE;YACvC,4DAAK,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ,CAC1D,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, State, getAssetPath, h } from '@stencil/core';\r\nimport { ColorTypes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-card-icon',\r\n styleUrl: 'gb-card-icon.css',\r\n shadow: true,\r\n})\r\nexport class GbCardIcon {\r\n @Prop() color: ColorTypes;\r\n @Prop() icon: string = '';\r\n @State() leadingIconSvg: string = '';\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.icon);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`card_icon_div ${this.color}`}>\r\n <div class={`icon_svg`} innerHTML={this.leadingIconSvg}></div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|