@xplortech/apollo-core 3.2.1 → 3.3.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/README.md +1 -1
- package/build/components/accordion.css +1 -1
- package/build/components/badge.css +1 -1
- package/build/components/banner.css +1 -1
- package/build/components/breadcrumbs.css +1 -1
- package/build/components/button.css +1 -1
- package/build/components/choicelist.css +1 -1
- package/build/components/data-card.css +1 -1
- package/build/components/divider.css +1 -1
- package/build/components/dropdown.css +1 -1
- package/build/components/dynamic-table-cell.css +1 -1
- package/build/components/header-accordion.css +1 -1
- package/build/components/input-color.css +1 -1
- package/build/components/input-file.css +1 -1
- package/build/components/input-search.css +1 -1
- package/build/components/input.css +1 -1
- package/build/components/label.css +1 -1
- package/build/components/large-card.css +1 -1
- package/build/components/list-item.css +1 -1
- package/build/components/main-nav.css +1 -1
- package/build/components/modal.css +1 -1
- package/build/components/pagination.css +1 -1
- package/build/components/secondary-nav.css +1 -1
- package/build/components/select.css +1 -1
- package/build/components/side-nav.css +1 -1
- package/build/components/slideout.css +1 -1
- package/build/components/spotlight.css +1 -1
- package/build/components/table-cell-base.css +1 -1
- package/build/components/table-header-cell.css +1 -1
- package/build/components/table.css +1 -1
- package/build/components/tag.css +1 -1
- package/build/components/toast.css +1 -1
- package/build/components/toggle.css +1 -1
- package/build/components/toolbar.css +1 -1
- package/build/components/tooltip.css +1 -1
- package/build/components/top-nav.css +1 -1
- package/build/core.css +1 -1
- package/build/style.css +1 -1
- package/build/typography.css +1 -1
- package/build/variables/apollo.css +30 -19
- package/build/variables/field-edge.css +32 -19
- package/dist/apollo-core/apollo-core.css +1 -1
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-01c55c74.entry.js +1 -0
- package/dist/apollo-core/{p-050a8bf2.entry.js → p-01ed2bb5.entry.js} +1 -1
- package/dist/apollo-core/{p-b3b4678b.entry.js → p-08ea8939.entry.js} +1 -1
- package/dist/apollo-core/{p-256ece8b.entry.js → p-0a7d57ab.entry.js} +1 -1
- package/dist/apollo-core/p-13253d8f.entry.js +1 -0
- package/dist/apollo-core/{p-8845106f.entry.js → p-14f5d98a.entry.js} +1 -1
- package/dist/apollo-core/{p-5c3be343.entry.js → p-17e38eaf.entry.js} +1 -1
- package/dist/apollo-core/{p-a0d3b7f8.entry.js → p-18486aba.entry.js} +1 -1
- package/dist/apollo-core/{p-49531864.entry.js → p-19fb0e5f.entry.js} +1 -1
- package/dist/apollo-core/p-1c2135e3.entry.js +1 -0
- package/dist/apollo-core/{p-7d70e089.entry.js → p-2111cc38.entry.js} +1 -1
- package/dist/apollo-core/p-2b813212.entry.js +1 -0
- package/dist/apollo-core/p-325a3b43.entry.js +1 -0
- package/dist/apollo-core/p-38a6a53d.entry.js +1 -0
- package/dist/apollo-core/{p-808f3d9c.entry.js → p-38fa8398.entry.js} +1 -1
- package/dist/apollo-core/{p-b64ed46d.entry.js → p-3d4a6de1.entry.js} +1 -1
- package/dist/apollo-core/{p-3713cd77.entry.js → p-3e3ab332.entry.js} +1 -1
- package/dist/apollo-core/p-3f8dc5b9.entry.js +1 -0
- package/dist/apollo-core/{p-ff16f574.entry.js → p-4249ee9b.entry.js} +1 -1
- package/dist/apollo-core/{p-715baae0.entry.js → p-439d5cdd.entry.js} +1 -1
- package/dist/apollo-core/{p-f384a990.entry.js → p-4b949aeb.entry.js} +1 -1
- package/dist/apollo-core/{p-eba654a3.entry.js → p-54053547.entry.js} +1 -1
- package/dist/apollo-core/p-620fc472.entry.js +1 -0
- package/dist/apollo-core/{p-9feaa8be.entry.js → p-651b49c3.entry.js} +1 -1
- package/dist/apollo-core/{p-9d731673.entry.js → p-6aee7d6b.entry.js} +1 -1
- package/dist/apollo-core/{p-d469bf5d.entry.js → p-6de10879.entry.js} +1 -1
- package/dist/apollo-core/p-73a1c68d.entry.js +1 -0
- package/dist/apollo-core/{p-8f8f4759.entry.js → p-79d306a2.entry.js} +1 -1
- package/dist/apollo-core/{p-f579e4b0.entry.js → p-7f00b542.entry.js} +1 -1
- package/dist/apollo-core/{p-bc821e69.entry.js → p-7fd3da3a.entry.js} +1 -1
- package/dist/apollo-core/p-890c641b.entry.js +1 -0
- package/dist/apollo-core/p-9832bc63.entry.js +1 -0
- package/dist/apollo-core/{p-7eb02cf3.entry.js → p-9955c4f2.entry.js} +1 -1
- package/dist/apollo-core/p-9b757459.entry.js +1 -0
- package/dist/apollo-core/p-9c41d07f.entry.js +1 -0
- package/dist/apollo-core/{p-ee68bed6.entry.js → p-9c7a0229.entry.js} +1 -1
- package/dist/apollo-core/{p-24fa8a03.entry.js → p-9d091b05.entry.js} +1 -1
- package/dist/apollo-core/p-CJABLO_1.js +3 -0
- package/dist/apollo-core/{p-14e86de8.entry.js → p-a149351a.entry.js} +1 -1
- package/dist/apollo-core/p-a2c3a38a.entry.js +1 -0
- package/dist/apollo-core/p-a5ddb3c4.entry.js +1 -0
- package/dist/apollo-core/{p-3417c1ce.entry.js → p-a73b0ca4.entry.js} +1 -1
- package/dist/apollo-core/{p-fcb17ff9.entry.js → p-aece2c3d.entry.js} +1 -1
- package/dist/apollo-core/{p-aeb2bcb8.entry.js → p-af188297.entry.js} +1 -1
- package/dist/apollo-core/{p-ca83003e.entry.js → p-b2dcdb19.entry.js} +1 -1
- package/dist/apollo-core/p-b55951a2.entry.js +1 -0
- package/dist/apollo-core/p-b7b91f27.entry.js +1 -0
- package/dist/apollo-core/{p-11914cd4.entry.js → p-b9c85394.entry.js} +1 -1
- package/dist/apollo-core/{p-64f5c129.entry.js → p-ba85f686.entry.js} +1 -1
- package/dist/apollo-core/p-c4fd031e.entry.js +1 -0
- package/dist/apollo-core/p-cab7d816.entry.js +1 -0
- package/dist/apollo-core/{p-45c872d2.entry.js → p-cca0f1a2.entry.js} +1 -1
- package/dist/apollo-core/{p-2971e2ec.entry.js → p-cd2d73ee.entry.js} +1 -1
- package/dist/apollo-core/p-cfb00d23.entry.js +1 -0
- package/dist/apollo-core/p-d060572b.entry.js +1 -0
- package/dist/apollo-core/p-d13a07ea.entry.js +1 -0
- package/dist/apollo-core/p-d1571245.entry.js +1 -0
- package/dist/apollo-core/p-d204ed1a.entry.js +1 -0
- package/dist/apollo-core/{p-9905c77c.entry.js → p-d3720611.entry.js} +1 -1
- package/dist/apollo-core/p-d9f78325.entry.js +1 -0
- package/dist/apollo-core/{p-df257cbf.entry.js → p-dad5d377.entry.js} +1 -1
- package/dist/apollo-core/{p-d3ada7d0.entry.js → p-e21af3d1.entry.js} +1 -1
- package/dist/apollo-core/{p-c5bc3b2c.entry.js → p-e7145461.entry.js} +1 -1
- package/dist/apollo-core/p-e99503a2.entry.js +1 -0
- package/dist/apollo-core/{p-e4d50301.entry.js → p-ec99c433.entry.js} +1 -1
- package/dist/apollo-core/{p-e09d8beb.entry.js → p-fc73497e.entry.js} +1 -1
- package/dist/apollo-core/{p-907bc21e.entry.js → p-fdd1b7da.entry.js} +1 -1
- package/dist/cjs/apollo-core.cjs.js +2 -2
- package/dist/cjs/{index-3cBvw409.js → index-EdmnG7t8.js} +52 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/xpl-accordion.cjs.entry.js +3 -3
- package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
- package/dist/cjs/xpl-avatar_3.cjs.entry.js +5 -5
- package/dist/cjs/xpl-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/xpl-badge.cjs.entry.js +2 -2
- package/dist/cjs/xpl-banner.cjs.entry.js +3 -3
- package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
- package/dist/cjs/xpl-button.cjs.entry.js +3 -3
- package/dist/cjs/xpl-calendar.cjs.entry.js +2 -2
- package/dist/cjs/xpl-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/xpl-choicelist.cjs.entry.js +2 -2
- package/dist/cjs/xpl-content-area.cjs.entry.js +2 -2
- package/dist/cjs/xpl-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/xpl-data-card.cjs.entry.js +3 -3
- package/dist/cjs/xpl-dropdown_4.cjs.entry.js +9 -9
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +3 -3
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +3 -3
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +3 -3
- package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
- package/dist/cjs/xpl-header-accordion.cjs.entry.js +2 -2
- package/dist/cjs/xpl-icon.cjs.entry.js +1 -1
- package/dist/cjs/xpl-input-color.cjs.entry.js +1 -1
- package/dist/cjs/xpl-input-phone.cjs.entry.js +1 -1
- package/dist/cjs/xpl-input-time.cjs.entry.js +1 -1
- package/dist/cjs/xpl-input_4.cjs.entry.js +3 -3
- package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
- package/dist/cjs/xpl-list-item.cjs.entry.js +1 -1
- package/dist/cjs/xpl-list.cjs.entry.js +3 -3
- package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
- package/dist/cjs/xpl-modal.cjs.entry.js +1 -1
- package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +3 -3
- package/dist/cjs/xpl-nav-item.cjs.entry.js +3 -3
- package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
- package/dist/cjs/xpl-panel.cjs.entry.js +1 -1
- package/dist/cjs/xpl-popover.cjs.entry.js +5 -5
- package/dist/cjs/xpl-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/xpl-secondary-nav.cjs.entry.js +2 -2
- package/dist/cjs/xpl-select_2.cjs.entry.js +10 -10
- package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +1 -1
- package/dist/cjs/xpl-side-nav-item.cjs.entry.js +3 -3
- package/dist/cjs/xpl-side-nav-section.cjs.entry.js +6 -6
- package/dist/cjs/xpl-side-nav.cjs.entry.js +1 -1
- package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/xpl-slideout.cjs.entry.js +2 -2
- package/dist/cjs/xpl-spotlight.cjs.entry.js +1 -1
- package/dist/cjs/xpl-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/xpl-tab.cjs.entry.js +1 -1
- package/dist/cjs/xpl-table-body.cjs.entry.js +2 -2
- package/dist/cjs/xpl-table-cell_3.cjs.entry.js +5 -5
- package/dist/cjs/xpl-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
- package/dist/cjs/xpl-table-row.cjs.entry.js +3 -3
- package/dist/cjs/xpl-table.cjs.entry.js +1 -1
- package/dist/cjs/xpl-tabs.cjs.entry.js +1 -1
- package/dist/cjs/xpl-toast.cjs.entry.js +3 -3
- package/dist/cjs/xpl-toggle.cjs.entry.js +1 -1
- package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/xpl-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/xpl-top-nav-item.cjs.entry.js +3 -3
- package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +1 -1
- package/dist/cjs/xpl-top-nav.cjs.entry.js +1 -1
- package/dist/cjs/xpl-utility-bar.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
- package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
- package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
- package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
- package/dist/collection/components/xpl-button/xpl-button.js +2 -2
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
- package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
- package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
- package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
- package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
- package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +7 -6
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
- package/dist/collection/components/xpl-input/xpl-input.js +2 -2
- package/dist/collection/components/xpl-list/xpl-list.js +2 -2
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
- package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
- package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
- package/dist/collection/components/xpl-select/xpl-select.js +7 -7
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
- package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +1 -1
- package/dist/collection/components/xpl-table/xpl-table-cell/xpl-table-cell.js +2 -2
- package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +1 -1
- package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +2 -2
- package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +2 -2
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
- package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
- package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
- package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
- package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-2XxO7M15.js +1 -0
- package/dist/components/{p-D09sGbzs.js → p-3R1VKKds.js} +1 -1
- package/dist/components/p-BNOkHymY.js +1 -0
- package/dist/components/p-BWAytJnz.js +1 -0
- package/dist/components/{p-B7aaJikj.js → p-BZrSTAV1.js} +1 -1
- package/dist/components/{p-CQjJIHK6.js → p-Bh-U2qmp.js} +1 -1
- package/dist/components/{p-BOm_p_mz.js → p-BowQ58XR.js} +1 -1
- package/dist/components/p-BqhTjJWq.js +1 -0
- package/dist/components/{p-CFXvQqUO.js → p-CWXfIUHo.js} +1 -1
- package/dist/components/{p-CdRmVtIN.js → p-CZg3Gb0I.js} +1 -1
- package/dist/components/{p-ohy3NrgH.js → p-CcPrBo53.js} +1 -1
- package/dist/components/p-CetimlcM.js +1 -0
- package/dist/components/{p-CV5nn1zR.js → p-CfZI7bBe.js} +1 -1
- package/dist/components/{p-2cJsJK3-.js → p-CjzUVpyd.js} +1 -1
- package/dist/components/{p-DoVubWyd.js → p-ClLyaOG7.js} +1 -1
- package/dist/components/{p-rLxtqgsy.js → p-Cop4KmAG.js} +1 -1
- package/dist/components/{p-C0AbGd4t.js → p-DHxDWgLP.js} +1 -1
- package/dist/components/{p-CuVYRPvz.js → p-DORBnmT4.js} +1 -1
- package/dist/components/{p-CmbpWpb0.js → p-DbN9vTl7.js} +1 -1
- package/dist/components/{p-DTh_zemx.js → p-Dl__XgUD.js} +1 -1
- package/dist/components/{p-8zrW9vEC.js → p-JjlTuq8d.js} +1 -1
- package/dist/components/p-d4i2Qqvl.js +1 -0
- package/dist/components/{p-Btb2UkLz.js → p-n-yq7lf4.js} +1 -1
- package/dist/components/{p-1D7CWIJ-.js → p-rQFFXcXl.js} +1 -1
- package/dist/components/p-sjDW_E4p.js +1 -0
- package/dist/components/{p-B56GeUtW.js → p-yc1qXhah.js} +1 -1
- package/dist/components/xpl-accordion.js +1 -1
- package/dist/components/xpl-application-shell.js +1 -1
- package/dist/components/xpl-avatar.js +1 -1
- package/dist/components/xpl-backdrop.js +1 -1
- package/dist/components/xpl-badge.js +1 -1
- package/dist/components/xpl-banner.js +1 -1
- package/dist/components/xpl-breadcrumb-item.js +1 -1
- package/dist/components/xpl-breadcrumbs.js +1 -1
- package/dist/components/xpl-button-row.js +1 -1
- package/dist/components/xpl-button.js +1 -1
- package/dist/components/xpl-calendar.js +1 -1
- package/dist/components/xpl-checkbox.js +1 -1
- package/dist/components/xpl-choicelist.js +1 -1
- package/dist/components/xpl-content-area.js +1 -1
- package/dist/components/xpl-dashboard.js +1 -1
- package/dist/components/xpl-data-card.js +1 -1
- package/dist/components/xpl-divider.js +1 -1
- package/dist/components/xpl-dropdown-group.js +1 -1
- package/dist/components/xpl-dropdown-heading.js +1 -1
- package/dist/components/xpl-dropdown-option.js +1 -1
- package/dist/components/xpl-dropdown.js +1 -1
- package/dist/components/xpl-dynamic-table-cell.js +1 -1
- package/dist/components/xpl-dynamic-table-row.js +1 -1
- package/dist/components/xpl-dynamic-table.js +1 -1
- package/dist/components/xpl-grid-item.js +1 -1
- package/dist/components/xpl-grid.js +1 -1
- package/dist/components/xpl-header-accordion.js +1 -1
- package/dist/components/xpl-icon.js +1 -1
- package/dist/components/xpl-input-color.js +1 -1
- package/dist/components/xpl-input-date.js +1 -1
- package/dist/components/xpl-input-file.js +1 -1
- package/dist/components/xpl-input-phone.js +1 -1
- package/dist/components/xpl-input-search.js +1 -1
- package/dist/components/xpl-input-time.js +1 -1
- package/dist/components/xpl-input.js +1 -1
- package/dist/components/xpl-large-card.js +1 -1
- package/dist/components/xpl-list-item.js +1 -1
- package/dist/components/xpl-list.js +1 -1
- package/dist/components/xpl-main-nav.js +1 -1
- package/dist/components/xpl-modal.js +1 -1
- package/dist/components/xpl-nav-header-menu.js +1 -1
- package/dist/components/xpl-nav-item.js +1 -1
- package/dist/components/xpl-pagination.js +1 -1
- package/dist/components/xpl-panel.js +1 -1
- package/dist/components/xpl-popover.js +1 -1
- package/dist/components/xpl-progress-bar.js +1 -1
- package/dist/components/xpl-progress-indicator.js +1 -1
- package/dist/components/xpl-radio.js +1 -1
- package/dist/components/xpl-secondary-nav.js +1 -1
- package/dist/components/xpl-select.js +1 -1
- package/dist/components/xpl-side-nav-header-item.js +1 -1
- package/dist/components/xpl-side-nav-item.js +1 -1
- package/dist/components/xpl-side-nav-section.js +1 -1
- package/dist/components/xpl-side-nav.js +1 -1
- package/dist/components/xpl-skeleton.js +1 -1
- package/dist/components/xpl-slideout.js +1 -1
- package/dist/components/xpl-spotlight.js +1 -1
- package/dist/components/xpl-tab-panel.js +1 -1
- package/dist/components/xpl-tab.js +1 -1
- package/dist/components/xpl-table-body.js +1 -1
- package/dist/components/xpl-table-cell.js +1 -1
- package/dist/components/xpl-table-footer-cell.js +1 -1
- package/dist/components/xpl-table-footer.js +1 -1
- package/dist/components/xpl-table-header-cell.js +1 -1
- package/dist/components/xpl-table-header.js +1 -1
- package/dist/components/xpl-table-row.js +1 -1
- package/dist/components/xpl-table.js +1 -1
- package/dist/components/xpl-tabs.js +1 -1
- package/dist/components/xpl-tag.js +1 -1
- package/dist/components/xpl-toast.js +1 -1
- package/dist/components/xpl-toggle.js +1 -1
- package/dist/components/xpl-toolbar.js +1 -1
- package/dist/components/xpl-tooltip.js +1 -1
- package/dist/components/xpl-top-nav-item.js +1 -1
- package/dist/components/xpl-top-nav-menu.js +1 -1
- package/dist/components/xpl-top-nav.js +1 -1
- package/dist/components/xpl-utility-bar.js +1 -1
- package/dist/docs/xpl-accordion/readme.md +5 -4
- package/dist/docs/xpl-application-shell/readme.md +10 -0
- package/dist/docs/xpl-avatar/readme.md +7 -0
- package/dist/docs/xpl-badge/readme.md +7 -0
- package/dist/docs/xpl-breadcrumbs/xpl-breadcrumb-item/readme.md +1 -0
- package/dist/docs/xpl-breadcrumbs/xpl-breadcrumbs/readme.md +1 -0
- package/dist/docs/xpl-button/readme.md +7 -0
- package/dist/docs/xpl-checkbox/readme.md +7 -0
- package/dist/docs/xpl-content-area/readme.md +7 -0
- package/dist/docs/xpl-dashboard/readme.md +7 -0
- package/dist/docs/xpl-data-card/readme.md +1 -0
- package/dist/docs/xpl-divider/readme.md +7 -0
- package/dist/docs/xpl-dropdown/readme.md +8 -0
- package/dist/docs/xpl-dropdown/xpl-dropdown-group/readme.md +7 -0
- package/dist/docs/xpl-dropdown/xpl-dropdown-heading/readme.md +7 -0
- package/dist/docs/xpl-dropdown/xpl-dropdown-option/readme.md +7 -0
- package/dist/docs/xpl-dynamic-table/readme.md +8 -0
- package/dist/docs/xpl-dynamic-table-cell/readme.md +7 -0
- package/dist/docs/xpl-dynamic-table-row/readme.md +7 -0
- package/dist/docs/xpl-grid-item/readme.md +7 -0
- package/dist/docs/xpl-header-accordion/readme.md +8 -0
- package/dist/docs/xpl-icon/readme.md +1 -1
- package/dist/docs/xpl-input/readme.md +8 -0
- package/dist/docs/xpl-list/readme.md +7 -0
- package/dist/docs/xpl-list/xpl-list-item/readme.md +16 -0
- package/dist/docs/xpl-main-nav/readme.md +12 -0
- package/dist/docs/xpl-nav-item/readme.md +9 -0
- package/dist/docs/xpl-popover/readme.md +1 -0
- package/dist/docs/xpl-radio/readme.md +7 -0
- package/dist/docs/xpl-secondary-nav/readme.md +7 -0
- package/dist/docs/xpl-select/readme.md +7 -0
- package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +9 -0
- package/dist/docs/xpl-side-nav/xpl-side-nav-section/readme.md +8 -0
- package/dist/docs/xpl-slideout/readme.md +13 -0
- package/dist/docs/xpl-spotlight/readme.md +1 -0
- package/dist/docs/xpl-table/readme.md +12 -0
- package/dist/docs/xpl-table/xpl-table-body/readme.md +7 -0
- package/dist/docs/xpl-table/xpl-table-cell/readme.md +7 -0
- package/dist/docs/xpl-table/xpl-table-footer/readme.md +7 -0
- package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +7 -0
- package/dist/docs/xpl-table/xpl-table-header-cell/readme.md +59 -52
- package/dist/docs/xpl-table/xpl-table-row/readme.md +7 -0
- package/dist/docs/xpl-table-header/readme.md +7 -0
- package/dist/docs/xpl-tag/readme.md +9 -2
- package/dist/docs/xpl-toast/readme.md +8 -0
- package/dist/docs/xpl-toolbar/readme.md +8 -0
- package/dist/docs/xpl-tooltip/readme.md +7 -0
- package/dist/docs/xpl-top-nav/xpl-nav-header-menu/readme.md +1 -0
- package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +1 -0
- package/dist/docs/xpl-top-nav/xpl-top-nav-menu/readme.md +1 -0
- package/dist/docs/xpl-utility-bar/readme.md +8 -0
- package/dist/docs.json +770 -88
- package/dist/esm/apollo-core.js +3 -3
- package/dist/esm/{index-ukZKsqqq.js → index-CJABLO_1.js} +52 -11
- package/dist/esm/loader.js +2 -2
- package/dist/esm/xpl-accordion.entry.js +3 -3
- package/dist/esm/xpl-application-shell.entry.js +2 -2
- package/dist/esm/xpl-avatar_3.entry.js +5 -5
- package/dist/esm/xpl-backdrop.entry.js +2 -2
- package/dist/esm/xpl-badge.entry.js +2 -2
- package/dist/esm/xpl-banner.entry.js +3 -3
- package/dist/esm/xpl-breadcrumb-item.entry.js +2 -2
- package/dist/esm/xpl-breadcrumbs.entry.js +2 -2
- package/dist/esm/xpl-button-row.entry.js +2 -2
- package/dist/esm/xpl-button.entry.js +3 -3
- package/dist/esm/xpl-calendar.entry.js +2 -2
- package/dist/esm/xpl-checkbox.entry.js +4 -4
- package/dist/esm/xpl-choicelist.entry.js +2 -2
- package/dist/esm/xpl-content-area.entry.js +2 -2
- package/dist/esm/xpl-dashboard.entry.js +2 -2
- package/dist/esm/xpl-data-card.entry.js +3 -3
- package/dist/esm/xpl-dropdown_4.entry.js +9 -9
- package/dist/esm/xpl-dynamic-table-cell.entry.js +3 -3
- package/dist/esm/xpl-dynamic-table-row.entry.js +3 -3
- package/dist/esm/xpl-dynamic-table.entry.js +3 -3
- package/dist/esm/xpl-grid-item.entry.js +2 -2
- package/dist/esm/xpl-grid.entry.js +1 -1
- package/dist/esm/xpl-header-accordion.entry.js +2 -2
- package/dist/esm/xpl-icon.entry.js +1 -1
- package/dist/esm/xpl-input-color.entry.js +1 -1
- package/dist/esm/xpl-input-phone.entry.js +1 -1
- package/dist/esm/xpl-input-time.entry.js +1 -1
- package/dist/esm/xpl-input_4.entry.js +3 -3
- package/dist/esm/xpl-large-card.entry.js +1 -1
- package/dist/esm/xpl-list-item.entry.js +1 -1
- package/dist/esm/xpl-list.entry.js +3 -3
- package/dist/esm/xpl-main-nav.entry.js +2 -2
- package/dist/esm/xpl-modal.entry.js +1 -1
- package/dist/esm/xpl-nav-header-menu.entry.js +3 -3
- package/dist/esm/xpl-nav-item.entry.js +3 -3
- package/dist/esm/xpl-pagination.entry.js +1 -1
- package/dist/esm/xpl-panel.entry.js +1 -1
- package/dist/esm/xpl-popover.entry.js +5 -5
- package/dist/esm/xpl-progress-bar.entry.js +1 -1
- package/dist/esm/xpl-progress-indicator.entry.js +1 -1
- package/dist/esm/xpl-secondary-nav.entry.js +2 -2
- package/dist/esm/xpl-select_2.entry.js +10 -10
- package/dist/esm/xpl-side-nav-header-item.entry.js +1 -1
- package/dist/esm/xpl-side-nav-item.entry.js +3 -3
- package/dist/esm/xpl-side-nav-section.entry.js +6 -6
- package/dist/esm/xpl-side-nav.entry.js +1 -1
- package/dist/esm/xpl-skeleton.entry.js +1 -1
- package/dist/esm/xpl-slideout.entry.js +2 -2
- package/dist/esm/xpl-spotlight.entry.js +1 -1
- package/dist/esm/xpl-tab-panel.entry.js +1 -1
- package/dist/esm/xpl-tab.entry.js +1 -1
- package/dist/esm/xpl-table-body.entry.js +2 -2
- package/dist/esm/xpl-table-cell_3.entry.js +5 -5
- package/dist/esm/xpl-table-footer.entry.js +2 -2
- package/dist/esm/xpl-table-header.entry.js +2 -2
- package/dist/esm/xpl-table-row.entry.js +3 -3
- package/dist/esm/xpl-table.entry.js +1 -1
- package/dist/esm/xpl-tabs.entry.js +1 -1
- package/dist/esm/xpl-toast.entry.js +3 -3
- package/dist/esm/xpl-toggle.entry.js +1 -1
- package/dist/esm/xpl-toolbar.entry.js +3 -3
- package/dist/esm/xpl-tooltip.entry.js +2 -2
- package/dist/esm/xpl-top-nav-item.entry.js +3 -3
- package/dist/esm/xpl-top-nav-menu.entry.js +1 -1
- package/dist/esm/xpl-top-nav.entry.js +1 -1
- package/dist/esm/xpl-utility-bar.entry.js +2 -2
- package/dist/types/components.d.ts +3 -1
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/hydrate/index.js +117 -98
- package/hydrate/index.mjs +117 -98
- package/loader/index.d.ts +1 -1
- package/package.json +13 -13
- package/dist/apollo-core/p-045a4538.entry.js +0 -1
- package/dist/apollo-core/p-08767607.entry.js +0 -1
- package/dist/apollo-core/p-194c0ccd.entry.js +0 -1
- package/dist/apollo-core/p-1c031055.entry.js +0 -1
- package/dist/apollo-core/p-24f7280a.entry.js +0 -1
- package/dist/apollo-core/p-386851a2.entry.js +0 -1
- package/dist/apollo-core/p-3cd1238b.entry.js +0 -1
- package/dist/apollo-core/p-4e3c6616.entry.js +0 -1
- package/dist/apollo-core/p-5b9fd96e.entry.js +0 -1
- package/dist/apollo-core/p-5cbf5d42.entry.js +0 -1
- package/dist/apollo-core/p-5ec2b180.entry.js +0 -1
- package/dist/apollo-core/p-65f6b66c.entry.js +0 -1
- package/dist/apollo-core/p-72e0455f.entry.js +0 -1
- package/dist/apollo-core/p-7ac7fbc0.entry.js +0 -1
- package/dist/apollo-core/p-7f4463ff.entry.js +0 -1
- package/dist/apollo-core/p-87582346.entry.js +0 -1
- package/dist/apollo-core/p-a6ecca68.entry.js +0 -1
- package/dist/apollo-core/p-a789c272.entry.js +0 -1
- package/dist/apollo-core/p-bd493c4a.entry.js +0 -1
- package/dist/apollo-core/p-bdcece21.entry.js +0 -1
- package/dist/apollo-core/p-bfb7a83a.entry.js +0 -1
- package/dist/apollo-core/p-c22f70f4.entry.js +0 -1
- package/dist/apollo-core/p-d3230277.entry.js +0 -1
- package/dist/apollo-core/p-d7f8ee34.entry.js +0 -1
- package/dist/apollo-core/p-d879c349.entry.js +0 -1
- package/dist/apollo-core/p-ea9cdd65.entry.js +0 -1
- package/dist/apollo-core/p-ukZKsqqq.js +0 -2
- package/dist/components/p-B6YLKDUX.js +0 -1
- package/dist/components/p-BSHdGbmH.js +0 -1
- package/dist/components/p-BZIZSovL.js +0 -1
- package/dist/components/p-CgemLtmL.js +0 -1
- package/dist/components/p-Dp62sBqX.js +0 -1
- package/dist/components/p-DqgnC_vS.js +0 -1
- package/dist/components/p-DtV4i45B.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,f as e,h as s,H as a,g as h}from"./p-
|
|
1
|
+
import{r as t,c as i,f as e,h as s,H as a,g as h}from"./p-CJABLO_1.js";import{i as n}from"./p-Dqb1pIRo.js";const o=class{constructor(e){t(this,e),this.openChange=i(this,"openChange",7),this.drawerClosing=!1,this.hasHeaderSlot=!1,this.open=!1,this.onViewportChange=()=>{this.clearCloseTransition(),this.syncDocKeyDownListener()},this.focusToggleAfterClose=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.toggleFocusTimeoutId&&clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=setTimeout((()=>{this.toggleFocusTimeoutId=void 0,this.el.querySelector(".xpl-side-nav__toggle button")?.focus()}),0))},this.focusDrawerOnOpen=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.drawerFocusTimeoutId&&clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=setTimeout((()=>{this.drawerFocusTimeoutId=void 0;const t=this.el.querySelector(".xpl-side-nav__wrapper"),i=t?this.getFocusableElements().find((i=>t.contains(i))):void 0,e=this.el.querySelector(".xpl-side-nav__toggle button");(i??e)?.focus()}),0))},this.onBackdropClick=()=>this.setOpenState(!1),this.onDocKeyDown=t=>{if(this.isMobileDrawerActive()&&!this.shouldYieldFocusToExternalModal())switch(t.key.toLowerCase()){case"escape":if(!this.open)return;if(this.anyDescendantPopoverIsOpen())return;return t.preventDefault(),t.stopPropagation(),void this.setOpenState(!1);case"tab":this.trapTabKey(t)}},this.onToggleClick=()=>this.setOpenState(!this.open)}onOpenChanged(t,i){i&&!t&&this.isBelowMdBreakpoint()?(this.drawerClosing=!0,void 0!==this.closeTransitionTimeoutId&&clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=setTimeout((()=>{this.closeTransitionTimeoutId=void 0,this.drawerClosing=!1,this.syncDocKeyDownListener()}),600)):this.clearCloseTransition(),this.syncDocKeyDownListener(),i&&!t&&this.focusToggleAfterClose(),!i&&t&&this.focusDrawerOnOpen()}connectedCallback(){n()&&"function"==typeof window.matchMedia&&(this.mobileMq=window.matchMedia("(max-width: 767px)"),this.mobileMq.addEventListener("change",this.onViewportChange)),this.syncDocKeyDownListener(),this.syncHeaderSlot(),this.connectHeaderSlotObserver()}componentWillLoad(){this.syncHeaderSlot()}componentWillRender(){this.disconnectHeaderSlotObserver()}componentDidRender(){this.scheduleHeaderSlotSync()}componentDidLoad(){this.open&&(this.syncDocKeyDownListener(),this.focusDrawerOnOpen())}disconnectedCallback(){void 0!==this.toggleFocusTimeoutId&&(clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=void 0),void 0!==this.drawerFocusTimeoutId&&(clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=void 0),this.clearCloseTransition(),this.mobileMq?.removeEventListener("change",this.onViewportChange),this.mobileMq=void 0,this.removeDocKeyDownListener(),void 0!==this.headerSlotSyncTimeoutId&&(clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=void 0),this.disconnectHeaderSlotObserver()}async toggle(){this.setOpenState(!this.open)}async setOpen(t){this.setOpenState(t)}removeDocKeyDownListener(){this.el.ownerDocument.removeEventListener("keydown",this.onDocKeyDown,!1)}syncDocKeyDownListener(){this.removeDocKeyDownListener(),this.isMobileDrawerActive()&&this.el.ownerDocument.addEventListener("keydown",this.onDocKeyDown,!1)}isBelowMdBreakpoint(){return this.mobileMq?.matches??!1}isMobileDrawerActive(){return(this.open||this.drawerClosing)&&this.isBelowMdBreakpoint()}clearCloseTransition(){void 0!==this.closeTransitionTimeoutId&&(clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=void 0),this.drawerClosing=!1}shouldYieldFocusToExternalModal(){const t=this.el.ownerDocument.activeElement;return!(!t||this.el.contains(t))&&null!==t.closest('[aria-modal="true"]')}anyDescendantPopoverIsOpen(){const t=this.el.querySelectorAll("xpl-popover");for(let i=0;i<t.length;i+=1){const e=t[i].querySelector(".xpl-popover");if(e?.classList.contains("xpl-popover--is-open"))return!0}return!1}setOpenState(t){const i=this.open;t!==i&&(this.open=t,this.openChange.emit(t),i&&!t&&this.focusToggleAfterClose())}getFocusableElements(){const t=this.el.ownerDocument.activeElement;return Array.from(this.el.querySelectorAll('button:not([disabled]), a[href]:not([tabindex="-1"]), input:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter((i=>!i.closest("[inert]")&&(null!==i.offsetParent||i===t)))}trapTabKey(t){if(this.shouldYieldFocusToExternalModal())return;const i=this.getFocusableElements();if(0===i.length)return;const e=i[0],s=i[i.length-1],a=this.el.ownerDocument.activeElement;t.shiftKey?a!==e&&this.el.contains(a)||(t.preventDefault(),s.focus()):a!==s&&this.el.contains(a)||(t.preventDefault(),e.focus())}connectHeaderSlotObserver(){this.disconnectHeaderSlotObserver(),"undefined"!=typeof MutationObserver&&(this.headerSlotObserver=new MutationObserver((()=>{this.scheduleHeaderSlotSync()})),this.headerSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectHeaderSlotObserver(){this.headerSlotObserver?.disconnect(),this.headerSlotObserver=void 0}scheduleHeaderSlotSync(){void 0!==this.headerSlotSyncTimeoutId&&clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=setTimeout((()=>{this.headerSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncHeaderSlot(),this.connectHeaderSlotObserver())}),0)}syncHeaderSlot(){const t=Array.from(this.el.querySelectorAll('[slot="nav-header"]')).filter((t=>t.closest("xpl-side-nav")===this.el&&(t.parentElement===this.el||null!==t.closest(".xpl-side-nav__header")))),i=t.length>0;i===this.hasHeaderSlot?i&&t.some((t=>t.parentElement===this.el))&&e(this):this.hasHeaderSlot=i}render(){return s(a,{key:"8cffb32c21217edd67117acb264f3df5587fa32d",class:{"xpl-side-nav":!0,"xpl-side-nav--open":this.open}},s("xpl-button",{key:"5a82bbc6a65690f550fe192aa6cd593efbf86bc8",class:"xpl-side-nav__toggle",variant:"tertiary",iconOnly:!0,icon:this.open?"sidebar-left-hide":"sidebar-left-show","aria-expanded":this.open?"true":"false","aria-label":this.open?"Close navigation menu":"Open navigation menu",onClick:this.onToggleClick}),s("div",{key:"1315f34c7a6e1c793cc347292117f2e5992f074d",class:"xpl-side-nav__wrapper"},s("nav",{key:"4b7446999c74b1554dae84d04c439a75b712b429",class:"xpl-side-nav__content","aria-label":this.label},s("div",{key:"bce43018bf61c73dde0adb053fa87d0789edd329",class:"xpl-side-nav__scroll-area"},this.hasHeaderSlot&&s("div",{key:"d70ecd07a6c71dd76ce162b9167d3b5a11ba4ea8",class:"xpl-side-nav__header"},s("slot",{key:"c9d10e57d77a69cf00e86c2a17a94eba5e54d23e",name:"nav-header"})),s("div",{key:"6873372f5eb854ee7ef88e6d3085d81be62fc508",class:"xpl-side-nav__section"},s("slot",{key:"b07fdb332e8ccaaa69db61ade9bb88e43d6f8753",name:"section"}))),s("div",{key:"f34e444c538cbf246aee52ebfe35657a8fa1d706",class:"xpl-side-nav__footer"},s("slot",{key:"da70c80d9378ad1e0dbf23d33d521021c346ee23",name:"nav-footer"})))),s("xpl-backdrop",{key:"769576cb0961b8a00308c748d0efbaa0ef2b3ca5",class:"xpl-side-nav__backdrop",onClick:this.onBackdropClick}))}get el(){return h(this)}static get watchers(){return{open:[{onOpenChanged:0}]}}};export{o as xpl_side_nav}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as s,g as
|
|
1
|
+
import{r as e,h as t,H as s,g as a}from"./p-CJABLO_1.js";const i=class{constructor(t){e(this,t),this.disabled=!1}componentDidLoad(){this.updateSlottedComponentsWhenDisabled()}componentDidUpdate(){this.updateSlottedComponentsWhenDisabled()}updateSlottedComponentsWhenDisabled(){(this.hostElement?.querySelectorAll("*")??[]).forEach((e=>{"disabled"in e&&(e.disabled=this.disabled)}))}render(){const e=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0;return t(s,{key:"fb0813824c87078ee6a2cda5e3d4f40f86160c30",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e??void 0}},t("slot",{key:"3a09f63ca7320971d3080458d48eb7f87423008a"}))}get el(){return a(this)}};export{i as xpl_dynamic_table_cell}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,H as e}from"./p-
|
|
1
|
+
import{r as s,h as r,H as e}from"./p-CJABLO_1.js";const a=class{constructor(r){s(this,r),this.max=100,this.size="lg",this.value=0,this.variant="default"}get clampedValue(){return Math.max(0,Math.min(this.max,this.value))}get isComplete(){return this.value>=this.max&&"default"===this.variant}get isError(){return"error"===this.variant}get isSuccess(){return"success"===this.variant||this.isComplete}get showStatusIcon(){return this.isSuccess||this.isError}get isIndeterminate(){return"indeterminate"===this.variant}render(){return r(e,{key:"a33381f58e76e71c5a52d4e80fa1f37181f28c8d",class:{"xpl-progress-bar":!0,[`xpl-progress-bar--${this.size}`]:!0,[`xpl-progress-bar--${this.variant}`]:!0,"xpl-progress-bar--complete":this.isComplete}},r("div",{key:"6a86fcdc4933aa2ce4df38c2f1797516c3665c3a",class:"xpl-progress-bar__wrapper"},(this.label||this.showStatusIcon)&&r("div",{key:"12f708882cd9eb13f6011c6e40a3b0fc6b4314aa",class:"xpl-progress-bar__header"},this.label&&r("div",{key:"7a76032a1b457068607018e646b40fe294457fa8",class:"xpl-progress-bar__label"},this.label),this.showStatusIcon&&r("div",{key:"dac51b18dda11bf46049a9d0d175821121eb230d",class:"xpl-progress-bar__icon"},r("xpl-icon",this.isError?{icon:"circle-xmark-1"}:{icon:"circle-check-1"}))),r("div",{key:"1923268a3dc1f8aa748f48eca2e991c1424582e3",class:"xpl-progress-bar__row"},this.isIndeterminate?r("div",{class:"xpl-progress-bar__track xpl-progress-bar__track--indeterminate",role:"progressbar","aria-label":this.label||"Progress"},r("div",{class:"xpl-progress-bar__indeterminate"})):r("progress",{class:"xpl-progress-bar__progress",value:this.clampedValue,max:this.max,"aria-label":this.label||"Progress"})),this.helperText&&r("div",{key:"b01a3ae4f73107a4e4938a53e7fa038867da0c53",class:"xpl-progress-bar__helper"},this.helperText)))}};export{a as xpl_progress_bar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as i,h as t,H as s}from"./p-CJABLO_1.js";const n=class{constructor(t){e(this,t),this.action=i(this,"action",7),this.dismiss=i(this,"dismiss",7),this.secondaryAction=i(this,"secondaryAction",7),this.appearance="information",this.hasIcon=!0,this.isDismissible=!0,this.isSection=!1,this.truncateDesc=!1}getIcon(){switch(this.appearance){case"positive":return"circle-check";case"warning":return"triangle-warning";case"error":return"octagon-warning";default:return"circle-info"}}getActionButtonState(){return this.isSection&&"positive"===this.appearance?"success":"error"===this.appearance?"warning":void 0}getActionButtonVariant(){return this.isSection?"subtle":"error"===this.appearance?"primary":"subtle"}getAriaLabel(){return this.isSection?this.heading?.trim()||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){const e=!!this.actionText?.trim(),i=!!this.secondaryActionText?.trim(),n=this.getActionButtonVariant(),a=this.getActionButtonState(),r=!!this.heading?.trim(),c=!!this.description?.trim();return t(s,{key:"3ec080a23996280ec5223f06f75db2f308c4af9e",class:{"xpl-banner":!0,"xpl-banner--section":this.isSection,[`xpl-banner--${this.appearance}`]:!0,"xpl-banner--truncate-desc":this.truncateDesc,"xpl-banner--no-icon":this.isSection&&!this.hasIcon},role:"region","aria-label":this.getAriaLabel()},(!this.isSection||this.hasIcon)&&t("div",{key:"b6a41b971e0a7f07aefa8bd457e39cd16dbaeb3b",class:"xpl-banner__icon","aria-hidden":"true"},t("xpl-icon",{key:"cefc593e0ab2134c4853e7e5e49be548d6b32a24",icon:this.getIcon(),size:24})),t("div",{key:"c26947f4579889550ce9d9edf272274c96981ff7",class:"xpl-banner__body"},r&&t("p",{key:"ccc03db846014aaa25b9938373108feae99150d3",class:"xpl-banner__heading"},this.heading),c&&t("p",{key:"14493ae4ebd31a9d2677b45f148d98c0b6a443e8",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(e||i)&&t("div",{key:"37347b1eb78e4664498410a3e5918f26cb670725",class:"xpl-banner__actions"},e&&t("xpl-button",{key:"e84704a48a07fd2ca75252c8821f59084275975c",size:"xs",variant:n,state:a,onClick:()=>this.action.emit()},this.actionText),i&&t("xpl-button",{key:"e02ac8ed8b9c4146d6275262359a9d5d3e401e9c",size:"xs",variant:n,state:a,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&t("button",{key:"8f7c5451c1fcadd30915f59064738e42a1e72948",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},t("xpl-icon",{key:"6775534525f9363551699f9efa879225d51363f4",icon:"xmark",size:24,"aria-hidden":"true"})))}};export{n as xpl_banner}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as s,g as i}from"./p-
|
|
1
|
+
import{r as e,h as t,H as s,g as i}from"./p-CJABLO_1.js";const c=class{constructor(t){e(this,t),this.initialExpanded=!1,this.disabled=!1,this.selectedCount=-1,this.hasCheckbox=!0,this.expanded=this.initialExpanded,this.parentChecked=!1,this.parentIndeterminate=!1,this.toggleAccordion=()=>{this.expanded=!this.expanded},this.handleParentCheckboxChange=e=>{this.parentChecked=e,this.parentIndeterminate=!1;const t=this.el?.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])');t?.forEach((t=>{t.checked=e}))}}watchSelectedCount(e,t){e>-1&&this.updateParentCheckbox(e)}updateParentCheckbox(e){const t=this.el?.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])');0===e?(this.parentChecked=!1,this.parentIndeterminate=!1):e===(t?.length??0)?(this.parentChecked=!0,this.parentIndeterminate=!1):(this.parentChecked=!1,this.parentIndeterminate=!0)}handleChildCheckboxChange(){if(-1===this.selectedCount){const e=this.el?.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])'),t=Array.from(e??[]).filter((e=>e.checked)).length;this.updateParentCheckbox(t)}}componentDidLoad(){this.updateParentCheckbox(this.selectedCount>-1?this.selectedCount:0)}render(){return t(s,{key:"649558913d00fa4bed113fb51ebcc7a92a34c61e",class:"xpl-header-accordion"},t("div",{key:"742f718f7e0008bd98f3bb44e9c9b05e0c0082f4",class:"header-accordion header-accordion--"+(this.expanded?"expanded":"collapsed")},this.hasCheckbox&&t("xpl-checkbox",{key:"77abda9dd405802faba93d0c6519649fee58b24d",class:"xpl-header-accordion__parent-checkbox",checked:this.parentChecked,disabled:this.disabled,indeterminate:this.parentIndeterminate,onCheckboxChange:e=>this.handleParentCheckboxChange(e.detail)}),t("button",{key:"10967604fc40083b76ee0a6e8b55b4de78d454e6","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"toggle-area",onClick:this.toggleAccordion,type:"button"},t("slot",{key:"f0af291a2fd7b2bdcce77609ed4e5d6cfef30914",name:"title"}),t("xpl-icon",{key:"973530151081963fe45ec33e8a567c3586a325c5",size:16,icon:"chevron-down",class:this.expanded?"rotate":void 0}))),t("div",{key:"1ea19ccd4380833e24af029e1a5e9ba7b8e9e0ab",id:this.contentId,role:"region",class:this.expanded?"content--shown":"content--hidden"},t("slot",{key:"918f07a47dd760f729480b43991208ae76ebf010",name:"content"})))}get el(){return i(this)}static get watchers(){return{selectedCount:[{watchSelectedCount:0}]}}};export{c as xpl_header_accordion}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,g as
|
|
1
|
+
import{r as t,c as e,h as s,g as i}from"./p-CJABLO_1.js";const a=class{constructor(s){t(this,s),this.selectedItemCountChange=e(this,"selectedItemCountChange",7),this.colCount=0,this.hasAccordion=!1,this.selectedItemCount=0}updateColumnCount(){const t=this.el.querySelectorAll("xpl-table-header-cell");if(t.length===this.colCount)return;const e=Array.from(t).map((t=>null!==t.getAttribute("width")?`${t.getAttribute("width")}px`:"1fr"));this.el.style.setProperty("--xpl-column-widths",e.join(" ")),this.colCount=t.length}listenToDeselectEvent(){this.selectedItemCount=0,this.selectedItemCountChange.emit([])}listenToChangeEvent(){const t=document.querySelectorAll('.xpl-dynamic-table xpl-checkbox:not([class^="xpl-header-accordion__parent-checkbox"]) input:not([disabled])'),e=Array.from(t).filter((t=>t.checked)).map((t=>t.getAttribute("data-id")??""));this.selectedItemCount=e.length,this.selectedItemCountChange.emit(e)}updateRowGap(){this.hasAccordion=null!==this.el.querySelector("xpl-header-accordion")}componentDidLoad(){this.updateColumnCount(),this.updateRowGap()}componentDidUpdate(){this.updateColumnCount()}render(){return s("div",{key:"71265471c7289f1a983b57e15fe122e5fe9a8292",role:"grid",class:{"xpl-dynamic-table":!0,"xpl-dynamic-table--accordion":this.hasAccordion},"aria-colcount":this.colCount},s("slot",{key:"3d7184014570b31d6f7e2eae04b9480f984747e2",name:"header"}),s("slot",{key:"880d79c4c7b2f15d04669e985b5478f3c4095e3c",name:"body"}))}get el(){return i(this)}};export{a as xpl_dynamic_table}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a,H as s,g as r,c as i}from"./p-
|
|
1
|
+
import{r as t,h as a,H as s,g as r,c as i}from"./p-CJABLO_1.js";import{v as e}from"./p-CK3_k8jD.js";const l={active:"green",inactive:"gray",warning:"red"};function h(t){if(!t||!t.trim())return"";const a=t.trim().split(/\s+/).filter(Boolean);return 0===a.length?"":1===a.length?a[0].slice(0,3).toUpperCase():((a[0][0]??"")+(a.length>2?a[1][0]??"":"")+(a[a.length-1][0]??"")).slice(0,3).toUpperCase()}const n=class{constructor(a){t(this,a),this.cachedGroupItems=[],this.cachedSlotContent="",this.disabled=!1}onGroupDataChange(t){this.cachedGroupItems=n.parseGroupData(t)}componentWillLoad(){this.cachedSlotContent=this.el?.textContent?.trim().slice(0,3)??"",this.onGroupDataChange(this.groupData)}static parseGroupData(t){if(null==t)return[];if("string"==typeof t)try{const a=JSON.parse(t);return Array.isArray(a)?a:[]}catch{return console.warn("[Apollo] xpl-avatar: groupData is not valid JSON; rendering no group items"),[]}return Array.isArray(t)?t:[]}get groupItems(){return this.cachedGroupItems}get statusBadgeVariant(){const t=this.status;if(void 0!==t)return l[t]??t}getPlaceholderText(){return this.cachedSlotContent.length>0?this.cachedSlotContent:h(this.name)}static getSingleAvatarClasses(t,a,s,r){return{"xpl-avatar":!0,[`xpl-avatar--${t}`]:!!t,[`xpl-avatar--${a}`]:!!a,"xpl-avatar--profile":!!s,"xpl-avatar--disabled":!!r}}getAnchorProps(t){return{href:this.href,target:this.target,rel:"_blank"===this.target?"noopener noreferrer":void 0,"aria-label":this.name??"Profile",class:t}}static renderAvatarMedia(t,s,r,i,e=!0){return t?a("img",{alt:s??"",src:t}):a("div",{class:"xpl-avatar__placeholder",role:"img","aria-label":s??i},r||(e?a("slot",null):null))}renderAvatarMediaWithStatusBadge(t){const s=this.getPlaceholderText();return a("div",{...t?{class:t}:{}},n.renderAvatarMedia(this.src,this.name,s,"Profile",!0),this.statusBadgeVariant&&a("xpl-badge",{dotOnly:!0,bordered:!0,variant:this.statusBadgeVariant,"aria-hidden":"true"}))}renderGroupItem(t,s){const r=t.name?h(t.name):"";return a("div",{class:{"xpl-avatar-group__item":!0,"xpl-avatar":!0,[`xpl-avatar--${this.size}`]:!!this.size,[`xpl-avatar--${t.color}`]:!!t.color}},a("div",null,n.renderAvatarMedia(t.src,t.name,r,`Member ${s+1}`,!1)))}renderWithTextContent(){return a("div",{class:"xpl-avatar__with-text-content"},a("div",{class:"xpl-avatar__with-text-name"},this.name),this.subText&&a("div",{class:"xpl-avatar__with-text-sub"},this.subText))}render(){const t=this.variant;if("group"===t){const t=this.groupItems,r=t.slice(0,4),i=t.length-4,e=i>0,l=e?function(t){if(t<=0)return"";if(t<=999)return`+${t}`;const a=500*Math.round(t/500)/1e3;return"+"+(a%1==0?`${a}k`:`${a.toFixed(1)}k`)}(i):"";return a(s,null,a("div",{class:{"xpl-avatar-group":!0,[`xpl-avatar-group--${this.size}`]:!!this.size},role:"group","aria-label":`${t.length} members`},r.map(((t,s)=>a("div",{key:s,class:"xpl-avatar-group__wrap"},this.renderGroupItem(t,s)))),e&&a("div",{class:{"xpl-avatar-group__count":!0,[`xpl-avatar-group__count--${this.size}`]:!!this.size},"aria-label":`${i} more`},l)))}if("with-text"===t){const t=this.renderAvatarMediaWithStatusBadge("xpl-avatar__with-text-avatar"),r={"xpl-avatar":!0,"xpl-avatar--with-text":!0,[`xpl-avatar--${this.color}`]:!!this.color,"xpl-avatar--disabled":!!this.disabled};return a(s,null,this.href&&!this.disabled?a("a",{...this.getAnchorProps("xpl-avatar__with-text-link")},a("div",{class:r},t,this.renderWithTextContent())):a("div",{class:r,"aria-disabled":this.disabled?"true":void 0},t,this.renderWithTextContent()))}const r="profile"===t,i=n.getSingleAvatarClasses(r&&"md"===this.size?void 0:this.size,this.color,r,this.disabled),e=this.renderAvatarMediaWithStatusBadge();return a(s,null,this.href&&!this.disabled?a("a",{...this.getAnchorProps(i)},e):a("div",{class:i,"aria-disabled":this.disabled?"true":void 0},e))}get el(){return r(this)}static get watchers(){return{groupData:[{onGroupDataChange:0}]}}},o=class{constructor(a){t(this,a)}render(){let t="xpl-divider";return t+=` xpl-divider--${this.tier}`,a(s,{key:"af5215db4c71b69c9dba81383bd9ae2fa318d7f1",class:t},a("span",{key:"de353b8dd0fa49490b93295a0da8c783a0b664f4"},a("slot",{key:"9a10da3760366b90059113530c7e1799d1a3a89c"})))}},d=class{constructor(a){t(this,a),this.radioChange=i(this,"radioChange",7),this.id=e(),this.onChange=t=>{this.radioChange.emit(this.value?this.value:t.target.checked)}}get isChecked(){return void 0!==this.selectedValue&&void 0!==this.value?this.selectedValue===this.value:Boolean(this.checked)}render(){return a(s,{key:"dec063c59a7fe6bd9680d0bfcec55eabfa782ee0",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},a("input",{key:"ff51ff9e164c663b1583409f37a075a3bb0c03e3",class:"xpl-radio",type:"radio",checked:this.isChecked,disabled:this.disabled,id:this.id,name:this.name,required:this.required,onChange:this.onChange,value:this.value}),a("label",{key:"3d82a7ee345008e237ea52064774b6d751031450",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},a("slot",{key:"a04ec7ab9149a61f88391bb37556f81e9e172b6e"}),this.description&&a("small",{key:"b03619c554d2438cc152ff37fcaa02be3ba7e0bd",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{n as xpl_avatar,o as xpl_divider,d as xpl_radio}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as s,h as i,H as a}from"./p-CJABLO_1.js";import{v as t}from"./p-CK3_k8jD.js";const c=class{constructor(i){e(this,i),this.checkboxChange=s(this,"checkboxChange",7),this.id=t(),this.ariaLabel="",this.onChange=e=>{this.checkboxChange.emit(e.target.checked)}}render(){return i(a,{key:"1c22f9cae18b7ef0ab38b01b0a1bcb0267047201",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},i("input",{key:"b82e9eef1e504bdf76faf441c5215b3ef95bd006",class:"xpl-checkbox",type:"checkbox","aria-label":(this.ariaLabel??"").trim()||void 0,checked:this.checked,"data-id":this.dataId,disabled:this.disabled,id:this.id,indeterminate:this.indeterminate,onChange:this.onChange,name:this.name,required:this.required,value:this.value}),i("label",{key:"0f605fbd6dbee4e412e12c461bc530b47926d01b",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},i("slot",{key:"1f165c4cad532b4daa6726ca1cd0607c26d7bbee"}),this.description&&i("small",{key:"21d04363115f6762600d4fa47ea2bdd2ae1a9c78",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}};export{c as xpl_checkbox}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as a,H as s,g as
|
|
1
|
+
import{r as t,h as a,H as s,g as i}from"./p-CJABLO_1.js";import{h as e}from"./p-_r9-FML8.js";const c="graph-content",d=class{constructor(a){t(this,a),this.graphContentPresent=!1,this.leadingIcon=!0,this.tooltipTextSmallStat="",this.tooltipTextStat=""}watchStat(t){this.stat=t}watchShortStat(t){this.shortStat=t}connectedCallback(){this.syncGraphContentSlot(),this.connectGraphContentSlotObserver()}disconnectedCallback(){void 0!==this.graphContentSlotSyncTimeoutId&&(clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=void 0),this.disconnectGraphContentSlotObserver()}componentWillLoad(){this.syncGraphContentSlot()}componentDidLoad(){if(this.link){const t=this.el.getElementsByTagName("a")[0]||this.el.getElementsByTagName("button")[0],a=document.createTextNode(this.name),s=document.createElement("span");s.appendChild(a),t.setAttribute("class","xpl-data-card__anchor"),t.appendChild(s)}}componentWillRender(){this.disconnectGraphContentSlotObserver()}componentDidRender(){this.scheduleGraphContentSlotSync()}connectGraphContentSlotObserver(){this.disconnectGraphContentSlotObserver(),"undefined"!=typeof MutationObserver&&(this.graphContentSlotObserver=new MutationObserver((()=>{this.scheduleGraphContentSlotSync()})),this.graphContentSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectGraphContentSlotObserver(){this.graphContentSlotObserver?.disconnect(),this.graphContentSlotObserver=void 0}scheduleGraphContentSlotSync(){void 0!==this.graphContentSlotSyncTimeoutId&&clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=setTimeout((()=>{this.graphContentSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncGraphContentSlot(),this.connectGraphContentSlotObserver())}),0)}syncGraphContentSlot(){const t=e(this.el,c);t!==this.graphContentPresent&&(this.graphContentPresent=t)}render(){const t="positive"===this.smallStatVariant?"arrow-up-right":"negative"===this.smallStatVariant?"arrow-down-right":"dash";return a(s,{key:"67600ec3bea7c67b0adaab720343a44f29a56dd4",role:"group",class:"xpl-data-card "+(this.link?"xpl-data-card__link":""),tabindex:"0"},a("dt",{key:"f49af2614c4dd8eb478bba583c30a9417f45e7f6",class:"xpl-data-card__header xpl-data-card__header--"+("secondary"===this.variant?"secondary":"primary")},a("header",{key:"65fbdb3e3d1676b2b3424fca802f62069e67371e"},!!this.leadingIcon&&this.icon&&a("span",{key:"969a2f56c7a6574fb4259efdb7dfcba236e99ccf",class:`xpl-data-card__icon--${this.variant}`},a("xpl-icon",{key:"b1ccdddd1934feded858fea2170f8226738a30ad",icon:this.icon,"background-color":"secondary"===this.variant?"purple":"orange",size:20})),a("slot",{key:"16872a96b96f7f34bf4ac1f36aef388366899b0d",name:"title"},this.name)),this.link&&a("span",{key:"22fc5c8d7b82689c1e3fd10fb5240df957ea0bb6",class:"xpl-data-card__header-arrow"},a("xpl-icon",{key:"b32326c05e48e6aae857da7ea809e553715cb17e",icon:"chevron-right",size:16}))),a("dd",{key:"462b54b42a2bfdb66e2e7cb816578b46abac2281",class:"xpl-data-card__body"},a("div",{key:"617fe8c2c07d22523a3e233eea84e8509a3665e5",class:"xpl-data-card__left"},a("span",{key:"6fc8a0c0b525574ab0e7b1f8787b445805a2c477",class:"xpl-data-card-stat xpl-data-card-stat--long"},this.stat),this.tooltipTextStat?a("xpl-tooltip",{text:this.tooltipTextStat},a("div",{class:"xpl-data-card-stat xpl-data-card-stat--short"},this.shortStat?this.shortStat:this.stat)):a("div",{class:"xpl-data-card-stat xpl-data-card-stat--short"},a("abbr",{title:this.stat},this.shortStat?this.shortStat:this.stat)),this.smallStatVariant?this.tooltipTextSmallStat?a("xpl-tooltip",{text:this.tooltipTextSmallStat},a("div",{class:`xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}`},a("xpl-icon",{icon:t,size:16}),this.smallStat)):a("div",{class:`xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}`},a("xpl-icon",{icon:t,size:16}),this.smallStat):this.smallStatIcon&&(this.tooltipTextSmallStat?a("xpl-tooltip",{text:this.tooltipTextSmallStat},a("div",{class:"xpl-data-card-stat xpl-data-card-stat--small"},a("xpl-icon",{icon:this.smallStatIcon,size:16}),this.smallStat)):a("div",{class:"xpl-data-card-stat xpl-data-card-stat--small"},a("xpl-icon",{icon:this.smallStatIcon,size:16}),this.smallStat)),!!this.detail&&a("span",{key:"800c59505dfa7a9c6c8146d8722b5d941df198a3",class:"xpl-data-card__detail"},this.detail)),this.graphContentPresent&&a("div",{key:"4edecaf0e2a361e0dc676f33ed46efcaeb357148",class:"xpl-data-card__right"},a("slot",{key:"3bbb230c30e850f16376079e2bdac5fe7b13686c",name:c}))))}get el(){return i(this)}static get watchers(){return{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}}};export{d as xpl_data_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as e,g as a}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as e,g as a}from"./p-CJABLO_1.js";let n=0;function h(t){const s=t.querySelector("xpl-button button");if(s){const t=s.cloneNode(!0);if(t instanceof HTMLElement){t.querySelectorAll(".xpl-button__icon, xpl-icon, xpl-badge").forEach((t=>t.remove()));const s=t.textContent?.replace(/\s+/g," ").trim();if(s)return s}}const i=t.querySelector(".xpl-tab__button");if(i){const t=Array.from(i.childNodes).filter((t=>t.nodeType===Node.TEXT_NODE)).map((t=>(t.textContent??"").trim())).join(" ").replace(/\s+/g," ").trim();if(t)return t}return t.getAttribute("target")??""}const o=class{constructor(i){t(this,i),this.tabChange=s(this,"tabChange",7),this.tabHeadings=[],this.tabPanels=[],this.tablistKeydownBound=!1,this.activeBarPosition={left:0,width:0},this.choicesTick=1,this.isMobileSelectChange=!1,this.selectedValue="",this.disabled=!1,this.fullWidth=!1,this.type="tabs",this.handleTabChange=t=>{this.applySelection(t)},this.onTablistKeydown=async t=>{if(this.disabled)return;const s=t.target?.closest?.("xpl-tab");if(!s||!this.tabHeadings.includes(s))return;const{key:i}=t;let e=!1,a=!1;this.isTablistRtl()?"ArrowLeft"===i||"ArrowDown"===i?e=!0:"ArrowRight"!==i&&"ArrowUp"!==i||(a=!0):"ArrowRight"===i||"ArrowDown"===i?e=!0:"ArrowLeft"!==i&&"ArrowUp"!==i||(a=!0);const n=e||a,h="Home"===i;if(!n&&!h&&"End"!==i)return;const o=this.getEnabledTabHeadingsSync();if(0===o.length)return;const r=o.indexOf(s);if(-1===r)return;let c;c=n?e?(r+1)%o.length:(r-1+o.length)%o.length:h?0:o.length-1;const l=o[c],d=l?.getAttribute("target");if(!d)return;const b=s.getAttribute("target");t.preventDefault(),d!==b&&(this.applySelection(d),await l.focusTrigger(),this.tabChange.emit(d))}}onDisabledChanged(){this.syncGroupDisabledOnTabs(),this.disabled||this.syncRovingTabindex()}onFullWidthChanged(){this.syncFullWidthOnTabs()}onTypeChanged(){this.syncVariantOnTabs()}onValueChanged(t){this.applySelection(t)}connectedCallback(){this.el.hasAttribute("data-tabs-instance-id")||(n+=1,this.el.setAttribute("data-tabs-instance-id",`xpl-tg-${n}`)),"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver((()=>{this.collectTabs(!0)})),this.observer.observe(this.el,{childList:!0,subtree:!0}))}disconnectedCallback(){this.observer?.disconnect(),this.headingsContainerRef&&this.tablistKeydownBound&&(this.headingsContainerRef.removeEventListener("keydown",this.onTablistKeydown),this.tablistKeydownBound=!1),void 0!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)}componentWillLoad(){this.selectedValue=this.getDefaultValue()}componentDidLoad(){this.collectTabs(!1),this.attachTablistKeydown()}componentDidUpdate(){this.updateActiveBarPosition(),this.syncRovingTabindex()}componentDidRender(){!this.tablistKeydownBound&&this.headingsContainerRef&&this.attachTablistKeydown()}onWindowResize(){this.updateActiveBarPosition()}syncGroupDisabledOnTabs(){this.tabHeadings.forEach((t=>{this.disabled?t.setAttribute("data-group-disabled",""):t.removeAttribute("data-group-disabled")}))}applySelection(t){this.tabHeadings.forEach((s=>{t===s.getAttribute("target")?s.setAttribute("selected",""):s.removeAttribute("selected")})),this.tabPanels.forEach((s=>{t===s.getAttribute("target")?s.setAttribute("selected",""):s.removeAttribute("selected")})),this.syncGroupDisabledOnTabs(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=requestAnimationFrame((()=>{this.rafId=void 0,this.selectedValue=t,this.updateActiveBarPosition(),this.syncRovingTabindex()}))}isOwnedTabOrPanel(t){return t.closest("xpl-tabs")===this.el}collectTabs(t){this.tabHeadings=Array.from(this.el.querySelectorAll("xpl-tab")).filter((t=>this.isOwnedTabOrPanel(t))),this.tabPanels=Array.from(this.el.querySelectorAll("xpl-tab-panel")).filter((t=>this.isOwnedTabOrPanel(t))),this.syncVariantOnTabs(),this.syncFullWidthOnTabs(),this.applySelection(this.getDefaultValue()),t&&(this.choicesTick+=1)}syncVariantOnTabs(){this.tabHeadings.forEach((t=>{t.variant=this.type}))}syncFullWidthOnTabs(){this.tabHeadings.forEach((t=>{t.fullWidth=this.fullWidth}))}getDefaultValue(){return this.value||this.tabHeadings?.[0]?.getAttribute("target")||""}async syncRovingTabindex(){this.disabled||await Promise.all(this.tabHeadings.map((async t=>{const s=(t.getAttribute("target")??"")===this.selectedValue;await t.setTabIndex(s?0:-1)})))}getEnabledTabHeadingsSync(){return this.tabHeadings.filter((t=>{if(this.disabled||t.hasAttribute("disabled"))return!1;const s=t.querySelector("segment"===t.variant?"xpl-button button":".xpl-tab__button");return Boolean(s&&!s.disabled)}))}attachTablistKeydown(){const t=this.headingsContainerRef;t&&!this.tablistKeydownBound&&(t.addEventListener("keydown",this.onTablistKeydown),this.tablistKeydownBound=!0)}isTablistRtl(){const t=this.headingsContainerRef;return!!t&&"rtl"===getComputedStyle(t).direction}renderChoices(){return this.tabHeadings.map((t=>{const s=t.getAttribute("target")??"",i=this.disabled||t.hasAttribute("disabled"),e=t.getAttribute("icon")||void 0;return{label:h(t),value:s,isDisabled:i,...e?{icon:e}:{}}}))}updateActiveBarPosition(){if("segment"===this.type)return;const t=this.tabHeadings.find((t=>t.getAttribute("target")===this.selectedValue));if(!this.headingsContainerRef||!t)return;const s=t.getBoundingClientRect(),i=this.headingsContainerRef.getBoundingClientRect(),e=s.left-i.left,a=s.width;this.activeBarPosition.left===e&&this.activeBarPosition.width===a||(this.activeBarPosition={left:e,width:a})}mobileSelectClassNames(){const t="xpl-tabs__mobile-select";return"segment"===this.type?`${t} xpl-tabs__mobile-select--segment`:t}render(){const t="segment"===this.type;return i(e,{key:"0bb77237fce464cc536ce4efabb29249fa14ef4a",class:{"xpl-tabs":!0,"xpl-tabs--full-width":this.fullWidth,"xpl-tabs--segment":t},"data-choices-tick":this.choicesTick},i("xpl-select",{key:"fbcc113cc9a308df73bf99f6c941612725e49ddb",classNames:this.mobileSelectClassNames(),choices:this.renderChoices(),disabled:this.disabled,selectedValues:this.selectedValue,onDropdownStateChange:t=>{t.detail&&(this.isMobileSelectChange=!0)},onChangeEvent:t=>{if(this.isMobileSelectChange){const s=t.detail.toString();this.handleTabChange(s),this.tabChange.emit(s),this.isMobileSelectChange=!1}}}),i("nav",{key:"1b93068116c5ff0ac94d5139e147daffc1157c73","aria-orientation":"horizontal",class:"xpl-tabs__headings",role:"tablist",ref:t=>{this.headingsContainerRef=t},onTabChange:t=>{t.stopPropagation(),this.isMobileSelectChange=!1,this.handleTabChange(t.detail),this.tabChange.emit(t.detail)}},!t&&i("div",{key:"38a88df2520d308e3a22b4cd70ff274af7403616",class:"xpl-tabs__active-bar",style:{transform:`translateX(${this.activeBarPosition.left}px)`,width:`${this.activeBarPosition.width}px`}}),i("slot",{key:"dc30ab2123d7c1c8b6591ac0129af44da3795977",name:"heading"})),i("div",{key:"36c1fc45216499d4af87b8fc536df3ea6af666ab",class:"xpl-tabs__panels"},i("slot",{key:"a660913c7d2fce500da666490b600b4c7fc93746",name:"panel"})))}get el(){return a(this)}static get watchers(){return{disabled:[{onDisabledChanged:0}],fullWidth:[{onFullWidthChanged:0}],type:[{onTypeChanged:0}],value:[{onValueChanged:0}]}}};export{o as xpl_tabs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as
|
|
1
|
+
import{r as t,c as s,h as i,H as e}from"./p-CJABLO_1.js";import{f as a}from"./p-CH4yJ6Qx.js";import{i as o}from"./p-Dqb1pIRo.js";import{v as n}from"./p-CK3_k8jD.js";const r=(t=!1)=>`<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${t?"M0.557948 5.6813L6.06209 0.132167C6.23831 -0.0440556 6.52327 -0.0440556 6.69949 0.132167L7.44187 0.874551C7.61809 1.05077 7.61809 1.33573 7.44187 1.51195L2.99882 6L7.44187 10.488C7.61809 10.6643 7.61809 10.9492 7.44187 11.1254L6.69949 11.8678C6.52327 12.0441 6.23831 12.0441 6.06209 11.8678L0.557948 6.3187C0.381726 6.14248 0.381726 5.85752 0.557948 5.6813Z":"M7.44187 6.3187L1.93773 11.8678C1.76151 12.0441 1.47655 12.0441 1.30033 11.8678L0.557948 11.1254C0.381726 10.9492 0.381726 10.6643 0.557948 10.488L5.001 6L0.557948 1.51195C0.381726 1.33573 0.381726 1.05077 0.557948 0.874551L1.30033 0.132167C1.47655 -0.0440556 1.76151 -0.0440556 1.93773 0.132167L7.44187 5.6813C7.6181 5.85752 7.6181 6.14248 7.44187 6.3187Z"}" /></svg>`,h=class{constructor(i){t(this,i),this.dateSelected=s(this,"dateSelected",7),this.inputId=n(),this.dateFormat="Y-m-d",this.mode="single"}async setDate(t){void 0!==this.flatpickrInstance&&("single"===this.mode&&"string"==typeof t||"range"===this.mode&&Array.isArray(t))&&this.flatpickrInstance.setDate(t)}componentWillLoad(){this.calendarInputId=this.inputId??""}componentDidLoad(){o()&&(this.flatpickrInstance=a(this.inputElement,{allowInput:!0,dateFormat:this.dateFormat,defaultDate:this.defaultDate,maxDate:this.max,minDate:this.min,mode:this.mode,nextArrow:r(),prevArrow:r(!0),inline:!0,monthSelectorType:"dropdown",onChange:t=>{this.dateSelected.emit("single"===this.mode?t[0]?.toISOString():t.map((t=>t.toISOString())))}}))}disconnectedCallback(){void 0!==this.flatpickrInstance&&this.flatpickrInstance.destroy()}render(){return i(e,{key:"9482590a1f610ab97fa222cc4b7dd1c5d39646ce",class:"xpl-calendar"},i("input",{key:"1222dcda2f73a3bb174410a2a05c39d1f0614c7e",class:"xpl-calendar-input",type:"text",id:this.calendarInputId,ref:t=>{t&&(this.inputElement=t)}}))}};export{h as xpl_calendar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,H as l}from"./p-CJABLO_1.js";const i=class{constructor(a){e(this,a),this.withSubnav=!1,this.withUtility=!0,this.navWidth="default",this.navOpen=!0}closeNavOnMobile(){window.innerWidth<=640&&(this.navOpen=!1)}navToggleHandler(){this.navOpen=!this.navOpen}navWithHandler(e){this.navWidth=e.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let e="xpl-application-shell";this.withUtility&&(e+=" xpl-application-shell--with_utility");let i="xpl-application-shell__nav";return i+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:` xpl-application-shell__nav--${this.navWidth}`,a(l,{key:"62f8a731b47f2ffadb192ed1c4d804362dd66a42",class:e},a("div",{key:"0f8b2f9825bd85a187a44ec8b29bb61933216d47",class:i},a("slot",{key:"f35e09fef29ec3ec8a14c32891e1f1a6aeec058a",name:"nav"})),a("div",{key:"29ea416c978cdb10ecc2df516cc25ff7fbde2342",class:"xpl-application-shell__subnav"},a("slot",{key:"56d536702db72a201d5573d30e7e4f04a5fd3428",name:"subnav"})),a("div",{key:"eb6edaeab5e79ba6d6f60c1edf2369205a724f59",class:"xpl-application-shell__utility"},a("slot",{key:"86fde26627dbf24bf23d2b467940bf3ff58dbdc8",name:"utility"})),a("div",{key:"ae8b382f38f03018b4098b96fcf1a9a583671356",class:"xpl-application-shell__content"},a("slot",{key:"3e8cbe1c7540e3522147582e7bb724bef88f8910",name:"content"})),a("xpl-backdrop",{key:"559ef92a0ed4764257f25482a7d192183785c2cf",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}};export{i as xpl_application_shell}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,H as a}from"./p-CJABLO_1.js";const d=class{constructor(r){e(this,r)}render(){return r(a,{key:"79ac33f5bf3c86664a181dddba8dbb4f087b0b05",role:"row",class:"xpl-table-header"},r("slot",{key:"5fe1c6b9e117712b3af6b81dd37dc6775c67ed9d"}))}};export{d as xpl_table_header}
|