globuswebcomponents 1.8.4 → 1.8.5
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 +88 -0
- package/dist/cjs/gb-avatar-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-dropdown.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +100 -0
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-avatar-label-group.entry.cjs.js.map +1 -0
- package/dist/cjs/{gb-avatar_30.cjs.entry.js → gb-avatar_29.cjs.entry.js} +249 -357
- package/dist/cjs/gb-avatar_29.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-group-base.cjs.entry.js +33 -0
- package/dist/cjs/gb-button-group-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-group-base.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-button-group.cjs.entry.js +51 -0
- package/dist/cjs/gb-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-button-group.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +38 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-dropdown-items-with-shortcut.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +47 -0
- package/dist/cjs/gb-horizontal-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-horizontal-tabs.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.cjs.js.map +1 -1
- package/dist/cjs/gb-input-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gb-input-dropdown_3.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-tab-button-base.cjs.entry.js +72 -0
- package/dist/cjs/gb-tab-button-base.cjs.entry.js.map +1 -0
- package/dist/cjs/gb-tab-button-base.entry.cjs.js.map +1 -0
- package/dist/cjs/gb-textarea-input-field.cjs.entry.js +4 -4
- package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
- package/dist/cjs/gb-toast.cjs.entry.js +1 -1
- package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
- package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-top-bar-item.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar-sidemenu.cjs.entry.js +1 -1
- package/dist/cjs/gb-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/arrow-down-01.svg +3 -0
- package/dist/collection/assets/file-export.svg +3 -0
- package/dist/collection/assets/refresh.svg +3 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.css +1 -1
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js +27 -2
- package/dist/collection/components/gb-avatar-dropdown/gb-avatar-dropdown.js.map +1 -1
- package/dist/collection/components/gb-collapse-button/gb-collapse-button.css +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +1 -1
- package/dist/collection/components/gb-sidebar/gb-sidebar.css +3 -3
- package/dist/collection/components/gb-sidebar/gb-sidebar.js +5 -2
- package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
- package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.css +9 -9
- package/dist/collection/components/gb-table-header/gb-table-header.css +2721 -0
- package/dist/collection/components/gb-table-header/gb-table-header.js +252 -0
- package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -0
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +4 -4
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +21 -6
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js.map +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-top-bar/gb-top-bar.js +1 -1
- package/dist/collection/components/gb-top-bar-item/gb-top-bar-item.js +1 -1
- package/dist/collection/components/gb-top-bar-sidemenu/gb-top-bar-sidemenu.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +8 -7
- package/dist/components/gb-avatar-dropdown.js.map +1 -1
- package/dist/components/gb-avatar-group.js +2 -2
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-detail-cell.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +3 -3
- package/dist/components/gb-filter-button.js +1 -76
- package/dist/components/gb-filter-button.js.map +1 -1
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-pagination.js +8 -8
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-sidebar.js +11 -8
- package/dist/components/gb-sidebar.js.map +1 -1
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +2 -2
- package/dist/components/gb-table-header.d.ts +11 -0
- package/dist/components/gb-table-header.js +189 -0
- package/dist/components/gb-table-header.js.map +1 -0
- 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 +8 -8
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +2 -2
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-top-bar-item.js +1 -1
- package/dist/components/gb-top-bar-sidemenu.js +2 -2
- package/dist/components/gb-top-bar.js +3 -3
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +2 -2
- package/dist/components/{p-CIrDkfXz.js → p-4Veoh0rd.js} +3 -3
- package/dist/components/{p-CIrDkfXz.js.map → p-4Veoh0rd.js.map} +1 -1
- package/dist/{esm/gb-filter-button.entry.js → components/p-7JigR-aj.js} +65 -10
- package/dist/components/p-7JigR-aj.js.map +1 -0
- package/dist/components/{p-G5IaOkYA.js → p-8G3ne_zq.js} +3 -3
- package/dist/components/{p-G5IaOkYA.js.map → p-8G3ne_zq.js.map} +1 -1
- package/dist/components/{p-DTSpaLhm.js → p-AkTquzo1.js} +3 -3
- package/dist/components/{p-DTSpaLhm.js.map → p-AkTquzo1.js.map} +1 -1
- package/dist/components/{p-CpT9mhkB.js → p-B04xfjYD.js} +3 -3
- package/dist/components/{p-CpT9mhkB.js.map → p-B04xfjYD.js.map} +1 -1
- package/dist/components/{p-Dn3qpC4k.js → p-B2fqQMnX.js} +6 -6
- package/dist/components/p-B2fqQMnX.js.map +1 -0
- package/dist/components/{p-Dv5zBYdK.js → p-B51gAh0u.js} +4 -4
- package/dist/components/{p-Dv5zBYdK.js.map → p-B51gAh0u.js.map} +1 -1
- package/dist/components/{p-BIrwac_S.js → p-BC0tZdL_.js} +4 -4
- package/dist/components/{p-BIrwac_S.js.map → p-BC0tZdL_.js.map} +1 -1
- package/dist/components/{p-D8I9rF8S.js → p-BUHPMT7X.js} +3 -3
- package/dist/components/{p-D8I9rF8S.js.map → p-BUHPMT7X.js.map} +1 -1
- package/dist/components/{p-BZ0ETjZ_.js → p-Bx09-dCT.js} +3 -3
- package/dist/components/{p-BZ0ETjZ_.js.map → p-Bx09-dCT.js.map} +1 -1
- package/dist/components/{p-uOeci2os.js → p-C5uWK7rl.js} +4 -4
- package/dist/components/p-C5uWK7rl.js.map +1 -0
- package/dist/components/{p-qfYLR2nA.js → p-CHWGzogy.js} +4 -4
- package/dist/components/p-CHWGzogy.js.map +1 -0
- package/dist/components/{p-BK2fLoR1.js → p-CSLARoBm.js} +3 -3
- package/dist/components/{p-BK2fLoR1.js.map → p-CSLARoBm.js.map} +1 -1
- package/dist/components/{p-Ce05BLPG.js → p-Cf5xKhiE.js} +3 -3
- package/dist/components/{p-Ce05BLPG.js.map → p-Cf5xKhiE.js.map} +1 -1
- package/dist/components/{p-BbKP3Ziz.js → p-Cf6qCS_f.js} +3 -3
- package/dist/components/{p-BbKP3Ziz.js.map → p-Cf6qCS_f.js.map} +1 -1
- package/dist/components/{p-BBSL694I.js → p-Cg6EUKRt.js} +3 -3
- package/dist/components/{p-BBSL694I.js.map → p-Cg6EUKRt.js.map} +1 -1
- package/dist/components/{p-DD2bKMam.js → p-Ck_AInbb.js} +3 -3
- package/dist/components/{p-DD2bKMam.js.map → p-Ck_AInbb.js.map} +1 -1
- package/dist/components/{p-BO22nWS0.js → p-D4CFh7se.js} +8 -8
- package/dist/components/{p-BO22nWS0.js.map → p-D4CFh7se.js.map} +1 -1
- package/dist/components/{p-DXEjI2iT.js → p-DRGkMC7M.js} +4 -4
- package/dist/components/{p-DXEjI2iT.js.map → p-DRGkMC7M.js.map} +1 -1
- package/dist/components/{p-BD5tvfA8.js → p-DfY7xhtW.js} +10 -10
- package/dist/components/p-DfY7xhtW.js.map +1 -0
- package/dist/components/{p-CL3REaU6.js → p-DquKkTZR.js} +3 -3
- package/dist/components/{p-CL3REaU6.js.map → p-DquKkTZR.js.map} +1 -1
- package/dist/components/{p-e3GirOiY.js → p-LtNjJ-4w.js} +3 -3
- package/dist/components/{p-e3GirOiY.js.map → p-LtNjJ-4w.js.map} +1 -1
- package/dist/components/{p-B-JPWgmI.js → p-kQXR2ifP.js} +3 -3
- package/dist/components/{p-B-JPWgmI.js.map → p-kQXR2ifP.js.map} +1 -1
- package/dist/components/{p-BF08oPhK.js → p-wjuli8hP.js} +6 -6
- package/dist/components/{p-BF08oPhK.js.map → p-wjuli8hP.js.map} +1 -1
- package/dist/components/test-input-tag.js +6 -6
- package/dist/docs.json +376 -8
- package/dist/esm/gb-avatar-dropdown.entry.js +86 -0
- package/dist/esm/gb-avatar-dropdown.entry.js.map +1 -0
- package/dist/esm/gb-avatar-label-group.entry.js +98 -0
- package/dist/esm/gb-avatar-label-group.entry.js.map +1 -0
- package/dist/esm/{gb-avatar_30.entry.js → gb-avatar_29.entry.js} +245 -352
- package/dist/esm/gb-avatar_29.entry.js.map +1 -0
- package/dist/esm/gb-button-group-base.entry.js +31 -0
- package/dist/esm/gb-button-group-base.entry.js.map +1 -0
- package/dist/esm/gb-button-group.entry.js +49 -0
- package/dist/esm/gb-button-group.entry.js.map +1 -0
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +36 -0
- package/dist/esm/gb-dropdown-items-with-shortcut.entry.js.map +1 -0
- package/dist/esm/gb-horizontal-tabs.entry.js +45 -0
- package/dist/esm/gb-horizontal-tabs.entry.js.map +1 -0
- package/dist/esm/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.js.map +1 -1
- package/dist/esm/gb-input-dropdown_3.entry.js +1 -1
- package/dist/esm/gb-input-dropdown_3.entry.js.map +1 -1
- package/dist/esm/gb-tab-button-base.entry.js +70 -0
- package/dist/esm/gb-tab-button-base.entry.js.map +1 -0
- package/dist/esm/gb-textarea-input-field.entry.js +4 -4
- package/dist/esm/gb-toast-button.entry.js +1 -1
- package/dist/esm/gb-toast.entry.js +1 -1
- package/dist/esm/gb-toggle-base.entry.js +2 -2
- package/dist/esm/gb-toggle.entry.js +1 -1
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-top-bar-item.entry.js +1 -1
- package/dist/esm/gb-top-bar-sidemenu.entry.js +1 -1
- package/dist/esm/gb-top-bar.entry.js +1 -1
- package/dist/esm/gb-vertical-tabs.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/arrow-down-01.svg +3 -0
- package/dist/globuscomponents/assets/file-export.svg +3 -0
- package/dist/globuscomponents/assets/refresh.svg +3 -0
- package/dist/globuscomponents/gb-avatar-dropdown.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-avatar-label-group.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-button-group-base.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-button-group.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-dropdown-items-with-shortcut.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-horizontal-tabs.entry.esm.js.map +1 -0
- package/dist/globuscomponents/gb-input-dropdown.gb-pagination-button-group-base.gb-pagination-number-base.entry.esm.js.map +1 -1
- package/dist/globuscomponents/gb-tab-button-base.entry.esm.js.map +1 -0
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-7a3d7ceb.entry.js → p-14add827.entry.js} +2 -2
- package/dist/globuscomponents/{p-d42708b8.entry.js → p-1753259c.entry.js} +2 -2
- package/dist/globuscomponents/p-1753259c.entry.js.map +1 -0
- package/dist/globuscomponents/{p-13992547.entry.js → p-2b70782d.entry.js} +2 -2
- package/dist/globuscomponents/{p-43e0f83c.entry.js → p-3cf8146d.entry.js} +2 -2
- package/dist/globuscomponents/{p-96e405f7.entry.js → p-4053ca5d.entry.js} +2 -2
- package/dist/globuscomponents/p-61fa8b9c.entry.js +2 -0
- package/dist/globuscomponents/p-61fa8b9c.entry.js.map +1 -0
- package/dist/globuscomponents/{p-004818f6.entry.js → p-63878758.entry.js} +2 -2
- package/dist/globuscomponents/p-6e613473.entry.js +2 -0
- package/dist/globuscomponents/p-6e613473.entry.js.map +1 -0
- package/dist/globuscomponents/p-6e7d5997.entry.js +2 -0
- package/dist/globuscomponents/p-6e7d5997.entry.js.map +1 -0
- package/dist/globuscomponents/{p-4526743e.entry.js → p-709e0b98.entry.js} +2 -2
- package/dist/globuscomponents/p-a2bc1781.entry.js +2 -0
- package/dist/globuscomponents/p-a2bc1781.entry.js.map +1 -0
- package/dist/globuscomponents/{p-7229e160.entry.js → p-a560e757.entry.js} +2 -2
- package/dist/globuscomponents/{p-51a14523.entry.js → p-a8dc753b.entry.js} +2 -2
- package/dist/globuscomponents/{p-e58c84cb.entry.js → p-aaafcf90.entry.js} +2 -2
- package/dist/globuscomponents/p-b23cd5f0.entry.js +2 -0
- package/dist/globuscomponents/p-b23cd5f0.entry.js.map +1 -0
- package/dist/globuscomponents/{p-d20ba3e5.entry.js → p-b34dead3.entry.js} +2 -2
- package/dist/globuscomponents/{p-504dd800.entry.js → p-c9beb234.entry.js} +2 -2
- package/dist/globuscomponents/{p-3e11f91c.entry.js → p-cd5e56b8.entry.js} +2 -2
- package/dist/globuscomponents/{p-cd354568.entry.js → p-d8b23db3.entry.js} +2 -2
- package/dist/globuscomponents/p-de450ce8.entry.js +2 -0
- package/dist/globuscomponents/p-de450ce8.entry.js.map +1 -0
- package/dist/globuscomponents/{p-ed96270a.entry.js → p-e75c4953.entry.js} +2 -2
- package/dist/globuscomponents/p-e9fa6b2e.entry.js +2 -0
- package/dist/globuscomponents/p-e9fa6b2e.entry.js.map +1 -0
- package/dist/globuscomponents/p-ef872064.entry.js +2 -0
- package/dist/globuscomponents/p-ef872064.entry.js.map +1 -0
- package/dist/types/components/gb-avatar-dropdown/gb-avatar-dropdown.d.ts +2 -1
- package/dist/types/components/gb-table-header/gb-table-header.d.ts +21 -0
- package/dist/types/components.d.ts +53 -0
- package/package.json +1 -1
- package/dist/cjs/gb-avatar_30.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-collapse-button_3.cjs.entry.js +0 -103
- package/dist/cjs/gb-collapse-button_3.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-filter-button.cjs.entry.js +0 -28
- package/dist/cjs/gb-filter-button.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-filter-button.entry.cjs.js.map +0 -1
- package/dist/cjs/gb-sidebar.cjs.entry.js +0 -117
- package/dist/cjs/gb-sidebar.cjs.entry.js.map +0 -1
- package/dist/cjs/gb-sidebar.entry.cjs.js.map +0 -1
- package/dist/components/p-BD5tvfA8.js.map +0 -1
- package/dist/components/p-Dn3qpC4k.js.map +0 -1
- package/dist/components/p-qfYLR2nA.js.map +0 -1
- package/dist/components/p-uOeci2os.js.map +0 -1
- package/dist/esm/gb-avatar_30.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.js.map +0 -1
- package/dist/esm/gb-collapse-button_3.entry.js +0 -99
- package/dist/esm/gb-collapse-button_3.entry.js.map +0 -1
- package/dist/esm/gb-filter-button.entry.js.map +0 -1
- package/dist/esm/gb-sidebar.entry.js +0 -115
- package/dist/esm/gb-sidebar.entry.js.map +0 -1
- package/dist/globuscomponents/gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-filter-button.entry.esm.js.map +0 -1
- package/dist/globuscomponents/gb-sidebar.entry.esm.js.map +0 -1
- package/dist/globuscomponents/p-3efd5c15.entry.js +0 -2
- package/dist/globuscomponents/p-3efd5c15.entry.js.map +0 -1
- package/dist/globuscomponents/p-591e675a.entry.js +0 -2
- package/dist/globuscomponents/p-591e675a.entry.js.map +0 -1
- package/dist/globuscomponents/p-d12c4a62.entry.js +0 -2
- package/dist/globuscomponents/p-d12c4a62.entry.js.map +0 -1
- package/dist/globuscomponents/p-d42708b8.entry.js.map +0 -1
- package/dist/globuscomponents/p-f23244d8.entry.js +0 -2
- package/dist/globuscomponents/p-f23244d8.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-7a3d7ceb.entry.js.map → p-14add827.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-13992547.entry.js.map → p-2b70782d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-43e0f83c.entry.js.map → p-3cf8146d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-96e405f7.entry.js.map → p-4053ca5d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-004818f6.entry.js.map → p-63878758.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-4526743e.entry.js.map → p-709e0b98.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-7229e160.entry.js.map → p-a560e757.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-51a14523.entry.js.map → p-a8dc753b.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e58c84cb.entry.js.map → p-aaafcf90.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d20ba3e5.entry.js.map → p-b34dead3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-504dd800.entry.js.map → p-c9beb234.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3e11f91c.entry.js.map → p-cd5e56b8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-cd354568.entry.js.map → p-d8b23db3.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ed96270a.entry.js.map → p-e75c4953.entry.js.map} +0 -0
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class GbTableHeader {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.showFilter = false;
|
|
5
|
+
this.showColumnOptions = false;
|
|
6
|
+
this.tableHeading = false;
|
|
7
|
+
this.showSearch = false;
|
|
8
|
+
this.showExport = false;
|
|
9
|
+
this.showRefreshButton = false;
|
|
10
|
+
this.tableHeadingLabel = '';
|
|
11
|
+
this.width = window.innerWidth;
|
|
12
|
+
this.handleResize = () => {
|
|
13
|
+
this.width = window.innerWidth;
|
|
14
|
+
this.updateButtonIcon();
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
this.updateButtonIcon(); // Set initial variant
|
|
19
|
+
window.addEventListener('resize', this.handleResize);
|
|
20
|
+
}
|
|
21
|
+
updateButtonIcon() {
|
|
22
|
+
this.buttonIcon = this.width < 1007 ? 'only' : 'default';
|
|
23
|
+
}
|
|
24
|
+
onFilterButtonClicked() {
|
|
25
|
+
this.filterButtonClicked.emit();
|
|
26
|
+
}
|
|
27
|
+
onRefreshButtonClicked() {
|
|
28
|
+
this.refreshButtonClicked.emit();
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return (h("div", { key: '551ce87766f1a29bc554817a91e5b25ede04d373', class: "table_header_div" }, h("div", { key: 'bc0d4e2364a8d182b288019479294796d7b55fbf', class: "table_header_content" }, this.tableHeading && h("p", { key: '74ae5a9e447b82e12ad2dc0af44f5904f8338214', class: "text-lg-semi-bold" }, this.tableHeadingLabel), h("div", { key: 'd62f071ae3d9bd3d8b07193053fac8560712a709', class: "actions" }, h("div", { key: '66ed267da025d310e9d177ca9feb275deae5a8e1', class: "input_field" }, h("gb-input-field", { key: '578631696077f366c1737b8e166ad985a2e74c7b', size: "sm", type: "icon_leading", "icon-swap": "assets/search-01.svg", placeholder: "Search" })), h("div", { key: '1a220d9b0668adf374538c224956816a9ec6dfa3', class: "action" }, this.showColumnOptions && (h("gb-button", { key: '7c30aa19a27709df8ce47b69880c49ea9955134b', size: "md", hierarchy: "secondary_gray", icon: this.width <= 1007 ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/column-insert.svg" }, h("p", { key: 'bbf6bdbddb52492b12cf678071ecd3f79cb786c9' }, "Columns"))), this.showFilter && (h("gb-filter-button", { key: '10a3e4688e87005446e9dee655cc04c9c7f15468', state: "applied", "icon-only": this.width <= 1007 ? true : false, onClick: () => this.onFilterButtonClicked() }, h("p", { key: '7eab51121ad047a803437d6a1f764b09ca658c00', slot: "filter_count" }, "3"))), this.showExport && (h("gb-button", { key: 'd0ef8cab4415d117cd40a1be2cc028be7104d533', size: "md", hierarchy: "secondary_gray", icon: this.width <= 1007 ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/file-export.svg", "icon-trailing": this.width <= 1007 ? false : true, "icon-trailing-swap": "assets/arrow-down-01.svg" }, h("p", { key: '5eb97c1279fb114e96137f10abb5b4840c7b3823' }, "Export"))), this.showRefreshButton && (h("div", { key: 'b0091422a48341d1abcacb674b033b097aabade6', class: "refresh_button" }, h("gb-button", { key: 'e5602f854dfc8eab243d17a0f211df916161de42', size: "md", hierarchy: "secondary_gray", icon: this.width <= 1007 ? 'only' : 'default', "icon-leading": true, "icon-leading-swap": "assets/refresh.svg", onClick: () => this.onRefreshButtonClicked() }))))))));
|
|
32
|
+
}
|
|
33
|
+
static get is() { return "gb-table-header"; }
|
|
34
|
+
static get encapsulation() { return "shadow"; }
|
|
35
|
+
static get originalStyleUrls() {
|
|
36
|
+
return {
|
|
37
|
+
"$": ["gb-table-header.css"]
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
static get styleUrls() {
|
|
41
|
+
return {
|
|
42
|
+
"$": ["gb-table-header.css"]
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static get properties() {
|
|
46
|
+
return {
|
|
47
|
+
"showFilter": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"mutable": false,
|
|
50
|
+
"complexType": {
|
|
51
|
+
"original": "boolean",
|
|
52
|
+
"resolved": "boolean",
|
|
53
|
+
"references": {}
|
|
54
|
+
},
|
|
55
|
+
"required": false,
|
|
56
|
+
"optional": false,
|
|
57
|
+
"docs": {
|
|
58
|
+
"tags": [],
|
|
59
|
+
"text": ""
|
|
60
|
+
},
|
|
61
|
+
"getter": false,
|
|
62
|
+
"setter": false,
|
|
63
|
+
"attribute": "show-filter",
|
|
64
|
+
"reflect": false,
|
|
65
|
+
"defaultValue": "false"
|
|
66
|
+
},
|
|
67
|
+
"showColumnOptions": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "boolean",
|
|
72
|
+
"resolved": "boolean",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": false,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": ""
|
|
80
|
+
},
|
|
81
|
+
"getter": false,
|
|
82
|
+
"setter": false,
|
|
83
|
+
"attribute": "show-column-options",
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"defaultValue": "false"
|
|
86
|
+
},
|
|
87
|
+
"tableHeading": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "boolean",
|
|
92
|
+
"resolved": "boolean",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": ""
|
|
100
|
+
},
|
|
101
|
+
"getter": false,
|
|
102
|
+
"setter": false,
|
|
103
|
+
"attribute": "table-heading",
|
|
104
|
+
"reflect": false,
|
|
105
|
+
"defaultValue": "false"
|
|
106
|
+
},
|
|
107
|
+
"showSearch": {
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "boolean",
|
|
112
|
+
"resolved": "boolean",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": ""
|
|
120
|
+
},
|
|
121
|
+
"getter": false,
|
|
122
|
+
"setter": false,
|
|
123
|
+
"attribute": "show-search",
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"defaultValue": "false"
|
|
126
|
+
},
|
|
127
|
+
"showExport": {
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"mutable": false,
|
|
130
|
+
"complexType": {
|
|
131
|
+
"original": "boolean",
|
|
132
|
+
"resolved": "boolean",
|
|
133
|
+
"references": {}
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"optional": false,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": ""
|
|
140
|
+
},
|
|
141
|
+
"getter": false,
|
|
142
|
+
"setter": false,
|
|
143
|
+
"attribute": "show-export",
|
|
144
|
+
"reflect": false,
|
|
145
|
+
"defaultValue": "false"
|
|
146
|
+
},
|
|
147
|
+
"showRefreshButton": {
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"mutable": false,
|
|
150
|
+
"complexType": {
|
|
151
|
+
"original": "boolean",
|
|
152
|
+
"resolved": "boolean",
|
|
153
|
+
"references": {}
|
|
154
|
+
},
|
|
155
|
+
"required": false,
|
|
156
|
+
"optional": false,
|
|
157
|
+
"docs": {
|
|
158
|
+
"tags": [],
|
|
159
|
+
"text": ""
|
|
160
|
+
},
|
|
161
|
+
"getter": false,
|
|
162
|
+
"setter": false,
|
|
163
|
+
"attribute": "show-refresh-button",
|
|
164
|
+
"reflect": false,
|
|
165
|
+
"defaultValue": "false"
|
|
166
|
+
},
|
|
167
|
+
"tableHeadingLabel": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"mutable": false,
|
|
170
|
+
"complexType": {
|
|
171
|
+
"original": "string",
|
|
172
|
+
"resolved": "string",
|
|
173
|
+
"references": {}
|
|
174
|
+
},
|
|
175
|
+
"required": false,
|
|
176
|
+
"optional": false,
|
|
177
|
+
"docs": {
|
|
178
|
+
"tags": [],
|
|
179
|
+
"text": ""
|
|
180
|
+
},
|
|
181
|
+
"getter": false,
|
|
182
|
+
"setter": false,
|
|
183
|
+
"attribute": "table-heading-label",
|
|
184
|
+
"reflect": false,
|
|
185
|
+
"defaultValue": "''"
|
|
186
|
+
},
|
|
187
|
+
"inputValueChanged": {
|
|
188
|
+
"type": "unknown",
|
|
189
|
+
"mutable": false,
|
|
190
|
+
"complexType": {
|
|
191
|
+
"original": "EventEmitter<any>",
|
|
192
|
+
"resolved": "EventEmitter<any>",
|
|
193
|
+
"references": {
|
|
194
|
+
"EventEmitter": {
|
|
195
|
+
"location": "import",
|
|
196
|
+
"path": "@stencil/core",
|
|
197
|
+
"id": "node_modules::EventEmitter"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"required": false,
|
|
202
|
+
"optional": false,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": ""
|
|
206
|
+
},
|
|
207
|
+
"getter": false,
|
|
208
|
+
"setter": false
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
static get states() {
|
|
213
|
+
return {
|
|
214
|
+
"width": {},
|
|
215
|
+
"buttonIcon": {}
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
static get events() {
|
|
219
|
+
return [{
|
|
220
|
+
"method": "filterButtonClicked",
|
|
221
|
+
"name": "filterButtonClicked",
|
|
222
|
+
"bubbles": true,
|
|
223
|
+
"cancelable": true,
|
|
224
|
+
"composed": true,
|
|
225
|
+
"docs": {
|
|
226
|
+
"tags": [],
|
|
227
|
+
"text": ""
|
|
228
|
+
},
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "void",
|
|
231
|
+
"resolved": "void",
|
|
232
|
+
"references": {}
|
|
233
|
+
}
|
|
234
|
+
}, {
|
|
235
|
+
"method": "refreshButtonClicked",
|
|
236
|
+
"name": "refreshButtonClicked",
|
|
237
|
+
"bubbles": true,
|
|
238
|
+
"cancelable": true,
|
|
239
|
+
"composed": true,
|
|
240
|
+
"docs": {
|
|
241
|
+
"tags": [],
|
|
242
|
+
"text": ""
|
|
243
|
+
},
|
|
244
|
+
"complexType": {
|
|
245
|
+
"original": "void",
|
|
246
|
+
"resolved": "void",
|
|
247
|
+
"references": {}
|
|
248
|
+
}
|
|
249
|
+
}];
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
//# sourceMappingURL=gb-table-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gb-table-header.js","sourceRoot":"","sources":["../../../src/components/gb-table-header/gb-table-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAO/E,MAAM,OAAO,aAAa;IAL1B;QAMU,eAAU,GAAY,KAAK,CAAC;QAC5B,sBAAiB,GAAY,KAAK,CAAC;QACnC,iBAAY,GAAY,KAAK,CAAC;QAC9B,eAAU,GAAY,KAAK,CAAC;QAC5B,eAAU,GAAY,KAAK,CAAC;QAC5B,sBAAiB,GAAY,KAAK,CAAC;QACnC,sBAAiB,GAAW,EAAE,CAAC;QAE9B,UAAK,GAAW,MAAM,CAAC,UAAU,CAAC;QAUnC,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC;YAC/B,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC1B,CAAC,CAAC;KAiEH;IAzEC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,sBAAsB;QAC/C,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACvD,CAAC;IAOO,gBAAgB;QACtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;IAC3D,CAAC;IAED,qBAAqB;QACnB,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;IAClC,CAAC;IAED,sBAAsB;QACpB,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;IACnC,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,kBAAkB;YAC3B,4DAAK,KAAK,EAAC,sBAAsB;gBAC9B,IAAI,CAAC,YAAY,IAAI,0DAAG,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,iBAAiB,CAAK;gBAC/E,4DAAK,KAAK,EAAC,SAAS;oBAClB,4DAAK,KAAK,EAAC,aAAa;wBACtB,uEAAgB,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,cAAc,eAAW,sBAAsB,EAAC,WAAW,EAAC,QAAQ,GAAkB,CACjH;oBACN,4DAAK,KAAK,EAAC,QAAQ;wBAChB,IAAI,CAAC,iBAAiB,IAAI,CACzB,kEAAW,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,kBAAgB,IAAI,uBAAoB,0BAA0B;4BAC7J,sEAAc,CACJ,CACb;wBACA,IAAI,CAAC,UAAU,IAAI,CAClB,yEAAkB,KAAK,EAAC,SAAS,eAAY,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,qBAAqB,EAAE;4BACzH,0DAAG,IAAI,EAAC,cAAc,QAAM,CACX,CACpB;wBACA,IAAI,CAAC,UAAU,IAAI,CAClB,kEACE,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,gBAAgB,EAC1B,IAAI,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,kBAC/B,IAAI,uBACA,wBAAwB,mBAC3B,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,wBAC7B,0BAA0B;4BAE7C,qEAAa,CACH,CACb;wBACA,IAAI,CAAC,iBAAiB,IAAI,CACzB,4DAAK,KAAK,EAAC,gBAAgB;4BACzB,kEACE,IAAI,EAAC,IAAI,EACT,SAAS,EAAC,gBAAgB,EAC1B,IAAI,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,kBAC/B,IAAI,uBACA,oBAAoB,EACtC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GACjC,CACT,CACP,CACG,CACF,CACF,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, State, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-table-header',\r\n styleUrl: 'gb-table-header.css',\r\n shadow: true,\r\n})\r\nexport class GbTableHeader {\r\n @Prop() showFilter: boolean = false;\r\n @Prop() showColumnOptions: boolean = false;\r\n @Prop() tableHeading: boolean = false;\r\n @Prop() showSearch: boolean = false;\r\n @Prop() showExport: boolean = false;\r\n @Prop() showRefreshButton: boolean = false;\r\n @Prop() tableHeadingLabel: string = '';\r\n @Prop() inputValueChanged: EventEmitter<any>;\r\n @State() width: number = window.innerWidth;\r\n @State() buttonIcon: 'default' | 'only';\r\n @Event() filterButtonClicked: EventEmitter<void>;\r\n @Event() refreshButtonClicked: EventEmitter<void>;\r\n\r\n componentWillLoad() {\r\n this.updateButtonIcon(); // Set initial variant\r\n window.addEventListener('resize', this.handleResize);\r\n }\r\n\r\n private handleResize = () => {\r\n this.width = window.innerWidth;\r\n this.updateButtonIcon();\r\n };\r\n\r\n private updateButtonIcon() {\r\n this.buttonIcon = this.width < 1007 ? 'only' : 'default';\r\n }\r\n\r\n onFilterButtonClicked() {\r\n this.filterButtonClicked.emit();\r\n }\r\n\r\n onRefreshButtonClicked() {\r\n this.refreshButtonClicked.emit();\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"table_header_div\">\r\n <div class=\"table_header_content\">\r\n {this.tableHeading && <p class=\"text-lg-semi-bold\">{this.tableHeadingLabel}</p>}\r\n <div class=\"actions\">\r\n <div class=\"input_field\">\r\n <gb-input-field size=\"sm\" type=\"icon_leading\" icon-swap=\"assets/search-01.svg\" placeholder=\"Search\"></gb-input-field>\r\n </div>\r\n <div class=\"action\">\r\n {this.showColumnOptions && (\r\n <gb-button size=\"md\" hierarchy=\"secondary_gray\" icon={this.width <= 1007 ? 'only' : 'default'} icon-leading={true} icon-leading-swap=\"assets/column-insert.svg\">\r\n <p>Columns</p>\r\n </gb-button>\r\n )}\r\n {this.showFilter && (\r\n <gb-filter-button state=\"applied\" icon-only={this.width <= 1007 ? true : false} onClick={() => this.onFilterButtonClicked()}>\r\n <p slot=\"filter_count\">3</p>\r\n </gb-filter-button>\r\n )}\r\n {this.showExport && (\r\n <gb-button\r\n size=\"md\"\r\n hierarchy=\"secondary_gray\"\r\n icon={this.width <= 1007 ? 'only' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/file-export.svg\"\r\n icon-trailing={this.width <= 1007 ? false : true}\r\n icon-trailing-swap=\"assets/arrow-down-01.svg\"\r\n >\r\n <p>Export</p>\r\n </gb-button>\r\n )}\r\n {this.showRefreshButton && (\r\n <div class=\"refresh_button\">\r\n <gb-button\r\n size=\"md\"\r\n hierarchy=\"secondary_gray\"\r\n icon={this.width <= 1007 ? 'only' : 'default'}\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/refresh.svg\"\r\n onClick={() => this.onRefreshButtonClicked()}\r\n ></gb-button>\r\n </div>\r\n )}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -22,7 +22,7 @@ export class GbTag {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const flagSwap = getAssetPath(`${this.flagSwap}`);
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '48563b85c08f6d9a1aae216aed79e644026e2f72', class: `container ${this.size}` }, h("div", { key: '5a87ce3ec76fae1415b14e50eb2bb9319756633b', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: 'e579c60e3648ae3d874ff94e50c4c7afbe0c3a93', size: this.size }), this.icon === 'false' && h(Fragment, null), this.icon === 'country' && (h("div", { key: 'ace93c36698d7d2b768c7a49b4e615e17f701680', class: "icon left-icon" }, h("img", { key: 'f114fcc17586c8dbd26173e17ba1a4851cec8cda', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: 'ce98d91d34556fdeddb4b21e1b30330aeeef94e2', class: "avatar-icon", size: "xxs", "status-icon": "false", text: true, color: "gray" }, h("slot", { key: 'faae880f75c44867fccc220cb1c0072c62116949', name: "initials", slot: "initials" }))), this.icon === 'dot' && (h("svg", { key: '6a493f6500f498b563e4477ce93dfa4618b5bd23', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: 'bfe2d09aa3a7d4918b1529c527053b8a52becff1', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("div", { key: '79f747d6a39bc5c8f7af9f3a780ef8ff2f202891', class: "label" }, h("slot", { key: '2d2c7005ac1e2f7fcccb489dc33c4db33fe6d0bd' })), this.action === 'count' && (h("gb-tag-count", { key: '02372f1d7d5a69f30d346594c73d144ebc7af751', size: this.size }, h("slot", { key: '48a57ba18f58fd78a31c155536644525eb3dde49', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: '9352cd76d9913f8e0974a1e1314d84079250d285', size: this.size, onClick: () => this.onTagClose() })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "gb-tag"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class GbTagCheckbox {
|
|
|
6
6
|
this.disabled = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("label", { key: '
|
|
9
|
+
return (h("label", { key: '917a592877bb6433ad2f6827651cc1cfa8ec16b5', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: '7980083699917ce124470e3ae516836d652f0a60', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: 'ae4f4fb8480301be8c83a993421d85f3dc26787e', class: `custom-checkbox ${this.size}` }, h("svg", { key: 'ef44bf411b966f8e8f57d9462271702583e18710', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: 'd99991e782c736d6fbea7f913b9356546b3c8fc9', 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"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbTagClose {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '47f92799217724b57e7e1e4c863218606efb6d38', class: this.size }, h("svg", { key: '572dbabefb100657e2093b6d2de78b4bcb03fd2d', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: 'fb0b25c3f09e7810c11a9f1b0205a6119dae349e', 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" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "gb-tag-close"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class GbTagCount {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'e0441a604b3e771bcff7e950156ea3e7d9209e13', class: this.size }, h("slot", { key: 'abcfe7965bbd74b2218b399cd2f3927bdd1503d4', name: "count" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "gb-tag-count"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -184,14 +184,14 @@ export class GbTextareaInputField {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return (h("div", { key: '
|
|
187
|
+
return (h("div", { key: '52852d0583bdea3ca2fe2cf730fe950ff981bd9d', class: "textarea_container" }, h("div", { key: '5715bb213617008e7f61dcbea39fd63f7949c90d', class: "input_with_label" }, this.showLabel && h("p", { key: '765699708651311487eee04a0e5100462a98e059', class: `label text-sm-medium` }, this.label), this.type === 'default' && (h("textarea", { key: '959e15bbc0ea429c6692aefd2b3c68da19123ea8', ref: el => (this.textarea = el), onInput: () => this.handleInput(), class: `textarea default_textarea ${this.state} ${this.destructive ? 'destructive' : ''}`, placeholder: this.placeholderText, value: this.inputValue })), this.type === 'tags' && (h("div", { key: '8a5b0b970ce9b924b89624b9da31d26e1b09de64', class: "textarea_tags" }, h("div", { key: 'd196d62bdfbdcd5c37912ae8c63e1452cad36ad5', class: `textarea ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => this.handleWrapperClick() }, h("div", { key: '594cd26cdea4e44db888f7302b5e845225daeb51', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item.objectName.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.objectName
|
|
188
188
|
.split(' ')
|
|
189
189
|
.map(part => part.charAt(0).toUpperCase())
|
|
190
|
-
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("p", null, val)))))))), h("span", { key: '
|
|
190
|
+
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("p", null, val)))))))), h("span", { key: 'a447de90a03f26986166be352227d946d38ff151', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'ac59b21b6ee3ef2ed52d07a5db5f589a800285be', class: "input_field" }, h("input", { key: 'b861a891b4979fa7793259d7802318c7fc094ba9', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
|
|
191
191
|
// placeholder={this.placeholderText}
|
|
192
|
-
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.emitInputValue() }))), this.destructive && (h("div", { key: '
|
|
192
|
+
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.emitInputValue() }))), this.destructive && (h("div", { key: 'f6319558871f272bfdced89f2a6ef7717a15c13b', class: "help_icon" }, h("svg", { key: '7cb2151bd999892afef015da5ecd8f463de3ee31', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: 'ff183d51790547d6b3281443e6028e4520e13916', d: "M7.9947 10H8.00069M8.00004 8.00004V5.33337M14.6667 8.00004C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00004C1.33337 4.31814 4.31814 1.33337 8.00004 1.33337C11.6819 1.33337 14.6667 4.31814 14.6667 8.00004Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.show && (h("div", { key: 'a133964b272ade0f93bf5d9ba184b64313c3e045', class: `dropdown_menu` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
|
|
193
193
|
? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
|
|
194
|
-
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h("p", { key: '
|
|
194
|
+
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h("p", { key: 'e026ba987c4e31485be21383db4b6525295b2858', class: `hint_text text-sm-regular ${this.destructive ? 'destructive' : ''}` }, this.hintText)));
|
|
195
195
|
}
|
|
196
196
|
static get is() { return "gb-textarea-input-field"; }
|
|
197
197
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class GbThemeTab {
|
|
|
16
16
|
const systemIconSrc = getAssetPath(`assets/laptop.svg`);
|
|
17
17
|
const sunSrc = getAssetPath(`assets/sun-02.svg`);
|
|
18
18
|
const moonSrc = getAssetPath(`assets/moon-02.svg`);
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '8de003b58c97c9dd445ae2ba58af30fc47b13241', class: `theme_tab_div` }, h("div", { key: '0bc399523b6dd741cc8f11dccd59f6dae3c876dd', class: "tab" }, h("gb-icon-button-base", { key: '4d5bca44e69d645d1d52f8a1bbbd53f15ce9c0a3', current: this.currentActiveTab === 'system' ? true : false, icon: systemIconSrc, label: "System", onClick: () => this.tabClicked('system') })), h("div", { key: 'adad7a593de5203bc34b72617adcd50bd550f416', class: "tab" }, h("gb-icon-button-base", { key: '029be62645f398389f238a0e97e7f1529c8c3238', current: this.currentActiveTab === 'light' ? true : false, icon: sunSrc, label: "Light", onClick: () => this.tabClicked('light') })), h("div", { key: 'ee7ac6ea4976de1d9d2abc2709c58029c5d95f1a', class: "tab" }, h("gb-icon-button-base", { key: 'b8741e9411882c0aedb3f1bdd498a072bee35dda', current: this.currentActiveTab === 'dark' ? true : false, icon: moonSrc, label: "Dark", onClick: () => this.tabClicked('dark') }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "gb-theme-tab"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,14 +56,29 @@ export class GbThemeTab {
|
|
|
56
56
|
"setter": false,
|
|
57
57
|
"attribute": "theme",
|
|
58
58
|
"reflect": false
|
|
59
|
+
},
|
|
60
|
+
"currentActiveTab": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"mutable": true,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "string",
|
|
65
|
+
"resolved": "string",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": ""
|
|
73
|
+
},
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false,
|
|
76
|
+
"attribute": "current-active-tab",
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"defaultValue": "'system'"
|
|
59
79
|
}
|
|
60
80
|
};
|
|
61
81
|
}
|
|
62
|
-
static get states() {
|
|
63
|
-
return {
|
|
64
|
-
"currentActiveTab": {}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
82
|
static get events() {
|
|
68
83
|
return [{
|
|
69
84
|
"method": "themeTabClicked",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gb-theme-tab.js","sourceRoot":"","sources":["../../../src/components/gb-theme-tab/gb-theme-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"gb-theme-tab.js","sourceRoot":"","sources":["../../../src/components/gb-theme-tab/gb-theme-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQ/F,MAAM,OAAO,UAAU;IALvB;QAQ2B,qBAAgB,GAAW,QAAQ,CAAC;KA4C9D;IAzCC,UAAU,CAAC,KAAa;QACtB,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,oCAAoC;QACpC,IAAI,CAAC,EAAE,CAAC,aAAa,CACnB,IAAI,WAAW,CAAC,aAAa,EAAE;YAC7B,MAAM,EAAE,EAAE,KAAK,EAAE;YACjB,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI,EAAE,cAAc;SAC/B,CAAC,CACH,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,MAAM,aAAa,GAAG,YAAY,CAAC,mBAAmB,CAAC,CAAC;QACxD,MAAM,MAAM,GAAG,YAAY,CAAC,mBAAmB,CAAC,CAAC;QACjD,MAAM,OAAO,GAAG,YAAY,CAAC,oBAAoB,CAAC,CAAC;QAEnD,OAAO,CACL,4DAAK,KAAK,EAAE,eAAe;YACzB,4DAAK,KAAK,EAAC,KAAK;gBACd,4EACE,OAAO,EAAE,IAAI,CAAC,gBAAgB,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAC1D,IAAI,EAAE,aAAa,EACnB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GACnB,CACnB;YACN,4DAAK,KAAK,EAAC,KAAK;gBACd,4EACE,OAAO,EAAE,IAAI,CAAC,gBAAgB,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EACzD,IAAI,EAAE,MAAM,EACZ,KAAK,EAAC,OAAO,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,GAClB,CACnB;YACN,4DAAK,KAAK,EAAC,KAAK;gBACd,4EAAqB,OAAO,EAAE,IAAI,CAAC,gBAAgB,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAC,MAAM,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,GAAwB,CACrK,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Prop, getAssetPath, h } from '@stencil/core';\r\nimport { ThemeTypes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-theme-tab',\r\n styleUrl: 'gb-theme-tab.css',\r\n shadow: true,\r\n})\r\nexport class GbThemeTab {\r\n @Prop({ mutable: true }) theme: ThemeTypes;\r\n @Event() themeTabClicked: EventEmitter<string>;\r\n @Prop({ mutable: true }) currentActiveTab: string = 'system';\r\n @Element() el: HTMLElement;\r\n\r\n tabClicked(theme: string) {\r\n this.currentActiveTab = theme;\r\n // this.themeTabClicked.emit(theme);\r\n this.el.dispatchEvent(\r\n new CustomEvent('themeChange', {\r\n detail: { theme },\r\n bubbles: true,\r\n composed: true, // This is key\r\n }),\r\n ); \r\n }\r\n\r\n render() {\r\n const systemIconSrc = getAssetPath(`assets/laptop.svg`);\r\n const sunSrc = getAssetPath(`assets/sun-02.svg`);\r\n const moonSrc = getAssetPath(`assets/moon-02.svg`);\r\n\r\n return (\r\n <div class={`theme_tab_div`}>\r\n <div class=\"tab\">\r\n <gb-icon-button-base\r\n current={this.currentActiveTab === 'system' ? true : false}\r\n icon={systemIconSrc}\r\n label=\"System\"\r\n onClick={() => this.tabClicked('system')}\r\n ></gb-icon-button-base>\r\n </div>\r\n <div class=\"tab\">\r\n <gb-icon-button-base\r\n current={this.currentActiveTab === 'light' ? true : false}\r\n icon={sunSrc}\r\n label=\"Light\"\r\n onClick={() => this.tabClicked('light')}\r\n ></gb-icon-button-base>\r\n </div>\r\n <div class=\"tab\">\r\n <gb-icon-button-base current={this.currentActiveTab === 'dark' ? true : false} icon={moonSrc} label=\"Dark\" onClick={() => this.tabClicked('dark')}></gb-icon-button-base>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -54,7 +54,7 @@ export class GbToast {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '2ce4546093f1f6406695a15af5ab181153fd2d08', class: `toast_div ${this.color} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '0ff29fb352d88c35ae8b45c60886d49d2a2ec1b0', class: `icon_container` }, h("svg", { key: 'c4a571e92ffa5fb2d4abc2e7aab9ceb07cef6955', 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: '275f151d45d2217f8ef6029b183e4d96d59bef35', 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: '6dcedff602a10bea2a227cecf2107a8b64f4a24f', "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: 'dc3bb7a4a0201206d3a18816d67ccb5ad216157e', "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: 'fc02cdd76d8361ccf3f4e7b9e6294172aa8c3313', class: `content ${this.size} ${this.actions ? ' actions' : ''}` }, h("div", { key: 'f4f30ed32d94bf2322b0af4d3724da180a25d315', class: `text ${this.size}` }, h("slot", { key: 'ea1972c37229b18650a0700fa56b8f0a5d022746', name: "main_text" }), this.showSupportingText && h("slot", { key: 'ed2aab45f060f4fd7f6566a8db84fc93255463ae', name: "supporting_text" })), this.actions && (h("div", { key: 'ec17765211e6ee381d5cef71dd5ab1b565f546c2', 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: '8484249dfa9d95dd898bc05fa7ca7bad08d52398', 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: '953a3d537483a856054cf673f32146ea522c16fe', class: `container ${this.breakpoint}` }, h("div", { key: '9898b47cd79dd123e948fdd743fb72d3ffb809c1', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '89a868e63b9fd558cfbc2a71eb7cb945ab8d7d6a', class: `inner_content ${this.breakpoint}` }, h("div", { key: '7e8cf8f65302a3b345baa8bdb17078546abad693', class: `icon_container` }, h("svg", { key: '00146aa8d6c2f010db72215234c3933814116294', 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: 'f7ac103eeac1405349239f02537a2b564221d656', 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: 'e615ac4edf91bff5210632e6bb5e306276ebb5e7', "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: 'bd88bebc773f0193b67e0090281b0318f283ed6a', "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: '085cd550f62a8a50a20735c82e77960bf7ae2acc', class: `text ${this.size} ${this.breakpoint}` }, h("slot", { key: '2721d9bd7005976878b3c5e48c5cd44d9309da72', name: "main_text" }), this.showSupportingText && h("slot", { key: '73dab942dab3d6064f349d9520491c797851cfb0', name: "supporting_text" }))), this.actions && (h("div", { key: 'c6472c19a83cf905f1ddc47dd3eb645aaa512493', 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: '5df41e2aa1f4a1a71798dfb3a78c1271a144c140', size: "sm", color: this.color === 'default' ? 'gray' : this.color === 'gray' ? 'gray' : this.color, class: `close_button ${this.breakpoint}`, onClick: () => this.closeToast() }))))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "gb-toast"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class GbToastButton {
|
|
|
5
5
|
slottedContent.classList.add('text-sm-semi-bold');
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'd864a7e730ee510b99dc9c756077bfb57d06608d', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: '35378b04fc69e01a3b537c5f362efdf33e9e83b8' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-toast-button"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class GbToggle {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '672cd85411b358f49e1f65da5bd07ffd0b41e1cb', class: `toggle_div ${this.size}` }, h("div", { key: '07a5fb48062b1b8ab8b0b924a596912c736d9362', class: "toggle_base" }, h("gb-toggle-base", { key: '85f991064dafb31f35eece31c1ef66bdfb92fd52', size: this.size, state: this.state, pressed: this.pressed })), this.text && (h("div", { key: '2681c2598b19321b11b6b382a1f0d923fab04522', class: "text" }, h("slot", { key: '0ed7c4cd8144f7d1e78365300bc902c8c82f6034', name: "main_text" }), this.supportingText && (h("slot", { key: 'c03bf689ae77668b9dc4c8d98db41cb0ae0c2e35', name: "supporting_text" }))))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "gb-toggle"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,8 +11,8 @@ export class GbToggleBase {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return [
|
|
14
|
-
h("input", { key: '
|
|
15
|
-
h("label", { key: '
|
|
14
|
+
h("input", { key: '3c5e742b3681d7311a946a75c5551010f38d4593', type: "checkbox", id: "customCheckbox", class: `${this.pressed ? 'pressed' : ''}`, readonly: true }),
|
|
15
|
+
h("label", { key: '0ebd079650a549e8addcbdb35b405de1ddfa44d5', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#075DB2", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#E3E8EF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
|
|
16
16
|
];
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "gb-toggle-base"; }
|
|
@@ -5,7 +5,7 @@ export class GbTokenFieldCompact {
|
|
|
5
5
|
this.supportingText = '';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '8f047e0db164695ddb443f196dadee67d1283f2b', class: this.size }, h("div", { key: '0f833752ea87628d33d7b31666e53c66a1a3830f', class: "input-with-label" }, this.showLabel && (h("label", { key: 'ac70e8e8973e90bc62d61d1f247d1c3ca3b9bb14' }, this.label)), this.digits === 4 && (h("div", { key: '50fbbb2dc0e421619f07a52dab883add3072a097', class: "input-wrapper" }, h("gb-mega-input-field-base", { key: '110dd083c637dbf43812763ead0028c8acbc678c', size: this.size }), h("gb-mega-input-field-base", { key: '11ae8ccf88771e573744f30b79a7a6cc01671c5c', size: this.size }), h("gb-mega-input-field-base", { key: '1f2b8ac76b505e5168d02503245a2142c7b5f421', size: this.size }), h("gb-mega-input-field-base", { key: 'd8d3fd1c5de07b771c483bf264e86a75200303ae', size: this.size }))), this.digits === 6 && (h("div", { key: '4587f89b326ee9c227a007ad2bf853b65bb5123b', class: "input-wrapper" }, h("div", { key: '96ae1b81105d45afac666682513001482bfe2714', class: "first=section" }, h("gb-mega-input-field-base", { key: '9c225231c36242181867458e5d3d3df64ae56db3', size: this.size }), h("gb-mega-input-field-base", { key: '092a7c070c00269464c57b877284c210f4ef0ce0', size: this.size }), h("gb-mega-input-field-base", { key: '19c47ff822dfa6e2ff5817447c0bfe3006cb3db8', size: this.size })), h("div", { key: '02860431dda76d38d0f2454cdaf67eadca889933', class: "second=section" }, h("gb-mega-input-field-base", { key: 'd2892a89421b9ece50eaee27f5ff598d55afdee3', size: this.size }), h("gb-mega-input-field-base", { key: '5eddebc85ec20a0edac1622525a0083412d2543d', size: this.size }), h("gb-mega-input-field-base", { key: '040f623efe2b7c478f717df606f75e998c066926', size: this.size })))), this.digits === 8 && (h("div", { key: 'cf9e9ecb1347bb88a889daab378c2a760966277f', class: "input-wrapper" }, h("div", { key: '37de553e12fd5750c20072308ccbcea5f73c2525', class: "first=section" }, h("gb-mega-input-field-base", { key: '919318cd0e699d73fd670fcac11eb74583d0c7c1', size: this.size }), h("gb-mega-input-field-base", { key: '599b7d1a7eefb9ec3042f0be07b6ee65607b8e0f', size: this.size }), h("gb-mega-input-field-base", { key: '5c597f444c63c97dda5373b4d7d57612ad88f890', size: this.size }), h("gb-mega-input-field-base", { key: 'dc7b5770a273545c1021ae441972747a502317b6', size: this.size })), h("div", { key: '5a8402b1e1b67b465e224a530202dedcafb3fc38', class: "second=section" }, h("gb-mega-input-field-base", { key: 'ca2d9d0d3502a47dd0cea4551cf92343ee68297d', size: this.size }), h("gb-mega-input-field-base", { key: '03a34f4e8adf98899c5046a9f6f9c7fa3bf150b9', size: this.size }), h("gb-mega-input-field-base", { key: '1f90911604b1cbd22d7267611a1803ceb0a3f290', size: this.size }), h("gb-mega-input-field-base", { key: '23a286a10a542bc1f32ecc1a6649a4c1b5f7ed67', size: this.size }))))), h("p", { key: '0f64fa2fc3c38a490695daf18c622dc098fbde9f' }, this.supportingText)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "gb-token-field-compact"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,11 +5,11 @@ export class GbTokenFieldCompressed {
|
|
|
5
5
|
this.hintText = '';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '02f46b32ba8116d2a25895c529d0766d66959d69', class: {
|
|
9
9
|
container: true,
|
|
10
10
|
[this.size]: true,
|
|
11
11
|
[this.digits]: true,
|
|
12
|
-
} }, h("div", { key: '
|
|
12
|
+
} }, h("div", { key: '30e3da989068a60a70253088e13750ba16530efe', class: "input-with-label" }, this.showLabel && (h("label", { key: '12f1682045e2395dfa902a911bd78eb7ad87f596', class: "text-sm-medium", style: { color: 'var(--color-text, #4B5565)' } }, this.label)), this.digits === 4 && (h("div", { key: 'c401e8ca7788b9c164bfc1d2be54640c8fc405fd', class: "input-wrapper" }, h("gb-mega-input-field-base", { key: '4cb98528f97161dc4ea6206152b2a6bee2b2e71d', size: this.size }), h("gb-mega-input-field-base", { key: '3233cc0921d4d0cc816317b61d6f1f0a5df7f59f', size: this.size }), h("gb-mega-input-field-base", { key: '1e18d272d908e7cbb26f9195fcc58c74fdcbfa96', size: this.size }), h("gb-mega-input-field-base", { key: 'b55378c664a551814a45c2ad5ddbf446bfdb2317', size: this.size }))), this.digits === 6 && (h("div", { key: '03c85a9f88eb03decf44a58b51b4de2c3dc92101', class: "input-wrapper" }, h("gb-mega-input-field-base", { key: '6902f125fc9e7c32a368c506f83b7c21261b11c0', size: this.size }), h("gb-mega-input-field-base", { key: '1cc74adc11e9b34aec9332fa1f28cc32447f3887', size: this.size }), h("gb-mega-input-field-base", { key: '8c5d0ca9dcd540310beed3799ee7c00c54c74910', size: this.size }), h("p", { key: '84cc101ddd60fd3f65f7a6ef3ecb87a7e038b7da', class: "line display-sm-bold" }, "-"), h("gb-mega-input-field-base", { key: 'ef762fdae3a760480d4f04a5d7e990c42f0cf64a', size: this.size }), h("gb-mega-input-field-base", { key: 'b0b5b5dcb4c1f316782884f08e718244a7fbd010', size: this.size }), h("gb-mega-input-field-base", { key: 'c2f84245c9e737e353c20535b88d949d59676611', size: this.size }))), this.digits === 8 && (h("div", { key: 'f320e6c5fa21d791ca726935b6c142a23b670896', class: "input-wrapper" }, h("gb-mega-input-field-base", { key: '2057774391b11fbc7031c0a6f03f88bab086dffc', size: this.size }), h("gb-mega-input-field-base", { key: '85f619aef9ba2ab7c100c859209a4a032801aab7', size: this.size }), h("gb-mega-input-field-base", { key: '0f5d3c22a831dee100c560982d385ba3f4c63d01', size: this.size }), h("gb-mega-input-field-base", { key: '35d2d7dadd14b4190f02d33558a018540ca578a4', size: this.size }), h("p", { key: '1c1e00909bc5124577838293d070121178c00bee', class: "line display-sm-bold" }, "-"), h("gb-mega-input-field-base", { key: 'bc0704d0d4ab226f7da7d789324adbf0ea72628d', size: this.size }), h("gb-mega-input-field-base", { key: 'ef0b07710510e0a0cdc156e6cf22f9a251290bf7', size: this.size }), h("gb-mega-input-field-base", { key: '87ea17814b0894da88963e52bee21baabaff5824', size: this.size }), h("gb-mega-input-field-base", { key: 'd2f6815f9f1796bcdb32b14f3bee024546e5acbb', size: this.size })))), this.showHintText && (h("div", { key: '57fdf02e149b338b3a83fed9052d0f7fec6a7318', class: "text-sm-regular", style: { color: 'var(--color-text-subtle, #697586)' } }, this.hintText))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "gb-token-field-compressed"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class GbTooltip {
|
|
|
22
22
|
return this.showArrow ? `arrow ${this.arrow}` : '';
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '71cd5c29108694c701a22b138a5d49e455356383', class: "tooltip_container" }, h("div", { key: 'ade620c252f6a160f068bfaa6dc6f1498340833e', class: "tooltip" }, this.showArrow && h("div", { key: '37188e96b57a745681d95315c90c4ca34da10f58', class: this.getArrowClass() }), h("div", { key: '6343cdea43c224be447de1d5e10ef6e9b60eabdb', class: "tooltip_content" }, h("slot", { key: '05e59c6029f1f202f6e679ac7a379b17fe96bb06', name: "label" }), this.showSupportingText && h("slot", { key: 'c3c5c7760dde1001b99d907d55f864bee5223518', name: "supporting_text" })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "gb-tooltip"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|