@zanichelli/albe-web-components 4.0.5 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +73 -0
- package/dist/cjs/{index-6b6a3299.js → index-5c16dc2b.js} +49 -45
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-8cc414c9.js → utils-15c8b978.js} +1 -1
- package/dist/cjs/utils-58afb908.js +2706 -0
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +736 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-button-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +44 -0
- package/dist/cjs/z-card.cjs.entry.js +69 -0
- package/dist/cjs/z-carousel.cjs.entry.js +24 -0
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +18 -7
- package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +10 -2701
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +10 -9
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +19 -0
- package/dist/cjs/z-input-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list-group.cjs.entry.js +1 -1
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +63 -0
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +132 -0
- package/dist/cjs/z-popover.cjs.entry.js +304 -97
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +8 -11
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +274 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +8 -251
- package/dist/collection/beans/index.js +49 -45
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/{z-date-picker → date-picker}/styles.css +69 -17
- package/dist/collection/components/date-picker/utils.js +76 -0
- package/dist/collection/components/{z-date-picker → date-picker/z-date-picker}/index.js +13 -84
- package/dist/collection/components/date-picker/z-range-picker/index.js +483 -0
- package/dist/collection/components/file-upload/z-file/index.js +13 -13
- package/dist/collection/components/file-upload/z-file/styles.css +2 -2
- package/dist/collection/components/notification/z-tooltip/index.js +45 -298
- package/dist/collection/components/notification/z-tooltip/styles.css +8 -120
- package/dist/collection/components/z-contextual-menu/index.js +26 -16
- package/dist/collection/components/z-contextual-menu/styles.css +16 -5
- package/dist/collection/components/z-popover/index.js +381 -166
- package/dist/collection/components/z-popover/styles.css +91 -180
- package/dist/collection/components/z-table/z-table-header/index.js +10 -16
- package/dist/collection/components/z-table/z-table-header/styles.css +7 -1
- package/dist/collection/deprecated/z-popover-deprecated/index.js +294 -0
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +236 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +379 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +128 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +1 -1
- package/dist/esm/{index-46ca649a.js → index-3786a7ff.js} +50 -46
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/utils-14da09de.js +2701 -0
- package/dist/esm/{utils-5d5963ef.js → utils-d49ae9f0.js} +2 -2
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +724 -0
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-deprecated.entry.js +1 -1
- package/dist/esm/z-button.entry.js +40 -0
- package/dist/esm/z-card.entry.js +65 -0
- package/dist/esm/z-carousel.entry.js +20 -0
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +19 -8
- package/dist/esm/z-cookiebar.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +9 -2700
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +10 -9
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-ghost-loading.entry.js +15 -0
- package/dist/esm/z-input-deprecated.entry.js +2 -2
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-list-group.entry.js +1 -1
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +59 -0
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +128 -0
- package/dist/esm/z-popover.entry.js +305 -98
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +8 -11
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +270 -0
- package/dist/esm/z-tooltip.entry.js +9 -252
- package/dist/types/beans/index.d.ts +37 -33
- package/dist/types/components/date-picker/utils.d.ts +3 -0
- package/dist/types/components/{z-date-picker → date-picker/z-date-picker}/index.d.ts +3 -8
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +43 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +3 -3
- package/dist/types/components/notification/z-tooltip/index.d.ts +14 -29
- package/dist/types/components/z-contextual-menu/index.d.ts +8 -4
- package/dist/types/components/z-popover/index.d.ts +57 -28
- package/dist/types/components/z-table/z-table-header/index.d.ts +2 -1
- package/dist/types/components.d.ts +189 -10
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +33 -0
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +41 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-0f17db30.entry.js → p-044edef0.entry.js} +1 -1
- package/dist/web-components-library/{p-43329b81.entry.js → p-0487d5f1.entry.js} +1 -1
- package/dist/web-components-library/{p-57d1acdc.entry.js → p-0610360b.entry.js} +1 -1
- package/dist/web-components-library/p-0b222589.js +1 -0
- package/dist/web-components-library/p-0bcc78d4.entry.js +1 -0
- package/dist/web-components-library/{p-dffdf60a.entry.js → p-0ccda54f.entry.js} +1 -1
- package/dist/web-components-library/p-10c3285d.entry.js +1 -0
- package/dist/web-components-library/p-13174553.entry.js +1 -0
- package/{www/build/p-df4e963b.entry.js → dist/web-components-library/p-18c0f701.entry.js} +1 -1
- package/dist/web-components-library/p-1c2331a4.entry.js +1 -0
- package/dist/web-components-library/p-206e5b31.entry.js +1 -0
- package/dist/web-components-library/{p-0a0aee35.entry.js → p-248e6c7d.entry.js} +1 -1
- package/dist/web-components-library/p-24ec049a.entry.js +1 -0
- package/dist/web-components-library/{p-ccdebe3f.entry.js → p-24f3a39e.entry.js} +1 -1
- package/dist/web-components-library/p-25b1a634.entry.js +1 -0
- package/dist/web-components-library/p-286a2d0e.entry.js +1 -0
- package/dist/web-components-library/{p-8fbc2ce9.entry.js → p-286c4c99.entry.js} +1 -1
- package/dist/web-components-library/{p-1727c1c8.entry.js → p-287678e2.entry.js} +1 -1
- package/dist/web-components-library/{p-fe927bf4.entry.js → p-2c86d1ea.entry.js} +1 -1
- package/dist/web-components-library/{p-de25c7f0.entry.js → p-2d93e9e9.entry.js} +1 -1
- package/dist/web-components-library/{p-b15efba3.entry.js → p-33120ebd.entry.js} +1 -1
- package/{www/build/p-bfe5693d.entry.js → dist/web-components-library/p-35f7cac2.entry.js} +1 -1
- package/dist/web-components-library/{p-d33fea26.entry.js → p-3dc21b58.entry.js} +1 -1
- package/dist/web-components-library/{p-edb8d2ab.entry.js → p-4906f5a6.entry.js} +1 -1
- package/dist/web-components-library/{p-02ea7e49.entry.js → p-49602979.entry.js} +1 -1
- package/dist/web-components-library/{p-ba29bc12.entry.js → p-49f8c86b.entry.js} +1 -1
- package/dist/web-components-library/{p-292bc0c4.entry.js → p-4a8fe1e0.entry.js} +1 -1
- package/{www/build/p-3edbd35c.entry.js → dist/web-components-library/p-5553f117.entry.js} +1 -1
- package/dist/web-components-library/p-5789bbe7.entry.js +1 -0
- package/dist/web-components-library/{p-4af112a7.entry.js → p-5a2dd46c.entry.js} +1 -1
- package/dist/web-components-library/{p-63ccb013.entry.js → p-5c20338f.entry.js} +1 -1
- package/dist/web-components-library/p-60e042a0.entry.js +1 -0
- package/dist/web-components-library/p-6897ca8c.js +1 -0
- package/dist/web-components-library/p-6d79baec.entry.js +16 -0
- package/dist/web-components-library/p-6db40dac.entry.js +1 -0
- package/dist/web-components-library/p-71f19680.entry.js +1 -0
- package/{www/build/p-9a5ee6c2.entry.js → dist/web-components-library/p-7ce57dfd.entry.js} +1 -1
- package/dist/web-components-library/{p-3c111c2a.entry.js → p-80044bc0.entry.js} +1 -1
- package/{www/build/p-69ef6ddc.entry.js → dist/web-components-library/p-82217c76.entry.js} +1 -1
- package/dist/web-components-library/p-8cf3798f.entry.js +1 -0
- package/dist/web-components-library/{p-e2102da3.entry.js → p-95414290.entry.js} +1 -1
- package/dist/web-components-library/{p-9f9e4266.entry.js → p-987f1f8a.entry.js} +1 -1
- package/{www/build/p-1f73a6d8.entry.js → dist/web-components-library/p-99a76b4d.entry.js} +1 -1
- package/dist/web-components-library/{p-55ddbfe9.entry.js → p-9b563575.entry.js} +1 -1
- package/dist/web-components-library/{p-0e256fdc.entry.js → p-9c81ed70.entry.js} +1 -1
- package/dist/web-components-library/{p-d995d9dc.entry.js → p-a4245c8a.entry.js} +1 -1
- package/dist/web-components-library/{p-6c6b4e80.entry.js → p-a88f4e49.entry.js} +1 -1
- package/dist/web-components-library/p-a98ccf36.entry.js +1 -0
- package/dist/web-components-library/{p-5be162d5.entry.js → p-bf3ea7b5.entry.js} +1 -1
- package/dist/web-components-library/{p-b9da171f.js → p-d41ca4c3.js} +1 -1
- package/{www/build/p-d97a2db9.entry.js → dist/web-components-library/p-e30a093f.entry.js} +1 -1
- package/dist/web-components-library/p-e9628876.entry.js +1 -0
- package/dist/web-components-library/p-ec0c7a06.entry.js +1 -0
- package/dist/web-components-library/{p-9074e1a5.entry.js → p-f9f5ab0b.entry.js} +1 -1
- package/dist/web-components-library/{p-51cdabeb.entry.js → p-fd404599.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +3 -0
- package/react/components.js +5 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-0f17db30.entry.js → p-044edef0.entry.js} +1 -1
- package/www/build/{p-43329b81.entry.js → p-0487d5f1.entry.js} +1 -1
- package/www/build/{p-57d1acdc.entry.js → p-0610360b.entry.js} +1 -1
- package/www/build/p-0b222589.js +1 -0
- package/www/build/p-0bcc78d4.entry.js +1 -0
- package/www/build/{p-dffdf60a.entry.js → p-0ccda54f.entry.js} +1 -1
- package/www/build/p-10c3285d.entry.js +1 -0
- package/www/build/p-13174553.entry.js +1 -0
- package/{dist/web-components-library/p-df4e963b.entry.js → www/build/p-18c0f701.entry.js} +1 -1
- package/www/build/p-1c2331a4.entry.js +1 -0
- package/www/build/p-206e5b31.entry.js +1 -0
- package/www/build/{p-0a0aee35.entry.js → p-248e6c7d.entry.js} +1 -1
- package/www/build/p-24ec049a.entry.js +1 -0
- package/www/build/{p-ccdebe3f.entry.js → p-24f3a39e.entry.js} +1 -1
- package/www/build/p-25b1a634.entry.js +1 -0
- package/www/build/p-286a2d0e.entry.js +1 -0
- package/www/build/{p-8fbc2ce9.entry.js → p-286c4c99.entry.js} +1 -1
- package/www/build/{p-1727c1c8.entry.js → p-287678e2.entry.js} +1 -1
- package/www/build/{p-fe927bf4.entry.js → p-2c86d1ea.entry.js} +1 -1
- package/www/build/{p-de25c7f0.entry.js → p-2d93e9e9.entry.js} +1 -1
- package/www/build/{p-b15efba3.entry.js → p-33120ebd.entry.js} +1 -1
- package/{dist/web-components-library/p-bfe5693d.entry.js → www/build/p-35f7cac2.entry.js} +1 -1
- package/www/build/{p-d33fea26.entry.js → p-3dc21b58.entry.js} +1 -1
- package/www/build/{p-edb8d2ab.entry.js → p-4906f5a6.entry.js} +1 -1
- package/www/build/{p-02ea7e49.entry.js → p-49602979.entry.js} +1 -1
- package/www/build/{p-ba29bc12.entry.js → p-49f8c86b.entry.js} +1 -1
- package/www/build/{p-292bc0c4.entry.js → p-4a8fe1e0.entry.js} +1 -1
- package/{dist/web-components-library/p-3edbd35c.entry.js → www/build/p-5553f117.entry.js} +1 -1
- package/www/build/p-5789bbe7.entry.js +1 -0
- package/www/build/{p-4af112a7.entry.js → p-5a2dd46c.entry.js} +1 -1
- package/www/build/{p-63ccb013.entry.js → p-5c20338f.entry.js} +1 -1
- package/www/build/p-60e042a0.entry.js +1 -0
- package/www/build/p-6897ca8c.js +1 -0
- package/www/build/p-6d79baec.entry.js +16 -0
- package/www/build/p-6db40dac.entry.js +1 -0
- package/www/build/p-71f19680.entry.js +1 -0
- package/{dist/web-components-library/p-9a5ee6c2.entry.js → www/build/p-7ce57dfd.entry.js} +1 -1
- package/www/build/{p-3c111c2a.entry.js → p-80044bc0.entry.js} +1 -1
- package/{dist/web-components-library/p-69ef6ddc.entry.js → www/build/p-82217c76.entry.js} +1 -1
- package/www/build/p-8cf3798f.entry.js +1 -0
- package/www/build/{p-e2102da3.entry.js → p-95414290.entry.js} +1 -1
- package/www/build/{p-9f9e4266.entry.js → p-987f1f8a.entry.js} +1 -1
- package/{dist/web-components-library/p-1f73a6d8.entry.js → www/build/p-99a76b4d.entry.js} +1 -1
- package/www/build/{p-55ddbfe9.entry.js → p-9b563575.entry.js} +1 -1
- package/www/build/{p-0e256fdc.entry.js → p-9c81ed70.entry.js} +1 -1
- package/www/build/{p-d995d9dc.entry.js → p-a4245c8a.entry.js} +1 -1
- package/www/build/{p-6c6b4e80.entry.js → p-a88f4e49.entry.js} +1 -1
- package/www/build/p-a98ccf36.entry.js +1 -0
- package/www/build/p-ae4eff83.js +1 -0
- package/www/build/{p-5be162d5.entry.js → p-bf3ea7b5.entry.js} +1 -1
- package/www/build/{p-b9da171f.js → p-d41ca4c3.js} +1 -1
- package/{dist/web-components-library/p-d97a2db9.entry.js → www/build/p-e30a093f.entry.js} +1 -1
- package/www/build/p-e9628876.entry.js +1 -0
- package/www/build/p-ec0c7a06.entry.js +1 -0
- package/www/build/{p-9074e1a5.entry.js → p-f9f5ab0b.entry.js} +1 -1
- package/www/build/{p-51cdabeb.entry.js → p-fd404599.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +6 -70
- package/dist/cjs/z-app-switcher_11.cjs.entry.js +0 -377
- package/dist/cjs/z-input_2.cjs.entry.js +0 -228
- package/dist/esm/z-app-switcher_11.entry.js +0 -363
- package/dist/esm/z-input_2.entry.js +0 -223
- package/dist/web-components-library/p-0d29d851.entry.js +0 -1
- package/dist/web-components-library/p-0ef6c549.entry.js +0 -1
- package/dist/web-components-library/p-20d62443.entry.js +0 -1
- package/dist/web-components-library/p-562e2d52.entry.js +0 -1
- package/dist/web-components-library/p-5eacbfc7.entry.js +0 -1
- package/dist/web-components-library/p-6218514a.entry.js +0 -1
- package/dist/web-components-library/p-71accd8e.entry.js +0 -1
- package/dist/web-components-library/p-7c6d4440.entry.js +0 -1
- package/dist/web-components-library/p-93cddf62.entry.js +0 -1
- package/dist/web-components-library/p-9f5d707a.js +0 -1
- package/dist/web-components-library/p-a8875b97.entry.js +0 -16
- package/dist/web-components-library/p-e2431b92.entry.js +0 -1
- package/www/build/p-0d29d851.entry.js +0 -1
- package/www/build/p-0ef6c549.entry.js +0 -1
- package/www/build/p-20d62443.entry.js +0 -1
- package/www/build/p-562e2d52.entry.js +0 -1
- package/www/build/p-5eacbfc7.entry.js +0 -1
- package/www/build/p-6218514a.entry.js +0 -1
- package/www/build/p-71accd8e.entry.js +0 -1
- package/www/build/p-7c6d4440.entry.js +0 -1
- package/www/build/p-93cddf62.entry.js +0 -1
- package/www/build/p-9f5d707a.js +0 -1
- package/www/build/p-a8875b97.entry.js +0 -16
- package/www/build/p-e2431b92.entry.js +0 -1
- package/www/build/p-f01941e6.js +0 -1
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { Component, Prop, h, Host, State, Listen, Event, } from "@stencil/core";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import { PopoverPosition, PopoverBorderRadius, PopoverShadow, KeyboardKeys, } from "../../beans";
|
|
4
|
+
import { getElementTree } from "../../utils/utils";
|
|
5
|
+
export class ZPopoverDeprecated {
|
|
6
|
+
/**
|
|
7
|
+
* Constructor.
|
|
8
|
+
*/
|
|
9
|
+
constructor() {
|
|
10
|
+
/** [optional] Popover position */
|
|
11
|
+
this.position = PopoverPosition["after-up"];
|
|
12
|
+
/** [optional] Background color token for popover */
|
|
13
|
+
this.backgroundColor = "color-white";
|
|
14
|
+
/** [optional] Border radius token for popover */
|
|
15
|
+
this.borderRadius = PopoverBorderRadius.small;
|
|
16
|
+
/** [optional] Box shadow token for popover */
|
|
17
|
+
this.boxShadow = PopoverShadow["shadow-1"];
|
|
18
|
+
/** [optional] Show or hide arrow */
|
|
19
|
+
this.showArrow = false;
|
|
20
|
+
/** [optional] Sets padding for Popover container */
|
|
21
|
+
this.padding = "8px";
|
|
22
|
+
this.isVisible = false;
|
|
23
|
+
this.popoverPosition = this.position;
|
|
24
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
25
|
+
}
|
|
26
|
+
emitTriggerClick() {
|
|
27
|
+
this.triggerClick.emit({
|
|
28
|
+
isVisible: this.isVisible,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
openPopover() {
|
|
32
|
+
const width = document.body.clientWidth;
|
|
33
|
+
const height = window.innerHeight;
|
|
34
|
+
const rect = this.popoverElem.getBoundingClientRect();
|
|
35
|
+
const l = rect.left;
|
|
36
|
+
const r = rect.right;
|
|
37
|
+
const t = rect.top;
|
|
38
|
+
const b = rect.bottom;
|
|
39
|
+
let firstSide = this.position.split("-")[0];
|
|
40
|
+
let secondSide = this.position.split("-")[1];
|
|
41
|
+
// If top is outside viewport
|
|
42
|
+
if (t < 0) {
|
|
43
|
+
if (this.position.startsWith("above")) {
|
|
44
|
+
firstSide = "below";
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
secondSide = "down";
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
// If bottom is outside viewport
|
|
51
|
+
if (b > height) {
|
|
52
|
+
if (this.position.startsWith("below")) {
|
|
53
|
+
firstSide = "above";
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
secondSide = "up";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
// If right is outside viewport
|
|
60
|
+
if (r > width) {
|
|
61
|
+
if (this.position.startsWith("above") ||
|
|
62
|
+
this.position.startsWith("below")) {
|
|
63
|
+
secondSide = "left";
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
firstSide = "before";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
// If left is outside viewport
|
|
70
|
+
if (l < 0) {
|
|
71
|
+
if (this.position.startsWith("above") ||
|
|
72
|
+
this.position.startsWith("below")) {
|
|
73
|
+
secondSide = "right";
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
firstSide = "after";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
this.popoverPosition = PopoverPosition[`${firstSide}-${secondSide}`];
|
|
80
|
+
this.isVisible = true;
|
|
81
|
+
}
|
|
82
|
+
closePopover() {
|
|
83
|
+
this.popoverPosition = this.position;
|
|
84
|
+
this.isVisible = false;
|
|
85
|
+
}
|
|
86
|
+
closePopoverWithKeyboard(e) {
|
|
87
|
+
if (e.key === KeyboardKeys.ESC) {
|
|
88
|
+
this.closePopover();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
handleClick(event) {
|
|
92
|
+
this.isVisible ? this.closePopover() : this.openPopover();
|
|
93
|
+
this.emitTriggerClick();
|
|
94
|
+
event.stopPropagation();
|
|
95
|
+
}
|
|
96
|
+
handleKeyDown(event) {
|
|
97
|
+
if (event.code === KeyboardKeys.ENTER) {
|
|
98
|
+
this.isVisible ? this.closePopover() : this.openPopover();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
handleOutsideClick(e) {
|
|
102
|
+
const tree = getElementTree(e.target);
|
|
103
|
+
const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover-deprecated");
|
|
104
|
+
if (!parent) {
|
|
105
|
+
this.closePopover();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
render() {
|
|
109
|
+
return (h(Host, { onKeyDown: this.handleKeyDown },
|
|
110
|
+
h("div", { tabindex: "0", onClick: (event) => this.handleClick(event), onKeyDown: (event) => {
|
|
111
|
+
if (event.key === KeyboardKeys.ENTER) {
|
|
112
|
+
this.handleClick(event);
|
|
113
|
+
}
|
|
114
|
+
} },
|
|
115
|
+
h("slot", { name: "trigger" })),
|
|
116
|
+
h("div", { ref: (e) => (this.popoverElem = e), class: classNames("popover-content-container", this.popoverPosition, `border-radius-${this.borderRadius}`, this.boxShadow, { "show-arrow": this.showArrow }, { visible: this.isVisible }), style: {
|
|
117
|
+
backgroundColor: `var(--${this.backgroundColor})`,
|
|
118
|
+
padding: this.padding,
|
|
119
|
+
} },
|
|
120
|
+
h("slot", { name: "popover" }))));
|
|
121
|
+
}
|
|
122
|
+
static get is() { return "z-popover-deprecated"; }
|
|
123
|
+
static get encapsulation() { return "scoped"; }
|
|
124
|
+
static get originalStyleUrls() { return {
|
|
125
|
+
"$": ["styles.css"]
|
|
126
|
+
}; }
|
|
127
|
+
static get styleUrls() { return {
|
|
128
|
+
"$": ["styles.css"]
|
|
129
|
+
}; }
|
|
130
|
+
static get properties() { return {
|
|
131
|
+
"position": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"mutable": false,
|
|
134
|
+
"complexType": {
|
|
135
|
+
"original": "PopoverPosition",
|
|
136
|
+
"resolved": "typeof PopoverPosition[\"above-center\"] | typeof PopoverPosition[\"above-left\"] | typeof PopoverPosition[\"above-right\"] | typeof PopoverPosition[\"after-center\"] | typeof PopoverPosition[\"after-down\"] | typeof PopoverPosition[\"after-up\"] | typeof PopoverPosition[\"before-center\"] | typeof PopoverPosition[\"before-down\"] | typeof PopoverPosition[\"before-up\"] | typeof PopoverPosition[\"below-center\"] | typeof PopoverPosition[\"below-left\"] | typeof PopoverPosition[\"below-right\"]",
|
|
137
|
+
"references": {
|
|
138
|
+
"PopoverPosition": {
|
|
139
|
+
"location": "import",
|
|
140
|
+
"path": "../../beans"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": true,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "[optional] Popover position"
|
|
149
|
+
},
|
|
150
|
+
"attribute": "position",
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"defaultValue": "PopoverPosition[\"after-up\"]"
|
|
153
|
+
},
|
|
154
|
+
"backgroundColor": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"mutable": false,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "string",
|
|
159
|
+
"resolved": "string",
|
|
160
|
+
"references": {}
|
|
161
|
+
},
|
|
162
|
+
"required": false,
|
|
163
|
+
"optional": true,
|
|
164
|
+
"docs": {
|
|
165
|
+
"tags": [],
|
|
166
|
+
"text": "[optional] Background color token for popover"
|
|
167
|
+
},
|
|
168
|
+
"attribute": "background-color",
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"defaultValue": "\"color-white\""
|
|
171
|
+
},
|
|
172
|
+
"borderRadius": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "PopoverBorderRadius",
|
|
177
|
+
"resolved": "PopoverBorderRadius.medium | PopoverBorderRadius.none | PopoverBorderRadius.small",
|
|
178
|
+
"references": {
|
|
179
|
+
"PopoverBorderRadius": {
|
|
180
|
+
"location": "import",
|
|
181
|
+
"path": "../../beans"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": true,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": "[optional] Border radius token for popover"
|
|
190
|
+
},
|
|
191
|
+
"attribute": "border-radius",
|
|
192
|
+
"reflect": false,
|
|
193
|
+
"defaultValue": "PopoverBorderRadius.small"
|
|
194
|
+
},
|
|
195
|
+
"boxShadow": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "PopoverShadow",
|
|
200
|
+
"resolved": "typeof PopoverShadow[\"shadow-1\"] | typeof PopoverShadow[\"shadow-12\"] | typeof PopoverShadow[\"shadow-16\"] | typeof PopoverShadow[\"shadow-2\"] | typeof PopoverShadow[\"shadow-24\"] | typeof PopoverShadow[\"shadow-3\"] | typeof PopoverShadow[\"shadow-4\"] | typeof PopoverShadow[\"shadow-6\"] | typeof PopoverShadow[\"shadow-8\"]",
|
|
201
|
+
"references": {
|
|
202
|
+
"PopoverShadow": {
|
|
203
|
+
"location": "import",
|
|
204
|
+
"path": "../../beans"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": false,
|
|
209
|
+
"optional": true,
|
|
210
|
+
"docs": {
|
|
211
|
+
"tags": [],
|
|
212
|
+
"text": "[optional] Box shadow token for popover"
|
|
213
|
+
},
|
|
214
|
+
"attribute": "box-shadow",
|
|
215
|
+
"reflect": false,
|
|
216
|
+
"defaultValue": "PopoverShadow[\"shadow-1\"]"
|
|
217
|
+
},
|
|
218
|
+
"showArrow": {
|
|
219
|
+
"type": "boolean",
|
|
220
|
+
"mutable": false,
|
|
221
|
+
"complexType": {
|
|
222
|
+
"original": "boolean",
|
|
223
|
+
"resolved": "boolean",
|
|
224
|
+
"references": {}
|
|
225
|
+
},
|
|
226
|
+
"required": false,
|
|
227
|
+
"optional": true,
|
|
228
|
+
"docs": {
|
|
229
|
+
"tags": [],
|
|
230
|
+
"text": "[optional] Show or hide arrow"
|
|
231
|
+
},
|
|
232
|
+
"attribute": "show-arrow",
|
|
233
|
+
"reflect": false,
|
|
234
|
+
"defaultValue": "false"
|
|
235
|
+
},
|
|
236
|
+
"padding": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"mutable": false,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "string",
|
|
241
|
+
"resolved": "string",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": true,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": "[optional] Sets padding for Popover container"
|
|
249
|
+
},
|
|
250
|
+
"attribute": "padding",
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"defaultValue": "\"8px\""
|
|
253
|
+
}
|
|
254
|
+
}; }
|
|
255
|
+
static get states() { return {
|
|
256
|
+
"isVisible": {},
|
|
257
|
+
"popoverPosition": {}
|
|
258
|
+
}; }
|
|
259
|
+
static get events() { return [{
|
|
260
|
+
"method": "triggerClick",
|
|
261
|
+
"name": "triggerClick",
|
|
262
|
+
"bubbles": true,
|
|
263
|
+
"cancelable": true,
|
|
264
|
+
"composed": true,
|
|
265
|
+
"docs": {
|
|
266
|
+
"tags": [],
|
|
267
|
+
"text": "Emitted on popover click, returns isVisible state"
|
|
268
|
+
},
|
|
269
|
+
"complexType": {
|
|
270
|
+
"original": "any",
|
|
271
|
+
"resolved": "any",
|
|
272
|
+
"references": {}
|
|
273
|
+
}
|
|
274
|
+
}]; }
|
|
275
|
+
static get listeners() { return [{
|
|
276
|
+
"name": "closePopover",
|
|
277
|
+
"method": "closePopover",
|
|
278
|
+
"target": undefined,
|
|
279
|
+
"capture": false,
|
|
280
|
+
"passive": false
|
|
281
|
+
}, {
|
|
282
|
+
"name": "keyup",
|
|
283
|
+
"method": "closePopoverWithKeyboard",
|
|
284
|
+
"target": "window",
|
|
285
|
+
"capture": false,
|
|
286
|
+
"passive": false
|
|
287
|
+
}, {
|
|
288
|
+
"name": "click",
|
|
289
|
+
"method": "handleOutsideClick",
|
|
290
|
+
"target": "body",
|
|
291
|
+
"capture": true,
|
|
292
|
+
"passive": false
|
|
293
|
+
}]; }
|
|
294
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--dashboard-font);
|
|
3
|
+
font-weight: var(--font-rg);
|
|
4
|
+
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-block;
|
|
7
|
+
|
|
8
|
+
--shadow-arrow-color: rgba(66, 69, 72, 0.2);
|
|
9
|
+
--shadow-arrow-below-color: rgba(66, 69, 72, 0.1);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.popover-content-container {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
visibility: hidden;
|
|
15
|
+
position: absolute;
|
|
16
|
+
min-width: 64px;
|
|
17
|
+
min-height: 32px;
|
|
18
|
+
z-index: 999;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.popover-content-container.visible {
|
|
22
|
+
visibility: visible;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Border-radius */
|
|
26
|
+
|
|
27
|
+
.popover-content-container.border-radius-none {
|
|
28
|
+
border-radius: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.popover-content-container.border-radius-small {
|
|
32
|
+
border-radius: var(--border-radius-small);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.popover-content-container.border-radius-medium {
|
|
36
|
+
border-radius: var(--border-radius);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
Box-shadow
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
.popover-content-container.shadow-1 {
|
|
44
|
+
box-shadow: var(--shadow-1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.popover-content-container.shadow-2 {
|
|
48
|
+
box-shadow: var(--shadow-2);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.popover-content-container.shadow-3 {
|
|
52
|
+
box-shadow: var(--shadow-3);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.popover-content-container.shadow-4 {
|
|
56
|
+
box-shadow: var(--shadow-4);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.popover-content-container.shadow-6 {
|
|
60
|
+
box-shadow: var(--shadow-6);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.popover-content-container.shadow-8 {
|
|
64
|
+
box-shadow: var(--shadow-8);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.popover-content-container.shadow-12 {
|
|
68
|
+
box-shadow: var(--shadow-12);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.popover-content-container.shadow-16 {
|
|
72
|
+
box-shadow: var(--shadow-16);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.popover-content-container.shadow-24 {
|
|
76
|
+
box-shadow: var(--shadow-24);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*
|
|
80
|
+
Popover-positions
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
.popover-content-container.after-down {
|
|
84
|
+
top: 0;
|
|
85
|
+
left: calc(100% + var(--space-unit));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.popover-content-container.after-center {
|
|
89
|
+
top: 50%;
|
|
90
|
+
left: calc(100% + var(--space-unit));
|
|
91
|
+
transform: translateY(-50%);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.popover-content-container.after-up {
|
|
95
|
+
bottom: 0;
|
|
96
|
+
left: calc(100% + var(--space-unit));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.popover-content-container.below-right {
|
|
100
|
+
left: 0;
|
|
101
|
+
top: calc(100% + var(--space-unit));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.popover-content-container.below-center {
|
|
105
|
+
left: 50%;
|
|
106
|
+
top: calc(100% + var(--space-unit));
|
|
107
|
+
transform: translateX(-50%);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.popover-content-container.below-left {
|
|
111
|
+
right: 0;
|
|
112
|
+
top: calc(100% + var(--space-unit));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.popover-content-container.before-down {
|
|
116
|
+
top: 0;
|
|
117
|
+
right: calc(100% + var(--space-unit));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.popover-content-container.before-center {
|
|
121
|
+
top: 50%;
|
|
122
|
+
right: calc(100% + var(--space-unit));
|
|
123
|
+
transform: translateY(-50%);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.popover-content-container.before-up {
|
|
127
|
+
bottom: 0;
|
|
128
|
+
right: calc(100% + var(--space-unit));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.popover-content-container.above-right {
|
|
132
|
+
left: 0;
|
|
133
|
+
bottom: calc(100% + var(--space-unit));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.popover-content-container.above-center {
|
|
137
|
+
left: 50%;
|
|
138
|
+
bottom: calc(100% + var(--space-unit));
|
|
139
|
+
transform: translateX(-50%);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.popover-content-container.above-left {
|
|
143
|
+
right: 0;
|
|
144
|
+
bottom: calc(100% + var(--space-unit));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/*
|
|
148
|
+
Arrows
|
|
149
|
+
*/
|
|
150
|
+
.popover-content-container:before {
|
|
151
|
+
display: none;
|
|
152
|
+
position: absolute;
|
|
153
|
+
content: "";
|
|
154
|
+
width: 8px;
|
|
155
|
+
height: 8px;
|
|
156
|
+
z-index: -1;
|
|
157
|
+
background-color: inherit;
|
|
158
|
+
transform: rotate(45deg);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.popover-content-container.after-down:before {
|
|
162
|
+
top: 12px;
|
|
163
|
+
left: -4px;
|
|
164
|
+
box-shadow: -1px 1px 1.5px var(--shadow-arrow-color);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.popover-content-container.after-center:before {
|
|
168
|
+
top: calc(50% - 4px);
|
|
169
|
+
left: -4px;
|
|
170
|
+
box-shadow: -1px 1px 1.5px var(--shadow-arrow-color);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.popover-content-container.after-up:before {
|
|
174
|
+
bottom: 12px;
|
|
175
|
+
left: -4px;
|
|
176
|
+
box-shadow: -1px 1px 1.5px var(--shadow-arrow-color);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.popover-content-container.below-right:before {
|
|
180
|
+
left: 12px;
|
|
181
|
+
top: -4px;
|
|
182
|
+
box-shadow: -1px -1px 2px var(--shadow-arrow-below-color);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.popover-content-container.below-center:before {
|
|
186
|
+
left: calc(50% - 4px);
|
|
187
|
+
top: -4px;
|
|
188
|
+
box-shadow: -1px -1px 2px var(--shadow-arrow-below-color);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.popover-content-container.below-left:before {
|
|
192
|
+
right: 12px;
|
|
193
|
+
top: -4px;
|
|
194
|
+
box-shadow: -1px -1px 2px var(--shadow-arrow-below-color);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.popover-content-container.before-down:before {
|
|
198
|
+
top: 12px;
|
|
199
|
+
right: -4px;
|
|
200
|
+
box-shadow: 1px -1px 1.5px var(--shadow-arrow-color);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.popover-content-container.before-center:before {
|
|
204
|
+
top: calc(50% - 4px);
|
|
205
|
+
right: -4px;
|
|
206
|
+
box-shadow: 1px -1px 1.5px var(--shadow-arrow-color);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.popover-content-container.before-up:before {
|
|
210
|
+
bottom: 12px;
|
|
211
|
+
right: -4px;
|
|
212
|
+
box-shadow: 1px -1px 1.5px var(--shadow-arrow-color);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.popover-content-container.above-right:before {
|
|
216
|
+
left: 12px;
|
|
217
|
+
bottom: -4px;
|
|
218
|
+
box-shadow: 1px 1px 1.5px var(--shadow-arrow-color);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.popover-content-container.above-center:before {
|
|
222
|
+
left: calc(50% - 4px);
|
|
223
|
+
bottom: -4px;
|
|
224
|
+
box-shadow: 1px 1px 1.5px var(--shadow-arrow-color);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.popover-content-container.above-left:before {
|
|
228
|
+
right: 12px;
|
|
229
|
+
bottom: -4px;
|
|
230
|
+
box-shadow: 1px 1px 1.5px var(--shadow-arrow-color);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/** Show/Hide arrow */
|
|
234
|
+
.popover-content-container.show-arrow:before {
|
|
235
|
+
display: block;
|
|
236
|
+
}
|