globuswebcomponents 0.5.1 → 0.5.3
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_28.cjs.entry.js +1286 -0
- package/dist/cjs/gb-avatar_28.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-megainput-field.cjs.entry.js +42 -0
- package/dist/cjs/gb-megainput-field.cjs.entry.js.map +1 -0
- 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-notification-pane.cjs.entry.js +45 -0
- package/dist/cjs/gb-notification-pane.cjs.entry.js.map +1 -0
- 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-slider-control-handle.cjs.entry.js +2 -2
- package/dist/cjs/gb-slider-control-handle.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-slider.cjs.entry.js +3 -3
- package/dist/cjs/gb-slider.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-base.cjs.entry.js +32 -0
- package/dist/cjs/gb-toggle-base.cjs.entry.js.map +1 -0
- 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-verification-code-field.cjs.entry.js +32 -0
- package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +1 -0
- 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/cjs/reusableModels-e50f3440.js.map +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 +3 -3
- 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/gb-avatar.css +162 -21
- package/dist/collection/components/gb-avatar/gb-avatar.js +37 -1
- package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
- 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 +12 -0
- package/dist/collection/components/gb-btn/gb-btn.js +4 -1
- package/dist/collection/components/gb-btn/gb-btn.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.css +8 -0
- package/dist/collection/components/gb-button/gb-button.js +4 -2
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +3 -1
- 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 +60 -3
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +185 -7
- 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}/gb-input-dropdown-menu-item.css +3 -2
- package/dist/collection/components/{gb-input-dropdown-menu → gb-input-dropdown-menu-item}/gb-input-dropdown-menu-item.js +31 -12
- package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js.map +1 -0
- package/dist/collection/components/gb-input-field/gb-input-field.css +33 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +2 -2
- 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.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 +3 -0
- package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
- package/dist/collection/components/gb-password-button/gb-password-button.js.map +1 -1
- package/dist/collection/components/gb-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-tags/gb-tags.css → gb-tag/gb-tag.css} +7 -0
- package/dist/collection/components/{gb-tags/gb-tags.js → gb-tag/gb-tag.js} +28 -4
- package/dist/collection/components/gb-tag/gb-tag.js.map +1 -0
- 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-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 +2 -2
- 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 +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 +1 -75
- 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 +54 -12
- 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 +1 -78
- 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-0129a72b.js +37 -0
- package/dist/components/{p-58b75242.js.map → p-0129a72b.js.map} +1 -1
- package/dist/components/p-0190e346.js +50 -0
- package/dist/components/{p-a20359a2.js.map → p-0190e346.js.map} +1 -1
- 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-0c3f1ae2.js +79 -0
- package/dist/components/{p-ae666b1f.js.map → p-0c3f1ae2.js.map} +1 -1
- package/dist/components/p-17144463.js +44 -0
- package/dist/components/{p-8907e475.js.map → p-17144463.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-dc7db1b5.js → p-1cf0a465.js} +2 -2
- package/dist/components/{p-dc7db1b5.js.map → p-1cf0a465.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-35054a6a.js +58 -0
- package/dist/components/{p-9dc84aa6.js.map → p-35054a6a.js.map} +1 -1
- package/dist/components/p-3fd78bcf.js +37 -0
- package/dist/components/{p-4d306827.js.map → p-3fd78bcf.js.map} +1 -1
- package/dist/components/p-40b924b3.js +235 -0
- package/dist/components/p-40b924b3.js.map +1 -0
- package/dist/components/p-43250a93.js +142 -0
- package/dist/components/{p-b59eb748.js.map → p-43250a93.js.map} +1 -1
- package/dist/components/p-47052b60.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-623ed6aa.js +46 -0
- package/dist/components/{p-fbcd8aaf.js.map → p-623ed6aa.js.map} +1 -1
- package/dist/components/p-64964951.js +119 -0
- package/dist/components/p-64964951.js.map +1 -0
- package/dist/components/p-6c339b3f.js +113 -0
- package/dist/components/{p-d78d8fa1.js.map → p-6c339b3f.js.map} +1 -1
- package/dist/components/p-7d2b0b60.js +87 -0
- package/dist/components/p-7d2b0b60.js.map +1 -0
- package/dist/components/p-888acea3.js +48 -0
- package/dist/components/p-888acea3.js.map +1 -0
- package/dist/components/p-8d1707cb.js +69 -0
- package/dist/components/{p-ce25eb27.js.map → p-8d1707cb.js.map} +1 -1
- package/dist/components/p-983e2798.js +117 -0
- package/dist/components/{p-d9e59617.js.map → p-983e2798.js.map} +1 -1
- package/dist/components/p-9e4aaaff.js +162 -0
- package/dist/components/{p-caca69ed.js.map → p-9e4aaaff.js.map} +1 -1
- package/dist/components/p-a714f550.js +61 -0
- package/dist/components/{p-54cefcf0.js.map → p-a714f550.js.map} +1 -1
- package/dist/components/p-a7c4e272.js +129 -0
- package/dist/components/p-a7c4e272.js.map +1 -0
- package/dist/components/p-a9079204.js +55 -0
- package/dist/components/{p-123cdd06.js.map → p-a9079204.js.map} +1 -1
- package/dist/components/{p-ca6140dc.js → p-ce85b058.js} +19 -5
- package/dist/components/p-ce85b058.js.map +1 -0
- package/dist/components/p-d947050b.js +86 -0
- package/dist/components/p-d947050b.js.map +1 -0
- 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-e198d18d.js +41 -0
- package/dist/components/{p-0e1ec56d.js.map → p-e198d18d.js.map} +1 -1
- package/dist/components/p-e790d9c3.js +115 -0
- package/dist/components/p-e790d9c3.js.map +1 -0
- package/dist/components/p-eed6f80c.js +54 -0
- package/dist/components/p-eed6f80c.js.map +1 -0
- package/dist/components/p-fb46b2b0.js +113 -0
- package/dist/components/{p-c9629281.js.map → p-fb46b2b0.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_28.entry.js +1255 -0
- package/dist/esm/gb-avatar_28.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-megainput-field.entry.js +38 -0
- package/dist/esm/gb-megainput-field.entry.js.map +1 -0
- 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-notification-pane.entry.js +41 -0
- package/dist/esm/gb-notification-pane.entry.js.map +1 -0
- 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-slider-control-handle.entry.js +2 -2
- package/dist/esm/gb-slider-control-handle.entry.js.map +1 -1
- package/dist/esm/gb-slider.entry.js +3 -3
- package/dist/esm/gb-slider.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-base.entry.js +28 -0
- package/dist/esm/gb-toggle-base.entry.js.map +1 -0
- 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-verification-code-field.entry.js +28 -0
- package/dist/esm/gb-verification-code-field.entry.js.map +1 -0
- 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/esm/reusableModels-8496e911.js.map +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/gb-button.css +6 -0
- package/dist/globuscomponents/gb-button.tsx +3 -1
- package/dist/globuscomponents/global/global.css +2 -0
- package/dist/globuscomponents/global/tailwind.css +2 -2
- 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-0179fa9e.entry.js +2 -0
- package/dist/globuscomponents/p-0179fa9e.entry.js.map +1 -0
- package/dist/globuscomponents/p-2322ea7a.entry.js +2 -0
- package/dist/globuscomponents/{p-08a4f9a7.entry.js.map → p-2322ea7a.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-363fe580.entry.js +2 -0
- package/dist/globuscomponents/{p-668477e1.entry.js.map → p-363fe580.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-42fb642f.entry.js +2 -0
- package/dist/globuscomponents/{p-cd91a716.entry.js.map → p-42fb642f.entry.js.map} +1 -1
- package/dist/globuscomponents/p-47052b60.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-767e5360.entry.js +2 -0
- package/dist/globuscomponents/{p-5831017c.entry.js.map → p-767e5360.entry.js.map} +1 -1
- package/dist/globuscomponents/p-76c62d1e.entry.js +2 -0
- package/dist/globuscomponents/p-78b3b361.entry.js +2 -0
- package/dist/globuscomponents/p-78b3b361.entry.js.map +1 -0
- 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-840531e9.entry.js +2 -0
- package/dist/globuscomponents/p-840531e9.entry.js.map +1 -0
- package/dist/globuscomponents/p-8ddf3c50.entry.js +2 -0
- package/dist/globuscomponents/{p-3f77703d.entry.js.map → p-8ddf3c50.entry.js.map} +1 -1
- package/dist/globuscomponents/p-a2a9d289.entry.js +2 -0
- package/dist/globuscomponents/{p-5cc60ae0.entry.js.map → p-a2a9d289.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-c7e4235c.entry.js +2 -0
- package/dist/globuscomponents/p-c7e4235c.entry.js.map +1 -0
- package/dist/globuscomponents/p-d3b5c5b4.entry.js +2 -0
- package/dist/globuscomponents/p-d3b5c5b4.entry.js.map +1 -0
- package/dist/globuscomponents/p-ded71532.entry.js +2 -0
- package/dist/globuscomponents/p-ded71532.entry.js.map +1 -0
- package/dist/globuscomponents/p-e25f6faa.entry.js +2 -0
- package/dist/globuscomponents/{p-c5541a8c.entry.js.map → p-e25f6faa.entry.js.map} +1 -1
- 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-e718da9d.entry.js +2 -0
- package/dist/globuscomponents/{p-cb0453d8.entry.js.map → p-e718da9d.entry.js.map} +1 -1
- package/dist/globuscomponents/p-f16ffdee.entry.js +2 -0
- package/dist/globuscomponents/p-fc55539e.entry.js +2 -0
- package/dist/globuscomponents/{p-e1a6214b.entry.js.map → p-fc55539e.entry.js.map} +1 -1
- package/dist/types/components/gb-avatar/gb-avatar.d.ts +3 -1
- package/dist/types/components/gb-btn/gb-btn.d.ts +2 -0
- package/dist/types/components/gb-button/gb-button.d.ts +2 -0
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +18 -3
- package/dist/types/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.d.ts +10 -0
- package/dist/types/components/{gb-tags/gb-tags.d.ts → gb-tag/gb-tag.d.ts} +1 -0
- package/dist/types/components.d.ts +19 -8
- package/dist/types/models/reusableModels.d.ts +2 -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-tag-checkbox_3.cjs.entry.js +0 -55
- package/dist/cjs/gb-tag-checkbox_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-tag.cjs.entry.js +0 -28
- package/dist/cjs/gb-tag.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-input-dropdown-menu/gb-input-dropdown-menu-item.js.map +0 -1
- package/dist/collection/components/gb-sliders/slider.js.map +0 -1
- package/dist/collection/components/gb-tags/gb-tags.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-4266561a.js.map +0 -1
- package/dist/components/p-4d306827.js +0 -37
- package/dist/components/p-52c1516b.js +0 -87
- package/dist/components/p-52c1516b.js.map +0 -1
- 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-9517c064.js.map +0 -1
- 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-ab92fc3c.js.map +0 -1
- 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-ca6140dc.js.map +0 -1
- 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-tag-checkbox_3.entry.js +0 -49
- package/dist/esm/gb-tag-checkbox_3.entry.js.map +0 -1
- package/dist/esm/gb-tag.entry.js +0 -24
- package/dist/esm/gb-tag.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-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-bd2d9236.entry.js.map +0 -1
- 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-d8c473cb.entry.js.map +0 -1
- 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/types/components/gb-input-dropdown-menu/gb-input-dropdown-menu-item.d.ts +0 -7
- /package/dist/globuscomponents/{p-0852d5c0.entry.js.map → p-76c62d1e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e5b5bd25.entry.js.map → p-f16ffdee.entry.js.map} +0 -0
- /package/dist/types/components/{gb-sliders/slider.d.ts → gb-slider/gb-slider.d.ts} +0 -0
|
@@ -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: '23fa470bbb9e78bc7531ebbc82bbce8bb2a980dd', class: `side_bar_item_container`, onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("div", { key: '1187da3d88e0c0b2d9021239141945f596a7a703', class: `nav_item_base ${this.state} ${this.type} ${this.category}` }, this.state === 'active' && this.category === 'plain_background' && h("img", { key: 'bd5f666bb049993e6b29f88e958c65e630b9a4ea', src: redBarSrc, alt: "", class: "bar" }), this.state === 'active' && this.category === 'colored_background' && h("img", { key: 'ded04c7749eb3a9567eb2efd29fe0f47246e1b8b', src: whiteBarSrc, alt: "", class: "bar" }), h("div", { key: '0eb43738ef99dd9a12d7af83ee0eb2b0e298f7d6', class: "content" }, h("div", { key: '2e3cfa3ad0d17b78ccafd22999dac46ac8306dea', class: `icon ${this.state} ${this.category}`, innerHTML: this.leadingIconSvg }), this.type === 'full_with_label' && (h("p", { key: '86badbbd3fdfcf41d7091821120a24a201c1e965', 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: '8ed0beb7e36508aa412a27a2a82b286d01ea8b93', size: "sm", type: "pill_outline", color: this.state === 'active' ? 'information' : 'gray' }, h("p", { key: 'd0914f72a7d225e2f1cb8aa1004093af67ce3d9d' }, "10"))), this.showArrow && (h("svg", { key: 'e833a059ce67e1d5bc88350e118c958e6371aa39', 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: 'c2d767d39553882703a9a3743b7bcffcdbbc5231', 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: 'ad141562979b987f96f080c0696d98fd0db9751c', "show-arrow": true, arrow: "left", class: "tooltip" }, h("p", { key: 'c4dbac06a32b480a2d7149333d18a8cedd22dbe7', 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: '65a8e52baf301552789a3743289f0e875ca972cf', class: `sidebar_div ${this.state} ${this.category}` }, this.category === 'colored_background' && (h("div", { key: 'a30ef33731a4383189e4ad64b55753644946465b', class: "pattern" }, h("img", { key: '4fb4c6653f629c2f05b5a167591a84a36a07cd54', src: patternSrc, alt: "" }))), h("div", { key: '5997fab39e7de88bcc3809d6d86c899a0e24d67d', class: "nav" }, h("div", { key: 'c510e6920b5ba3317a7d70ae33d10bf5b6192e90', class: `sidebar_header ${this.state}` }, h("div", { key: 'ee3910203ee8ee7a93b61397722cffafc841484a', 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: 'f88e66879ee4fe850a4b6ee99b310ca6a86e94bb', src: logoSrc, alt: "" })), h("div", { key: 'a2884255a411f54a1bd1b8c01ba53033ad613144', class: `collapse_button ${this.state}` }, h("gb-collapse-button", { key: 'ad229e501d51a896794ccc8e6eb8e4473a99fa86', color: this.category === 'plain_background' ? 'gray' : 'white', action: this.state === 'collapsed' ? 'expand' : 'collapse', onClick: () => (this.state === 'collapsed' ? this.expandSideBar() : this.collapseSideBar()) }))), h("div", { key: 'b7e31b993f7515e9e95e12e15d52345037ea00f3', class: "navigation" }, h("div", { key: '882a4a16ef9000b8edebe22584791f1652d38386', class: "item" }, h("gb-side-bar-item", { key: '67ea9ff50a8b5ebd952d1f1ceb785fd0a3749bc4', 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: 'a3a9bb0d49b9ffb785001c41284ebf8bf09a758b', 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: '972ba0c6570a6347a9b9bb61663d7360bfdfcf1e', 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: 'ce9b9e04071308098da3833a58e27b49659a8ed0', 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: 'ab11c8521cac228487631aacfa9b82c1b0e5c831', 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: '60d82355ae43b090addeca297a59bba0263940b3', class: "navigation" }, h("div", { key: 'e603e97ffdc00652ee76bfb1ea17846b2e2b5bda', class: "item" }, this.sixthItemLabel && (h("gb-side-bar-item", { key: '50b8dfc4b7ef623de9286db58f8518773098f62e', 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: '0312c3f2434c69640346f439e1caa433c951b925', 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: '87fb00b5413e7ae4415d77a9f352202eb53f468d', 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: 'b1216172f8fbd8e476845c26bd365897ced83581', 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: '7a345b05c2a34fcfa8ee0c697d661bf39f5d8dc0', 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: 'cef32090a15c2b748e8969240d21cf46f807b792', class: "application_name" }, h("div", { key: '2ded7143fd21d06f994c31d6861328eb78ad6d49', class: `wrapper ${this.category}` }, this.category === 'plain_background' && (h("div", { key: '06a456651f46ebc95d5add7ffa47b355d3f83179', class: "application_name_pattern" }, h("img", { key: '5bfdcf108997e3f4413757bb0ae53104d62b4d2b', src: patternSrc, alt: "" }))), h("div", { key: 'a5899bdc35e0965a8eb346f5339e12aeb4f3e865', class: `application_icon ${this.category}`, innerHTML: this.leadingIconSvg }), h("span", { key: '838ade9f028643cf9af847357a1c1a0a70bba6d1', class: textClass }, h("slot", { key: 'dc48b95f4c4360dadfbd44634857eee3a7a14c65', 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: '827265ae06689ed88219562a54ffcc1e6d3c2958', class: "slider-container", ref: (el) => this.containerEl = el }, h("div", { key: '8d5ba7ac675e0e0be30e196820c8ec1ec1c1172a', class: "track", ref: (el) => this.trackEl = el }), h("gb-slider-control-handle", { key: 'a1e19d55acab2ef30bb98243ec79fc1991d684a5', class: "left", value: this.leftValue, type: this.thumbType, style: { left: `${this.leftValue}%` }, onMouseDown: (e) => this.handleMouseDown(e, 'left') }), h("gb-slider-control-handle", { key: '7ab16ed3ad9bce6dd8bd0d825f1623d8e295a67f', 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: '3ee19602689ebb99d8f6783eb5d082409a6fc3c5', 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: 'b341d4582389dfb43cf572c13e14895d1bea5063', class: "tooltip-container" }, h("gb-tooltip", { key: 'ecaa477274be0c4e3386c0191dda995343db5938', arrow: 'none' }, h("p", { key: '3ef29d4c9693cd8456c5a65ebb49ca894de363cf', class: "text-xs-semi-bold", slot: "main_text" }, this.value, "%")))), this.type === 'text' && (h("div", { key: 'b8a47274326f8d0a34f8b0f0e5d9cf29d32f2aaa', 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: '320d660f49656132bbbccbd3e85545ea5592978a' }, this.statusIcon === 'online_indicator' && h("div", { key: '3a125a4d5944c820ae1ec9f0b7f8ea35b89d2c48', class: `online_icon ${this.size} ${this.indicatorStateClass}` }), this.statusIcon === 'verified' && (h("svg", { key: 'd7502519aa5ffa5fe4108b52236d5d6f52de1a24', 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: 'be8437333df31a271504fbfc0b788ddfc91039e8', "clip-path": "url(#clip0_0_21453)" }, h("path", { key: '036cd4162eb05b97198b1f497f9ad3a4e059d64b', 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: '55bf949adcc33e7ac6e5ddce88f68998df703b1e', 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: '0843e4bf6197016a240aff010c800cd49e0db104' }, h("clipPath", { key: 'eff5d7f8a77d828bd82b937ccc23bf859b1bf219', id: "clip0_0_21453" }, h("rect", { key: '5c7b93cd7a83409af8023f57639bc7b2f3364a5f', width: "32", height: "32", fill: "white" }))))), this.statusIcon === 'company' && (h("svg", { key: '2bed52dca7037e1952da2deca304e215f279f928', 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: '0bfc2552a5a2b7e7de3a5dc1bf1f58105f51e1a2', 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: '59057d22367752c73a6a08cb7b9aa9fbb7bb7519', "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: '049a8391c42d195deba6fd6c386a4e375556c661', 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: '8d1be7489ee0c94c5d5db236d1ccf2c7b24cdd6b', class: `${this.current ? this.getCurrentTextClasses() : this.getTextClasses()}` }, this.tabName), this.badge && (h("gb-badge", { key: 'faee58c2d89257c6b2393c8a9e182222f171cb66', 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: '1adc26ec74697455a58f4e9f8d8687b8f9be8da3', name: "count" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "gb-tab-button-base"; }
|
|
53
53
|
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 */
|
|
@@ -3168,6 +3170,11 @@
|
|
|
3168
3170
|
margin-top: -0.416em;
|
|
3169
3171
|
}
|
|
3170
3172
|
|
|
3173
|
+
:host{
|
|
3174
|
+
display: flex;
|
|
3175
|
+
align-items: center;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3171
3178
|
.container {
|
|
3172
3179
|
display: inline-flex;
|
|
3173
3180
|
justify-content: center;
|
|
@@ -7,20 +7,23 @@ export class GbTag {
|
|
|
7
7
|
this.flagSwap = undefined;
|
|
8
8
|
this.checkbox = undefined;
|
|
9
9
|
}
|
|
10
|
+
async onTagClose() {
|
|
11
|
+
console.log('close tag clicked');
|
|
12
|
+
}
|
|
10
13
|
render() {
|
|
11
14
|
const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);
|
|
12
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '214ea31399a88eb708cb37a6ad0df88ddd3e4ce9', class: `container ${this.size}` }, h("div", { key: 'e963f23aad2d6f110ee45c0060d56a306308f111', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: 'df8440ee0e7c3a6557e16fea4ed21dfb54582f89', size: this.size }), this.icon === 'country' && (h("div", { key: '4b679293ea95fbade4c5e591bd50cfa88f5e67d5', class: "icon left-icon" }, h("img", { key: '61e5e5506239c9421fa24f6064ae92369af7c9a7', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'b073b24e7ddfadf5e1c61e54efe57bed93be78ee', class: "avatar-icon", size: "xxs", "status-icon": "false" }, h("slot", { key: 'f307e665f31148374ae9e038f1a74728558fc2de', name: "image", slot: "image" }))), this.icon === 'dot' && (h("svg", { key: 'e4de432cbd31725acc2f27d0808591ac002cea75', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: 'c81c1166ff4a9025a18ebb0d416549f606b11d3c', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("slot", { key: '3f3f8e3621e9e21e9cdf64f3bf0a50da5cf848db' }), this.action === 'count' && (h("gb-tag-count", { key: '096e590457ba50bb96aab686470f3f452cd8e9fa', size: this.size }, h("slot", { key: 'a3d07ba8af17826d95d9a72099d7724a6c73e6e6', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: '711e5578cddaa9194bd2748613dcbb32179f4f38', size: this.size, onClick: () => this.onTagClose() })));
|
|
13
16
|
}
|
|
14
17
|
static get is() { return "gb-tag"; }
|
|
15
18
|
static get encapsulation() { return "shadow"; }
|
|
16
19
|
static get originalStyleUrls() {
|
|
17
20
|
return {
|
|
18
|
-
"$": ["gb-
|
|
21
|
+
"$": ["gb-tag.css"]
|
|
19
22
|
};
|
|
20
23
|
}
|
|
21
24
|
static get styleUrls() {
|
|
22
25
|
return {
|
|
23
|
-
"$": ["gb-
|
|
26
|
+
"$": ["gb-tag.css"]
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
29
|
static get properties() {
|
|
@@ -112,5 +115,26 @@ export class GbTag {
|
|
|
112
115
|
}
|
|
113
116
|
};
|
|
114
117
|
}
|
|
118
|
+
static get methods() {
|
|
119
|
+
return {
|
|
120
|
+
"onTagClose": {
|
|
121
|
+
"complexType": {
|
|
122
|
+
"signature": "() => Promise<void>",
|
|
123
|
+
"parameters": [],
|
|
124
|
+
"references": {
|
|
125
|
+
"Promise": {
|
|
126
|
+
"location": "global",
|
|
127
|
+
"id": "global::Promise"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"return": "Promise<void>"
|
|
131
|
+
},
|
|
132
|
+
"docs": {
|
|
133
|
+
"text": "",
|
|
134
|
+
"tags": []
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
115
139
|
}
|
|
116
|
-
//# sourceMappingURL=gb-
|
|
140
|
+
//# sourceMappingURL=gb-tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-tag.js","sourceRoot":"","sources":["../../../src/components/gb-tag/gb-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOzE,MAAM,OAAO,KAAK;;;;;;;;IAQhB,KAAK,CAAC,UAAU;QACd,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACnC,CAAC;IAED,MAAM;QACJ,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,IAAI,CAAC,QAAQ,MAAM,CAAC,CAAC;QAE7D,OAAO,CACL,4DAAK,KAAK,EAAE,aAAa,IAAI,CAAC,IAAI,EAAE;YAClC,4DAAK,KAAK,EAAE,WAAW,IAAI,CAAC,IAAI,EAAE;gBAC/B,IAAI,CAAC,QAAQ,IAAI,wEAAiB,IAAI,EAAE,IAAI,CAAC,IAAI,GAAoB;gBACrE,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,CAC1B,4DAAK,KAAK,EAAC,gBAAgB;oBACzB,4DAAK,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAC,cAAc,GAAG,CACrC,CACP;gBACA,IAAI,CAAC,IAAI,KAAK,QAAQ,IAAI,CACzB,kEAAW,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,KAAK,iBAAa,OAAO;oBAC3D,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC7B,CACb;gBACA,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,CACtB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM;oBACxF,+DAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CACP;gBACD,8DAAa;gBACZ,IAAI,CAAC,MAAM,KAAK,OAAO,IAAI,CAC1B,qEAAc,IAAI,EAAE,IAAI,CAAC,IAAI;oBAC3B,6DAAM,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAQ,CAC1B,CAChB,CACG;YACL,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,qEAAc,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,GAAiB,CAC1G,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Method, Prop, getAssetPath, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-tag',\r\n styleUrl: 'gb-tag.css',\r\n shadow: true,\r\n})\r\nexport class GbTag {\r\n @Prop() size: 'sm' | 'md' | 'lg';\r\n @Prop() icon?: 'country' | 'avatar' | 'dot';\r\n @Prop() action: 'X_close' | 'text_only' | 'count';\r\n @Prop() flagSwap: string;\r\n @Prop() checkbox?: boolean;\r\n\r\n @Method()\r\n async onTagClose() {\r\n console.log('close tag clicked');\r\n }\r\n\r\n render() {\r\n const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);\r\n\r\n return (\r\n <div class={`container ${this.size}`}>\r\n <div class={`content ${this.size}`}>\r\n {this.checkbox && <gb-tag-checkbox size={this.size}></gb-tag-checkbox>}\r\n {this.icon === 'country' && (\r\n <div class=\"icon left-icon\">\r\n <img src={flagSwap} alt=\"Country Icon\" />\r\n </div>\r\n )}\r\n {this.icon === 'avatar' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xxs\" status-icon=\"false\">\r\n <slot name=\"image\" slot=\"image\"></slot>\r\n </gb-avatar>\r\n )}\r\n {this.icon === 'dot' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill=\"none\">\r\n <circle cx=\"4\" cy=\"4\" r=\"3\" fill=\"#17B26A\" />\r\n </svg>\r\n )}\r\n <slot></slot>\r\n {this.action === 'count' && (\r\n <gb-tag-count size={this.size}>\r\n <slot slot=\"count\" name=\"count\"></slot>\r\n </gb-tag-count>\r\n )}\r\n </div>\r\n {this.action === 'X_close' && <gb-tag-close size={this.size} onClick={() => this.onTagClose()}></gb-tag-close>}\r\n </div>\r\n );\r\n }\r\n}"]}
|
|
@@ -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: '7ffae775e64eedd52f63f7f6ef8b088183cdf58b', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '443ffa700a59f62c7d068e188bec0171a3077307', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '733b42d557b89d526a80667f871f90b3d02073f8', class: `custom-checkbox ${this.size}` }, h("svg", { key: '16847b0f45aa9932a24f5c1c36e67ee7928dafe1', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '1ea1ccc7cc4a27f294fa4c0f3bccd880fb3c7b0b', 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: '72f961552aca2fb2e45f71a8c53188cfe701fba7', class: this.size }, h("svg", { key: 'df845377603432ad88a92264099c8aa31c280a26', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: 'b648e081d9e6db1cabf6881ce293333695802e5d', 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: '09e6395684f5165271cc8b64b624eb23c346bafe', class: this.size }, h("slot", { key: 'de07e40b96f76be8379850b11d33731ef91ecbdf', name: "count" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "gb-tag-count"; }
|
|
10
10
|
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: '8fecab916c8a84f8b195fd77d98ca8cd76690eef', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '90fa807cd9523f1905d978021a23ef3a3298b92b', class: `icon_container` }, h("svg", { key: '41b24960cd1ec92e2882bfd1c0b770323ab5f282', 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: '33ed40e7ed4102ae9e1dc8aacf6f040ea3e1f75d', 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: '6f83bb9c2c72d0e8d9e58508b73549692626b9da', "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: 'e7a59e06656954b2fd2ff8db35560e4b5f21f922', "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: 'b0663ac8570387427a2139e08c34d23a6b98218f', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: '9af2e8551727ba3b955abb7ce9351779046321cc', class: `text ${this.size}` }, h("slot", { key: '297507041d31bf63817a1a466b4e8e1df3ad52f1', name: "main_text" }), this.showSupportingText && h("slot", { key: 'f32cc6dd632213a0adefcc7acceb870c5b51c27c', name: "supporting_text" })), this.actions && (h("div", { key: '6dfd112753906977c5981f747976495cf06b1fec', 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: '467422ac92cf7e3ccdfa7dc3c38ef2a3b9ec2884', 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: '0d672e858fdcfce43d0ab4b46c68469691b9fce9', class: `container ${this.breakpoint}` }, h("div", { key: '579bf9b1b35f56b76da1884818cae6319181e63b', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '64c7ce87df83dd5290c640d25fcf9bce3e3b09fc', class: `inner_content ${this.breakpoint}` }, h("div", { key: '19f0f24a8c2058c42e65bfd3870af3347ac7ac02', class: `icon_container` }, h("svg", { key: '1413d0881d2e583a9d3a46e6e99da35fba441b5d', 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: '1f0ffcfdaaf192442592bada2e21d18bd9b55fa1', 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: 'd5d88aa2a18496d01f4fbe489407c0d792cf912b', "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: '18db03b37845df4e1476455b26808b596ad856da', "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: '3c1b6dc8ce010702a1d964b46a6738fbcec3d46b', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: 'c65945333d48e4c1833c9a37ce170787150f01bf', name: "main_text" }), this.showSupportingText && h("slot", { key: '8fe3ddf66eb374944ad1ec1c97b580edac43e939', name: "supporting_text" }))), this.actions && (h("div", { key: '538b44466d5ad7a82c9865385f66c0cd0368b679', 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: 'f0956eb646b21aea06029a8ae64e67770be31ea1', 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: 'd625bed24b8dc3c076f8ae1949fe2a0b663751fb', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: '58b93846b77e2d2f1701399068816b40e999e506' })));
|
|
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: 'f988e59e23dfff5d1c3716b34d9a840d19af6082', class: `toggle_div ${this.size}` }, h("div", { key: '385df9511753dcaba2392430d3495956c4408bfb', class: "toggle_base" }, h("gb-toggle-base", { key: 'eaac1f9730f33c2a02219fcee31ed8e972689f16', size: this.size, state: this.state })), h("div", { key: 'b7ecc6891deb3c457299e262f77c269aec494fe4', class: "text" }, h("slot", { key: 'a1fdde8b11ffcfe840b8ac1f0646148964816c98', name: "main_text" }), this.supportingText && (h("slot", { key: '71701212eced426406a1c29d8f8adcd278526192', name: "supporting_text" })))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "gb-toggle"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|