globuswebcomponents 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-avatar_30.cjs.entry.js +1326 -0
- package/dist/cjs/gb-avatar_30.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-close_2.cjs.entry.js +3 -3
- package/dist/cjs/gb-button-close_2.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-checkbox-group-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-header-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-notification-content.cjs.entry.js +2 -2
- package/dist/cjs/gb-notification-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
- package/dist/cjs/gb-rich-text.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
- package/dist/cjs/gb-scrollbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js +6 -6
- package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-tag.cjs.entry.js +2 -2
- package/dist/cjs/gb-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-toast-button.cjs.entry.js +2 -2
- package/dist/cjs/gb-toast-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-toast.cjs.entry.js +2 -2
- package/dist/cjs/gb-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-token-field.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/calendar-02.svg +6 -0
- package/dist/collection/assets/database-sync.svg +6 -0
- package/dist/collection/assets/search-01.svg +3 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +2 -0
- package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +2 -0
- package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +2 -0
- package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.css +2 -0
- package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.css +2 -0
- package/dist/collection/components/gb-badge-close/gb-badge-close.css +2 -0
- package/dist/collection/components/gb-badges/gb-badges.css +2 -0
- package/dist/collection/components/gb-btn/gb-btn.css +2 -0
- package/dist/collection/components/gb-button/gb-button.css +2 -0
- package/dist/collection/components/gb-button-close/gb-button-close.css +2 -0
- package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.css +2 -0
- package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.css +2 -0
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +2 -0
- package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +2 -0
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +2 -0
- package/dist/collection/components/gb-header-icon/gb-header-icon.css +2 -0
- package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.css +2 -0
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.css +2 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +2 -0
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +55 -3
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.css +2 -0
- package/dist/collection/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.css +2 -0
- package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.css +2 -0
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
- package/dist/collection/components/gb-notification-content/gb-notification-content.css +2 -0
- package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.css +2 -0
- package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
- package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.css +2 -0
- package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.css +2 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.css +2 -0
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
- package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
- package/dist/collection/components/gb-rich-text/gb-rich-text.css +2 -0
- package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.css +2 -0
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.css +2 -0
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +2 -0
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/{gb-sliders/slider.css → gb-slider/gb-slider.css} +3 -2
- package/dist/collection/components/{gb-sliders/slider.js → gb-slider/gb-slider.js} +4 -4
- package/dist/collection/components/gb-slider/gb-slider.js.map +1 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.css +2 -0
- package/dist/collection/components/gb-slider-control-handle/slider-control-handle.js +1 -1
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.css +2 -0
- package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +2 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.css +2 -0
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.css +2 -0
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.css +2 -0
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-tags/gb-tags.css +2 -0
- package/dist/collection/components/gb-tags/gb-tags.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.css +2 -0
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.css +2 -0
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.css +1613 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field/gb-token-field.css +2 -0
- package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.css +2 -0
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.css +2 -0
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/collection/global/global.css +2 -0
- package/dist/collection/global/tailwind.css +3 -0
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +6 -6
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +5 -5
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +4 -4
- package/dist/components/gb-avatar-profile-photo.js.map +1 -1
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge-close.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button-close.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-carousel-arrow.js +1 -1
- package/dist/components/gb-carousel-arrow.js.map +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +5 -5
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +5 -5
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +4 -4
- package/dist/components/gb-help-dropdown.js +2 -2
- package/dist/components/gb-help-dropdown.js.map +1 -1
- package/dist/components/gb-horizontal-tabs.js +7 -7
- package/dist/components/gb-horizontal-tabs.js.map +1 -1
- package/dist/components/gb-input-dropdown-menu-item.js +6 -6
- package/dist/components/gb-input-dropdown-menu-item.js.map +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +6 -6
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-megainput-field.js +1 -1
- package/dist/components/gb-notification-content.js +2 -2
- package/dist/components/gb-notification-content.js.map +1 -1
- package/dist/components/gb-notification-pane.js +3 -3
- package/dist/components/gb-notification-pane.js.map +1 -1
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-indicator.js +1 -1
- package/dist/components/gb-pagination-number-base.js +2 -2
- package/dist/components/gb-pagination-number-base.js.map +1 -1
- package/dist/components/gb-pagination.js +2 -2
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-progress-circle.js +1 -1
- package/dist/components/gb-rich-text.js +8 -8
- package/dist/components/gb-rich-text.js.map +1 -1
- package/dist/components/gb-scrollbar.js +2 -2
- package/dist/components/gb-scrollbar.js.map +1 -1
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +10 -10
- package/dist/components/gb-sidebar.js.map +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +5 -5
- package/dist/components/gb-slider.js.map +1 -1
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +8 -8
- package/dist/components/gb-tag.js.map +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +5 -5
- package/dist/components/gb-toast.js.map +1 -1
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field.js +3 -3
- package/dist/components/gb-token-field.js.map +1 -1
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +4 -4
- package/dist/components/gb-verification-code-field.js.map +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/p-050d09f9.js +113 -0
- package/dist/components/{p-c9629281.js.map → p-050d09f9.js.map} +1 -1
- package/dist/components/p-0a0ad4ac.js +48 -0
- package/dist/components/p-0a0ad4ac.js.map +1 -0
- package/dist/components/p-0b8ae984.js +39 -0
- package/dist/components/{p-a5850f8c.js.map → p-0b8ae984.js.map} +1 -1
- package/dist/components/p-18aeff75.js +39 -0
- package/dist/components/{p-b0d34887.js.map → p-18aeff75.js.map} +1 -1
- package/dist/components/p-1ce81266.js +116 -0
- package/dist/components/{p-ab92fc3c.js.map → p-1ce81266.js.map} +1 -1
- package/dist/components/p-26d1508d.js +45 -0
- package/dist/components/{p-824a17f3.js.map → p-26d1508d.js.map} +1 -1
- package/dist/components/p-32cf95f6.js +50 -0
- package/dist/components/{p-a9afcddd.js.map → p-32cf95f6.js.map} +1 -1
- package/dist/components/{p-ca6140dc.js → p-33270ed1.js} +3 -3
- package/dist/components/{p-ca6140dc.js.map → p-33270ed1.js.map} +1 -1
- package/dist/components/p-3443c3f7.js +117 -0
- package/dist/components/{p-d9e59617.js.map → p-3443c3f7.js.map} +1 -1
- package/dist/components/p-505ec120.js +41 -0
- package/dist/components/{p-0e1ec56d.js.map → p-505ec120.js.map} +1 -1
- package/dist/components/p-51563d86.js +44 -0
- package/dist/components/{p-8907e475.js.map → p-51563d86.js.map} +1 -1
- package/dist/components/p-521d1e30.js +79 -0
- package/dist/components/{p-ae666b1f.js.map → p-521d1e30.js.map} +1 -1
- package/dist/components/p-5a30e92a.js +64 -0
- package/dist/components/{p-5fbe4056.js.map → p-5a30e92a.js.map} +1 -1
- package/dist/components/p-6456c2f6.js +46 -0
- package/dist/components/{p-fbcd8aaf.js.map → p-6456c2f6.js.map} +1 -1
- package/dist/components/p-6a2dde96.js +113 -0
- package/dist/components/{p-4266561a.js.map → p-6a2dde96.js.map} +1 -1
- package/dist/components/p-7038f5ff.js +61 -0
- package/dist/components/{p-54cefcf0.js.map → p-7038f5ff.js.map} +1 -1
- package/dist/components/p-70cd54be.js +37 -0
- package/dist/components/{p-4d306827.js.map → p-70cd54be.js.map} +1 -1
- package/dist/components/p-770f942f.js +37 -0
- package/dist/components/{p-58b75242.js.map → p-770f942f.js.map} +1 -1
- package/dist/components/p-974cf2ad.js +162 -0
- package/dist/components/{p-caca69ed.js.map → p-974cf2ad.js.map} +1 -1
- package/dist/components/{p-dc7db1b5.js → p-a20e5d99.js} +2 -2
- package/dist/components/{p-dc7db1b5.js.map → p-a20e5d99.js.map} +1 -1
- package/dist/components/p-a9f11ab9.js +58 -0
- package/dist/components/{p-9dc84aa6.js.map → p-a9f11ab9.js.map} +1 -1
- package/dist/components/p-b308ddea.js +54 -0
- package/dist/components/{p-9517c064.js.map → p-b308ddea.js.map} +1 -1
- package/dist/components/p-b5b89bdb.js +113 -0
- package/dist/components/{p-d78d8fa1.js.map → p-b5b89bdb.js.map} +1 -1
- package/dist/components/p-bbec4384.js +69 -0
- package/dist/components/{p-ce25eb27.js.map → p-bbec4384.js.map} +1 -1
- package/dist/components/p-c9ed3f92.js +55 -0
- package/dist/components/{p-123cdd06.js.map → p-c9ed3f92.js.map} +1 -1
- package/dist/components/p-d0c330f1.js +105 -0
- package/dist/components/p-d0c330f1.js.map +1 -0
- package/dist/components/p-d44e0bc8.js +87 -0
- package/dist/components/{p-52c1516b.js.map → p-d44e0bc8.js.map} +1 -1
- package/dist/components/p-df6f1225.js +63 -0
- package/dist/components/{p-68ac53d7.js.map → p-df6f1225.js.map} +1 -1
- package/dist/components/p-e7f6201a.js +50 -0
- package/dist/components/{p-a20359a2.js.map → p-e7f6201a.js.map} +1 -1
- package/dist/components/p-eaec40a3.js +142 -0
- package/dist/components/{p-b59eb748.js.map → p-eaec40a3.js.map} +1 -1
- package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
- package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js.map +1 -1
- package/dist/esm/gb-avatar_30.entry.js +1293 -0
- package/dist/esm/gb-avatar_30.entry.js.map +1 -0
- package/dist/esm/gb-button-close_2.entry.js +3 -3
- package/dist/esm/gb-button-close_2.entry.js.map +1 -1
- package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
- package/dist/esm/gb-checkbox-group-item.entry.js.map +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js.map +1 -1
- package/dist/esm/gb-header-icon.entry.js +1 -1
- package/dist/esm/gb-header-icon.entry.js.map +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js.map +1 -1
- package/dist/esm/gb-notification-content.entry.js +2 -2
- package/dist/esm/gb-notification-content.entry.js.map +1 -1
- package/dist/esm/gb-progress-circle.entry.js +1 -1
- package/dist/esm/gb-rich-text.entry.js +2 -2
- package/dist/esm/gb-rich-text.entry.js.map +1 -1
- package/dist/esm/gb-scrollbar.entry.js +2 -2
- package/dist/esm/gb-scrollbar.entry.js.map +1 -1
- package/dist/esm/gb-tag-checkbox_3.entry.js +6 -6
- package/dist/esm/gb-tag-checkbox_3.entry.js.map +1 -1
- package/dist/esm/gb-tag.entry.js +2 -2
- package/dist/esm/gb-tag.entry.js.map +1 -1
- package/dist/esm/gb-toast-button.entry.js +2 -2
- package/dist/esm/gb-toast-button.entry.js.map +1 -1
- package/dist/esm/gb-toast.entry.js +2 -2
- package/dist/esm/gb-toast.entry.js.map +1 -1
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field.entry.js +2 -2
- package/dist/esm/gb-token-field.entry.js.map +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/globuscomponents/assets/calendar-02.svg +6 -0
- package/dist/globuscomponents/assets/database-sync.svg +6 -0
- package/dist/globuscomponents/assets/search-01.svg +3 -0
- package/dist/globuscomponents/global/global.css +2 -0
- package/dist/globuscomponents/global/tailwind.css +3 -0
- package/dist/globuscomponents/globuscomponents.css +1612 -3
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/p-00948caf.entry.js +2 -0
- package/dist/globuscomponents/{p-d8c473cb.entry.js.map → p-00948caf.entry.js.map} +1 -1
- package/dist/globuscomponents/p-0232a8f9.entry.js +2 -0
- package/dist/globuscomponents/{p-e1a6214b.entry.js.map → p-0232a8f9.entry.js.map} +1 -1
- package/dist/globuscomponents/p-0d94c620.entry.js +2 -0
- package/dist/globuscomponents/{p-cb0453d8.entry.js.map → p-0d94c620.entry.js.map} +1 -1
- package/dist/globuscomponents/p-2378eed7.entry.js +2 -0
- package/dist/globuscomponents/{p-5831017c.entry.js.map → p-2378eed7.entry.js.map} +1 -1
- package/dist/globuscomponents/p-2b72d966.entry.js +2 -0
- package/dist/globuscomponents/{p-add9ec72.entry.js.map → p-2b72d966.entry.js.map} +1 -1
- package/dist/globuscomponents/p-34a50ac8.entry.js +2 -0
- package/dist/globuscomponents/{p-48ddf6c1.entry.js.map → p-34a50ac8.entry.js.map} +1 -1
- package/dist/globuscomponents/p-37bbc2bf.entry.js +2 -0
- package/dist/globuscomponents/{p-115ac3f1.entry.js.map → p-37bbc2bf.entry.js.map} +1 -1
- package/dist/globuscomponents/p-41392209.entry.js +2 -0
- package/dist/globuscomponents/{p-bd2d9236.entry.js.map → p-41392209.entry.js.map} +1 -1
- package/dist/globuscomponents/p-42fb642f.entry.js +2 -0
- package/dist/globuscomponents/{p-cd91a716.entry.js.map → p-42fb642f.entry.js.map} +1 -1
- package/dist/globuscomponents/p-598cae99.entry.js +2 -0
- package/dist/globuscomponents/{p-5d5b638e.entry.js.map → p-598cae99.entry.js.map} +1 -1
- package/dist/globuscomponents/p-727bfde6.entry.js +2 -0
- package/dist/globuscomponents/{p-4f6eebab.entry.js.map → p-727bfde6.entry.js.map} +1 -1
- package/dist/globuscomponents/p-7a7cdc5c.entry.js +2 -0
- package/dist/globuscomponents/{p-01b163c6.entry.js.map → p-7a7cdc5c.entry.js.map} +1 -1
- package/dist/globuscomponents/p-8232dd40.entry.js +2 -0
- package/dist/globuscomponents/p-977caa46.entry.js +2 -0
- package/dist/globuscomponents/{p-3f77703d.entry.js.map → p-977caa46.entry.js.map} +1 -1
- package/dist/globuscomponents/p-a4616462.entry.js +2 -0
- package/dist/globuscomponents/{p-5cc60ae0.entry.js.map → p-a4616462.entry.js.map} +1 -1
- package/dist/globuscomponents/p-a495b1f4.entry.js +2 -0
- package/dist/globuscomponents/{p-3db54b6b.entry.js.map → p-a495b1f4.entry.js.map} +1 -1
- package/dist/globuscomponents/p-c69ca52b.entry.js +2 -0
- package/dist/globuscomponents/{p-1dc90024.entry.js.map → p-c69ca52b.entry.js.map} +1 -1
- package/dist/globuscomponents/p-d09361d9.entry.js +2 -0
- package/dist/globuscomponents/{p-c5541a8c.entry.js.map → p-d09361d9.entry.js.map} +1 -1
- package/dist/globuscomponents/p-d4fb5171.entry.js +2 -0
- package/dist/globuscomponents/{p-08a4f9a7.entry.js.map → p-d4fb5171.entry.js.map} +1 -1
- package/dist/globuscomponents/p-e3be2b4c.entry.js +2 -0
- package/dist/globuscomponents/p-e631fbd1.entry.js +2 -0
- package/dist/globuscomponents/{p-badef09e.entry.js.map → p-e631fbd1.entry.js.map} +1 -1
- package/dist/globuscomponents/p-fbb87662.entry.js +2 -0
- package/dist/globuscomponents/p-fbb87662.entry.js.map +1 -0
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +5 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +9 -6
- package/dist/cjs/gb-avatar_24.cjs.entry.js +0 -1022
- package/dist/cjs/gb-avatar_24.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-collapse-button_2.cjs.entry.js +0 -90
- package/dist/cjs/gb-collapse-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-sidebar.cjs.entry.js +0 -89
- package/dist/cjs/gb-sidebar.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js +0 -38
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-slider.cjs.entry.js +0 -77
- package/dist/cjs/gb-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-tooltip.cjs.entry.js +0 -39
- package/dist/cjs/gb-tooltip.cjs.entry.js.map +0 -1
- package/dist/collection/components/gb-sliders/slider.js.map +0 -1
- package/dist/components/p-0e1ec56d.js +0 -41
- package/dist/components/p-123cdd06.js +0 -55
- package/dist/components/p-4266561a.js +0 -113
- package/dist/components/p-4d306827.js +0 -37
- package/dist/components/p-52c1516b.js +0 -87
- package/dist/components/p-54cefcf0.js +0 -61
- package/dist/components/p-58b75242.js +0 -37
- package/dist/components/p-5fbe4056.js +0 -64
- package/dist/components/p-62acd290.js +0 -48
- package/dist/components/p-62acd290.js.map +0 -1
- package/dist/components/p-68ac53d7.js +0 -63
- package/dist/components/p-824a17f3.js +0 -45
- package/dist/components/p-8907e475.js +0 -44
- package/dist/components/p-9517c064.js +0 -54
- package/dist/components/p-9dc84aa6.js +0 -58
- package/dist/components/p-a20359a2.js +0 -50
- package/dist/components/p-a5850f8c.js +0 -39
- package/dist/components/p-a7510c0c.js +0 -91
- package/dist/components/p-a7510c0c.js.map +0 -1
- package/dist/components/p-a9afcddd.js +0 -50
- package/dist/components/p-ab92fc3c.js +0 -116
- package/dist/components/p-ae666b1f.js +0 -79
- package/dist/components/p-b0d34887.js +0 -39
- package/dist/components/p-b59eb748.js +0 -142
- package/dist/components/p-c9629281.js +0 -113
- package/dist/components/p-caca69ed.js +0 -162
- package/dist/components/p-ce25eb27.js +0 -69
- package/dist/components/p-d78d8fa1.js +0 -113
- package/dist/components/p-d9e59617.js +0 -117
- package/dist/components/p-fbcd8aaf.js +0 -46
- package/dist/esm/gb-avatar_24.entry.js +0 -995
- package/dist/esm/gb-avatar_24.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button_2.entry.js +0 -85
- package/dist/esm/gb-collapse-button_2.entry.js.map +0 -1
- package/dist/esm/gb-sidebar.entry.js +0 -85
- package/dist/esm/gb-sidebar.entry.js.map +0 -1
- package/dist/esm/gb-slider-control-handle.entry.js +0 -34
- package/dist/esm/gb-slider-control-handle.entry.js.map +0 -1
- package/dist/esm/gb-slider.entry.js +0 -73
- package/dist/esm/gb-slider.entry.js.map +0 -1
- package/dist/esm/gb-tooltip.entry.js +0 -35
- package/dist/esm/gb-tooltip.entry.js.map +0 -1
- package/dist/globuscomponents/p-01b163c6.entry.js +0 -2
- package/dist/globuscomponents/p-0852d5c0.entry.js +0 -2
- package/dist/globuscomponents/p-08a4f9a7.entry.js +0 -2
- package/dist/globuscomponents/p-115ac3f1.entry.js +0 -2
- package/dist/globuscomponents/p-19c4ab3c.entry.js +0 -2
- package/dist/globuscomponents/p-19c4ab3c.entry.js.map +0 -1
- package/dist/globuscomponents/p-1dc90024.entry.js +0 -2
- package/dist/globuscomponents/p-2fd5fb80.entry.js +0 -2
- package/dist/globuscomponents/p-2fd5fb80.entry.js.map +0 -1
- package/dist/globuscomponents/p-3db54b6b.entry.js +0 -2
- package/dist/globuscomponents/p-3f77703d.entry.js +0 -2
- package/dist/globuscomponents/p-48ddf6c1.entry.js +0 -2
- package/dist/globuscomponents/p-4f6eebab.entry.js +0 -2
- package/dist/globuscomponents/p-5831017c.entry.js +0 -2
- package/dist/globuscomponents/p-5a5446cc.entry.js +0 -2
- package/dist/globuscomponents/p-5a5446cc.entry.js.map +0 -1
- package/dist/globuscomponents/p-5cc60ae0.entry.js +0 -2
- package/dist/globuscomponents/p-5d5b638e.entry.js +0 -2
- package/dist/globuscomponents/p-668477e1.entry.js +0 -2
- package/dist/globuscomponents/p-668477e1.entry.js.map +0 -1
- package/dist/globuscomponents/p-add9ec72.entry.js +0 -2
- package/dist/globuscomponents/p-badef09e.entry.js +0 -2
- package/dist/globuscomponents/p-bd2d9236.entry.js +0 -2
- package/dist/globuscomponents/p-c5541a8c.entry.js +0 -2
- package/dist/globuscomponents/p-cb0453d8.entry.js +0 -2
- package/dist/globuscomponents/p-cd91a716.entry.js +0 -2
- package/dist/globuscomponents/p-d8c473cb.entry.js +0 -2
- package/dist/globuscomponents/p-e1a6214b.entry.js +0 -2
- package/dist/globuscomponents/p-e5b5bd25.entry.js +0 -2
- package/dist/globuscomponents/p-e7f12305.entry.js +0 -2
- package/dist/globuscomponents/p-e7f12305.entry.js.map +0 -1
- package/dist/globuscomponents/p-f65671f1.entry.js +0 -2
- package/dist/globuscomponents/p-f65671f1.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-0852d5c0.entry.js.map → p-8232dd40.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e5b5bd25.entry.js.map → p-e3be2b4c.entry.js.map} +0 -0
- /package/dist/types/components/{gb-sliders/slider.d.ts → gb-slider/gb-slider.d.ts} +0 -0
|
@@ -8,7 +8,7 @@ export class GbPagination {
|
|
|
8
8
|
this.totalPages = 10;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'c271801bc1500d5242e60049e300a79251cfea6b', class: `pagination_div ${this.type} ${this.breakpoint}` }, this.type === 'page_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '4d7ce945abe7aefec7c50721b25e007e15f858ca', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: 'f73950197ff695f1d1fd42b0a163262b9d85eeb3' }, "Previous")), h("gb-button", { key: 'a255eb4aac03512971b522795a433fc91d7c1425', size: "sm", hierarchy: "tertiary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '45697ea1d5e63d8bf5cf21d9a0bd7440726eafda' }, "Next")))), this.type === 'page_minimal_center_aligned' && this.breakpoint === 'desktop' && (h(Fragment, null, h("gb-button", { key: '216883cf761a47ffb9525de618ebe24ca58e4052', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }, h("p", { key: '505827729e7d48003fa90ec1d8ace6939a1adde1' }, "Previous")), h("gb-button", { key: '3d492d21fda841b5f366863cc357f5b86eb61af9', size: "sm", hierarchy: "secondary_gray", icon: "default", state: "default", "icon-trailing": true, "icon-trailing-swap": "assets/arrow-right-02.svg" }, h("p", { key: '8c8c65e0bea3479bade1e781174f5d48a1849582' }, "Next")))), this.type === 'card_default' && this.breakpoint === 'desktop' && (h(Fragment, null, h("div", { key: '346ed752b618816de9e84484603bc165c49d4c52', class: "entries" }, "Entries"), h("div", { key: 'cdf977d846bd780b0ac43dc7b7634592b36be91f', class: "page_numbers" }), h("div", { key: 'de1a552e58345500ddc4332c8b784b6c352a062a', class: "buttons" }, h("gb-button", { key: '572621303dc4d6499e114ebe0d9ce825245b04f4', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("gb-button", { key: 'e372d3d1094514fdf8add0246dfdc2a98f8bd293', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))), this.type === 'page_default' && this.breakpoint === 'mobile' && (h(Fragment, null, h("gb-button", { key: '80d042623c3bb7e382535bdbf0d94ac2a1205e4b', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-left-02.svg" }), h("div", { key: 'af96036f4ae460093b8f4d434f73fcef16ecb0ef', class: "page_number_text" }, h("p", { key: '0100ef348126fb4fff54e87aa36424e6c5a5a027', class: "text-sm-medium" }, "Page ", this.currentPage, " of ", this.totalPages)), h("gb-button", { key: '4a2c5cc816297ca3173b0de8812d92fb0ea20ca2', size: "sm", hierarchy: "secondary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/arrow-right-02.svg" })))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-pagination"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class GbPaginationButtonGroupBase {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '8b0f210b8838bf5e9be570a92c2458a36dab1ccc', class: `button_base_div ${this.icon}` }, this.icon === 'false' && h("slot", { key: '1375b00383781e362db42c6e58d78abc62832513' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: 'd066122def718f652826dfb3c8a2d9dd671e37f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e91d6691833fa7319bbef65ef3a690aa2120c9ee', d: "M3.33325 9.99981H16.6666M3.33325 9.99981C3.33326 11.0978 7.49975 14.1667 7.49975 14.1667M3.33325 9.99981C3.33324 8.90182 7.49978 5.83334 7.49978 5.83334", stroke: "#4B5565", "stroke-width": "1.67", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("slot", { key: '9b8ef0c4872011a7e1bf6a973aa9b5afb0e57a3e' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: '97e000d4704f501d125df637c0f2d92819a3ae2f' }), this.iconTrailing && (h("svg", { key: 'cfc585ceb35cd872ae36b35017d4aacf5e6d3a7c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f895e9154ea9b11a576f502f456701d16bff37e9', d: "M16.6668 9.99984H3.3335M16.6668 9.99984C16.6668 11.0978 12.5003 14.1667 12.5003 14.1667M16.6668 9.99984C16.6669 8.90185 12.5002 5.83337 12.5002 5.83337", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "gb-pagination-button-group-base"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js
CHANGED
|
@@ -6,7 +6,7 @@ export class GbPaginationDotIndicator {
|
|
|
6
6
|
this.size = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return h("div", { key: '
|
|
9
|
+
return h("div", { key: 'e2dae48608f0ba5128161094ab7096abf2513bcf', class: `dot_indicator_div
|
|
10
10
|
${this.type} ${this.current ? 'current' : ''}
|
|
11
11
|
${this.size}` });
|
|
12
12
|
}
|
|
@@ -10,7 +10,7 @@ export class GbPaginationNumberBase {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: 'a7b2d380db2faa6183922b45ba7178ccd9f0c072', class: `page_number_base ${this.shape}` }, h("slot", { key: '6efbe5cb828cb01d31559206a7cede9f12f75322', name: "page_number" })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "gb-pagination-number-base"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class GbPasswordButton {
|
|
|
8
8
|
this.isPasswordVisible = !this.isPasswordVisible;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '022278709f158ef63ff91d61a63155bd26c28982' }, h("gb-btn", { key: 'e704b0d1eed74fd0374212aedb197067c10fc844', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "link_gray", icon: "default", state: this.state }, h("p", null, "SHOW"))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-password-button"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,7 +8,7 @@ export class GbProgressBar {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const progressValue = Math.min(Math.max(this.progress, 0), 100);
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '066e19056d05c49ea14271c6004a46ab7b5f5975', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: '063b7b8e693e06b8634a0711d63aa45c92a0f22f', class: "progress_bar" }, h("div", { key: '768bf7aa1e5217ef4de7b299bcb40ba6df4ac1d2', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: 'a71ae8a33f22109ef270a5d6d3336c602d3e6172', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: '78cccdd75fe4acff676161c031800e40ee5d4d07', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: '4ffed8426877b8143eedf6192247393b857e95e6', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: '595eabdff9ed33db58e2043bc82f36b312ae70de', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: '67343c936a2c8273760b65a79a1558fa678acdd2', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '3aeec0275ef4f0fa490014d0b1613a6b7c71a1a1', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: '8a78ca11a2ffeebf6d85cfd0aedbbcfde8af057b', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "gb-progress-bar"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class GbProgressCircle {
|
|
|
7
7
|
this.progress = 0;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '5d582794c9723e4730c695f8570f86c98e051e8b', class: "progress" }, h("svg", { key: 'ab65e31443f01b2cbc86cd5eab7fe731fb23f4e7', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: 'fa0d6301c815f05b889ec05a2a8cd582d32468c5', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), h("circle", { key: 'f43b56f0c0fe8738412cfed4c2342019dcb9284b', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), h("div", { key: '71956313b4a280f29f9f20ae7af6089b0a3b4ea2', class: "progress-text", "data-progress": "0" }, "50%")));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "gb-progress-circle"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class GbRichText {
|
|
|
15
15
|
destructive: this.destructive,
|
|
16
16
|
disabled: this.state === 'disabled'
|
|
17
17
|
};
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: 'd1cef80768656294fc4bf24bfd97cdaf95695b84', class: classes }, h("div", { key: '5d87735a2debb589983faffbf66a3ee3fda2caf5', class: "input-with-label" }, h("label", { key: '0b0c61efc87b82eaf1005640c2c11a3eb4c68aca' }, this.label), h("div", { key: '38ff7e2bc99455589c01db0bada6cd5f0bf214d3', class: "input-container" }, h("div", { key: 'de6f44718eab2c151a5b5a86f7e0d8330fc17952', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '533bd6772a6e34db9499be66e4422a3141a4267c', breakpoint: "desktop", bold: true, italic: true, h1: true, h2: true, quote: true, link: true, image: true, bulletList: true, numberList: true })), this.destructive && (h("span", { key: '05493c61bba30206dd8b09f5a03dfccdd1b34278', class: "error-icon" }, h("svg", { key: '590400be813d846f578146dde25cf1d050a2d3e1', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '8b680dc4fea6ccca70a5b970f33d7401c39a45a2', d: "M7.99483 10H8.00081M8.00016 8V5.33333M14.6668 8C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667C4.31826 14.6667 1.3335 11.6819 1.3335 8C1.3335 4.3181 4.31826 1.33333 8.00016 1.33333C11.6821 1.33333 14.6668 4.3181 14.6668 8Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '93456fd2f7c4e237c13050a8ce7cdc68cfea5ef4', class: "text-container" }, h("textarea", { key: 'cdde534cb81d73cfb1a98e0eaa9e4f5e8c48d22c' }, this.showPlaceholder && (h("div", { key: '84fc396fa537d30aecce919020e4695ff79fb854' }, this.placeholder)))))), this.showHintText && (h("div", { key: 'f0b5b4bf480e2a864db1e166b3e89b5253f9f04e', class: "hint-text" }, this.hintText))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "gb-rich-text"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class GbScrollbar {
|
|
|
4
4
|
this.length = '25%';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '5ce943c35ad0720890eaa1c09bb7229d3d17e280', class: "scrollbar-container" }, h("div", { key: '872f65bc8812ac5db32dd8032ebbde52cecfc5d0', class: "scrollbar", style: { height: this.length } }, h("slot", { key: '5b1b62a89c3ee663c506d76d2bbfa25ba8d49f2c' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-scrollbar"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class GbSideBarItem {
|
|
|
33
33
|
render() {
|
|
34
34
|
const redBarSrc = getAssetPath(`assets/bar.svg`);
|
|
35
35
|
const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '2211fcac018121c2b60e19211ed4feb0000c9ead', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '3462a6fd13d63d14bc096a92372895b76f82a0f2', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: '587713069fe9d0121c801f51860da7cf064cd024', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '8318b623008060a48372b19bf18e6e18c9c66f56', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: 'ee346c6d96198277ce90dbe721a8156b69c41469', class: "content" }, h("div", { key: '34098ee271d6179510645efdf5f9ac4b8baccc9f', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '19e49b4d21674666eae44f6a193ac249e04492e9', class: `label_text ${this.category} ${this.state} ${this.state === 'active' ? 'text-md-semi-bold' : 'text-md-medium'}` }, this.label))), this.type === 'full_with_label' && (h(Fragment, null, this.showBadge && (h("gb-badge", { key: 'b2fde4f176e2921a58fef3d454652d54c0d4078b', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: 'baf288610f40cf92f18e7f23ffbbb6798f90472f' }, "10"))), this.showArrow && (h("svg", { key: '42fefce38fd37bdbe804abcc17f280c0677504e3', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `arrow ${this.state} ${this.category}` }, h("path", { key: '9effd8a883c4bba85e88d8a67a1e13b35b220bb0', d: "M6.00003 4C6.00003 4 9.99999 6.94596 10 8.00003C10 9.05411 6 12 6 12", stroke: "#212C65", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), this.type === 'icon_only' && this.showTooltip && (h("gb-tooltip", { key: '7b900b0a5e76effb42751cc3443373ec5e920814', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: 'f6af42bddf7c3c781b2cdd3dd2acefe53e325d4b', slot: "label" }, this.label)))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "gb-side-bar-item"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -68,7 +68,7 @@ export class GbSidebar {
|
|
|
68
68
|
const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
|
|
69
69
|
const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
|
|
70
70
|
const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: 'f89f471c1f3e1cc8d1e2dac3849f0c8d700cad71', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: '1565f92b127d8564088b5033cef4a12af74b4962', class: "pattern" }, h("img", { key: '474c63bc04ba86d7e54cc1a0720220edff30c96c', src: patternSrc, alt: "" }))), h("div", { key: '62a4728450a5e9049bc6a8e945736d0f3f979fdd', class: "nav" }, h("div", { key: '138262837759f0d3bdd367ed2efae0f416d2e8fb', class: `sidebar_header ${this.state}` }, h("div", { key: '4af4ec91c8ad36f6fa7f0a59f1c157cc4aa17a20', class: `logo_and_name ${this.state}` }, this.state === 'expanded' && h(Fragment, null, this.category === 'plain_background' ? h("img", { src: blueLogoSrc }) : h("img", { src: whiteLogoSrc })), this.state === 'collapsed' && h("img", { key: 'c56ad9d914bc687ef97a2ee6fa60bd0e67bcf39a', src: logoSrc, alt: "" })), h("div", { key: '8c23be3716e1f88d74b3af23f478adb00cd9d9ab', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'da4a40ad4b41491af8b5a78ae1c7ae2414831f3a', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: 'e353fa03a5679c763d5f6316412adb0012f2b8bb', class: "navigation" }, h("div", { key: '2cd6bee7942def05a7f7ad3b0574b74acc4f951d', class: "item" }, h("gb-side-bar-item", { key: '6462c2a3fb8ba20cd67b6a0ee8e7336d48e70817', state: this.activeIndex === 0 ? 'active' : 'default', icon: this.firstItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(0), label: this.firstItemLabel }), h("gb-side-bar-item", { key: 'c56c7e252eea4f08e1d4411c9a16a2488381f963', state: this.activeIndex === 1 ? 'active' : 'default', icon: this.secondItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(1), label: this.secondItemLabel }), this.thirdItemLabel && (h("gb-side-bar-item", { key: '2b3e09c3eead75410c2c73093a9c49a78b215908', state: this.activeIndex === 2 ? 'active' : 'default', icon: this.thirdItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(2), label: this.thirdItemLabel })), this.fourthItemLabel && (h("gb-side-bar-item", { key: 'd54072b2c64a8ca86b5a6f28cf8751cd70de52bd', state: this.activeIndex === 3 ? 'active' : 'default', icon: this.fourthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(3), label: this.fourthItemLabel })), this.fifthItemLabel && (h("gb-side-bar-item", { key: 'c495ead399edb57485c818e70100feb62d72c07e', state: this.activeIndex === 4 ? 'active' : 'default', icon: this.fifthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(4), label: this.fifthItemLabel })))), this.showSecondCategory && (h("div", { key: 'a8df03395ad2e7b9eaef98da338382c59c6019e4', class: "navigation" }, h("div", { key: '07b2b173e6667931066584835bfe1854597d968a', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: 'fae9dd4fc5fc6f7d63ce8f8ee2966af46df80004', state: this.activeIndex === 5 ? 'active' : 'default', icon: this.sixthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(5), label: this.sixthItemLabel })), this.seventhItemLabel && (h("gb-side-bar-item", { key: '046594d2f9609abe6158a462b1daff497658df9f', state: this.activeIndex === 6 ? 'active' : 'default', icon: this.seventhItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(6), label: this.seventhItemLabel })), this.eighthItemLabel && (h("gb-side-bar-item", { key: '188b80007455527bacccf9ed2f4e73bede863d7f', state: this.activeIndex === 7 ? 'active' : 'default', icon: this.eighthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(7), label: this.eighthItemLabel })), this.ninthItemLabel && (h("gb-side-bar-item", { key: 'af258c6c86b162683d6bc6a781ee1f58c85cdb0a', state: this.activeIndex === 8 ? 'active' : 'default', icon: this.ninthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(8), label: this.ninthItemLabel })), this.tenthItemLabel && (h("gb-side-bar-item", { key: '9d91ce6bb599549ba8b49f17b7f30dfa0a0ad245', state: this.activeIndex === 9 ? 'active' : 'default', icon: this.tenthItemIcon, category: this.category, type: this.state === 'collapsed' ? 'icon_only' : 'full_with_label', onClick: () => this.sideBarItemClicked(9), label: this.tenthItemLabel })))))), this.state === 'expanded' && (h("div", { key: '8eef3ad39166b698c8e3407a21e466d9eec2ef13', class: "application_name" }, h("div", { key: 'd060788006c7552593bc7347f3f1b835c8804c1f', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '1f6a82c13830cfb8edbb9db2fecb93f9fef9e2cb', class: "application_name_pattern" }, h("img", { key: '97858ed7a8851d0f70e0dac5f6369a40c607d664', src: patternSrc, alt: "" }))), h("div", { key: '5f842a860f88d85586e124b2d730e7e61f3bffbe', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '5b76f0215c279406666739755c022128e5e23b6f', class: textClass }, h("slot", { key: '46f03b276e531c8a5c6ecf824b7d8a8a32a55317', name: "application_name" })))))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "gb-sidebar"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* @import 'tailwind.css'; */
|
|
2
|
+
|
|
1
3
|
:root {
|
|
2
4
|
/* --------------------------------------Primary Colors--------------------------------------------- */
|
|
3
5
|
/* base color palette */
|
|
@@ -2150,7 +2152,6 @@
|
|
|
2150
2152
|
|
|
2151
2153
|
:host {
|
|
2152
2154
|
display: block;
|
|
2153
|
-
width: 320px;
|
|
2154
2155
|
height: 4px;
|
|
2155
2156
|
padding: 20px;
|
|
2156
2157
|
cursor: pointer;
|
|
@@ -2158,7 +2159,7 @@
|
|
|
2158
2159
|
|
|
2159
2160
|
.slider-container {
|
|
2160
2161
|
position: relative;
|
|
2161
|
-
width:
|
|
2162
|
+
width: 100%;
|
|
2162
2163
|
height: 8px;
|
|
2163
2164
|
background-color: #e0e0e0;
|
|
2164
2165
|
border-radius: var(--rounded-xs);
|
|
@@ -56,18 +56,18 @@ export class GbSlider {
|
|
|
56
56
|
this.trackEl.style.width = `${rightPos - leftPos}%`;
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'a37677a3d2acf3783ed73cad4f6da56f272663c3', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '2eb67030edbc5675f24cdc381979cfb0bb8cc197', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: 'def93324666541bdfa1229b172cbc38326d8eba8', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '093a84a052b512da38f105a2d0f9c672f71521ad', class: "right", value: this.rightValue, type: this.thumbType, style: { left: `${this.rightValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'right') })));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "gb-slider"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
63
63
|
static get originalStyleUrls() {
|
|
64
64
|
return {
|
|
65
|
-
"$": ["slider.css"]
|
|
65
|
+
"$": ["gb-slider.css"]
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
static get styleUrls() {
|
|
69
69
|
return {
|
|
70
|
-
"$": ["slider.css"]
|
|
70
|
+
"$": ["gb-slider.css"]
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
static get properties() {
|
|
@@ -154,4 +154,4 @@ export class GbSlider {
|
|
|
154
154
|
}
|
|
155
155
|
static get elementRef() { return "el"; }
|
|
156
156
|
}
|
|
157
|
-
//# sourceMappingURL=slider.js.map
|
|
157
|
+
//# sourceMappingURL=gb-slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-slider.js","sourceRoot":"","sources":["../../../src/components/gb-slider/gb-slider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAgB,CAAC,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxF,MAAM,OAAO,QAAQ;;QAcX,eAAU,GAAY,KAAK,CAAC;QAC5B,gBAAW,GAA4B,IAAI,CAAC;QAE5C,eAAU,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;QAQ1C,oBAAe,GAAG,CAAC,EAAc,EAAE,KAAuB,EAAE,EAAE;YAC5D,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;YACzB,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;YAC7D,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3D,CAAC,CAAA;QAED,oBAAe,GAAG,CAAC,CAAa,EAAE,EAAE;YAClC,IAAI,CAAC,IAAI,CAAC,UAAU;gBAAE,OAAO;YAE7B,sEAAsE;YACtE,MAAM,QAAQ,GAAG,CAAC,CAAC,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC;YAE1D,6FAA6F;YAC7F,MAAM,KAAK,GAAG,IAAI,CAAC,oBAAoB,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;YAExD,wCAAwC;YACxC,IAAI,IAAI,CAAC,WAAW,KAAK,MAAM,EAAE,CAAC;gBAChC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC,CAAC;YACzD,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC,CAAC;YACzD,CAAC;YAED,yDAAyD;YACzD,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QAC1E,CAAC,CAAA;QAED,kBAAa,GAAG,GAAG,EAAE;YACnB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;YACxB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YACxB,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;YAChE,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAC9D,CAAC,CAAA;mBAvDqB,CAAC;mBACD,GAAG;yBACe,MAAM;yBAEjB,CAAC;0BACA,GAAG;;IAWjC,gBAAgB;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC1D,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;QACzE,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAqCD,oBAAoB,CAAC,KAAa;QAChC,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAC3C,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAC9D,CAAC;IACJ,CAAC;IAED,WAAW;QACT,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC;QAEjC,2EAA2E;QAC3E,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,OAAO,GAAG,CAAC;QACxC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,QAAQ,GAAG,OAAO,GAAG,CAAC;IACtD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,kBAAkB,EAAC,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,GAAG,EAAoB;YAChF,4DAAK,KAAK,EAAC,OAAO,EAAC,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,GAAG,EAAoB,GAAQ;YAE3E,iFACE,KAAK,EAAC,MAAM,EACZ,KAAK,EAAE,IAAI,CAAC,SAAS,EACrB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,SAAS,GAAG,EAAE,EACrC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,CAAC,GACzB;YAE5B,iFACE,KAAK,EAAC,OAAO,EACb,KAAK,EAAE,IAAI,CAAC,UAAU,EACtB,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,UAAU,GAAG,EAAE,EACtC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC,GAC1B,CACxB,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, State, Event, EventEmitter, h, Element } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-slider',\r\n styleUrl: 'gb-slider.css',\r\n shadow: true,\r\n})\r\nexport class GbSlider {\r\n @Element() el: HTMLElement;\r\n\r\n @Prop() min: number = 0; \r\n @Prop() max: number = 100; \r\n @Prop() thumbType: 'text' | 'tooltip' = 'text'; \r\n\r\n @State() leftValue: number = 0; \r\n @State() rightValue: number = 100; \r\n\r\n @Event() valueChange: EventEmitter<{ left: number; right: number }>;\r\n\r\n private trackEl: HTMLDivElement; \r\n private containerEl: HTMLDivElement; \r\n private isDragging: boolean = false; \r\n private activeThumb: 'left' | 'right' | null = null;\r\n\r\n private snapPoints = [0, 25, 50, 75, 100];\r\n\r\n componentDidLoad() {\r\n this.trackEl = this.el.shadowRoot.querySelector('.track');\r\n this.containerEl = this.el.shadowRoot.querySelector('.slider-container');\r\n this.updateTrack(); \r\n }\r\n\r\n handleMouseDown = (_e: MouseEvent, thumb: 'left' | 'right') => {\r\n this.isDragging = true;\r\n this.activeThumb = thumb; \r\n document.addEventListener('mousemove', this.handleMouseMove);\r\n document.addEventListener('mouseup', this.handleMouseUp);\r\n }\r\n\r\n handleMouseMove = (e: MouseEvent) => {\r\n if (!this.isDragging) return; \r\n\r\n // Calculate the position of the mouse relative to the slider's width.\r\n const position = e.offsetX / this.containerEl.offsetWidth;\r\n \r\n // Convert the position into a value within the slider's range and snap to the nearest point.\r\n const value = this.findNearestSnapPoint(position * 100);\r\n\r\n // Update the appropriate thumb's value.\r\n if (this.activeThumb === 'left') {\r\n this.leftValue = Math.min(value, this.rightValue - 25);\r\n } else {\r\n this.rightValue = Math.max(value, this.leftValue + 25);\r\n }\r\n\r\n // Update the track's appearance and emit the new values.\r\n this.updateTrack();\r\n this.valueChange.emit({ left: this.leftValue, right: this.rightValue });\r\n }\r\n\r\n handleMouseUp = () => {\r\n this.isDragging = false; \r\n this.activeThumb = null; \r\n document.removeEventListener('mousemove', this.handleMouseMove);\r\n document.removeEventListener('mouseup', this.handleMouseUp);\r\n }\r\n\r\n findNearestSnapPoint(value: number): number {\r\n return this.snapPoints.reduce((prev, curr) => \r\n Math.abs(curr - value) < Math.abs(prev - value) ? curr : prev\r\n );\r\n }\r\n\r\n updateTrack() {\r\n const leftPos = this.leftValue; \r\n const rightPos = this.rightValue; \r\n \r\n // Update the track's left position and width to match the thumb positions.\r\n this.trackEl.style.left = `${leftPos}%`;\r\n this.trackEl.style.width = `${rightPos - leftPos}%`;\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"slider-container\" ref={(el) => this.containerEl = el as HTMLDivElement}>\r\n <div class=\"track\" ref={(el) => this.trackEl = el as HTMLDivElement}></div>\r\n \r\n <gb-slider-control-handle \r\n class=\"left\"\r\n value={this.leftValue}\r\n type={this.thumbType}\r\n style={{ left: `${this.leftValue}%` }}\r\n onMouseDown={(e) => this.handleMouseDown(e, 'left')}\r\n ></gb-slider-control-handle>\r\n\r\n <gb-slider-control-handle \r\n class=\"right\"\r\n value={this.rightValue}\r\n type={this.thumbType}\r\n style={{ left: `${this.rightValue}%` }}\r\n onMouseDown={(e) => this.handleMouseDown(e, 'right')}\r\n ></gb-slider-control-handle>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -19,7 +19,7 @@ export class SliderControlHandle {
|
|
|
19
19
|
this.isFocused = false;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '2652fb3b1d7d795aacd86a805cbec3df1a33c05f', class: `thumb-container ${this.type} ${this.isHovered ? 'hover' : ''} ${this.isFocused ? 'focused' : ''}`, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), tabindex: "0" }, this.type === 'tooltip' && (h("div", { key: '3c68d0a60e5a6bb3e26d8630bb91ba8861b1e4a7', class: "tooltip-container" }, h("gb-tooltip", { key: '1469bbb2375657f7ef315cde90de8fca1e807e0e', arrow: 'none' }, h("p", { key: 'b917358d5db81174cfc7663145c86acd7aacec93', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: '03c0ef1ea42a7d5e52f9cbe69858edcdc52e14d3', class: "thumb-label" }, this.value, "%"))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "gb-slider-control-handle"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class GbStatusIndicator {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
return [
|
|
12
|
-
h("div", { key: '
|
|
12
|
+
h("div", { key: '41443bc2ba3205428327c6b85ae78a69e61f641e' }, this.statusIcon === 'online_indicator' && h("div", { key: '2685a7ea63af2e8e26d18ab6e143a946856ce84f', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: '4924be1196a4d54c81ae93e82ec631c6e1d1fa71', xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", class: `verified ${this.size}` }, h("g", { key: '032c128b7011713106093dcd62743542fa6a6478', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '121028f9d2fd3b4cd73d3608b67f4a25fb63c055', d: "M24.7109 5.66715C25.0148 6.40217 25.5982 6.98642 26.3328 7.29145L28.9086 8.35837C29.6436 8.66285 30.2277 9.24688 30.5321 9.98196C30.8366 10.717 30.8366 11.543 30.5321 12.2781L29.466 14.852C29.1614 15.5874 29.1609 16.4142 29.467 17.1492L30.5313 19.7224C30.6822 20.0865 30.7599 20.4767 30.76 20.8708C30.7601 21.265 30.6825 21.6553 30.5316 22.0194C30.3808 22.3835 30.1597 22.7143 29.881 22.993C29.6022 23.2716 29.2713 23.4926 28.9072 23.6433L26.3332 24.7095C25.5982 25.0134 25.0139 25.5968 24.7089 26.3314L23.642 28.9071C23.3375 29.6422 22.7535 30.2262 22.0184 30.5307C21.2833 30.8352 20.4574 30.8352 19.7223 30.5307L17.1484 29.4646C16.4133 29.1608 15.5876 29.1614 14.853 29.4663L12.2772 30.5317C11.5425 30.8355 10.7173 30.8352 9.98284 30.531C9.24835 30.2267 8.66466 29.6434 8.35997 28.9091L7.29273 26.3326C6.98881 25.5975 6.40543 25.0133 5.67087 24.7083L3.09509 23.6413C2.36033 23.337 1.77648 22.7533 1.47188 22.0187C1.16729 21.284 1.16688 20.4585 1.47073 19.7235L2.53689 17.1496C2.84062 16.4145 2.84 15.5888 2.53517 14.8542L1.47054 12.2766C1.3196 11.9125 1.24188 11.5222 1.24181 11.1281C1.24175 10.734 1.31935 10.3437 1.47017 9.97956C1.621 9.61544 1.8421 9.2846 2.12083 9.00595C2.39957 8.72731 2.73047 8.50632 3.09465 8.35561L5.66858 7.28945C6.40297 6.98579 6.98687 6.40316 7.29212 5.66944L8.35904 3.09366C8.66352 2.35857 9.24754 1.77455 9.98263 1.47007C10.7177 1.16559 11.5436 1.16559 12.2787 1.47007L14.8527 2.53623C15.5878 2.83996 16.4134 2.83934 17.148 2.5345L19.7249 1.47172C20.4599 1.16741 21.2856 1.16748 22.0206 1.4719C22.7555 1.77632 23.3395 2.36017 23.644 3.09507L24.7112 5.67161L24.7109 5.66715Z", fill: "#0086C9" }), h("path", { key: '1a21cbc24df0ca84b5cbdd09118df09b1326e91f', d: "M10 18.1818C10 18.1818 11.2857 18.1818 13 22C13 22 17.7647 12 22 10", stroke: "white", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("defs", { key: 'df2d61227daf92fcf6c4f226ad767428cb3398f6' }, h("clipPath", { key: '69a54ed8ff4772518fe01e36c8a575a9c6fcf124', id: "clip0_0_21453" }, h("rect", { key: 'b5feed650eedd35e06ffb4c76e926643fa61b368', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: 'c898f41e560edd61fa2b956de4fe17b42044deac', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", class: `company ${this.size}` }, h("path", { key: '8743859df047611951a7a1064bdd74153c7dc6a8', d: "M18.8322 3.70039C16.9123 2.11995 14.5039 1.25399 12.0172 1.25001C10.6041 1.24776 9.20439 1.52413 7.89818 2.06333C6.59198 2.60252 5.4049 3.39397 4.40485 4.39237C2.64504 6.1493 1.54876 8.462 1.30275 10.9365C1.05674 13.411 1.67622 15.8943 3.05566 17.9633C4.43511 20.0323 6.48919 21.5591 8.86802 22.2836C11.2469 23.0081 13.8033 22.8855 16.1019 21.9367C18.4004 20.9878 20.299 19.2715 21.474 17.0799C22.6491 14.8884 23.0281 12.3572 22.5464 9.91759C22.0647 7.47798 20.7521 5.28082 18.8322 3.70039Z", fill: "#FF0033", stroke: "white", "stroke-width": "1.5" }), h("path", { key: '57dea1b394da70f7665a0e77fca6870646023c2c', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8942 13.7488V11.865L15.2835 11.8807C15.5231 11.8822 15.7598 11.9336 15.9785 12.0314C16.1973 12.1293 16.3933 12.2715 16.5541 12.449C16.715 12.6266 16.8373 12.8357 16.9131 13.063C16.989 13.2903 17.0168 13.5308 16.9948 13.7694C16.9948 16.4275 12.901 16.9969 12.8973 13.7488M12.8973 8.75316C17.3054 6.44066 17.6942 11.5213 15.0323 11.2788H12.886L12.8973 8.75316ZM16.7385 11.5113C19.8985 10.3013 17.2573 5.5894 12.0854 8.5044C11.5544 8.07132 10.9218 7.78073 10.2473 7.66004C8.96979 7.40066 7.25604 7.62628 6.29479 8.52378L6.75917 8.97941C7.2569 8.55053 7.86627 8.27194 8.51626 8.17611C9.16625 8.08028 9.83009 8.17117 10.4304 8.43816C10.6321 8.53335 10.8098 8.67262 10.9505 8.8457C11.0911 9.01879 11.191 9.22127 11.2429 9.43817L11.266 13.7669C11.0785 16.7738 7.20354 16.5413 7.20354 13.7669V11.8682H10.2492V11.295H5.59729V13.1644C5.60917 16.7175 9.93104 17.315 12.0717 15.5863C12.9471 16.2353 14.0184 16.5649 15.1073 16.52C18.9442 16.4938 19.7323 12.3563 16.7273 11.5144L16.7385 11.5113Z", fill: "white" })))),
|
|
13
13
|
];
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "gb-status-indicator"; }
|
|
@@ -42,12 +42,12 @@ export class GbTabButtonBase {
|
|
|
42
42
|
this.tabClicked.emit();
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: 'ec2cfec153f35c4f82d7e7af595284a2edb35b84', class: `tab_button_div ${this.type}
|
|
46
46
|
${this.current ? 'current' : ''}
|
|
47
47
|
${this.fullWidth ? 'full_width' : ''}
|
|
48
|
-
${this.size}`, onClick: () => this.handleClick() }, h("p", { key: '
|
|
48
|
+
${this.size}`, onClick: () => this.handleClick() }, h("p", { key: '506e726eaed50e39378f3616274af5cb4bef89b0', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: '9a57cd263afa043106fba6cb049c04148a7bcdd6', size: "sm", type: "pill_color", color: this.current && this.type === 'button_primary' ? 'information' :
|
|
49
49
|
this.current && this.type === 'underline' ? 'information' :
|
|
50
|
-
this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '
|
|
50
|
+
this.current && this.type === 'line' ? 'information' : 'gray' }, h("slot", { key: '26e61b3faff166be325eb402403216283939113a', name: "count" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "gb-tab-button-base"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class GbTagCheckbox {
|
|
|
6
6
|
this.disabled = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("label", { key: '
|
|
9
|
+
return (h("label", { key: '2a453e545ac96d161474112a6bf0c245f3a0e17a', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '4d10f7a8992553bc4ca9a69c421ba3bbf5e91b0b', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '09d1ca9517ffc360330fac61409b02cecead904d', class: `custom-checkbox ${this.size}` }, h("svg", { key: 'cffa2c2edb3301dd2c852f44a306e5821a50672f', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: 'a0432ee672eb87bcae4470b5452a89f0083ee144', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "gb-tag-checkbox"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class GbTagClose {
|
|
|
4
4
|
this.size = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'a4dc11b7ee2d5b25d89e624293d68d47a19d550b', class: this.size }, h("svg", { key: '6089667fd7ceb333d7f139b642cf5e6eeede3a55', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: 'a23a8c49bc52cd5f94b700c475c096b909f34ff1', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-tag-close"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class GbTagCount {
|
|
|
4
4
|
this.size = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'f4ab7f9c8e3d1cd61f79d6c4094247afc29f50ac', class: this.size }, h("slot", { key: '9da93768a106af14dd31499a1e2fbfb8296a38f2', name: "count" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-tag-count"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class GbTag {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '6018418ca45a0d3db31f9129a3066cd3eba8dfa9', class: `container ${this.size}` }, h("div", { key: 'e5a11ffd1eb1e10270dc864a09fb04897e584e55', class: `content ${this.size}` }, this.checkbox && (h("gb-tag-checkbox", { key: '6acac3c8a91b4e40c2ced5522c784a093b8df1cf', size: this.size })), this.icon === 'country' && (h("div", { key: 'b02eddfe67ec28217852f8a53fd7b6cba4956d07', class: "icon left-icon" }, h("img", { key: '05d8e83f11fa998a145f3232daa61433cf68a7fe', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'dbeae00cb8c181df8ef80bf90357ea011c98e99c', class: "avatar-icon", size: "xs", "status-icon": "false" }, h("slot", { key: '09282e6a0199893f742f5f89825ecda55df3c609', name: 'image', slot: 'image' }))), this.icon === 'dot' && (h("svg", { key: 'b3db8fed4c5718509edd9f4444e1546dbca2f462', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: '17253604be91b61ee20c07617a68406c17446a6e', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: 'caf531e41ffb532b87b8db0c2fb82c52720ef6e2' }), this.action === 'count' && (h("gb-tag-count", { key: '39d23ff5e67d2fb6d08d91053a55d0325c4f49c1', size: this.size }, h("slot", { key: '55b0ec502c115040ce170ded163916ecc43fc19c', slot: "count", name: "count" })))), this.action === 'X_close' && (h("gb-tag-close", { key: 'd79fcd622ad0afad444fb3eb971ab13ffc523f5c', size: this.size }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "gb-tag"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,7 +37,7 @@ export class GbToast {
|
|
|
37
37
|
slottedSupportingText.classList.add(this.getSupportingColorClasses());
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '3dea391829a130148791896234be82e071a185a0', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: 'c2c99cf30f70c99858bfdf137760ca58ad54c173', class: `icon_container` }, h("svg", { key: '2e277aa613770eb79d304d84a1294702db334574', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: '236871c7268b2c4ba074bfabca3b7bbd03a864f1', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '7ba8a43154d3dd655efa08c04d89ac84e683c6bf', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: '1f65ec2ac06489fc4491c37b62d53d553ce11d7d', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: 'ee833b7b7b5ea4e6731fa8c29d76c14871e5a32e', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: '452670ee502c0a7523c7103ddded4237f840a5b0', class: `text ${this.size}` }, h("slot", { key: 'db509bb4faf75c24735d06bad024af83b43e0f0f', name: "main_text" }), this.showSupportingText && h("slot", { key: 'bba1de9177f2ecc268b4f1ac6a8b4a9a403300e1', name: "supporting_text" })), this.actions && (h("div", { key: 'be7da3f5b232c6ab7b946498c4d567c933a0479d', class: `actions ${this.size} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes"))))))), h("gb-button-close", { key: '33a65d26f6456f22fbfdfd28cdb359d1de5207ff', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.size}` }))), this.size === 'full_width' && (h("div", { key: 'd97e169ce319f5ed1912030a0e6d24e33b9127ea', class: `container ${this.breakpoint}` }, h("div", { key: '28d642ba348672cfec17dcf80c18f095acc4f585', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '937d09c9d82edb1c52c3b2ea5a0962bc28428f7b', class: `inner_content ${this.breakpoint}` }, h("div", { key: '0de9912750e258d567e903ea001ba80169343f1d', class: `icon_container` }, h("svg", { key: 'f311223ee3c83aa673cdbd7145625bb821c5c1b2', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.color}` }, h("path", { key: '0d27edc53c2a8e65cd56957341e92418bdb57949', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '1efc89fc3a81e87a552b48f521f0ec4ed743ee9d', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: 'd3174b1557d63d80b8d8e650ab1750d0d7cd2b67', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '2e4e3eb80f355673845c2b702259e1b6890b9bf3', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: 'd0e31715223fcd280871ac7babdcf04d07e06a2e', name: "main_text" }), this.showSupportingText && h("slot", { key: '89527b493addda47a81c1d03d82ed9f30d4fdd00', name: "supporting_text" }))), this.actions && (h("div", { key: '5ac396f55725634c61f3e9d2e47f3c662558009c', class: `actions ${this.size} ${this.breakpoint} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray" }, h("p", null, "Dismiss")), h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color" }, h("p", null, "View changes")))) : (h(Fragment, null, h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "Dismiss")), h("gb-toast-button", { state: StateEnum.Default, color: this.color }, h("p", null, "View changes")))))), h("gb-button-close", { key: 'dabee8fc615df30c8c6768c55958eb1a8f2e5be8', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.breakpoint}` }))))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "gb-toast"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class GbToastButton {
|
|
|
9
9
|
slottedContent.classList.add('text-sm-semi-bold');
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '2c5cb331855fb826afe1511aa6c22341ae402b36', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: '23f0bf8fa532646310837b5362cc68880bf3ea7d' })));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "gb-toast-button"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class GbToggle {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '83a37e14590ea4de340b548895439ab48f9d0900', class: `toggle_div ${this.size}` }, h("div", { key: '6fa7c3e855b5dae548df12342c68578bdd9b239d', class: "toggle_base" }, h("gb-toggle-base", { key: '94c40e40d8900b0d0db44330e3d93a07a0ab28c0', size: this.size, state: this.state })), h("div", { key: 'e2c782d3071de79a318f2d0780e0415393b169e5', class: "text" }, h("slot", { key: 'a2fc36213c3e00e4c01cf315ce4ff3bed286bcfb', name: "main_text" }), this.supportingText && (h("slot", { key: 'ef202b05f18de743047665524545c28492ed6731', name: "supporting_text" })))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "gb-toggle"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|