@xplortech/apollo-core 3.2.1 → 3.4.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/AGENTS.md +17 -0
- 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/icon.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/nav-item.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 +31 -19
- package/build/variables/field-edge.css +33 -19
- package/build/vendor/flatpickr.css +1 -1
- package/dist/apollo-core/apollo-core.css +1 -1
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/{p-a0d3b7f8.entry.js → p-00e96d61.entry.js} +1 -1
- package/dist/apollo-core/{p-715baae0.entry.js → p-02a2d1a3.entry.js} +1 -1
- package/dist/apollo-core/p-035ed1ad.entry.js +1 -0
- package/dist/apollo-core/{p-aeb2bcb8.entry.js → p-066d3199.entry.js} +1 -1
- package/dist/apollo-core/{p-7eb02cf3.entry.js → p-066eccd6.entry.js} +1 -1
- package/dist/apollo-core/p-0e8514ff.entry.js +1 -0
- package/dist/apollo-core/{p-3417c1ce.entry.js → p-18115cd4.entry.js} +1 -1
- package/dist/apollo-core/{p-8f8f4759.entry.js → p-19d22455.entry.js} +1 -1
- package/dist/apollo-core/{p-24fa8a03.entry.js → p-1b00e924.entry.js} +1 -1
- package/dist/apollo-core/{p-49531864.entry.js → p-1ca46c11.entry.js} +1 -1
- package/dist/apollo-core/{p-bc821e69.entry.js → p-1e07745c.entry.js} +1 -1
- package/dist/apollo-core/{p-3713cd77.entry.js → p-31cbb36f.entry.js} +1 -1
- package/dist/apollo-core/p-321319c0.entry.js +1 -0
- package/dist/apollo-core/p-3222e5a7.entry.js +1 -0
- package/dist/apollo-core/{p-fcb17ff9.entry.js → p-325466bf.entry.js} +1 -1
- package/dist/apollo-core/p-32ac676a.entry.js +1 -0
- package/dist/apollo-core/{p-d469bf5d.entry.js → p-33063e8c.entry.js} +1 -1
- package/dist/apollo-core/{p-ff16f574.entry.js → p-34d84be8.entry.js} +1 -1
- package/dist/apollo-core/{p-b3b4678b.entry.js → p-36965939.entry.js} +1 -1
- package/dist/apollo-core/{p-7d70e089.entry.js → p-43fbf2aa.entry.js} +1 -1
- package/dist/apollo-core/p-44a1fd8b.entry.js +1 -0
- package/dist/apollo-core/p-462a804c.entry.js +1 -0
- package/dist/apollo-core/{p-808f3d9c.entry.js → p-47a4f0a8.entry.js} +1 -1
- package/dist/apollo-core/p-5cf30b9d.entry.js +1 -0
- package/dist/apollo-core/{p-f579e4b0.entry.js → p-606153e1.entry.js} +1 -1
- package/dist/apollo-core/{p-5c3be343.entry.js → p-60e3a798.entry.js} +1 -1
- package/dist/apollo-core/{p-14e86de8.entry.js → p-663e9521.entry.js} +1 -1
- package/dist/apollo-core/{p-11914cd4.entry.js → p-6e22ab86.entry.js} +1 -1
- package/dist/apollo-core/{p-907bc21e.entry.js → p-7781b569.entry.js} +1 -1
- package/dist/apollo-core/p-787a361c.entry.js +1 -0
- package/dist/apollo-core/{p-e09d8beb.entry.js → p-7b46b656.entry.js} +1 -1
- package/dist/apollo-core/p-7bfd9cfb.entry.js +1 -0
- package/dist/apollo-core/{p-f384a990.entry.js → p-8127dd6b.entry.js} +1 -1
- package/dist/apollo-core/{p-b64ed46d.entry.js → p-88367287.entry.js} +1 -1
- package/dist/apollo-core/p-8a59605f.entry.js +1 -0
- package/dist/apollo-core/p-8df2b9e8.entry.js +1 -0
- package/dist/apollo-core/p-9466f566.entry.js +1 -0
- package/dist/apollo-core/p-95b6e6e6.entry.js +1 -0
- package/dist/apollo-core/{p-8845106f.entry.js → p-966f3702.entry.js} +1 -1
- package/dist/apollo-core/{p-45c872d2.entry.js → p-9d7ead72.entry.js} +1 -1
- package/dist/apollo-core/p-CgJEmBQY.js +3 -0
- package/dist/apollo-core/{p-ca83003e.entry.js → p-a21c7976.entry.js} +1 -1
- package/dist/apollo-core/p-a30b51c8.entry.js +1 -0
- package/dist/apollo-core/p-a3537a74.entry.js +1 -0
- package/dist/apollo-core/{p-9d731673.entry.js → p-ac105b6c.entry.js} +1 -1
- package/dist/apollo-core/{p-2971e2ec.entry.js → p-adc14e6e.entry.js} +1 -1
- package/dist/apollo-core/p-b41b7950.entry.js +1 -0
- package/dist/apollo-core/{p-256ece8b.entry.js → p-b44a72e9.entry.js} +1 -1
- package/dist/apollo-core/{p-d3ada7d0.entry.js → p-b6f20359.entry.js} +1 -1
- package/dist/apollo-core/{p-df257cbf.entry.js → p-b7f75498.entry.js} +1 -1
- package/dist/apollo-core/p-b9136f21.entry.js +1 -0
- package/dist/apollo-core/{p-c5bc3b2c.entry.js → p-c526f16d.entry.js} +1 -1
- package/dist/apollo-core/p-c7b8a325.entry.js +1 -0
- package/dist/apollo-core/p-c9246567.entry.js +1 -0
- package/dist/apollo-core/p-cc04d4e7.entry.js +1 -0
- package/dist/apollo-core/p-cc27a41f.entry.js +1 -0
- package/dist/apollo-core/{p-050a8bf2.entry.js → p-d58523b6.entry.js} +1 -1
- package/dist/apollo-core/p-d7fba438.entry.js +1 -0
- package/dist/apollo-core/p-db998e2a.entry.js +1 -0
- package/dist/apollo-core/{p-ee68bed6.entry.js → p-e1f095dd.entry.js} +1 -1
- package/dist/apollo-core/{p-9feaa8be.entry.js → p-e30d204d.entry.js} +1 -1
- package/dist/apollo-core/{p-eba654a3.entry.js → p-e4649020.entry.js} +1 -1
- package/dist/apollo-core/p-ebe6a1d6.entry.js +1 -0
- package/dist/apollo-core/{p-9905c77c.entry.js → p-f0897ee2.entry.js} +1 -1
- package/dist/apollo-core/{p-64f5c129.entry.js → p-f13e14bd.entry.js} +1 -1
- package/dist/apollo-core/p-f88eefaf.entry.js +1 -0
- package/dist/apollo-core/p-fd2e7bb0.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +2 -2
- package/dist/cjs/{index-3cBvw409.js → index-CQbPtJas.js} +53 -165
- 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 +3 -6
- package/dist/cjs/xpl-input-color.cjs.entry.js +9 -9
- 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 +6 -6
- package/dist/cjs/xpl-large-card.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/cjs/xpl-top-nav.cjs.entry.js +6 -6
- 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-avatar/xpl-avatar.js +8 -8
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
- package/dist/collection/components/xpl-badge/xpl-badge.js +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +11 -10
- 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-icon/xpl-icon.js +2 -12
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
- package/dist/collection/components/xpl-input/xpl-input.js +2 -2
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
- package/dist/collection/components/xpl-list/xpl-list-item/xpl-list-item.js +2 -2
- package/dist/collection/components/xpl-list/xpl-list.js +4 -4
- 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 +6 -6
- 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 +8 -8
- 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-side-nav/xpl-side-nav.js +2 -2
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
- package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +4 -4
- package/dist/collection/components/xpl-tab/xpl-tab.js +2 -2
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +3 -3
- 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-header-cell/xpl-table-header-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/xpl-table.js +4 -4
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-tag/xpl-tag.js +6 -6
- 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-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +2 -2
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CQjJIHK6.js → p-6-DvgBzG.js} +1 -1
- package/dist/components/{p-C0AbGd4t.js → p-B54F4o_Z.js} +1 -1
- package/dist/components/{p-rLxtqgsy.js → p-BFUtaXqX.js} +1 -1
- package/dist/components/{p-D09sGbzs.js → p-BHRO2whA.js} +1 -1
- package/dist/components/{p-CdRmVtIN.js → p-BKajYWw6.js} +1 -1
- package/dist/components/{p-1D7CWIJ-.js → p-BU4pW_6c.js} +1 -1
- package/dist/components/p-B_6p2HCL.js +1 -0
- package/dist/components/{p-BOm_p_mz.js → p-Biie85R2.js} +1 -1
- package/dist/components/p-CIcKTXQj.js +1 -0
- package/dist/components/{p-Btb2UkLz.js → p-COq-vU2g.js} +1 -1
- package/dist/components/{p-DoVubWyd.js → p-CTy7V3XS.js} +1 -1
- package/dist/components/{p-8zrW9vEC.js → p-Cq8V05oj.js} +1 -1
- package/dist/components/{p-B7aaJikj.js → p-CthHapLu.js} +1 -1
- package/dist/components/{p-CmbpWpb0.js → p-DGxQJj8d.js} +1 -1
- package/dist/components/{p-ohy3NrgH.js → p-Dn1Qsv0Y.js} +1 -1
- package/dist/components/p-Dn6HsGUr.js +1 -0
- package/dist/components/p-DxjcChRd.js +1 -0
- package/dist/components/p-FS6KZMQV.js +1 -0
- package/dist/components/p-Fj_zi29t.js +1 -0
- package/dist/components/{p-2cJsJK3-.js → p-L9wSxXlk.js} +1 -1
- package/dist/components/{p-CuVYRPvz.js → p-ULcrhk_V.js} +1 -1
- package/dist/components/{p-DTh_zemx.js → p-WTdJQHaL.js} +1 -1
- package/dist/components/{p-CFXvQqUO.js → p-fstojyQr.js} +1 -1
- package/dist/components/{p-CV5nn1zR.js → p-gs07oY0j.js} +1 -1
- package/dist/components/p-nRygucMK.js +1 -0
- package/dist/components/{p-B56GeUtW.js → p-q4zX9LQ0.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 +8 -1
- 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 +18 -1
- 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 +8 -1
- 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 +10 -1
- package/dist/docs/xpl-pagination/readme.md +1 -1
- 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 +11 -2
- 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 +9 -1
- package/dist/docs/xpl-tooltip/readme.md +7 -0
- package/dist/docs/xpl-top-nav/xpl-nav-header-menu/readme.md +2 -1
- 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 +933 -251
- package/dist/esm/apollo-core.js +3 -3
- package/dist/esm/{index-ukZKsqqq.js → index-CgJEmBQY.js} +53 -165
- 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 +3 -6
- package/dist/esm/xpl-input-color.entry.js +9 -9
- 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 +6 -6
- package/dist/esm/xpl-large-card.entry.js +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/esm/xpl-top-nav.entry.js +6 -6
- 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 +143 -234
- package/hydrate/index.mjs +143 -234
- package/loader/index.d.ts +1 -1
- package/package.json +17 -17
- 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-e4d50301.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/collection/components/xpl-icon/xpl-icon.css +0 -5
- 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
- /package/dist/{utils → collection/utils}/form-bindings.js +0 -0
- /package/dist/{utils → collection/utils}/story-vrt.js +0 -0
- /package/dist/types/{third-party.d.ts → types/third-party.d.ts} +0 -0
- /package/dist/types/{home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils → utils}/form-bindings.d.ts +0 -0
- /package/dist/types/{home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils → utils}/story-vrt.d.ts +0 -0
package/dist/esm/apollo-core.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-CgJEmBQY.js';
|
|
2
|
+
export { s as setNonce } from './index-CgJEmBQY.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.44.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var patchBrowser = () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const NAMESPACE = 'apollo-core';
|
|
2
|
-
const BUILD = /* apollo-core */ {
|
|
2
|
+
const BUILD = /* apollo-core */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
@@ -118,7 +118,9 @@ var consoleError = (e, el) => (0, console.error)(e, el);
|
|
|
118
118
|
|
|
119
119
|
// src/client/client-load-module.ts
|
|
120
120
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
121
|
+
var failedLoadAttempts = /* @__PURE__ */ new Map();
|
|
121
122
|
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
123
|
+
var _a;
|
|
122
124
|
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
123
125
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
124
126
|
if (!bundleId) {
|
|
@@ -128,6 +130,11 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
128
130
|
if (module) {
|
|
129
131
|
return module[exportName];
|
|
130
132
|
}
|
|
133
|
+
const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
|
|
134
|
+
const cacheBustParams = [
|
|
135
|
+
retryCount > 0 ? `s-retry=${retryCount}` : "",
|
|
136
|
+
""
|
|
137
|
+
].filter(Boolean).join("&");
|
|
131
138
|
|
|
132
139
|
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
133
140
|
const processMod = importedModule => {
|
|
@@ -407,23 +414,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
407
414
|
/* webpackInclude: /\.entry\.js$/ */
|
|
408
415
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
409
416
|
/* webpackMode: "lazy" */
|
|
410
|
-
`./${bundleId}.entry.js${""}`
|
|
417
|
+
`./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
|
|
411
418
|
).then(
|
|
412
419
|
(importedModule) => {
|
|
413
420
|
{
|
|
421
|
+
failedLoadAttempts.delete(bundleId);
|
|
414
422
|
cmpModules.set(bundleId, importedModule);
|
|
415
423
|
}
|
|
416
424
|
return importedModule[exportName];
|
|
417
425
|
},
|
|
418
426
|
(e) => {
|
|
427
|
+
failedLoadAttempts.set(bundleId, retryCount + 1);
|
|
419
428
|
consoleError(e, hostRef.$hostElement$);
|
|
420
429
|
}
|
|
421
430
|
);
|
|
422
431
|
};
|
|
423
432
|
|
|
424
|
-
// src/client/client-style.ts
|
|
425
|
-
var styles = /* @__PURE__ */ new Map();
|
|
426
|
-
|
|
427
433
|
// src/runtime/runtime-constants.ts
|
|
428
434
|
var CONTENT_REF_ID = "r";
|
|
429
435
|
var ORG_LOCATION_ID = "o";
|
|
@@ -431,11 +437,12 @@ var SLOT_NODE_ID = "s";
|
|
|
431
437
|
var TEXT_NODE_ID = "t";
|
|
432
438
|
var COMMENT_NODE_ID = "c";
|
|
433
439
|
var HYDRATE_ID = "s-id";
|
|
434
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
435
440
|
var HYDRATE_CHILD_ID = "c-id";
|
|
436
441
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
437
442
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
438
443
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
444
|
+
var MAX_LAZY_LOAD_RETRIES = 3;
|
|
445
|
+
var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
|
|
439
446
|
var win = typeof window !== "undefined" ? window : {};
|
|
440
447
|
var plt = {
|
|
441
448
|
$flags$: 0,
|
|
@@ -465,21 +472,13 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
|
465
472
|
return supportsListenerOptions2;
|
|
466
473
|
})();
|
|
467
474
|
var promiseResolve = (v) => Promise.resolve(v);
|
|
468
|
-
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
469
|
-
try {
|
|
470
|
-
if (!win.document.adoptedStyleSheets) {
|
|
471
|
-
return false;
|
|
472
|
-
}
|
|
473
|
-
new CSSStyleSheet();
|
|
474
|
-
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
475
|
-
} catch (e) {
|
|
476
|
-
}
|
|
477
|
-
return false;
|
|
478
|
-
})() ;
|
|
479
|
-
var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
|
|
480
475
|
var queuePending = false;
|
|
481
476
|
var queueDomReads = [];
|
|
482
477
|
var queueDomWrites = [];
|
|
478
|
+
var scheduleFlush = () => {
|
|
479
|
+
var _a;
|
|
480
|
+
return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
|
|
481
|
+
};
|
|
483
482
|
var queueTask = (queue, write) => (cb) => {
|
|
484
483
|
queue.push(cb);
|
|
485
484
|
if (!queuePending) {
|
|
@@ -487,7 +486,7 @@ var queueTask = (queue, write) => (cb) => {
|
|
|
487
486
|
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
488
487
|
nextTick(flush);
|
|
489
488
|
} else {
|
|
490
|
-
|
|
489
|
+
scheduleFlush();
|
|
491
490
|
}
|
|
492
491
|
}
|
|
493
492
|
};
|
|
@@ -506,7 +505,7 @@ var flush = () => {
|
|
|
506
505
|
{
|
|
507
506
|
consume(queueDomWrites);
|
|
508
507
|
if (queuePending = queueDomReads.length > 0) {
|
|
509
|
-
|
|
508
|
+
scheduleFlush();
|
|
510
509
|
}
|
|
511
510
|
}
|
|
512
511
|
};
|
|
@@ -553,7 +552,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
|
553
552
|
slottedNodes.push(childNode);
|
|
554
553
|
if (typeof slotName !== "undefined") return slottedNodes;
|
|
555
554
|
}
|
|
556
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode
|
|
555
|
+
slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
|
|
557
556
|
}
|
|
558
557
|
return slottedNodes;
|
|
559
558
|
}
|
|
@@ -682,128 +681,6 @@ function queryNonceMetaTagContent(doc) {
|
|
|
682
681
|
|
|
683
682
|
// src/runtime/styles.ts
|
|
684
683
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
685
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
686
|
-
let style = styles.get(scopeId2);
|
|
687
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
688
|
-
style = style || new CSSStyleSheet();
|
|
689
|
-
if (typeof style === "string") {
|
|
690
|
-
style = cssText;
|
|
691
|
-
} else {
|
|
692
|
-
style.replaceSync(cssText);
|
|
693
|
-
}
|
|
694
|
-
} else {
|
|
695
|
-
style = cssText;
|
|
696
|
-
}
|
|
697
|
-
styles.set(scopeId2, style);
|
|
698
|
-
};
|
|
699
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
700
|
-
var _a, _b, _c;
|
|
701
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
702
|
-
const style = styles.get(scopeId2);
|
|
703
|
-
if (!win.document) {
|
|
704
|
-
return scopeId2;
|
|
705
|
-
}
|
|
706
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
707
|
-
if (style) {
|
|
708
|
-
if (typeof style === "string") {
|
|
709
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
710
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
711
|
-
let styleElm;
|
|
712
|
-
if (!appliedStyles) {
|
|
713
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
714
|
-
}
|
|
715
|
-
const existingStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
716
|
-
if (existingStyleElm) {
|
|
717
|
-
existingStyleElm.textContent = style;
|
|
718
|
-
} else if (!appliedStyles.has(scopeId2)) {
|
|
719
|
-
styleElm = win.document.createElement("style");
|
|
720
|
-
styleElm.textContent = style;
|
|
721
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
722
|
-
if (nonce != null) {
|
|
723
|
-
styleElm.setAttribute("nonce", nonce);
|
|
724
|
-
}
|
|
725
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
726
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
727
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
728
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
729
|
-
styleContainerNode.insertBefore(
|
|
730
|
-
styleElm,
|
|
731
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
732
|
-
);
|
|
733
|
-
} else if ("host" in styleContainerNode) {
|
|
734
|
-
if (supportsConstructableStylesheets) {
|
|
735
|
-
const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
|
|
736
|
-
const stylesheet = new currentWindow.CSSStyleSheet();
|
|
737
|
-
stylesheet.replaceSync(style);
|
|
738
|
-
if (supportsMutableAdoptedStyleSheets) {
|
|
739
|
-
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
740
|
-
} else {
|
|
741
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
742
|
-
}
|
|
743
|
-
} else {
|
|
744
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
745
|
-
if (existingStyleContainer && true) {
|
|
746
|
-
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
747
|
-
} else {
|
|
748
|
-
styleContainerNode.prepend(styleElm);
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
} else {
|
|
752
|
-
styleContainerNode.append(styleElm);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
756
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
757
|
-
}
|
|
758
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
759
|
-
styleElm.textContent += SLOT_FB_CSS;
|
|
760
|
-
}
|
|
761
|
-
if (appliedStyles) {
|
|
762
|
-
appliedStyles.add(scopeId2);
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
} else {
|
|
766
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
767
|
-
if (!appliedStyles) {
|
|
768
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
769
|
-
}
|
|
770
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
771
|
-
const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
|
|
772
|
-
let stylesheet;
|
|
773
|
-
if (style.constructor === currentWindow.CSSStyleSheet) {
|
|
774
|
-
stylesheet = style;
|
|
775
|
-
} else {
|
|
776
|
-
stylesheet = new currentWindow.CSSStyleSheet();
|
|
777
|
-
for (let i2 = 0; i2 < style.cssRules.length; i2++) {
|
|
778
|
-
stylesheet.insertRule(style.cssRules[i2].cssText, i2);
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
if (supportsMutableAdoptedStyleSheets) {
|
|
782
|
-
styleContainerNode.adoptedStyleSheets.push(stylesheet);
|
|
783
|
-
} else {
|
|
784
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
|
|
785
|
-
}
|
|
786
|
-
appliedStyles.add(scopeId2);
|
|
787
|
-
if ("host" in styleContainerNode) {
|
|
788
|
-
const ssrStyleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
789
|
-
if (ssrStyleElm) {
|
|
790
|
-
writeTask(() => ssrStyleElm.remove());
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
return scopeId2;
|
|
797
|
-
};
|
|
798
|
-
var attachStyles = (hostRef) => {
|
|
799
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
800
|
-
const elm = hostRef.$hostElement$;
|
|
801
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
802
|
-
addStyle(
|
|
803
|
-
elm.getRootNode(),
|
|
804
|
-
cmpMeta);
|
|
805
|
-
endAttachStyles();
|
|
806
|
-
};
|
|
807
684
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
808
685
|
var isComplexType = (o) => {
|
|
809
686
|
o = typeof o;
|
|
@@ -829,6 +706,11 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
829
706
|
} else if (child != null && typeof child !== "boolean") {
|
|
830
707
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
831
708
|
child = String(child);
|
|
709
|
+
} else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
710
|
+
{
|
|
711
|
+
consoleError("Invalid vNode child");
|
|
712
|
+
}
|
|
713
|
+
continue;
|
|
832
714
|
}
|
|
833
715
|
if (simple && lastSimple) {
|
|
834
716
|
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
|
@@ -1580,7 +1462,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
1580
1462
|
}
|
|
1581
1463
|
}
|
|
1582
1464
|
if (newValue == null || newValue === false) {
|
|
1583
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1465
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
|
|
1584
1466
|
if (xlink) {
|
|
1585
1467
|
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1586
1468
|
} else {
|
|
@@ -1597,6 +1479,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
1597
1479
|
}
|
|
1598
1480
|
}
|
|
1599
1481
|
};
|
|
1482
|
+
var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
|
|
1483
|
+
var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
1600
1484
|
var parseClassListRegex = /\s/;
|
|
1601
1485
|
var parseClassList = (value) => {
|
|
1602
1486
|
if (typeof value === "object" && value && "baseVal" in value) {
|
|
@@ -1987,7 +1871,10 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1987
1871
|
const slotName = childNode["s-sn"];
|
|
1988
1872
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1989
1873
|
node = hostContentNodes[j];
|
|
1990
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] &&
|
|
1874
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && // let an exact named-slot match override a stale default-slot claim. Skip this for
|
|
1875
|
+
// `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
|
|
1876
|
+
// would trivially "match" on every re-render and force pointless re-insertion.
|
|
1877
|
+
(!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
|
|
1991
1878
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1992
1879
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1993
1880
|
checkSlotFallbackVisibility = true;
|
|
@@ -2055,7 +1942,7 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2055
1942
|
return newNode;
|
|
2056
1943
|
}
|
|
2057
1944
|
}
|
|
2058
|
-
if (parent.__insertBefore) {
|
|
1945
|
+
if ((parent == null ? void 0 : parent.__insertBefore)) {
|
|
2059
1946
|
return parent.__insertBefore(newNode, reference);
|
|
2060
1947
|
} else {
|
|
2061
1948
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
@@ -2268,9 +2155,6 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
2268
2155
|
const elm = hostRef.$hostElement$;
|
|
2269
2156
|
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
|
2270
2157
|
const rc = elm["s-rc"];
|
|
2271
|
-
if (isInitialLoad) {
|
|
2272
|
-
attachStyles(hostRef);
|
|
2273
|
-
}
|
|
2274
2158
|
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
|
2275
2159
|
{
|
|
2276
2160
|
callRender(hostRef, instance, elm, isInitialLoad);
|
|
@@ -2446,6 +2330,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2446
2330
|
};
|
|
2447
2331
|
|
|
2448
2332
|
// src/runtime/proxy-component.ts
|
|
2333
|
+
var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
|
|
2449
2334
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2450
2335
|
var _a, _b;
|
|
2451
2336
|
const prototype = Cstr.prototype;
|
|
@@ -2578,7 +2463,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2578
2463
|
return;
|
|
2579
2464
|
}
|
|
2580
2465
|
const propFlags = members.find(([m]) => m === propName);
|
|
2581
|
-
const
|
|
2466
|
+
const propMemberFlags = propFlags ? propFlags[1][0] : 0;
|
|
2467
|
+
const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
|
|
2468
|
+
if (propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
|
|
2469
|
+
// one is always external
|
|
2470
|
+
!isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
|
|
2471
|
+
return;
|
|
2472
|
+
}
|
|
2582
2473
|
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
2583
2474
|
if (isBooleanTarget) {
|
|
2584
2475
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
@@ -2610,10 +2501,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2610
2501
|
|
|
2611
2502
|
// src/runtime/initialize-component.ts
|
|
2612
2503
|
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
2504
|
+
var _a;
|
|
2613
2505
|
let Cstr;
|
|
2614
2506
|
try {
|
|
2615
2507
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
2616
2508
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
2509
|
+
hostRef.$flags$ &= -1025 /* hasFailedLoad */;
|
|
2617
2510
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2618
2511
|
if (bundleId) {
|
|
2619
2512
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
@@ -2625,6 +2518,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2625
2518
|
Cstr = CstrImport;
|
|
2626
2519
|
}
|
|
2627
2520
|
if (!Cstr) {
|
|
2521
|
+
hostRef.$flags$ &= -33 /* hasInitializedComponent */;
|
|
2522
|
+
hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
|
|
2523
|
+
if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
|
|
2524
|
+
hostRef.$flags$ |= 1024 /* hasFailedLoad */;
|
|
2525
|
+
}
|
|
2628
2526
|
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
|
2629
2527
|
}
|
|
2630
2528
|
if (!Cstr.isProxied) {
|
|
@@ -2663,18 +2561,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2663
2561
|
const cmpTag = elm.localName;
|
|
2664
2562
|
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
2665
2563
|
}
|
|
2666
|
-
if (Cstr && Cstr.style) {
|
|
2667
|
-
let style;
|
|
2668
|
-
if (typeof Cstr.style === "string") {
|
|
2669
|
-
style = Cstr.style;
|
|
2670
|
-
}
|
|
2671
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
2672
|
-
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
2673
|
-
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2674
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
2675
|
-
endRegisterStyles();
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
2564
|
}
|
|
2679
2565
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
2680
2566
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
@@ -2689,7 +2575,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2689
2575
|
hostRef.$onRenderResolve$();
|
|
2690
2576
|
hostRef.$onRenderResolve$ = void 0;
|
|
2691
2577
|
}
|
|
2692
|
-
if (hostRef.$onReadyResolve$) {
|
|
2578
|
+
if (hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
|
|
2693
2579
|
hostRef.$onReadyResolve$(elm);
|
|
2694
2580
|
}
|
|
2695
2581
|
}
|
|
@@ -2749,6 +2635,8 @@ var connectedCallback = (elm) => {
|
|
|
2749
2635
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
2750
2636
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
2751
2637
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2638
|
+
} else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
|
|
2639
|
+
setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
|
|
2752
2640
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
2753
2641
|
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
2754
2642
|
}
|
|
@@ -2875,7 +2763,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
2875
2763
|
}
|
|
2876
2764
|
disconnectedCallback() {
|
|
2877
2765
|
plt.jmp(() => disconnectedCallback(this));
|
|
2878
|
-
|
|
2766
|
+
nextTick(() => {
|
|
2879
2767
|
var _a3;
|
|
2880
2768
|
const hostRef = getHostRef(this);
|
|
2881
2769
|
if (!hostRef) {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-CgJEmBQY.js';
|
|
2
|
+
export { s as setNonce } from './index-CgJEmBQY.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const Accordion = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -53,14 +53,14 @@ const Accordion = class {
|
|
|
53
53
|
bordered: `xpl-accordion--border-bordered${this.expanded ? '--expanded' : ''}`,
|
|
54
54
|
bottom: `xpl-accordion--border-bottom${this.expanded ? '--expanded' : ''}`,
|
|
55
55
|
}[this.borderType];
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'bef7707d1c7aaab18735fdb7b767b54a6cfd9805', class: `xpl-accordion ${accordionBorder}` }, h("button", { key: '053fb3d0a2bf253e02d491d26e3a82986352e00e', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "xpl-accordion-toggle-area", onClick: this.toggleAccordion, type: "button" }, h("header", { key: '884b58fd83f39537b00bdb932286254447996151', class: `xpl-accordion-header xpl-accordion-header--size-${this.size}` }, h("slot", { key: '86ee5ae7cc2c28d5a3d5a273b5597d424e5f677c', name: "heading" }, this.header), h("xpl-icon", { key: 'e15037ad75519740e11bb4b2bf0ee83950cef3c4', size: 16, icon: "chevron-down", class: `xpl-accordion-icon-chevron ${this.expanded ? 'xpl-accordion-icon-chevron--rotate' : ''}` })), h("div", { key: '553d3c1e14a5cd870a6f968133d1b3456d2a39dd', class: "xpl-accordion-description" }, h("slot", { key: 'b114db833bfb9407997b9e2e79e93b83ae9f081a', name: "description" }, this.description))), h("section", { key: '92e987377515608b9c9d6ee9de77f32a05644de8', id: this.contentId, role: "region", class: `xpl-accordion-content xpl-accordion-content--${!this.expanded ? 'hidden' : 'shown'} ${this.expanded
|
|
57
57
|
? {
|
|
58
58
|
'': '',
|
|
59
59
|
none: '',
|
|
60
60
|
bordered: 'xpl-accordion-content--shown-bordered',
|
|
61
61
|
bottom: 'xpl-accordion-content--shown-border-bottom',
|
|
62
62
|
}[this.borderType]
|
|
63
|
-
: ''}` }, h("slot", { key: '
|
|
63
|
+
: ''}` }, h("slot", { key: '0363c341f5554dc9b199c2ddfdc516fc758c46fc', name: "content" }))));
|
|
64
64
|
}
|
|
65
65
|
get el() { return getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const ApplicationShell = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -37,7 +37,7 @@ const ApplicationShell = class {
|
|
|
37
37
|
navClasses += this.navOpen
|
|
38
38
|
? ` xpl-application-shell__nav--${this.navWidth}--open`
|
|
39
39
|
: ` xpl-application-shell__nav--${this.navWidth}`;
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '62f8a731b47f2ffadb192ed1c4d804362dd66a42', class: applicationShellClasses }, h("div", { key: '0f8b2f9825bd85a187a44ec8b29bb61933216d47', class: navClasses }, h("slot", { key: 'f35e09fef29ec3ec8a14c32891e1f1a6aeec058a', name: "nav" })), h("div", { key: '29ea416c978cdb10ecc2df516cc25ff7fbde2342', class: "xpl-application-shell__subnav" }, h("slot", { key: '56d536702db72a201d5573d30e7e4f04a5fd3428', name: "subnav" })), h("div", { key: 'eb6edaeab5e79ba6d6f60c1edf2369205a724f59', class: "xpl-application-shell__utility" }, h("slot", { key: '86fde26627dbf24bf23d2b467940bf3ff58dbdc8', name: "utility" })), h("div", { key: 'ae8b382f38f03018b4098b96fcf1a9a583671356', class: "xpl-application-shell__content" }, h("slot", { key: '3e8cbe1c7540e3522147582e7bb724bef88f8910', name: "content" })), h("xpl-backdrop", { key: '559ef92a0ed4764257f25482a7d192183785c2cf', onClick: () => this.navToggleHandler(), class: {
|
|
41
41
|
'xpl-application-shell__backdrop--open': this.navOpen,
|
|
42
42
|
}, relative: true })));
|
|
43
43
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-CgJEmBQY.js';
|
|
2
2
|
import { v as v4 } from './v4-CK3_k8jD.js';
|
|
3
3
|
|
|
4
4
|
const LEGACY_STATUS_TO_BADGE = {
|
|
@@ -164,7 +164,7 @@ const Divider = class {
|
|
|
164
164
|
render() {
|
|
165
165
|
let className = 'xpl-divider';
|
|
166
166
|
className += ` xpl-divider--${this.tier}`;
|
|
167
|
-
return (h(Host, { key: '
|
|
167
|
+
return (h(Host, { key: 'af5215db4c71b69c9dba81383bd9ae2fa318d7f1', class: className }, h("span", { key: 'de353b8dd0fa49490b93295a0da8c783a0b664f4' }, h("slot", { key: '9a10da3760366b90059113530c7e1799d1a3a89c' }))));
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
|
|
@@ -190,14 +190,14 @@ const Radio = class {
|
|
|
190
190
|
return Boolean(this.checked);
|
|
191
191
|
}
|
|
192
192
|
render() {
|
|
193
|
-
return (h(Host, { key: '
|
|
193
|
+
return (h(Host, { key: 'dec063c59a7fe6bd9680d0bfcec55eabfa782ee0', class: {
|
|
194
194
|
'xpl-checkbox-radio-container': true,
|
|
195
195
|
styled: !!this.styled,
|
|
196
196
|
disabled: !!this.disabled,
|
|
197
|
-
} }, h("input", { key: '
|
|
197
|
+
} }, h("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 }), h("label", { key: '3d82a7ee345008e237ea52064774b6d751031450', class: {
|
|
198
198
|
'xpl-label': true,
|
|
199
199
|
'xpl-label--disabled': !!this.disabled,
|
|
200
|
-
}, htmlFor: this.id }, h("slot", { key: '
|
|
200
|
+
}, htmlFor: this.id }, h("slot", { key: 'a04ec7ab9149a61f88391bb37556f81e9e172b6e' }), this.description && (h("small", { key: 'b03619c554d2438cc152ff37fcaa02be3ba7e0bd', class: {
|
|
201
201
|
'xpl-description': true,
|
|
202
202
|
'xpl-description--disabled': !!this.disabled,
|
|
203
203
|
} }, this.description)))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const Backdrop = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -6,7 +6,7 @@ const Backdrop = class {
|
|
|
6
6
|
this.relative = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '85f3504a4f62941f97a81da862a210822b13376c', class: {
|
|
10
10
|
'xpl-backdrop': true,
|
|
11
11
|
'xpl-backdrop--fixed': !this.relative,
|
|
12
12
|
'xpl-backdrop--relative': this.relative,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const LEGACY_VARIANT_MAP = {
|
|
4
4
|
success: 'green',
|
|
@@ -28,7 +28,7 @@ const Badge = class {
|
|
|
28
28
|
[`xpl-badge--size-${this.size}`]: !!this.size,
|
|
29
29
|
[`xpl-badge--shape-${this.shape}`]: !this.dotOnly && !!this.shape,
|
|
30
30
|
};
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'df70cb8e95cecc50abc78308edb0b3de90b1e8d5' }, h("div", { key: 'de762267e9a338127b65027fbb77a297939e997a', class: className }, h("span", { key: '99f8e2cfb87fd814c520532ef0701095e2b8f606', class: "xpl-badge__label" }, h("slot", { key: 'c49400097ee9bdfc04344464d7be3e02133b199c' })))));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const Banner = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -59,13 +59,13 @@ const Banner = class {
|
|
|
59
59
|
const actionState = this.getActionButtonState();
|
|
60
60
|
const isHeadingPresent = !!this.heading?.trim();
|
|
61
61
|
const isDescPresent = !!this.description?.trim();
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '3ec080a23996280ec5223f06f75db2f308c4af9e', class: {
|
|
63
63
|
'xpl-banner': true,
|
|
64
64
|
'xpl-banner--section': this.isSection,
|
|
65
65
|
[`xpl-banner--${this.appearance}`]: true,
|
|
66
66
|
'xpl-banner--truncate-desc': this.truncateDesc,
|
|
67
67
|
'xpl-banner--no-icon': this.isSection && !this.hasIcon,
|
|
68
|
-
}, role: "region", "aria-label": this.getAriaLabel() }, (!this.isSection || this.hasIcon) && (h("div", { key: '
|
|
68
|
+
}, role: "region", "aria-label": this.getAriaLabel() }, (!this.isSection || this.hasIcon) && (h("div", { key: 'b6a41b971e0a7f07aefa8bd457e39cd16dbaeb3b', class: "xpl-banner__icon", "aria-hidden": "true" }, h("xpl-icon", { key: 'cefc593e0ab2134c4853e7e5e49be548d6b32a24', icon: this.getIcon(), size: 24 }))), h("div", { key: 'c26947f4579889550ce9d9edf272274c96981ff7', class: "xpl-banner__body" }, isHeadingPresent && h("p", { key: 'ccc03db846014aaa25b9938373108feae99150d3', class: "xpl-banner__heading" }, this.heading), isDescPresent && (h("p", { key: '14493ae4ebd31a9d2677b45f148d98c0b6a443e8', class: "xpl-banner__description", title: this.truncateDesc ? this.description : undefined }, this.description))), (hasAction || hasSecondaryAction) && (h("div", { key: '37347b1eb78e4664498410a3e5918f26cb670725', class: "xpl-banner__actions" }, hasAction && (h("xpl-button", { key: 'e84704a48a07fd2ca75252c8821f59084275975c', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.action.emit() }, this.actionText)), hasSecondaryAction && (h("xpl-button", { key: 'e02ac8ed8b9c4146d6275262359a9d5d3e401e9c', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.secondaryAction.emit() }, this.secondaryActionText)))), this.isDismissible && (h("button", { key: '8f7c5451c1fcadd30915f59064738e42a1e72948', class: "xpl-banner__dismiss", type: "button", "aria-label": `Dismiss ${this.isSection ? 'section ' : ''}banner`, onClick: () => this.dismiss.emit() }, h("xpl-icon", { key: '6775534525f9363551699f9efa879225d51363f4', icon: "xmark", size: 24, "aria-hidden": "true" })))));
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const BreadcrumbItem = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -9,7 +9,7 @@ const BreadcrumbItem = class {
|
|
|
9
9
|
`;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'f27e929df7f6b3c346c78dbaa1fbd5504ed02bb8', class: "xpl-breadcrumb-item", role: "listitem" }, h("li", { key: '58c1f95719d3d0ad4304cc4f29e74fc66efa5693', role: "none" }, h("slot", { key: 'd8ecd978e3f99fd2638094d33735c66e3a56d29c' })), h("span", { key: 'a0b21f289feb8246a9e75874f259fe5597cbcaf3', innerHTML: this.chevron })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const Breadcrumbs = class {
|
|
4
4
|
constructor(hostRef) {
|
|
5
5
|
registerInstance(this, hostRef);
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'f859d93fa0a8ad5b4f8258aa9bbdc1911d6ae16d' }, h("nav", { key: '6d676d761994ec12287b1ebdd9de581b312bea8e', class: "xpl-breadcrumbs", "aria-label": "Breadcrumb" }, h("ol", { key: 'ebcb8ef044cb89b8269e2b57b920d915f722a7de', role: "list" }, h("slot", { key: '61baec9902cafb7fbdfd69293005708abda67170' })))));
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const ButtonRow = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ const ButtonRow = class {
|
|
|
11
11
|
this.onTertiary = () => this.clickTertiary.emit();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '1a62b9b571e501af51ec981ffa18482516d889dd', class: "xpl-button-row" }, h("div", { key: '60eefd7f143289ff3991373d29d8fb925c326bcd', class: "xpl-button-row-inner" }, h("div", { key: 'a395589aa225b953abf8a60539ea32dcca023f17', class: "xpl-button-row__left" }, this.secondary && (h("xpl-button", { key: 'b4682506704ed7b9169e5b621fa58d6c5238103f', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), h("div", { key: '24c432eb94332d55842cb3e3b747b933bc29b168', class: "xpl-button-row__right" }, this.tertiary && (h("xpl-button", { key: '07ddee3c645def7a435d1ee7e33ac82a11b311cd', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (h("xpl-button", { key: 'eed2fe1cf5235744f91b3990953dd3bea7ed6bea', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (h("xpl-button", { key: '28d2224d6c2b519068b5c47ccb8e7a2a8ec31180', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-CgJEmBQY.js';
|
|
2
2
|
|
|
3
3
|
const Button = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -56,7 +56,7 @@ const Button = class {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '22c276771971610882e3f2761685fc0194bf4b53', class: {
|
|
60
60
|
'xpl-button': true,
|
|
61
61
|
[`xpl-button--${this.size}`]: true,
|
|
62
62
|
[`xpl-button--${this.variant}`]: true,
|
|
@@ -71,7 +71,7 @@ const Button = class {
|
|
|
71
71
|
this.type === 'reset' ||
|
|
72
72
|
this.type === undefined)
|
|
73
73
|
? 'button'
|
|
74
|
-
: this.type, name: this.name, value: this.value, form: this.form, "aria-busy": this.isLoading ? 'true' : undefined }, this.icon && h("span", { class: "xpl-button__icon" }, this.renderIcon()), h("slot", null), this.isLoading && (h("span", { class: "xpl-button__loading-overlay", "aria-hidden": "true" }, h("span", { class: "xpl-button__loading-spinner" }, h("xpl-icon", { icon: "loader-4" }))))))));
|
|
74
|
+
: this.type, name: this.name, value: this.value, form: this.form, "aria-busy": this.isLoading ? 'true' : undefined }, this.icon && h("span", { class: "xpl-button__icon" }, this.renderIcon()), h("slot", null), this.isLoading && (h("span", { class: "xpl-button__loading-overlay", "aria-hidden": "true" }, h("span", { class: "xpl-button__loading-spinner" }, h("xpl-icon", { icon: "loader-4", size: 20 }))))))));
|
|
75
75
|
}
|
|
76
76
|
get el() { return getElement(this); }
|
|
77
77
|
};
|