globuswebcomponents 0.9.5 → 0.9.7
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-add-button.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +2 -2
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +2 -2
- package/dist/cjs/{gb-avatar_40.cjs.entry.js → gb-avatar_44.cjs.entry.js} +397 -84
- package/dist/cjs/gb-avatar_44.cjs.entry.js.map +1 -0
- 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-export-dropdown-item_2.cjs.entry.js +1 -1
- package/dist/cjs/gb-export-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-help-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gb-megainput-field.cjs.entry.js +3 -3
- package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +2 -2
- package/dist/cjs/gb-progress-circle.cjs.entry.js +2 -2
- package/dist/cjs/gb-rich-text.cjs.entry.js +2 -2
- package/dist/cjs/gb-scrollbar.cjs.entry.js +2 -2
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle.cjs.entry.js +2 -2
- package/dist/cjs/gb-token-field.cjs.entry.js +2 -2
- package/dist/cjs/gb-verification-code-field.cjs.entry.js +3 -3
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +2 -2
- package/dist/cjs/{index-97d4dbd5.js → index-a9259aac.js} +5 -2
- package/dist/cjs/index-a9259aac.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{reusableModels-40cbefe2.js → reusableModels-e50f3440.js} +1 -2
- package/dist/cjs/reusableModels-e50f3440.js.map +1 -0
- package/dist/cjs/test-input-tag.cjs.entry.js +4 -4
- package/dist/collection/assets/NG.svg +14 -14
- package/dist/collection/assets/Tooltip.svg +4 -4
- package/dist/collection/assets/alert-02.svg +6 -6
- package/dist/collection/assets/arrow-left-02.svg +5 -5
- package/dist/collection/assets/arrow-right-02.svg +5 -5
- package/dist/collection/assets/arrow-turn-backward.svg +5 -5
- package/dist/collection/assets/bar.svg +3 -3
- package/dist/collection/assets/bar_white.svg +3 -3
- package/dist/collection/assets/calendar-02.svg +6 -6
- package/dist/collection/assets/cancel-01.svg +5 -5
- package/dist/collection/assets/checkbox disabled_indeterminate.svg +5 -5
- package/dist/collection/assets/checkcircle default_checked.svg +5 -5
- package/dist/collection/assets/checkcircle default_unchecked.svg +3 -3
- package/dist/collection/assets/checkcircle disabled_checked.svg +5 -5
- package/dist/collection/assets/checkcircle disabled_unchecked.svg +3 -3
- package/dist/collection/assets/checked_indeterminate.svg +5 -5
- package/dist/collection/assets/circle.svg +6 -6
- package/dist/collection/assets/column-insert.svg +5 -5
- package/dist/collection/assets/company.svg +4 -4
- package/dist/collection/assets/copy-01.svg +5 -5
- package/dist/collection/assets/dashboard-square-03.svg +14 -14
- package/dist/collection/assets/database-sync.svg +6 -6
- package/dist/collection/assets/database.svg +6 -6
- package/dist/collection/assets/default-file-icons/default_csv.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_doc.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_docx.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_jpeg.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_jpg.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_mp3.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_mp4.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_pdf.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_ppt.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_pptx.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_rar.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_svg.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_txt.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_xls.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_xlsx.svg +6 -0
- package/dist/collection/assets/default-file-icons/default_zip.svg +6 -0
- package/dist/collection/assets/default_checked.svg +5 -5
- package/dist/collection/assets/default_unchecked.svg +3 -3
- package/dist/collection/assets/delete-02.svg +3 -3
- package/dist/collection/assets/disabled.svg +4 -4
- package/dist/collection/assets/disabled_checked.svg +5 -5
- package/dist/collection/assets/disabled_indeterminate.svg +5 -5
- package/dist/collection/assets/exchange-01.svg +5 -5
- package/dist/collection/assets/file-verified.svg +6 -6
- package/dist/collection/assets/filter-horizontal.svg +9 -9
- package/dist/collection/assets/flag-01.svg +5 -5
- package/dist/collection/assets/globus_bank_logo.svg +11 -11
- package/dist/collection/assets/globus_bank_logo_blue.svg +13 -13
- package/dist/collection/assets/globus_bank_logo_white.svg +13 -13
- package/dist/collection/assets/gray-file-icons/gray_csv.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_doc.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_docx.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_jpeg.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_jpg.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_mp3.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_mp4.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_pdf.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_ppt.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_pptx.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_rar.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_svg.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_txt.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_xls.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_xlsx.svg +5 -0
- package/dist/collection/assets/gray-file-icons/gray_zip.svg +5 -0
- package/dist/collection/assets/help-circle.svg +5 -5
- package/dist/collection/assets/laptop.svg +6 -6
- package/dist/collection/assets/mail-02.svg +5 -5
- package/dist/collection/assets/no_notification_frame.svg +139 -139
- package/dist/collection/assets/notification-03.svg +5 -5
- package/dist/collection/assets/notification_background_pattern.svg +52 -52
- package/dist/collection/assets/notification_illustration.svg +80 -80
- package/dist/collection/assets/pattern_wrapper.svg +1359 -1359
- package/dist/collection/assets/plus_sign.svg +3 -3
- package/dist/collection/assets/radiobutton default_checked.svg +4 -4
- package/dist/collection/assets/radiobutton default_unchecked.svg +3 -3
- package/dist/collection/assets/radiobutton disabled_checked.svg +4 -4
- package/dist/collection/assets/radiobutton disabled_unchecked.svg +3 -3
- package/dist/collection/assets/sample.svg +5 -5
- package/dist/collection/assets/search-01.svg +3 -3
- package/dist/collection/assets/shuffle-square.svg +6 -6
- package/dist/collection/assets/solid-file-icons/solid_csv.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_doc.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_docx.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_jpeg.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_jpg.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_mp3.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_mp4.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_pdf.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_ppt.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_pptx.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_rar.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_svg.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_txt.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_xls.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_xlsx.svg +5 -0
- package/dist/collection/assets/solid-file-icons/solid_zip.svg +5 -0
- package/dist/collection/assets/square-arrow-data-transfer-diagonal.svg +6 -6
- package/dist/collection/assets/thumbs-up.svg +8 -8
- package/dist/collection/assets/user-group.svg +10 -10
- package/dist/collection/components/gb-button/readme.md +48 -48
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +56 -1
- package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js.map +1 -1
- package/dist/collection/components/gb-file-upload/gb-file-upload.css +10 -4
- package/dist/collection/components/gb-file-upload/gb-file-upload.js +268 -10
- package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +1 -1
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.css +32 -5
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +116 -14
- package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js.map +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.css +17 -9
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +65 -7
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
- package/dist/collection/components/gb-input-field/gb-input-field.css +52 -13
- package/dist/collection/components/gb-input-field/gb-input-field.js +43 -15
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.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.css +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.css +13 -2
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +38 -2
- package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js.map +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.css +4 -1
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -22
- package/dist/collection/components/gb-progress-bar/gb-progress-bar.js.map +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.js +1 -1
- package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
- package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
- package/dist/collection/components/gb-slider/gb-slider.js +130 -21
- package/dist/collection/components/gb-slider/gb-slider.js.map +1 -1
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.css +3 -3
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +8 -8
- package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js.map +1 -1
- 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 +4 -0
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +8 -4
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +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-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/gb-token-field.js +1 -1
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +3 -3
- package/dist/collection/components/gb-tooltip/gb-tooltip.js.map +1 -1
- package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/collection/models/reusableModels.js +0 -1
- package/dist/collection/models/reusableModels.js.map +1 -1
- 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 +8 -8
- package/dist/components/gb-avatar-group.js +7 -7
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +5 -5
- 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-checkbox-base.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +8 -8
- package/dist/components/gb-checkbox.js +1 -1
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +5 -5
- 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-file-type-icon.js +1 -30
- package/dist/components/gb-file-type-icon.js.map +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +190 -19
- package/dist/components/gb-file-upload.js.map +1 -1
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +7 -7
- package/dist/components/gb-help-dropdown.js +5 -5
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +8 -8
- 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 -385
- 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 +1 -1
- package/dist/components/gb-notification-pane.js +6 -6
- package/dist/components/gb-pagination-button-group-base.js +1 -1
- package/dist/components/gb-pagination-dot-group.js +2 -2
- package/dist/components/gb-pagination-dot-indicator.js +2 -2
- package/dist/components/gb-pagination-number-base.js +1 -1
- package/dist/components/gb-pagination.js +47 -29
- package/dist/components/gb-pagination.js.map +1 -1
- 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 +2 -2
- package/dist/components/gb-rich-text.js +48 -24
- package/dist/components/gb-rich-text.js.map +1 -1
- package/dist/components/gb-scrollbar.js +2 -2
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +10 -10
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +45 -22
- 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 +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +6 -6
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +3 -3
- package/dist/components/gb-token-field.js +3 -3
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-verification-code-field.js +4 -4
- 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 +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-172c2487.js → p-0880c70c.js} +3 -3
- package/dist/components/{p-172c2487.js.map → p-0880c70c.js.map} +1 -1
- package/dist/components/{p-a4ac9229.js → p-0ad4eab9.js} +4 -4
- package/dist/components/{p-a4ac9229.js.map → p-0ad4eab9.js.map} +1 -1
- package/dist/components/{p-4e87a1a4.js → p-116a3de5.js} +9 -9
- package/dist/components/{p-4e87a1a4.js.map → p-116a3de5.js.map} +1 -1
- package/dist/components/{p-e9099a82.js → p-1370acdb.js} +7 -7
- package/dist/components/p-1370acdb.js.map +1 -0
- package/dist/components/{p-2e839805.js → p-144bdbdc.js} +3 -3
- package/dist/components/{p-2e839805.js.map → p-144bdbdc.js.map} +1 -1
- package/dist/components/{p-6c168218.js → p-258cafb9.js} +3 -3
- package/dist/components/{p-6c168218.js.map → p-258cafb9.js.map} +1 -1
- package/dist/components/{p-6bc60646.js → p-2fedd9da.js} +6 -6
- package/dist/components/{p-6bc60646.js.map → p-2fedd9da.js.map} +1 -1
- package/dist/components/{p-4710b26e.js → p-30587454.js} +28 -21
- package/dist/components/p-30587454.js.map +1 -0
- package/dist/components/{p-bc05d524.js → p-38b74f4c.js} +3 -3
- package/dist/components/{p-bc05d524.js.map → p-38b74f4c.js.map} +1 -1
- package/dist/components/p-3ef09e09.js +39 -0
- package/dist/components/p-3ef09e09.js.map +1 -0
- package/dist/components/{p-b8cc4ced.js → p-40545eb0.js} +21 -5
- package/dist/components/p-40545eb0.js.map +1 -0
- package/dist/components/{p-4f31ae97.js → p-47052b60.js} +1 -2
- package/dist/components/p-47052b60.js.map +1 -0
- package/dist/components/{p-4fc019fa.js → p-4a9d5d98.js} +2 -2
- package/dist/components/{p-4fc019fa.js.map → p-4a9d5d98.js.map} +1 -1
- package/dist/components/{p-cb12d812.js → p-4bd1630c.js} +4 -4
- package/dist/components/{p-cb12d812.js.map → p-4bd1630c.js.map} +1 -1
- package/dist/components/{p-fe051273.js → p-5a175e1b.js} +9 -9
- package/dist/components/{p-fe051273.js.map → p-5a175e1b.js.map} +1 -1
- package/dist/components/{p-d287e4f9.js → p-5b236279.js} +3 -3
- package/dist/components/{p-d287e4f9.js.map → p-5b236279.js.map} +1 -1
- package/dist/components/{p-a5c62415.js → p-5c90cd54.js} +2 -2
- package/dist/components/{p-a5c62415.js.map → p-5c90cd54.js.map} +1 -1
- package/dist/components/{p-8ea8fb2e.js → p-62cba16e.js} +72 -28
- package/dist/components/p-62cba16e.js.map +1 -0
- package/dist/components/{p-23eeb711.js → p-6b417d00.js} +5 -5
- package/dist/components/{p-23eeb711.js.map → p-6b417d00.js.map} +1 -1
- package/dist/components/{p-efc36361.js → p-6d45d115.js} +5 -5
- package/dist/components/{p-efc36361.js.map → p-6d45d115.js.map} +1 -1
- package/dist/components/{p-66ae8c03.js → p-6ed7f8fd.js} +8 -8
- package/dist/components/{p-66ae8c03.js.map → p-6ed7f8fd.js.map} +1 -1
- package/dist/components/{p-97d4cbd6.js → p-6ee31d8b.js} +2 -2
- package/dist/components/{p-97d4cbd6.js.map → p-6ee31d8b.js.map} +1 -1
- package/dist/components/{p-dae08e66.js → p-75e5ba2a.js} +9 -9
- package/dist/components/{p-dae08e66.js.map → p-75e5ba2a.js.map} +1 -1
- package/dist/components/{p-79b9747d.js → p-7def9a0c.js} +4 -4
- package/dist/components/{p-79b9747d.js.map → p-7def9a0c.js.map} +1 -1
- package/dist/components/{p-7a028adc.js → p-86a65382.js} +3 -3
- package/dist/components/{p-7a028adc.js.map → p-86a65382.js.map} +1 -1
- package/dist/components/{p-58074dfd.js → p-92560291.js} +3 -3
- package/dist/components/{p-58074dfd.js.map → p-92560291.js.map} +1 -1
- package/dist/components/{p-33797063.js → p-99f8eb85.js} +5 -5
- package/dist/components/{p-33797063.js.map → p-99f8eb85.js.map} +1 -1
- package/dist/components/{p-4d14d191.js → p-a5be24df.js} +4 -4
- package/dist/components/{p-4d14d191.js.map → p-a5be24df.js.map} +1 -1
- package/dist/components/{p-e1b8bc90.js → p-ad960c29.js} +5 -2
- package/dist/components/p-ad960c29.js.map +1 -0
- package/dist/components/{p-0ab66ef0.js → p-b17585ec.js} +3 -3
- package/dist/components/{p-0ab66ef0.js.map → p-b17585ec.js.map} +1 -1
- package/dist/components/{p-2dd93b0d.js → p-b31412be.js} +2 -2
- package/dist/components/{p-2dd93b0d.js.map → p-b31412be.js.map} +1 -1
- package/dist/components/{p-bf85c0fa.js → p-b86bef4d.js} +6 -6
- package/dist/components/{p-bf85c0fa.js.map → p-b86bef4d.js.map} +1 -1
- package/dist/components/{p-45a185a6.js → p-bb61710a.js} +2 -2
- package/dist/components/{p-45a185a6.js.map → p-bb61710a.js.map} +1 -1
- package/dist/components/{p-6a00453d.js → p-bd1c23b9.js} +3 -3
- package/dist/components/{p-6a00453d.js.map → p-bd1c23b9.js.map} +1 -1
- package/dist/components/{p-b3fba286.js → p-c14ae549.js} +3 -3
- package/dist/components/{p-b3fba286.js.map → p-c14ae549.js.map} +1 -1
- package/dist/components/{p-15057414.js → p-c66ad664.js} +2 -2
- package/dist/components/{p-15057414.js.map → p-c66ad664.js.map} +1 -1
- package/dist/components/{p-677c05f3.js → p-c74e6b18.js} +47 -23
- package/dist/components/p-c74e6b18.js.map +1 -0
- package/dist/components/{p-56f43e54.js → p-cb100f8e.js} +2 -2
- package/dist/components/{p-56f43e54.js.map → p-cb100f8e.js.map} +1 -1
- package/dist/components/p-cf36ddf6.js +400 -0
- package/dist/components/p-cf36ddf6.js.map +1 -0
- package/dist/components/{p-61d6b9a4.js → p-d0c7cb58.js} +4 -4
- package/dist/components/p-d0c7cb58.js.map +1 -0
- package/dist/components/{p-9447c1aa.js → p-db66e3e7.js} +7 -7
- package/dist/components/{p-9447c1aa.js.map → p-db66e3e7.js.map} +1 -1
- package/dist/components/{p-9b0f7f28.js → p-db744951.js} +3 -3
- package/dist/components/{p-9b0f7f28.js.map → p-db744951.js.map} +1 -1
- package/dist/components/{p-8ec4b241.js → p-e671339d.js} +16 -12
- package/dist/components/p-e671339d.js.map +1 -0
- package/dist/components/{p-f5df341d.js → p-ef76a407.js} +3 -3
- package/dist/components/{p-f5df341d.js.map → p-ef76a407.js.map} +1 -1
- package/dist/components/{p-52a05610.js → p-f44cfa90.js} +6 -8
- package/dist/components/p-f44cfa90.js.map +1 -0
- package/dist/components/test-input-tag.js +14 -14
- package/dist/esm/gb-avatar-add-button.entry.js +1 -1
- package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
- package/dist/esm/gb-avatar-group.entry.js +2 -2
- package/dist/esm/gb-avatar-label-group.entry.js +2 -2
- package/dist/esm/gb-avatar-profile-photo.entry.js +2 -2
- package/dist/esm/{gb-avatar_40.entry.js → gb-avatar_44.entry.js} +394 -85
- package/dist/esm/gb-avatar_44.entry.js.map +1 -0
- 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-export-dropdown-item_2.entry.js +1 -1
- package/dist/esm/gb-export-dropdown.entry.js +2 -2
- package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
- package/dist/esm/gb-help-dropdown.entry.js +2 -2
- package/dist/esm/gb-megainput-field.entry.js +3 -3
- package/dist/esm/gb-pagination-dot-group.entry.js +2 -2
- package/dist/esm/gb-progress-circle.entry.js +2 -2
- package/dist/esm/gb-rich-text.entry.js +2 -2
- package/dist/esm/gb-scrollbar.entry.js +2 -2
- package/dist/esm/gb-textarea-input-field.entry.js +1 -1
- package/dist/esm/gb-toggle.entry.js +2 -2
- package/dist/esm/gb-token-field.entry.js +2 -2
- package/dist/esm/gb-verification-code-field.entry.js +3 -3
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
- package/dist/esm/globuscomponents.js +3 -3
- package/dist/esm/{index-f6b9f9bf.js → index-4b3f6d77.js} +5 -2
- package/dist/esm/index-4b3f6d77.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{reusableModels-e864cf6e.js → reusableModels-8496e911.js} +1 -2
- package/dist/esm/reusableModels-8496e911.js.map +1 -0
- package/dist/esm/test-input-tag.entry.js +4 -4
- package/dist/globuscomponents/assets/NG.svg +14 -14
- package/dist/globuscomponents/assets/Tooltip.svg +4 -4
- package/dist/globuscomponents/assets/alert-02.svg +6 -6
- package/dist/globuscomponents/assets/arrow-left-02.svg +5 -5
- package/dist/globuscomponents/assets/arrow-right-02.svg +5 -5
- package/dist/globuscomponents/assets/arrow-turn-backward.svg +5 -5
- package/dist/globuscomponents/assets/bar.svg +3 -3
- package/dist/globuscomponents/assets/bar_white.svg +3 -3
- package/dist/globuscomponents/assets/calendar-02.svg +6 -6
- package/dist/globuscomponents/assets/cancel-01.svg +5 -5
- package/dist/globuscomponents/assets/checkbox disabled_indeterminate.svg +5 -5
- package/dist/globuscomponents/assets/checkcircle default_checked.svg +5 -5
- package/dist/globuscomponents/assets/checkcircle default_unchecked.svg +3 -3
- package/dist/globuscomponents/assets/checkcircle disabled_checked.svg +5 -5
- package/dist/globuscomponents/assets/checkcircle disabled_unchecked.svg +3 -3
- package/dist/globuscomponents/assets/checked_indeterminate.svg +5 -5
- package/dist/globuscomponents/assets/circle.svg +6 -6
- package/dist/globuscomponents/assets/column-insert.svg +5 -5
- package/dist/globuscomponents/assets/company.svg +4 -4
- package/dist/globuscomponents/assets/copy-01.svg +5 -5
- package/dist/globuscomponents/assets/dashboard-square-03.svg +14 -14
- package/dist/globuscomponents/assets/database-sync.svg +6 -6
- package/dist/globuscomponents/assets/database.svg +6 -6
- package/dist/globuscomponents/assets/default-file-icons/default_csv.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_doc.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_docx.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_jpeg.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_jpg.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_mp3.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_mp4.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_pdf.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_ppt.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_pptx.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_rar.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_svg.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_txt.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_xls.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_xlsx.svg +6 -0
- package/dist/globuscomponents/assets/default-file-icons/default_zip.svg +6 -0
- package/dist/globuscomponents/assets/default_checked.svg +5 -5
- package/dist/globuscomponents/assets/default_unchecked.svg +3 -3
- package/dist/globuscomponents/assets/delete-02.svg +3 -3
- package/dist/globuscomponents/assets/disabled.svg +4 -4
- package/dist/globuscomponents/assets/disabled_checked.svg +5 -5
- package/dist/globuscomponents/assets/disabled_indeterminate.svg +5 -5
- package/dist/globuscomponents/assets/exchange-01.svg +5 -5
- package/dist/globuscomponents/assets/file-verified.svg +6 -6
- package/dist/globuscomponents/assets/filter-horizontal.svg +9 -9
- package/dist/globuscomponents/assets/flag-01.svg +5 -5
- package/dist/globuscomponents/assets/globus_bank_logo.svg +11 -11
- package/dist/globuscomponents/assets/globus_bank_logo_blue.svg +13 -13
- package/dist/globuscomponents/assets/globus_bank_logo_white.svg +13 -13
- package/dist/globuscomponents/assets/gray-file-icons/gray_csv.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_doc.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_docx.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_jpeg.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_jpg.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_mp3.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_mp4.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_pdf.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_ppt.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_pptx.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_rar.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_svg.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_txt.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_xls.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_xlsx.svg +5 -0
- package/dist/globuscomponents/assets/gray-file-icons/gray_zip.svg +5 -0
- package/dist/globuscomponents/assets/help-circle.svg +5 -5
- package/dist/globuscomponents/assets/laptop.svg +6 -6
- package/dist/globuscomponents/assets/mail-02.svg +5 -5
- package/dist/globuscomponents/assets/no_notification_frame.svg +139 -139
- package/dist/globuscomponents/assets/notification-03.svg +5 -5
- package/dist/globuscomponents/assets/notification_background_pattern.svg +52 -52
- package/dist/globuscomponents/assets/notification_illustration.svg +80 -80
- package/dist/globuscomponents/assets/pattern_wrapper.svg +1359 -1359
- package/dist/globuscomponents/assets/plus_sign.svg +3 -3
- package/dist/globuscomponents/assets/radiobutton default_checked.svg +4 -4
- package/dist/globuscomponents/assets/radiobutton default_unchecked.svg +3 -3
- package/dist/globuscomponents/assets/radiobutton disabled_checked.svg +4 -4
- package/dist/globuscomponents/assets/radiobutton disabled_unchecked.svg +3 -3
- package/dist/globuscomponents/assets/sample.svg +5 -5
- package/dist/globuscomponents/assets/search-01.svg +3 -3
- package/dist/globuscomponents/assets/shuffle-square.svg +6 -6
- package/dist/globuscomponents/assets/solid-file-icons/solid_csv.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_doc.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_docx.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_jpeg.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_jpg.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_mp3.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_mp4.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_pdf.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_ppt.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_pptx.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_rar.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_svg.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_txt.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_xls.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_xlsx.svg +5 -0
- package/dist/globuscomponents/assets/solid-file-icons/solid_zip.svg +5 -0
- package/dist/globuscomponents/assets/square-arrow-data-transfer-diagonal.svg +6 -6
- package/dist/globuscomponents/assets/thumbs-up.svg +8 -8
- package/dist/globuscomponents/assets/user-group.svg +10 -10
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-1c634283.entry.js → p-040877b0.entry.js} +2 -2
- package/dist/globuscomponents/{p-8c916245.entry.js → p-13fb8ad0.entry.js} +2 -2
- package/dist/globuscomponents/{p-24934b82.entry.js → p-150150b7.entry.js} +2 -2
- package/dist/globuscomponents/{p-53918e60.entry.js → p-2616b4f7.entry.js} +2 -2
- package/dist/globuscomponents/{p-2e30fc4c.entry.js → p-27ad012f.entry.js} +2 -2
- package/dist/globuscomponents/p-27ad012f.entry.js.map +1 -0
- package/dist/globuscomponents/{p-87e5abd9.entry.js → p-35a813fe.entry.js} +2 -2
- package/dist/globuscomponents/{p-4f31ae97.js → p-47052b60.js} +1 -1
- package/dist/globuscomponents/p-47052b60.js.map +1 -0
- package/dist/globuscomponents/{p-7b5550cd.entry.js → p-524c0404.entry.js} +2 -2
- package/dist/globuscomponents/{p-9e5a4011.entry.js → p-5c8e2c78.entry.js} +2 -2
- package/dist/globuscomponents/{p-9f01343e.entry.js → p-65f494ea.entry.js} +2 -2
- package/dist/globuscomponents/{p-74b82196.entry.js → p-6bb17e3e.entry.js} +2 -2
- package/dist/globuscomponents/{p-da0e6faf.entry.js → p-6e05335a.entry.js} +2 -2
- package/dist/globuscomponents/{p-135fa032.entry.js → p-70868bfe.entry.js} +2 -2
- package/dist/globuscomponents/{p-c424272d.entry.js → p-77224a09.entry.js} +2 -2
- package/dist/globuscomponents/{p-44c80420.entry.js → p-818a14e9.entry.js} +2 -2
- package/dist/globuscomponents/{p-707fcde4.entry.js → p-9f612212.entry.js} +2 -2
- package/dist/globuscomponents/{p-acd00cca.entry.js → p-abfc2e2a.entry.js} +2 -2
- package/dist/globuscomponents/{p-1a725100.entry.js → p-b7a706ad.entry.js} +2 -2
- package/dist/globuscomponents/p-bf92be61.js +3 -0
- package/dist/globuscomponents/p-bf92be61.js.map +1 -0
- package/dist/globuscomponents/{p-1ecb225e.entry.js → p-c5fea72e.entry.js} +2 -2
- package/dist/globuscomponents/{p-39450d7e.entry.js → p-cc42edb7.entry.js} +2 -2
- package/dist/globuscomponents/p-dd933232.entry.js +2 -0
- package/dist/globuscomponents/{p-5e61c950.entry.js → p-e08625a5.entry.js} +2 -2
- package/dist/globuscomponents/{p-36b88a3d.entry.js → p-e47aff3e.entry.js} +2 -2
- package/dist/globuscomponents/{p-c232233f.entry.js → p-f8a6d94e.entry.js} +2 -2
- package/dist/globuscomponents/{p-e1c952db.entry.js → p-f9b1d223.entry.js} +2 -2
- package/dist/globuscomponents/p-ffe76eeb.entry.js +2 -0
- package/dist/globuscomponents/readme.md +48 -48
- package/dist/types/components/gb-file-type-icon/gb-file-type-icon.d.ts +4 -1
- package/dist/types/components/gb-file-upload/gb-file-upload.d.ts +23 -1
- package/dist/types/components/gb-file-upload-item-base/gb-file-upload-item-base.d.ts +9 -3
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +4 -1
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -0
- package/dist/types/components/gb-pagination-button-group-base/gb-pagination-button-group-base.d.ts +4 -0
- package/dist/types/components/gb-progress-bar/gb-progress-bar.d.ts +0 -1
- package/dist/types/components/gb-slider/gb-slider.d.ts +7 -2
- package/dist/types/components/gb-slider-control-handle/gb-slider-control-handle.d.ts +2 -2
- package/dist/types/components.d.ts +78 -12
- package/dist/types/models/reusableModels.d.ts +3 -1
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_40.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-type-icon.cjs.entry.js +0 -22
- package/dist/cjs/gb-file-type-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +0 -37
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-file-upload.cjs.entry.js +0 -38
- package/dist/cjs/gb-file-upload.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-progress-bar.cjs.entry.js +0 -27
- package/dist/cjs/gb-progress-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/index-97d4dbd5.js.map +0 -1
- package/dist/cjs/reusableModels-40cbefe2.js.map +0 -1
- package/dist/components/p-4710b26e.js.map +0 -1
- package/dist/components/p-4f31ae97.js.map +0 -1
- package/dist/components/p-52a05610.js.map +0 -1
- package/dist/components/p-61d6b9a4.js.map +0 -1
- package/dist/components/p-677c05f3.js.map +0 -1
- package/dist/components/p-8ea8fb2e.js.map +0 -1
- package/dist/components/p-8ec4b241.js.map +0 -1
- package/dist/components/p-b8cc4ced.js.map +0 -1
- package/dist/components/p-e1b8bc90.js.map +0 -1
- package/dist/components/p-e9099a82.js.map +0 -1
- package/dist/esm/gb-avatar_40.entry.js.map +0 -1
- package/dist/esm/gb-file-type-icon.entry.js +0 -18
- package/dist/esm/gb-file-type-icon.entry.js.map +0 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +0 -33
- package/dist/esm/gb-file-upload-item-base.entry.js.map +0 -1
- package/dist/esm/gb-file-upload.entry.js +0 -34
- package/dist/esm/gb-file-upload.entry.js.map +0 -1
- package/dist/esm/gb-progress-bar.entry.js +0 -23
- package/dist/esm/gb-progress-bar.entry.js.map +0 -1
- package/dist/esm/index-f6b9f9bf.js.map +0 -1
- package/dist/esm/reusableModels-e864cf6e.js.map +0 -1
- package/dist/globuscomponents/p-184d9489.entry.js +0 -2
- package/dist/globuscomponents/p-2e30fc4c.entry.js.map +0 -1
- package/dist/globuscomponents/p-4f31ae97.js.map +0 -1
- package/dist/globuscomponents/p-964e5e0c.entry.js +0 -2
- package/dist/globuscomponents/p-e9f75233.entry.js +0 -2
- package/dist/globuscomponents/p-e9f75233.entry.js.map +0 -1
- package/dist/globuscomponents/p-efd85181.entry.js +0 -2
- package/dist/globuscomponents/p-efd85181.entry.js.map +0 -1
- package/dist/globuscomponents/p-f13f3010.entry.js +0 -2
- package/dist/globuscomponents/p-f13f3010.entry.js.map +0 -1
- package/dist/globuscomponents/p-f9e7b25c.entry.js +0 -2
- package/dist/globuscomponents/p-f9e7b25c.entry.js.map +0 -1
- package/dist/globuscomponents/p-ff053a96.js +0 -3
- package/dist/globuscomponents/p-ff053a96.js.map +0 -1
- /package/dist/globuscomponents/{p-1c634283.entry.js.map → p-040877b0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-8c916245.entry.js.map → p-13fb8ad0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-24934b82.entry.js.map → p-150150b7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-53918e60.entry.js.map → p-2616b4f7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-87e5abd9.entry.js.map → p-35a813fe.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7b5550cd.entry.js.map → p-524c0404.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9e5a4011.entry.js.map → p-5c8e2c78.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9f01343e.entry.js.map → p-65f494ea.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-74b82196.entry.js.map → p-6bb17e3e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-da0e6faf.entry.js.map → p-6e05335a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-135fa032.entry.js.map → p-70868bfe.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c424272d.entry.js.map → p-77224a09.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-44c80420.entry.js.map → p-818a14e9.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-707fcde4.entry.js.map → p-9f612212.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-acd00cca.entry.js.map → p-abfc2e2a.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1a725100.entry.js.map → p-b7a706ad.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-1ecb225e.entry.js.map → p-c5fea72e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-39450d7e.entry.js.map → p-cc42edb7.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-184d9489.entry.js.map → p-dd933232.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5e61c950.entry.js.map → p-e08625a5.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-36b88a3d.entry.js.map → p-e47aff3e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c232233f.entry.js.map → p-f8a6d94e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e1c952db.entry.js.map → p-f9b1d223.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-964e5e0c.entry.js.map → p-ffe76eeb.entry.js.map} +0 -0
|
@@ -1,19 +1,33 @@
|
|
|
1
|
-
import { h, Fragment } from "@stencil/core";
|
|
1
|
+
import { h, Fragment, getAssetPath } from "@stencil/core";
|
|
2
2
|
export class GbPaginationButtonGroupBase {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.icon = undefined;
|
|
5
5
|
this.iconLeading = undefined;
|
|
6
6
|
this.iconTrailing = undefined;
|
|
7
7
|
this.state = undefined;
|
|
8
|
+
this.iconSrc = undefined;
|
|
9
|
+
this.leadingIconSvg = '';
|
|
8
10
|
}
|
|
9
11
|
componentDidLoad() {
|
|
10
12
|
const slottedContent = this.el.querySelector('p');
|
|
11
13
|
if (slottedContent) {
|
|
12
14
|
slottedContent.classList.add('text-sm-semi-bold');
|
|
13
15
|
}
|
|
16
|
+
if (this.state === 'active') {
|
|
17
|
+
slottedContent.classList.add('active_text');
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
async loadIcon(iconName) {
|
|
21
|
+
const iconPath = getAssetPath(`${iconName}`);
|
|
22
|
+
const response = await fetch(iconPath);
|
|
23
|
+
const svg = await response.text();
|
|
24
|
+
this.leadingIconSvg = svg;
|
|
25
|
+
}
|
|
26
|
+
componentWillLoad() {
|
|
27
|
+
this.loadIcon(this.iconSrc);
|
|
14
28
|
}
|
|
15
29
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '1cd8191c7fbefd0f776b5ccfa1f9f74ecd8c1306', class: `button_base_div ${this.icon} ${this.state}` }, this.icon === 'false' && h("slot", { key: '3f5122275e87cce12b4f02a2daf9b6ca3a49f050' }), this.icon === 'leading' && (h(Fragment, null, h("svg", { key: 'a5902de50aee64a8a01a4021ac812f8df4f2a984', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2d125fceea7e8adb5f61cba382d583c64529b5da', 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: '92abc90a7cfa0dbc41c4f2ce20e56b4daaa69348' }))), this.icon === 'trailing' && (h(Fragment, null, h("slot", { key: 'cada359198ade5c3edef6b5f6331bfe01382085c' }), h("svg", { key: 'f6353cacabddf41c0486d85e62a005b055c6aa9d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd58adab4e8cb6a89814a787a38504fb6cb8de13e', 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" })))), this.icon === 'only' && (h(Fragment, null, h("div", { key: '14fc609fd29673d60e0b81c56efdcaeaea471f97', class: `icon`, innerHTML: this.leadingIconSvg })))));
|
|
17
31
|
}
|
|
18
32
|
static get is() { return "gb-pagination-button-group-base"; }
|
|
19
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,9 +110,31 @@ export class GbPaginationButtonGroupBase {
|
|
|
96
110
|
},
|
|
97
111
|
"attribute": "state",
|
|
98
112
|
"reflect": false
|
|
113
|
+
},
|
|
114
|
+
"iconSrc": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"mutable": false,
|
|
117
|
+
"complexType": {
|
|
118
|
+
"original": "string",
|
|
119
|
+
"resolved": "string",
|
|
120
|
+
"references": {}
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": false,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": ""
|
|
127
|
+
},
|
|
128
|
+
"attribute": "icon-src",
|
|
129
|
+
"reflect": false
|
|
99
130
|
}
|
|
100
131
|
};
|
|
101
132
|
}
|
|
133
|
+
static get states() {
|
|
134
|
+
return {
|
|
135
|
+
"leadingIconSvg": {}
|
|
136
|
+
};
|
|
137
|
+
}
|
|
102
138
|
static get elementRef() { return "el"; }
|
|
103
139
|
}
|
|
104
140
|
//# sourceMappingURL=gb-pagination-button-group-base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-pagination-button-group-base.js","sourceRoot":"","sources":["../../../src/components/gb-pagination-button-group-base/gb-pagination-button-group-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"gb-pagination-button-group-base.js","sourceRoot":"","sources":["../../../src/components/gb-pagination-button-group-base/gb-pagination-button-group-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAO3F,MAAM,OAAO,2BAA2B;;;;;;;8BAMJ,EAAE;;IAGpC,gBAAgB;QACd,MAAM,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QAElD,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,CAAC,SAAS,CAAC,GAAG,CAAC,mBAAmB,C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C3J,MAAM,EAAC,SAAS,kBACH,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CACJ;YACA,IAAI,CAAC,IAAI,KAAK,MAAM,IAAI,CACvB;gBACA,4DAAK,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,GAAQ,CACvD,CACJ,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, getAssetPath, State } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: 'gb-pagination-button-group-base',\r\n styleUrl: 'gb-pagination-button-group-base.css',\r\n shadow: true,\r\n})\r\nexport class GbPaginationButtonGroupBase {\r\n @Prop() icon: 'false' | 'only' | 'trailing' | 'leading';\r\n @Prop() iconLeading: string;\r\n @Prop() iconTrailing: string;\r\n @Prop() state: 'default' | 'active';\r\n @Prop() iconSrc: string;\r\n @State() leadingIconSvg: string = '';\r\n @Element() el: HTMLElement;\r\n\r\n componentDidLoad() {\r\n const slottedContent = this.el.querySelector('p');\r\n\r\n if (slottedContent) {\r\n slottedContent.classList.add('text-sm-semi-bold');\r\n }\r\n\r\n if(this.state === 'active') {\r\n slottedContent.classList.add('active_text');\r\n }\r\n }\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={`button_base_div ${this.icon} ${this.state}`}>\r\n {this.icon === 'false' && <slot></slot>}\r\n {this.icon === 'leading' && (\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\r\n 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\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n <slot></slot>\r\n </>\r\n )}\r\n {this.icon === 'trailing' && (\r\n <>\r\n <slot></slot>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n 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\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </>\r\n )}\r\n {this.icon === 'only' && (\r\n <>\r\n <div class={`icon`} innerHTML={this.leadingIconSvg}></div>\r\n </>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"]}
|
|
@@ -7,7 +7,7 @@ export class GbPaginationDotGroup {
|
|
|
7
7
|
this.framed = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'b7679e82c981e02884a3303cfd297ecd4b9c1ceb', class: "dot_group_div" }, h("div", { key: '91f0721484e461dcf9b8bb5b55dc6003dae1e863' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "gb-pagination-dot-group"; }
|
|
13
13
|
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: 'b58e45fd7fe010eafc77fa327b9a09c3ea21e06d', class: `dot_indicator_div
|
|
10
10
|
${this.type} ${this.current ? 'current' : ''}
|
|
11
11
|
${this.size}` }));
|
|
12
12
|
}
|
|
@@ -17,7 +17,7 @@ export class GbPaginationNumberBase {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: 'c504e790d8dc0b647e9818af2adbfdc178aa24b8', class: `page_number_base ${this.shape} ${this.state}` }, h("slot", { key: '55c1895cc43c4349ddae31a18e12b66ec2f2b7f4', name: "page_number" })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "gb-pagination-number-base"; }
|
|
23
23
|
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: '045de607056fae34b10813ec4506cde703b2abd0' }, h("gb-btn", { key: '0fa8910037860d2ea5ad94e5d78fb4838dde79f3', size: "sm", hierarchy: "link_gray", state: "default", onClick: () => this.togglePasswordVisibility() }, this.isPasswordVisible ? (h("gb-button", { size: "sm", hierarchy: "tertiary_gray", icon: "default", state: this.state }, h("p", null, "HIDE"))) : (h("gb-button", { size: "sm", hierarchy: "tertiary_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"; }
|
|
@@ -2668,7 +2668,6 @@
|
|
|
2668
2668
|
background-color: transparent;
|
|
2669
2669
|
display: flex;
|
|
2670
2670
|
align-items: center;
|
|
2671
|
-
align-items: stretch;
|
|
2672
2671
|
gap: var(--spacing-3);
|
|
2673
2672
|
width: 100%;
|
|
2674
2673
|
height: fit-content;
|
|
@@ -2697,6 +2696,10 @@
|
|
|
2697
2696
|
align-items: center;
|
|
2698
2697
|
}
|
|
2699
2698
|
|
|
2699
|
+
span {
|
|
2700
|
+
color: var(--color-text, #4B5565);
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2700
2703
|
/* Label Position Styles */
|
|
2701
2704
|
.progress_bar_container.right {
|
|
2702
2705
|
flex-direction: row;
|
|
@@ -4,11 +4,10 @@ export class GbProgressBar {
|
|
|
4
4
|
this.progress = undefined;
|
|
5
5
|
this.showLabel = false;
|
|
6
6
|
this.labelPosition = undefined;
|
|
7
|
-
this.el = undefined;
|
|
8
7
|
}
|
|
9
8
|
render() {
|
|
10
9
|
const progressValue = Math.min(Math.max(this.progress, 0), 100);
|
|
11
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'c02b3985672fe69ea47599f059daa02cf7fad83d', class: `progress_bar_container ${this.labelPosition}` }, h("div", { key: '622550389b9cd23f3e9526efec8356f314bafbf7', class: "progress_bar" }, h("div", { key: '1e86853f62b967fae4bf3aa2967a0c381f319eac', class: "progress_fill", style: { width: `${progressValue}%` } })), h(Fragment, null, this.showLabel && (h("div", { key: '5642c3b1e3bd101bf6aad835cb8fe651fac665d5', class: `label ${this.labelPosition}` }, this.labelPosition === 'right' && h("span", { key: 'f5247cbcae27e1c53f3cbd78694244337660b0aa', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'bottom' && h("span", { key: '931d955d90b90d031c85f03afa18d6f0b9341e13', class: `text-sm-medium` }, progressValue, "%"), this.labelPosition === 'top_floating' && (h("gb-tooltip", { key: '66946b0b7d68b80eea569816f7adb9b793d794a1', class: `top_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 6.5).toString()}%` } }, h("p", { key: 'a553f5f4c6d4d240a49da10d292dc7b70d096d9c', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))), this.labelPosition === 'bottom_floating' && (h("gb-tooltip", { key: '28d581f05bb97efa8f5fde84363d542e94fac7ae', class: `bottom_tooltip`, arrow: "none", style: { marginLeft: `${(progressValue - 59.5).toString()}%` } }, h("p", { key: '906a2efa4af0efa51731c645adcc1a6f7c7b0a96', slot: "main_text", class: "text-xs-semi-bold" }, progressValue, "%"))))))));
|
|
12
11
|
}
|
|
13
12
|
static get is() { return "gb-progress-bar"; }
|
|
14
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,26 +74,6 @@ export class GbProgressBar {
|
|
|
75
74
|
},
|
|
76
75
|
"attribute": "label-position",
|
|
77
76
|
"reflect": false
|
|
78
|
-
},
|
|
79
|
-
"el": {
|
|
80
|
-
"type": "unknown",
|
|
81
|
-
"mutable": false,
|
|
82
|
-
"complexType": {
|
|
83
|
-
"original": "HTMLElement",
|
|
84
|
-
"resolved": "HTMLElement",
|
|
85
|
-
"references": {
|
|
86
|
-
"HTMLElement": {
|
|
87
|
-
"location": "global",
|
|
88
|
-
"id": "global::HTMLElement"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"required": false,
|
|
93
|
-
"optional": false,
|
|
94
|
-
"docs": {
|
|
95
|
-
"tags": [],
|
|
96
|
-
"text": ""
|
|
97
|
-
}
|
|
98
77
|
}
|
|
99
78
|
};
|
|
100
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-progress-bar.js","sourceRoot":"","sources":["../../../src/components/gb-progress-bar/gb-progress-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAO7D,MAAM,OAAO,aAAa;;;yBAEK,KAAK
|
|
1
|
+
{"version":3,"file":"gb-progress-bar.js","sourceRoot":"","sources":["../../../src/components/gb-progress-bar/gb-progress-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM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AAC,mBAAmB;wBAC1C,aAAa;4BACZ,CACO,CACd,CACG,CACP,CACA,CACC,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-progress-bar',\r\n styleUrl: 'gb-progress-bar.css',\r\n shadow: true,\r\n})\r\nexport class GbProgressBar {\r\n @Prop() progress: number;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() labelPosition: 'right' | 'bottom' | 'top_floating' | 'bottom_floating';\r\n\r\n render() {\r\n const progressValue = Math.min(Math.max(this.progress, 0), 100);\r\n\r\n return (\r\n <div class={`progress_bar_container ${this.labelPosition}`}>\r\n <div class=\"progress_bar\">\r\n <div class=\"progress_fill\" style={{ width: `${progressValue}%` }}></div>\r\n </div>\r\n <>\r\n {this.showLabel && (\r\n <div class={`label ${this.labelPosition}`}>\r\n {this.labelPosition === 'right' && <span class={`text-sm-medium`}>{progressValue}%</span>}\r\n {this.labelPosition === 'bottom' && <span class={`text-sm-medium`}>{progressValue}%</span>}\r\n {this.labelPosition === 'top_floating' && (\r\n <gb-tooltip class={`top_tooltip`} arrow=\"none\" style={{ marginLeft: `${(progressValue - 6.5).toString()}%` }}>\r\n <p slot=\"main_text\" class=\"text-xs-semi-bold\">\r\n {progressValue}%\r\n </p>\r\n </gb-tooltip>\r\n )}\r\n {this.labelPosition === 'bottom_floating' && (\r\n <gb-tooltip class={`bottom_tooltip`} arrow=\"none\" style={{ marginLeft: `${(progressValue - 59.5).toString()}%` }}>\r\n <p slot=\"main_text\" class=\"text-xs-semi-bold\">\r\n {progressValue}%\r\n </p>\r\n </gb-tooltip>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>\r\n );\r\n }\r\n}"]}
|
|
@@ -30,7 +30,7 @@ export class GbProgressCircle {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '42986b0736a1ac2a6461061f66f12bb614839126', class: "gauge" }, h("div", { key: '02d4da5d3463a06aa609ccd7a069dea2359895ab', class: "arc", ref: el => (this.arcElement = el) }), h("div", { key: '6081349a743720712677ac7aec0ce8f5cca381e4', class: "mask" }), this.label && (h("div", { key: '1b0044962d33cfd65a72fb7628f4283ce774df9f', class: "label", ref: el => (this.labelElement = el) }, h("p", { key: 'e809895f1c709d39b2d1ed942120b8d4504ed6ef', class: "display-lg-semi-bold" }, `${this.progress}%`)))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "gb-progress-circle"; }
|
|
36
36
|
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: 'f742bdbcc609404ea5adca4a86705abb117501e2', class: classes }, h("div", { key: '1b8ab005d10d27801ff97fcf695e4af1973ca0b9', class: "input-with-label" }, h("label", { key: '85ef47252c8af5afe6137ed8dc56ae3e5e81c7db' }, this.label), h("div", { key: 'a8a9d360cf7c9ad71738e565c7b17135a7b26d81', class: "input-container" }, h("div", { key: 'af02147432acaedaf2f39cc77398e190e3eb3220', class: "toolbar-container" }, h("gb-wysiwyg-toolbar", { key: '0c07f8e823c3d1510c54c93bb540bbc4a616682d', 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: '59c942e7f3399d3e79bbc1342f8cf6059fb4bae4', class: "error-icon" }, h("svg", { key: '553ce229a1e21c894b91803208968af6266ca9c6', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '884287625c4cbf8c63c1fa6d786d6ed8ebbd0165', 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: '3c3be930c7f35a429132a3d681af5d5cf2ac0a53', class: "text-container" }, h("textarea", { key: 'cca71af6b6406805e4cb72fdeb5b55bd66c3360e' }, this.showPlaceholder && (h("div", { key: '5695660d5913d0db5716bbaac02d1e7d8e3a61bf' }, this.placeholder)))))), this.showHintText && (h("div", { key: 'f3689399689f4110a403a6f1c04ece3285f1fd8b', 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: '0d44fae0f4510f79a1ee99f8e56487d29a8d772a', class: "scrollbar-container" }, h("div", { key: '0a6b6065c5b2a2ff24397005f24779aac9ac082d', class: "scrollbar", style: { height: this.length } }, h("slot", { key: '6035119b2b1c09412dfcf2bdedf1b7362cba0446' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-scrollbar"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class GbSideBarItem {
|
|
|
32
32
|
render() {
|
|
33
33
|
const redBarSrc = getAssetPath(`assets/bar.svg`);
|
|
34
34
|
const whiteBarSrc = getAssetPath(`assets/bar_white.svg`);
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '4c5dc91c069091b3831d401a895cf6e71289b44b', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: 'cbb648edca2f994f29af3c877b8c620bcafbb736', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'b567adf4fc4b56d9f39790ed124c9d5f42123e16', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: '0a935cdfefe86eededbc92002b607ad642028515', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '8ffc650d047f91bfadd1d8ac562acc635b1a59d1', class: "content" }, h("div", { key: '48e4292fc4f47316adc93f65f9f8601922025cd6', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: 'a199ec1ecc329db2242710ca9576b0968ca3c2e4', 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: 'ec0f75ce7fd33c6975bf2eb90c477c4702b23b47', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: '1156f5ee6a5ea33482303d9cf17cf86f8cc1cea6' }, "10"))), this.showArrow && (h("svg", { key: '1cc977dfd64d3d82546df1308652e2e3b7482e87', 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: '3f444bb899382f5f7ac44faa55b19d867468cf41', 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: '9fc794e729bce709dea2d3defbc62ae3792829eb', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: '2016522956f6632789e32efa2559a2ae053e56ab', slot: "label" }, this.label)))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "gb-side-bar-item"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +70,7 @@ export class GbSidebar {
|
|
|
70
70
|
const logoSrc = getAssetPath(`assets/globus_bank_logo.svg`);
|
|
71
71
|
const blueLogoSrc = getAssetPath(`assets/globus_bank_logo_blue.svg`);
|
|
72
72
|
const whiteLogoSrc = getAssetPath(`assets/globus_bank_logo_white.svg`);
|
|
73
|
-
return (h("div", { key: '
|
|
73
|
+
return (h("div", { key: '7237d36f0e0832317eebb6ff8a00ace91e62c934', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'de6509bfb9ebb15b748fbb784ab37495e1dadacd', class: "pattern" }, h("img", { key: 'e1a62b62813254afa57af6b699885f90d4a133f4', src: patternSrc, alt: "" }))), h("div", { key: 'fcd84993b1240e1d9c2cf3f9f460a329aaf58bda', class: "nav" }, h("div", { key: 'e0a3ad7c407c7bf1eb95df446c077b8d002cd870', class: `sidebar_header ${this.state}` }, h("div", { key: '486f9118a3e0b58d6a523241343fa342c0ce6ae7', 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: 'd373e21454e334b68bb675f004af3e309129c46a', src: logoSrc, alt: "" })), h("div", { key: '6030d0244665a63127278e8904591ebdc673ea10', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: '91a56161d8dd4e3372829154859047764faf7f6c', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: '7637eaf832f3a1e7bb6a0dc2cacf74c3ad43c510', class: "navigation" }, h("div", { key: '4ca63e1e3e2cd742607331c8ece482716e8ac7f9', class: "item" }, h("gb-side-bar-item", { key: 'c712fae64d5bc0f8ef93aa655f02b9302f686d14', 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: 'b46d1104db94db2057cb32d8925988e6a86444a0', 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: '18aaf068dfdad4baa11a9b31e5929e3a1cd501b2', 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: '60e0924676c09f5e71c4a5fbdff48862f3cc1e0c', 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: '0be7d9bfd073d9e828eae52d62ef28a8753d62b8', 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: '7b5b95886909c44ba45fb3665b0377affc00edcd', class: "navigation" }, h("div", { key: 'f44d3516c3dae93d287f89366fe0ce5560a977b0', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: 'cb369b498efa68f5f2419a9fccd70914f6b00519', 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: 'eff263f30cfc1c82fec52e49f79b285baeb00c75', 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: '4ae81d1cfd7478000a20ea3619b51611cb588f85', 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: '01681c0e7cdc5cf8afb6a921bd77328342a63a17', 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: '4037e2705a2bbba5420d0a4200b5fbf01cef08e6', 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: '983eb07eedadff0414708207b10461c64fb433d2', class: "application_name" }, h("div", { key: '11c108d145d44aefabd57c45938167be0db77de2', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '588257841f45205568df7ec78bdf75b226b15c7b', class: "application_name_pattern" }, h("img", { key: 'b7cb416e36f6c2f6ea22be1a283355f950d379bd', src: patternSrc, alt: "" }))), h("div", { key: '0416a1442e9bfe680c9ffbe86d43aba6883e1f04', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '887e189cdc570fb41d6e004597388b6d04ca45d4', class: textClass }, h("slot", { key: 'aa2d6119761e6eb8b4da2a35d3d996320a8c26c3', name: "application_name" })))))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "gb-sidebar"; }
|
|
76
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,28 +3,36 @@ export class GbSlider {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.isDragging = false;
|
|
5
5
|
this.activeThumb = null;
|
|
6
|
-
this.snapPoints = [0, 25, 50, 75, 100];
|
|
7
6
|
this.handleMouseDown = (_e, thumb) => {
|
|
8
7
|
this.isDragging = true;
|
|
9
8
|
this.activeThumb = thumb;
|
|
9
|
+
// Clamp the initial value of the thumb within bounds
|
|
10
|
+
if (thumb === 'left') {
|
|
11
|
+
this.leftValue = Math.min(this.leftValue, this.rightValue - 1);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
this.rightValue = Math.max(this.rightValue, this.leftValue + 1);
|
|
15
|
+
}
|
|
10
16
|
document.addEventListener('mousemove', this.handleMouseMove);
|
|
11
17
|
document.addEventListener('mouseup', this.handleMouseUp);
|
|
12
18
|
};
|
|
13
19
|
this.handleMouseMove = (e) => {
|
|
14
20
|
if (!this.isDragging)
|
|
15
21
|
return;
|
|
16
|
-
//
|
|
17
|
-
const
|
|
18
|
-
//
|
|
19
|
-
const
|
|
20
|
-
//
|
|
22
|
+
// Get the bounding box of the slider container
|
|
23
|
+
const boundingBox = this.containerEl.getBoundingClientRect();
|
|
24
|
+
// Calculate the mouse position relative to the slider container
|
|
25
|
+
const position = ((e.clientX - boundingBox.left) / boundingBox.width) * (this.max - this.min) + this.min;
|
|
26
|
+
// Snap the position to the nearest integer increment of 1
|
|
27
|
+
const value = Math.round(position);
|
|
28
|
+
// Update the appropriate thumb's value, clamping it within bounds
|
|
21
29
|
if (this.activeThumb === 'left') {
|
|
22
|
-
this.leftValue = Math.min(value, this.rightValue -
|
|
30
|
+
this.leftValue = Math.max(this.min, Math.min(value, this.rightValue - 1)); // Ensure it doesn't exceed right thumb
|
|
23
31
|
}
|
|
24
32
|
else {
|
|
25
|
-
this.rightValue = Math.max(value, this.leftValue +
|
|
33
|
+
this.rightValue = Math.min(this.max, Math.max(value, this.leftValue + 1)); // Ensure it doesn't go below left thumb
|
|
26
34
|
}
|
|
27
|
-
// Update the track's appearance and emit the new values
|
|
35
|
+
// Update the track's appearance and emit the new values
|
|
28
36
|
this.updateTrack();
|
|
29
37
|
this.thumbValueChanged.emit({ left: this.leftValue, right: this.rightValue });
|
|
30
38
|
};
|
|
@@ -34,29 +42,39 @@ export class GbSlider {
|
|
|
34
42
|
document.removeEventListener('mousemove', this.handleMouseMove);
|
|
35
43
|
document.removeEventListener('mouseup', this.handleMouseUp);
|
|
36
44
|
};
|
|
37
|
-
this.min =
|
|
38
|
-
this.max =
|
|
45
|
+
this.min = 0;
|
|
46
|
+
this.max = 100;
|
|
39
47
|
this.thumbType = undefined;
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
48
|
+
this.leftControl = 0;
|
|
49
|
+
this.rightControl = 100;
|
|
50
|
+
this.label = undefined;
|
|
51
|
+
this.unit = '';
|
|
52
|
+
this.unitPosition = 'left';
|
|
53
|
+
this.leftValue = undefined;
|
|
54
|
+
this.rightValue = undefined;
|
|
55
|
+
}
|
|
56
|
+
componentWillLoad() {
|
|
57
|
+
// Set the initial values for the slider
|
|
58
|
+
this.leftValue = Math.max(this.min, Math.min(this.leftControl, this.max));
|
|
59
|
+
this.rightValue = Math.max(this.min, Math.min(this.rightControl, this.max));
|
|
42
60
|
}
|
|
43
61
|
componentDidLoad() {
|
|
44
62
|
this.trackEl = this.el.shadowRoot.querySelector('.track');
|
|
45
63
|
this.containerEl = this.el.shadowRoot.querySelector('.slider-container');
|
|
46
64
|
this.updateTrack();
|
|
47
65
|
}
|
|
48
|
-
findNearestSnapPoint(value) {
|
|
49
|
-
return this.snapPoints.reduce((prev, curr) => Math.abs(curr - value) < Math.abs(prev - value) ? curr : prev);
|
|
50
|
-
}
|
|
51
66
|
updateTrack() {
|
|
52
|
-
const leftPos = this.leftValue;
|
|
53
|
-
const rightPos = this.rightValue;
|
|
67
|
+
const leftPos = ((this.leftValue - this.min) / (this.max - this.min)) * 100;
|
|
68
|
+
const rightPos = ((this.rightValue - this.min) / (this.max - this.min)) * 100;
|
|
54
69
|
// Update the track's left position and width to match the thumb positions.
|
|
55
70
|
this.trackEl.style.left = `${leftPos}%`;
|
|
56
71
|
this.trackEl.style.width = `${rightPos - leftPos}%`;
|
|
57
72
|
}
|
|
73
|
+
formatValue(value) {
|
|
74
|
+
return this.unitPosition === 'left' ? `${this.unit}${value}` : `${value}${this.unit}`;
|
|
75
|
+
}
|
|
58
76
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
77
|
+
return (h("div", { key: 'a12e9fd387d8e3de3d64b164e696e0f2d2137296', class: "slider-container", ref: el => (this.containerEl = el) }, h("div", { key: 'fe986aee8ce53e563725434b5b79d29ca3370851', class: "track", ref: el => (this.trackEl = el) }), h("gb-slider-control-handle", { key: 'cf41a616da37fce9fb0c37a1da92ceee7d9587b3', class: "left", value: this.formatValue(this.leftValue), type: this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null, style: { left: `${((this.leftValue - this.min) / (this.max - this.min)) * 100}%` }, onMouseDown: e => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '2b6dec01629d859112f923f13a5c6aa3d50ccb88', class: "right", value: this.formatValue(this.rightValue), type: this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null, style: { left: `${((this.rightValue - this.min) / (this.max - this.min)) * 100}%` }, onMouseDown: e => this.handleMouseDown(e, 'right') })));
|
|
60
78
|
}
|
|
61
79
|
static get is() { return "gb-slider"; }
|
|
62
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +105,8 @@ export class GbSlider {
|
|
|
87
105
|
"text": ""
|
|
88
106
|
},
|
|
89
107
|
"attribute": "min",
|
|
90
|
-
"reflect": false
|
|
108
|
+
"reflect": false,
|
|
109
|
+
"defaultValue": "0"
|
|
91
110
|
},
|
|
92
111
|
"max": {
|
|
93
112
|
"type": "number",
|
|
@@ -104,7 +123,8 @@ export class GbSlider {
|
|
|
104
123
|
"text": ""
|
|
105
124
|
},
|
|
106
125
|
"attribute": "max",
|
|
107
|
-
"reflect": false
|
|
126
|
+
"reflect": false,
|
|
127
|
+
"defaultValue": "100"
|
|
108
128
|
},
|
|
109
129
|
"thumbType": {
|
|
110
130
|
"type": "string",
|
|
@@ -122,6 +142,95 @@ export class GbSlider {
|
|
|
122
142
|
},
|
|
123
143
|
"attribute": "thumb-type",
|
|
124
144
|
"reflect": false
|
|
145
|
+
},
|
|
146
|
+
"leftControl": {
|
|
147
|
+
"type": "number",
|
|
148
|
+
"mutable": false,
|
|
149
|
+
"complexType": {
|
|
150
|
+
"original": "number",
|
|
151
|
+
"resolved": "number",
|
|
152
|
+
"references": {}
|
|
153
|
+
},
|
|
154
|
+
"required": false,
|
|
155
|
+
"optional": false,
|
|
156
|
+
"docs": {
|
|
157
|
+
"tags": [],
|
|
158
|
+
"text": ""
|
|
159
|
+
},
|
|
160
|
+
"attribute": "left-control",
|
|
161
|
+
"reflect": false,
|
|
162
|
+
"defaultValue": "0"
|
|
163
|
+
},
|
|
164
|
+
"rightControl": {
|
|
165
|
+
"type": "number",
|
|
166
|
+
"mutable": false,
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "number",
|
|
169
|
+
"resolved": "number",
|
|
170
|
+
"references": {}
|
|
171
|
+
},
|
|
172
|
+
"required": false,
|
|
173
|
+
"optional": false,
|
|
174
|
+
"docs": {
|
|
175
|
+
"tags": [],
|
|
176
|
+
"text": ""
|
|
177
|
+
},
|
|
178
|
+
"attribute": "right-control",
|
|
179
|
+
"reflect": false,
|
|
180
|
+
"defaultValue": "100"
|
|
181
|
+
},
|
|
182
|
+
"label": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"mutable": false,
|
|
185
|
+
"complexType": {
|
|
186
|
+
"original": "'false' | 'bottom' | 'top_floating'",
|
|
187
|
+
"resolved": "\"bottom\" | \"false\" | \"top_floating\"",
|
|
188
|
+
"references": {}
|
|
189
|
+
},
|
|
190
|
+
"required": false,
|
|
191
|
+
"optional": false,
|
|
192
|
+
"docs": {
|
|
193
|
+
"tags": [],
|
|
194
|
+
"text": ""
|
|
195
|
+
},
|
|
196
|
+
"attribute": "label",
|
|
197
|
+
"reflect": false
|
|
198
|
+
},
|
|
199
|
+
"unit": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "string",
|
|
204
|
+
"resolved": "string",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": ""
|
|
212
|
+
},
|
|
213
|
+
"attribute": "unit",
|
|
214
|
+
"reflect": false,
|
|
215
|
+
"defaultValue": "''"
|
|
216
|
+
},
|
|
217
|
+
"unitPosition": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"mutable": false,
|
|
220
|
+
"complexType": {
|
|
221
|
+
"original": "'left' | 'right'",
|
|
222
|
+
"resolved": "\"left\" | \"right\"",
|
|
223
|
+
"references": {}
|
|
224
|
+
},
|
|
225
|
+
"required": false,
|
|
226
|
+
"optional": false,
|
|
227
|
+
"docs": {
|
|
228
|
+
"tags": [],
|
|
229
|
+
"text": ""
|
|
230
|
+
},
|
|
231
|
+
"attribute": "unit-position",
|
|
232
|
+
"reflect": false,
|
|
233
|
+
"defaultValue": "'left'"
|
|
125
234
|
}
|
|
126
235
|
};
|
|
127
236
|
}
|
|
@@ -1 +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,CAA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,KAAK,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,EACvH,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,EAAE,EACnF,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,EAAE,OAAO,CAAC,GACxB,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 @Prop() min: number = 0;\r\n @Prop() max: number = 100;\r\n @Prop() thumbType: 'text' | 'tooltip';\r\n @Prop() leftControl: number = 0; // Developer can set this\r\n @Prop() rightControl: number = 100; // Developer can set this\r\n @Prop() label: 'false' | 'bottom' | 'top_floating';\r\n @Prop() unit: string = '';\r\n @Prop() unitPosition: 'left' | 'right' = 'left';\r\n @State() leftValue: number;\r\n @State() rightValue: number;\r\n @Event() thumbValueChanged: 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 componentWillLoad() {\r\n // Set the initial values for the slider\r\n this.leftValue = Math.max(this.min, Math.min(this.leftControl, this.max));\r\n this.rightValue = Math.max(this.min, Math.min(this.rightControl, this.max));\r\n }\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\r\n // Clamp the initial value of the thumb within bounds\r\n if (thumb === 'left') {\r\n this.leftValue = Math.min(this.leftValue, this.rightValue - 1);\r\n } else {\r\n this.rightValue = Math.max(this.rightValue, this.leftValue + 1);\r\n }\r\n\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 // Get the bounding box of the slider container\r\n const boundingBox = this.containerEl.getBoundingClientRect();\r\n\r\n // Calculate the mouse position relative to the slider container\r\n const position = ((e.clientX - boundingBox.left) / boundingBox.width) * (this.max - this.min) + this.min;\r\n\r\n // Snap the position to the nearest integer increment of 1\r\n const value = Math.round(position);\r\n\r\n // Update the appropriate thumb's value, clamping it within bounds\r\n if (this.activeThumb === 'left') {\r\n this.leftValue = Math.max(this.min, Math.min(value, this.rightValue - 1)); // Ensure it doesn't exceed right thumb\r\n } else {\r\n this.rightValue = Math.min(this.max, Math.max(value, this.leftValue + 1)); // Ensure it doesn't go below left thumb\r\n }\r\n\r\n // Update the track's appearance and emit the new values\r\n this.updateTrack();\r\n this.thumbValueChanged.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 updateTrack() {\r\n const leftPos = ((this.leftValue - this.min) / (this.max - this.min)) * 100;\r\n const rightPos = ((this.rightValue - this.min) / (this.max - this.min)) * 100;\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 formatValue(value: number): string {\r\n return this.unitPosition === 'left' ? `${this.unit}${value}` : `${value}${this.unit}`;\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.formatValue(this.leftValue)}\r\n type={this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null}\r\n style={{ left: `${((this.leftValue - this.min) / (this.max - this.min)) * 100}%` }}\r\n onMouseDown={e => this.handleMouseDown(e, 'left')}\r\n ></gb-slider-control-handle>\r\n <gb-slider-control-handle\r\n class=\"right\"\r\n value={this.formatValue(this.rightValue)}\r\n type={this.label === 'false' ? '' : this.label === 'bottom' ? 'text' : this.label === 'top_floating' ? 'tooltip' : null}\r\n style={{ left: `${((this.rightValue - this.min) / (this.max - this.min)) * 100}%` }}\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"]}
|