@xplortech/apollo-core 2.11.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.typings/apollo-components.html-data.json +160 -10
- package/AGENTS.md +29 -5
- package/README.md +42 -3
- package/build/components/accordion.css +1 -0
- package/build/components/application-shell.css +1 -0
- package/build/components/avatar.css +1 -0
- package/build/components/backdrop.css +1 -0
- package/build/components/badge.css +1 -0
- package/build/components/banner.css +1 -0
- package/build/components/breadcrumbs.css +1 -0
- package/build/components/button-row.css +1 -0
- package/build/components/button.css +1 -0
- package/build/components/calendar.css +1 -0
- package/build/components/checkbox-radio.css +1 -0
- package/build/components/choicelist.css +1 -0
- package/build/components/content-area.css +1 -0
- package/build/components/dashboard.css +1 -0
- package/build/components/data-card.css +1 -0
- package/build/components/divider.css +1 -0
- package/build/components/dropdown.css +1 -0
- package/build/components/dynamic-table-cell.css +1 -0
- package/build/components/dynamic-table-row.css +1 -0
- package/build/components/dynamic-table.css +1 -0
- package/build/components/grid.css +1 -0
- package/build/components/header-accordion.css +1 -0
- package/build/components/icon.css +1 -0
- package/build/components/input-color.css +1 -0
- package/build/components/input-date.css +1 -0
- package/build/components/input-file.css +1 -0
- package/build/components/input-phone.css +1 -0
- package/build/components/input-search.css +1 -0
- package/build/components/input-time.css +1 -0
- package/build/components/input.css +1 -0
- package/build/components/label.css +1 -0
- package/build/components/large-card.css +1 -0
- package/build/components/list-action.css +1 -0
- package/build/components/list-item.css +1 -0
- package/build/components/list.css +1 -0
- package/build/components/main-nav.css +1 -0
- package/build/components/modal.css +1 -0
- package/build/components/nav-item.css +1 -0
- package/build/components/pagination.css +1 -0
- package/build/components/panel.css +1 -0
- package/build/components/popover.css +1 -0
- package/build/components/progress-bar.css +1 -0
- package/build/components/progress-indicator.css +1 -0
- package/build/components/secondary-nav.css +1 -0
- package/build/components/select.css +1 -0
- package/build/components/side-nav.css +1 -0
- package/build/components/skeleton.css +1 -0
- package/build/components/slideout.css +1 -0
- package/build/components/spotlight.css +1 -0
- package/build/components/table-body.css +1 -0
- package/build/components/table-footer-cell.css +1 -0
- package/build/components/table-footer.css +1 -0
- package/build/components/table-header-cell.css +1 -0
- package/build/components/table-header.css +1 -0
- package/build/components/table-row.css +1 -0
- package/build/components/table.css +1 -0
- package/build/components/tabs.css +1 -0
- package/build/components/tag.css +1 -0
- package/build/components/toast.css +1 -0
- package/build/components/toggle.css +1 -0
- package/build/components/toolbar.css +1 -0
- package/build/components/tooltip.css +1 -0
- package/build/components/top-nav.css +1 -0
- package/build/components/utility-bar.css +1 -0
- package/build/components-manifest.json +232 -0
- package/build/core.css +2 -0
- package/build/reset.css +394 -0
- package/build/style.css +2 -13345
- package/build/tailwind-theme.css +2 -0
- package/build/typography.css +1 -0
- package/build/variables/apollo.css +779 -0
- package/build/variables/field-edge.css +554 -0
- package/build/vendor/flatpickr.css +1 -0
- package/dist/apollo-core/apollo-core.css +2 -55
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-0368a1df.entry.js +1 -0
- package/dist/apollo-core/p-056a99e4.entry.js +1 -0
- package/dist/apollo-core/p-068e3532.entry.js +1 -0
- package/dist/apollo-core/p-06a9a27b.entry.js +1 -0
- package/dist/apollo-core/p-0958c719.entry.js +1 -0
- package/dist/apollo-core/p-0a0a6e43.entry.js +1 -0
- package/dist/apollo-core/p-149ddd12.entry.js +1 -0
- package/dist/apollo-core/p-1M1pu0C2.js +1 -0
- package/dist/apollo-core/p-1a94c2d9.entry.js +1 -0
- package/dist/apollo-core/p-2139f9f6.entry.js +1 -0
- package/dist/apollo-core/p-256ece8b.entry.js +1 -0
- package/dist/apollo-core/p-28bce81a.entry.js +1 -0
- package/dist/apollo-core/p-2938ab4f.entry.js +1 -0
- package/dist/apollo-core/p-2c995d80.entry.js +1 -0
- package/dist/apollo-core/p-2faa7b9c.entry.js +1 -0
- package/dist/apollo-core/p-30b1b700.entry.js +1 -0
- package/dist/apollo-core/p-32084caf.entry.js +1 -0
- package/dist/apollo-core/p-38586952.entry.js +1 -0
- package/dist/apollo-core/p-47bda204.entry.js +1 -0
- package/dist/apollo-core/p-4a2323b3.entry.js +1 -0
- package/dist/apollo-core/p-4ad79534.entry.js +1 -0
- package/dist/apollo-core/p-4d4acd1f.entry.js +1 -0
- package/dist/apollo-core/p-50fae269.entry.js +1 -0
- package/dist/apollo-core/p-54903322.entry.js +1 -0
- package/dist/apollo-core/p-5730d96c.entry.js +1 -0
- package/dist/apollo-core/p-581b702c.entry.js +1 -0
- package/dist/apollo-core/p-5d9a593e.entry.js +1 -0
- package/dist/apollo-core/p-60cb3cfb.entry.js +1 -0
- package/dist/apollo-core/p-722b145a.entry.js +1 -0
- package/dist/apollo-core/p-75e5bfe0.entry.js +1 -0
- package/dist/apollo-core/p-77fe3cc1.entry.js +1 -0
- package/dist/apollo-core/p-790709c0.entry.js +1 -0
- package/dist/apollo-core/p-82812126.entry.js +1 -0
- package/dist/apollo-core/p-83bb7607.entry.js +1 -0
- package/dist/apollo-core/p-8664d88b.entry.js +1 -0
- package/dist/apollo-core/p-8845106f.entry.js +1 -0
- package/dist/apollo-core/p-8a925e9d.entry.js +1 -0
- package/dist/apollo-core/p-9064badb.entry.js +1 -0
- package/dist/apollo-core/p-91895c40.entry.js +1 -0
- package/dist/apollo-core/p-969d5cca.entry.js +1 -0
- package/dist/apollo-core/p-99a79cf4.entry.js +1 -0
- package/dist/apollo-core/p-BFTU3MAI.js +1 -0
- package/dist/apollo-core/p-BQtbf88X.js +1 -0
- package/dist/apollo-core/p-CWdQxaaX.js +1 -0
- package/dist/apollo-core/p-C_PEOQWj.js +1 -0
- package/dist/apollo-core/p-CzwViN3U.js +1 -0
- package/dist/apollo-core/p-DkqlawVY.js +1 -0
- package/dist/apollo-core/p-Dqb1pIRo.js +1 -0
- package/dist/apollo-core/p-_r9-FML8.js +1 -0
- package/dist/apollo-core/p-a0d3b7f8.entry.js +1 -0
- package/dist/apollo-core/p-abdf199b.entry.js +1 -0
- package/dist/apollo-core/p-ae8a5f66.entry.js +1 -0
- package/dist/apollo-core/p-af8ebf49.entry.js +1 -0
- package/dist/apollo-core/p-b29025b2.entry.js +1 -0
- package/dist/apollo-core/p-b45179fb.entry.js +1 -0
- package/dist/apollo-core/p-b5a61076.entry.js +1 -0
- package/dist/apollo-core/p-bf7d8e18.entry.js +1 -0
- package/dist/apollo-core/p-c48e4884.entry.js +1 -0
- package/dist/apollo-core/p-ca4652b3.entry.js +1 -0
- package/dist/apollo-core/p-cb5b15c2.entry.js +1 -0
- package/dist/apollo-core/p-cc57f20d.entry.js +1 -0
- package/dist/apollo-core/p-cdacfcd4.entry.js +1 -0
- package/dist/apollo-core/p-cdb5b5c4.entry.js +1 -0
- package/dist/apollo-core/p-d0bc7c45.entry.js +1 -0
- package/dist/apollo-core/p-d41b8f46.entry.js +1 -0
- package/dist/apollo-core/p-d443291f.entry.js +1 -0
- package/dist/apollo-core/p-d724c419.entry.js +1 -0
- package/dist/apollo-core/p-d9070ae5.entry.js +1 -0
- package/dist/apollo-core/p-dca48977.entry.js +1 -0
- package/dist/apollo-core/p-e1833287.entry.js +1 -0
- package/dist/apollo-core/p-e2890eb1.entry.js +1 -0
- package/dist/apollo-core/p-e2b73b60.entry.js +1 -0
- package/dist/apollo-core/p-e7e445b0.entry.js +1 -0
- package/dist/apollo-core/p-f1c103ff.entry.js +1 -0
- package/dist/apollo-core/p-f3a2c79b.entry.js +1 -0
- package/dist/apollo-core/p-ffc2f0cf.entry.js +1 -0
- package/dist/apollo-core/p-ukZKsqqq.js +2 -0
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/apollo-core.cjs.js +2 -2
- package/dist/cjs/floating-ui.dom-DuvGwvW-.js +1710 -0
- package/dist/cjs/{index-BaXVr8ux.js → index-3cBvw409.js} +772 -9
- package/dist/cjs/index-DP4JWqOH.js +456 -0
- package/dist/cjs/{lifecycle-Bf3QwiVa.js → lifecycle-DeSsFfQZ.js} +4 -0
- package/dist/cjs/light-dom-slots-CS8Q9rRZ.js +19 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/side-nav-slot-utils-DMog5BVN.js +41 -0
- package/dist/cjs/slot-presence-HmQUW2Ba.js +10 -0
- package/dist/cjs/tab-a11y-ids--A4ZoXEj.js +27 -0
- package/dist/cjs/top-nav-constants-DckvgAo7.js +5 -0
- package/dist/cjs/xpl-accordion.cjs.entry.js +5 -3
- package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
- package/dist/cjs/xpl-avatar_3.cjs.entry.js +211 -0
- package/dist/cjs/xpl-backdrop.cjs.entry.js +19 -0
- package/dist/cjs/xpl-badge.cjs.entry.js +37 -0
- package/dist/cjs/xpl-banner.cjs.entry.js +74 -0
- package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +18 -0
- package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +14 -0
- package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
- package/dist/cjs/xpl-button.cjs.entry.js +81 -0
- package/dist/cjs/xpl-calendar.cjs.entry.js +10 -6
- package/dist/cjs/xpl-checkbox.cjs.entry.js +32 -0
- package/dist/cjs/xpl-choicelist.cjs.entry.js +68 -0
- package/dist/cjs/xpl-content-area.cjs.entry.js +15 -0
- package/dist/cjs/xpl-dashboard.cjs.entry.js +14 -0
- package/dist/cjs/xpl-data-card.cjs.entry.js +111 -0
- package/dist/cjs/xpl-dropdown_4.cjs.entry.js +580 -0
- package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +8 -6
- package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +5 -5
- package/dist/cjs/xpl-dynamic-table.cjs.entry.js +11 -18
- package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/xpl-grid.cjs.entry.js +6 -6
- package/dist/cjs/xpl-header-accordion.cjs.entry.js +69 -0
- package/dist/cjs/{xpl-avatar_54.cjs.entry.js → xpl-icon.cjs.entry.js} +1174 -10592
- package/dist/cjs/xpl-input-color.cjs.entry.js +435 -0
- package/dist/cjs/xpl-input-phone.cjs.entry.js +509 -0
- package/dist/cjs/xpl-input-time.cjs.entry.js +196 -0
- package/dist/cjs/xpl-input_4.cjs.entry.js +525 -0
- package/dist/cjs/xpl-large-card.cjs.entry.js +63 -4
- package/dist/cjs/xpl-list-item.cjs.entry.js +460 -0
- package/dist/cjs/xpl-list.cjs.entry.js +396 -0
- package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
- package/dist/cjs/xpl-modal.cjs.entry.js +107 -0
- package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +86 -0
- package/dist/cjs/xpl-nav-item.cjs.entry.js +25 -0
- package/dist/cjs/xpl-pagination.cjs.entry.js +112 -0
- package/dist/cjs/xpl-panel.cjs.entry.js +21 -0
- package/dist/cjs/xpl-popover.cjs.entry.js +265 -0
- package/dist/cjs/xpl-progress-bar.cjs.entry.js +41 -0
- package/dist/cjs/xpl-progress-indicator.cjs.entry.js +74 -0
- package/dist/cjs/xpl-secondary-nav.cjs.entry.js +14 -0
- package/dist/cjs/xpl-select_2.cjs.entry.js +493 -0
- package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +101 -0
- package/dist/cjs/xpl-side-nav-item.cjs.entry.js +130 -0
- package/dist/cjs/xpl-side-nav-section.cjs.entry.js +105 -0
- package/dist/cjs/xpl-side-nav.cjs.entry.js +276 -0
- package/dist/cjs/xpl-skeleton.cjs.entry.js +26 -0
- package/dist/cjs/xpl-slideout.cjs.entry.js +47 -0
- package/dist/cjs/xpl-spotlight.cjs.entry.js +722 -0
- package/dist/cjs/xpl-tab-panel.cjs.entry.js +24 -0
- package/dist/cjs/xpl-tab.cjs.entry.js +87 -0
- package/dist/cjs/xpl-table-body.cjs.entry.js +14 -0
- package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +18 -0
- package/dist/cjs/xpl-table-footer.cjs.entry.js +14 -0
- package/dist/cjs/xpl-table-header-cell.cjs.entry.js +5 -3
- package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
- package/dist/cjs/xpl-table-row.cjs.entry.js +20 -0
- package/dist/cjs/xpl-table.cjs.entry.js +185 -0
- package/dist/cjs/xpl-tabs.cjs.entry.js +373 -0
- package/dist/cjs/xpl-toast.cjs.entry.js +91 -0
- package/dist/cjs/xpl-toggle.cjs.entry.js +6 -6
- package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/xpl-tooltip.cjs.entry.js +18 -0
- package/dist/cjs/xpl-top-nav-item.cjs.entry.js +435 -0
- package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +16 -22
- package/dist/cjs/xpl-top-nav.cjs.entry.js +342 -0
- package/dist/cjs/xpl-utility-bar.cjs.entry.js +23 -0
- package/dist/collection/collection-manifest.json +7 -1
- package/dist/collection/components/xpl-accordion/xpl-accordion.js +4 -2
- package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
- package/dist/collection/components/xpl-avatar/xpl-avatar.js +13 -16
- package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
- package/dist/collection/components/xpl-badge/xpl-badge.js +4 -5
- package/dist/collection/components/xpl-banner/xpl-banner.js +7 -9
- 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 +17 -14
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
- package/dist/collection/components/xpl-calendar/xpl-calendar.js +9 -5
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +7 -8
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +6 -6
- 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 +69 -5
- 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 -17
- 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 +9 -5
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +113 -118
- package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +13 -19
- package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +7 -5
- package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +4 -4
- package/dist/collection/components/xpl-grid/xpl-grid.js +5 -5
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
- package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +7 -23
- package/dist/collection/components/xpl-icon/xpl-icon.js +2 -3
- package/dist/collection/components/xpl-input/xpl-input-color/color-utils.js +16 -10
- package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +47 -38
- package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +31 -14
- package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +11 -13
- package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +38 -41
- package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +5 -8
- package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +11 -10
- package/dist/collection/components/xpl-input/xpl-input.js +73 -40
- package/dist/collection/components/xpl-large-card/xpl-large-card.js +69 -3
- package/dist/collection/components/xpl-list/xpl-list-item/xpl-list-item.js +29 -31
- package/dist/collection/components/xpl-list/xpl-list.js +21 -26
- package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
- package/dist/collection/components/xpl-modal/xpl-modal.js +61 -19
- package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
- package/dist/collection/components/xpl-pagination/xpl-pagination.js +10 -12
- package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
- package/dist/collection/components/xpl-popover/xpl-popover.js +36 -8
- package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
- package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
- package/dist/collection/components/xpl-radio/xpl-radio.js +7 -7
- package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
- package/dist/collection/components/xpl-select/select.shared.js +82 -0
- package/dist/collection/components/xpl-select/xpl-select.js +91 -49
- package/dist/collection/components/xpl-side-nav/side-nav-slot-utils.js +35 -0
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.js +201 -0
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +10 -11
- package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +186 -0
- package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +80 -13
- package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +3 -3
- package/dist/collection/components/xpl-slideout/xpl-slideout.js +4 -1
- package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +44 -49
- package/dist/collection/components/xpl-tab/xpl-tab.js +63 -8
- package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +3 -4
- package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +7 -0
- package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +37 -0
- package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +78 -0
- package/dist/collection/components/xpl-table/xpl-table.js +52 -36
- package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
- package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +4 -2
- package/dist/collection/components/xpl-tabs/tabs.shared.js +75 -50
- package/dist/collection/components/xpl-tabs/xpl-tabs.js +29 -25
- package/dist/collection/components/xpl-tag/xpl-tag.js +5 -7
- package/dist/collection/components/xpl-toast/xpl-toast.js +107 -56
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +5 -5
- 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 +11 -5
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +50 -32
- package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +13 -18
- package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +96 -34
- package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
- package/dist/collection/utils/floating.js +69 -0
- package/dist/collection/utils/layout-ancestors.js +7 -0
- package/dist/collection/utils/lifecycle.js +13 -10
- package/dist/collection/utils/light-dom-slots.js +15 -0
- package/dist/collection/utils/slot-presence.js +6 -0
- package/dist/collection/utils/ssr-known-mismatches.js +50 -0
- package/dist/collection/utils/tab-a11y-ids.js +1 -2
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-1M1pu0C2.js +1 -0
- package/dist/components/{p-BxHFEnPN.js → p-9VnxPQLs.js} +1 -1
- package/dist/components/p-B2oLZUDD.js +1 -0
- package/dist/components/p-BQtbf88X.js +1 -0
- package/dist/components/p-BSHdGbmH.js +1 -0
- package/dist/components/p-BYYFsuD3.js +1 -0
- package/dist/components/p-BZtxVB1R.js +1 -0
- package/dist/components/p-BdpZR4KO.js +1 -0
- package/dist/components/p-C_PEOQWj.js +1 -0
- package/dist/components/p-Chpgh5SL.js +1 -0
- package/dist/components/p-CiHTfk3E.js +1 -0
- package/dist/components/p-CnVGKN63.js +1 -0
- package/dist/components/p-Cz7zDaI4.js +1 -0
- package/dist/components/p-D--kzomA.js +1 -0
- package/dist/components/p-D4rv6CNJ.js +1 -0
- package/dist/components/p-DAb-txW3.js +1 -0
- package/dist/components/p-DYmvElhR.js +1 -0
- package/dist/components/p-DkqlawVY.js +1 -0
- package/dist/components/p-Dqb1pIRo.js +1 -0
- package/dist/components/p-EfW0v54z.js +1 -0
- package/dist/components/p-JyNpXfDe.js +1 -0
- package/dist/components/p-U0JYwf4c.js +1 -0
- package/dist/components/p-YG9Jza0y.js +1 -0
- package/dist/components/p-_r9-FML8.js +1 -0
- package/dist/components/{p-ByJRw26d.js → p-l3EZ-agL.js} +1 -1
- package/dist/components/p-oIn1krdu.js +1 -0
- package/dist/components/p-wIU7KUhA.js +1 -0
- package/dist/components/p-xFsB212F.js +1 -0
- package/dist/components/p-xtOHikY0.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/xpl-side-nav-header-item.js +1 -0
- package/dist/components/xpl-side-nav-item.js +1 -1
- package/dist/components/xpl-side-nav-section.d.ts +11 -0
- package/dist/components/xpl-side-nav-section.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/xpl-table-body.js +1 -0
- package/dist/components/xpl-table-footer-cell.d.ts +11 -0
- package/dist/components/xpl-table-footer-cell.js +1 -0
- package/dist/components/xpl-table-footer.d.ts +11 -0
- package/dist/components/xpl-table-footer.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/xpl-table-row.js +1 -0
- 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-application-shell/readme.md +33 -0
- package/dist/docs/xpl-backdrop/readme.md +7 -0
- package/dist/docs/xpl-badge/readme.md +2 -0
- package/dist/docs/xpl-breadcrumbs/xpl-breadcrumbs/readme.md +9 -0
- package/dist/docs/xpl-button/readme.md +4 -2
- package/dist/docs/xpl-checkbox/readme.md +12 -0
- package/dist/docs/xpl-choicelist/readme.md +21 -0
- package/dist/docs/xpl-content-area/readme.md +8 -0
- package/dist/docs/xpl-data-card/readme.md +26 -0
- package/dist/docs/xpl-dropdown/readme.md +32 -6
- package/dist/docs/xpl-dynamic-table/readme.md +35 -0
- package/dist/docs/xpl-header-accordion/readme.md +18 -0
- package/dist/docs/xpl-icon/readme.md +21 -0
- package/dist/docs/xpl-input/xpl-input-color/readme.md +18 -0
- package/dist/docs/xpl-input/xpl-input-file/readme.md +13 -0
- package/dist/docs/xpl-input/xpl-input-time/readme.md +9 -0
- package/dist/docs/xpl-large-card/readme.md +18 -0
- package/dist/docs/xpl-list/readme.md +2 -2
- package/dist/docs/xpl-list/xpl-list-item/readme.md +3 -3
- package/dist/docs/xpl-main-nav/readme.md +16 -0
- package/dist/docs/xpl-modal/readme.md +38 -2
- package/dist/docs/xpl-nav-item/readme.md +14 -0
- package/dist/docs/xpl-pagination/readme.md +29 -0
- package/dist/docs/xpl-radio/readme.md +12 -0
- package/dist/docs/xpl-secondary-nav/readme.md +25 -0
- package/dist/docs/xpl-select/readme.md +13 -0
- package/dist/docs/xpl-side-nav/readme.md +12 -7
- package/dist/docs/xpl-side-nav/xpl-side-nav-header-item/readme.md +155 -0
- package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +16 -6
- package/dist/docs/xpl-side-nav/xpl-side-nav-section/readme.md +126 -0
- package/dist/docs/xpl-slideout/readme.md +23 -0
- package/dist/docs/xpl-tab/readme.md +14 -8
- package/dist/docs/xpl-table/readme.md +4 -4
- package/dist/docs/xpl-table/xpl-table-body/readme.md +16 -0
- package/dist/docs/xpl-table/xpl-table-footer/readme.md +16 -0
- package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +31 -0
- package/dist/docs/xpl-table/xpl-table-row/readme.md +34 -0
- package/dist/docs/xpl-toast/readme.md +90 -7
- package/dist/docs/xpl-toggle/readme.md +46 -0
- package/dist/docs/xpl-toolbar/readme.md +19 -0
- package/dist/docs/xpl-top-nav/readme.md +2 -1
- package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +5 -5
- package/dist/docs/xpl-utility-bar/readme.md +12 -0
- package/dist/docs.d.ts +480 -0
- package/dist/docs.json +16642 -0
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/apollo-core.js +3 -3
- package/dist/esm/floating-ui.dom-1M1pu0C2.js +1702 -0
- package/dist/esm/index-BhYfWG18.js +454 -0
- package/dist/esm/{index-CXkZUm1c.js → index-ukZKsqqq.js} +772 -9
- package/dist/esm/{lifecycle-BUgtURvw.js → lifecycle-Dqb1pIRo.js} +4 -1
- package/dist/esm/light-dom-slots-DkqlawVY.js +17 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/side-nav-slot-utils-C_PEOQWj.js +37 -0
- package/dist/esm/slot-presence-_r9-FML8.js +8 -0
- package/dist/esm/tab-a11y-ids-BQtbf88X.js +23 -0
- package/dist/esm/top-nav-constants-CWdQxaaX.js +3 -0
- package/dist/esm/xpl-accordion.entry.js +5 -3
- package/dist/esm/xpl-application-shell.entry.js +2 -2
- package/dist/esm/xpl-avatar_3.entry.js +207 -0
- package/dist/esm/xpl-backdrop.entry.js +17 -0
- package/dist/esm/xpl-badge.entry.js +35 -0
- package/dist/esm/xpl-banner.entry.js +72 -0
- package/dist/esm/xpl-breadcrumb-item.entry.js +16 -0
- package/dist/esm/xpl-breadcrumbs.entry.js +12 -0
- package/dist/esm/xpl-button-row.entry.js +2 -2
- package/dist/esm/xpl-button.entry.js +79 -0
- package/dist/esm/xpl-calendar.entry.js +10 -6
- package/dist/esm/xpl-checkbox.entry.js +30 -0
- package/dist/esm/xpl-choicelist.entry.js +66 -0
- package/dist/esm/xpl-content-area.entry.js +13 -0
- package/dist/esm/xpl-dashboard.entry.js +12 -0
- package/dist/esm/xpl-data-card.entry.js +109 -0
- package/dist/esm/xpl-dropdown_4.entry.js +575 -0
- package/dist/esm/xpl-dynamic-table-cell.entry.js +8 -6
- package/dist/esm/xpl-dynamic-table-row.entry.js +5 -5
- package/dist/esm/xpl-dynamic-table.entry.js +11 -18
- package/dist/esm/xpl-grid-item.entry.js +2 -2
- package/dist/esm/xpl-grid.entry.js +6 -6
- package/dist/esm/xpl-header-accordion.entry.js +67 -0
- package/dist/esm/{xpl-avatar_54.entry.js → xpl-icon.entry.js} +1174 -10539
- package/dist/esm/xpl-input-color.entry.js +433 -0
- package/dist/esm/xpl-input-phone.entry.js +507 -0
- package/dist/esm/xpl-input-time.entry.js +194 -0
- package/dist/esm/xpl-input_4.entry.js +520 -0
- package/dist/esm/xpl-large-card.entry.js +63 -4
- package/dist/esm/xpl-list-item.entry.js +458 -0
- package/dist/esm/xpl-list.entry.js +394 -0
- package/dist/esm/xpl-main-nav.entry.js +2 -2
- package/dist/esm/xpl-modal.entry.js +105 -0
- package/dist/esm/xpl-nav-header-menu.entry.js +84 -0
- package/dist/esm/xpl-nav-item.entry.js +23 -0
- package/dist/esm/xpl-pagination.entry.js +110 -0
- package/dist/esm/xpl-panel.entry.js +19 -0
- package/dist/esm/xpl-popover.entry.js +263 -0
- package/dist/esm/xpl-progress-bar.entry.js +39 -0
- package/dist/esm/xpl-progress-indicator.entry.js +72 -0
- package/dist/esm/xpl-secondary-nav.entry.js +12 -0
- package/dist/esm/xpl-select_2.entry.js +490 -0
- package/dist/esm/xpl-side-nav-header-item.entry.js +99 -0
- package/dist/esm/xpl-side-nav-item.entry.js +128 -0
- package/dist/esm/xpl-side-nav-section.entry.js +103 -0
- package/dist/esm/xpl-side-nav.entry.js +274 -0
- package/dist/esm/xpl-skeleton.entry.js +24 -0
- package/dist/esm/xpl-slideout.entry.js +45 -0
- package/dist/esm/xpl-spotlight.entry.js +720 -0
- package/dist/esm/xpl-tab-panel.entry.js +22 -0
- package/dist/esm/xpl-tab.entry.js +85 -0
- package/dist/esm/xpl-table-body.entry.js +12 -0
- package/dist/esm/xpl-table-footer-cell.entry.js +16 -0
- package/dist/esm/xpl-table-footer.entry.js +12 -0
- package/dist/esm/xpl-table-header-cell.entry.js +5 -3
- package/dist/esm/xpl-table-header.entry.js +2 -2
- package/dist/esm/xpl-table-row.entry.js +18 -0
- package/dist/esm/xpl-table.entry.js +183 -0
- package/dist/esm/xpl-tabs.entry.js +371 -0
- package/dist/esm/xpl-toast.entry.js +89 -0
- package/dist/esm/xpl-toggle.entry.js +6 -6
- package/dist/esm/xpl-toolbar.entry.js +3 -3
- package/dist/esm/xpl-tooltip.entry.js +16 -0
- package/dist/esm/xpl-top-nav-item.entry.js +433 -0
- package/dist/esm/xpl-top-nav-menu.entry.js +15 -21
- package/dist/esm/xpl-top-nav.entry.js +340 -0
- package/dist/esm/xpl-utility-bar.entry.js +21 -0
- package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -1
- package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +12 -0
- package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +1 -1
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +7 -9
- package/dist/types/components/xpl-dynamic-table/xpl-dynamic-table.d.ts +2 -1
- package/dist/types/components/xpl-header-accordion/xpl-header-accordion.d.ts +0 -2
- package/dist/types/components/xpl-input/xpl-input-date/xpl-input-date.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input-file/xpl-input-file.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input-phone/xpl-input-phone.d.ts +2 -2
- package/dist/types/components/xpl-input/xpl-input-time/time-utils.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input-time/xpl-input-time.d.ts +1 -1
- package/dist/types/components/xpl-input/xpl-input.d.ts +11 -6
- package/dist/types/components/xpl-large-card/xpl-large-card.d.ts +12 -0
- package/dist/types/components/xpl-list/listitem.d.ts +5 -0
- package/dist/types/components/xpl-list/xpl-list-item/xpl-list-item.d.ts +0 -1
- package/dist/types/components/xpl-modal/xpl-modal.d.ts +10 -2
- package/dist/types/components/xpl-popover/xpl-popover.d.ts +4 -2
- package/dist/types/components/xpl-select/select.shared.d.ts +23 -0
- package/dist/types/components/xpl-select/xpl-select.d.ts +1 -0
- package/dist/types/components/xpl-side-nav/side-nav-slot-utils.d.ts +3 -0
- package/dist/types/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.d.ts +24 -0
- package/dist/types/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.d.ts +1 -1
- package/dist/types/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.d.ts +24 -0
- package/dist/types/components/xpl-side-nav/xpl-side-nav.d.ts +10 -0
- package/dist/types/components/xpl-spotlight/xpl-spotlight.d.ts +1 -0
- package/dist/types/components/xpl-tab/xpl-tab.d.ts +5 -0
- package/dist/types/components/xpl-table/xpl-table-body/xpl-table-body.d.ts +3 -0
- package/dist/types/components/xpl-table/xpl-table-footer/xpl-table-footer.d.ts +3 -0
- package/dist/types/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.d.ts +4 -0
- package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +6 -0
- package/dist/types/components/xpl-table/xpl-table.d.ts +8 -8
- package/dist/types/components/xpl-tabs/tabs.shared.d.ts +34 -2
- package/dist/types/components/xpl-toast/xpl-toast.d.ts +13 -4
- package/dist/types/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.d.ts +3 -0
- package/dist/types/components/xpl-top-nav/xpl-top-nav.d.ts +7 -2
- package/dist/types/components.d.ts +1109 -51
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils/form-bindings.d.ts +4 -0
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils/story-vrt.d.ts +1 -0
- package/dist/types/third-party.d.ts +20 -0
- package/dist/types/utils/floating.d.ts +26 -0
- package/dist/types/utils/lifecycle.d.ts +1 -1
- package/dist/types/utils/light-dom-slots.d.ts +6 -0
- package/dist/types/utils/slot-presence.d.ts +1 -0
- package/dist/types/utils/ssr-known-mismatches.d.ts +16 -0
- package/dist/utils/form-bindings.js +64 -0
- package/dist/utils/story-vrt.js +48 -0
- package/hydrate/index.d.ts +287 -0
- package/hydrate/index.js +51795 -0
- package/hydrate/index.mjs +51785 -0
- package/hydrate/package.json +12 -0
- package/package.json +112 -59
- package/dist/apollo-core/p-048fdde0.entry.js +0 -1
- package/dist/apollo-core/p-0abc496e.entry.js +0 -1
- package/dist/apollo-core/p-1442c052.entry.js +0 -1
- package/dist/apollo-core/p-1e498763.entry.js +0 -1
- package/dist/apollo-core/p-26c3a508.entry.js +0 -1
- package/dist/apollo-core/p-3b8639b7.entry.js +0 -1
- package/dist/apollo-core/p-4ce52107.entry.js +0 -1
- package/dist/apollo-core/p-6710fb29.entry.js +0 -1
- package/dist/apollo-core/p-7e622809.entry.js +0 -1
- package/dist/apollo-core/p-87068144.entry.js +0 -1
- package/dist/apollo-core/p-BUgtURvw.js +0 -1
- package/dist/apollo-core/p-CXkZUm1c.js +0 -2
- package/dist/apollo-core/p-a3b4820a.entry.js +0 -1
- package/dist/apollo-core/p-b2d6dd0e.entry.js +0 -1
- package/dist/apollo-core/p-bd2249ef.entry.js +0 -1
- package/dist/apollo-core/p-c96b7957.entry.js +0 -1
- package/dist/apollo-core/p-d6be63cd.entry.js +0 -1
- package/dist/apollo-core/p-ddf76cee.entry.js +0 -1
- package/dist/apollo-core/p-f0554edd.entry.js +0 -1
- package/dist/collection/components/xpl-accordion/accordion.stories.js +0 -80
- package/dist/collection/components/xpl-application-shell/application-shell.stories.js +0 -737
- package/dist/collection/components/xpl-avatar/avatar.stories.js +0 -147
- package/dist/collection/components/xpl-backdrop/backdrop.stories.js +0 -24
- package/dist/collection/components/xpl-badge/badge.stories.js +0 -91
- package/dist/collection/components/xpl-banner/banner.stories.js +0 -69
- package/dist/collection/components/xpl-breadcrumbs/breadcrumbs.stories.js +0 -134
- package/dist/collection/components/xpl-button/button.stories.js +0 -142
- package/dist/collection/components/xpl-button-row/button-row.stories.js +0 -59
- package/dist/collection/components/xpl-calendar/calendar.stories.js +0 -63
- package/dist/collection/components/xpl-checkbox/checkbox.stories.js +0 -83
- package/dist/collection/components/xpl-choicelist/choicelist.stories.js +0 -138
- package/dist/collection/components/xpl-content-area/content-area.stories.js +0 -55
- package/dist/collection/components/xpl-dashboard/dashboard.stories.js +0 -48
- package/dist/collection/components/xpl-data-card/data-card.stories.js +0 -115
- package/dist/collection/components/xpl-divider/divider.stories.js +0 -36
- package/dist/collection/components/xpl-dropdown/dropdown.stories.js +0 -387
- package/dist/collection/components/xpl-dynamic-table/dynamic-table.stories.js +0 -165
- package/dist/collection/components/xpl-grid/grid.stories.js +0 -76
- package/dist/collection/components/xpl-header-accordion/header-accordion.stories.js +0 -52
- package/dist/collection/components/xpl-icon/icons.stories.js +0 -142
- package/dist/collection/components/xpl-input/input.stories.js +0 -696
- package/dist/collection/components/xpl-large-card/large-card.stories.js +0 -131
- package/dist/collection/components/xpl-list/list.stories.js +0 -389
- package/dist/collection/components/xpl-main-nav/main-nav.stories.js +0 -307
- package/dist/collection/components/xpl-modal/modal.stories.js +0 -91
- package/dist/collection/components/xpl-pagination/pagination.stories.js +0 -57
- package/dist/collection/components/xpl-panel/panel.stories.js +0 -53
- package/dist/collection/components/xpl-popover/popover.stories.js +0 -164
- package/dist/collection/components/xpl-progress-bar/progress-bar.stories.js +0 -96
- package/dist/collection/components/xpl-progress-indicator/progress-indicator.stories.js +0 -118
- package/dist/collection/components/xpl-radio/radio.stories.js +0 -106
- package/dist/collection/components/xpl-secondary-nav/secondary-nav.stories.js +0 -78
- package/dist/collection/components/xpl-select/select.stories.js +0 -297
- package/dist/collection/components/xpl-side-nav/side-nav.stories.js +0 -634
- package/dist/collection/components/xpl-skeleton/skeleton.stories.js +0 -71
- package/dist/collection/components/xpl-slideout/slideout.stories.js +0 -109
- package/dist/collection/components/xpl-spotlight/spotlight.stories.js +0 -385
- package/dist/collection/components/xpl-table/table.stories.js +0 -147
- package/dist/collection/components/xpl-table-header/table-header.stories.js +0 -126
- package/dist/collection/components/xpl-table-header-cell/table-header-cell.stories.js +0 -75
- package/dist/collection/components/xpl-tabs/segment-control.stories.js +0 -31
- package/dist/collection/components/xpl-tabs/tabs.stories.js +0 -31
- package/dist/collection/components/xpl-tag/tag.stories.js +0 -153
- package/dist/collection/components/xpl-toast/toast.stories.js +0 -86
- package/dist/collection/components/xpl-toggle/toggle.stories.js +0 -88
- package/dist/collection/components/xpl-tooltip/tooltip.stories.js +0 -58
- package/dist/collection/components/xpl-top-nav/top-nav.stories.js +0 -745
- package/dist/collection/components/xpl-utility-bar/utility-bar.stories.js +0 -87
- package/dist/components/p-2xGSxBGa.js +0 -1
- package/dist/components/p-B8RYNiz-.js +0 -1
- package/dist/components/p-BDWXBWGE.js +0 -1
- package/dist/components/p-BJqNuBZr.js +0 -1
- package/dist/components/p-BT_Lq3Vd.js +0 -1
- package/dist/components/p-BUgtURvw.js +0 -1
- package/dist/components/p-B_sq_SAX.js +0 -1
- package/dist/components/p-Bsy-VVS5.js +0 -1
- package/dist/components/p-C5_Yo0ZP.js +0 -1
- package/dist/components/p-C8rmEAx6.js +0 -1
- package/dist/components/p-CF_YTx16.js +0 -1
- package/dist/components/p-CFpsSZyr.js +0 -1
- package/dist/components/p-CUYkG-PB.js +0 -1
- package/dist/components/p-CaW0fL0P.js +0 -1
- package/dist/components/p-CuisR8WP.js +0 -1
- package/dist/components/p-D2SFagIb.js +0 -1
- package/dist/components/p-DKUNbsb0.js +0 -1
- package/dist/components/p-DcXL24UI.js +0 -1
- package/dist/components/p-Dp3H99Yc.js +0 -1
- package/dist/components/p-M900WO1C.js +0 -1
- package/dist/components/p-Yj_QFaRn.js +0 -1
- package/dist/components/p-ZTFt9sBy.js +0 -1
- package/dist/components/p-gfb3l9Pr.js +0 -1
- package/dist/components/p-h1Gbk5lO.js +0 -1
- package/dist/css/typography.stories.js +0 -144
- package/dist/types/components/xpl-accordion/accordion.stories.d.ts +0 -37
- package/dist/types/components/xpl-application-shell/application-shell.stories.d.ts +0 -64
- package/dist/types/components/xpl-avatar/avatar.stories.d.ts +0 -138
- package/dist/types/components/xpl-backdrop/backdrop.stories.d.ts +0 -21
- package/dist/types/components/xpl-badge/badge.stories.d.ts +0 -80
- package/dist/types/components/xpl-banner/banner.stories.d.ts +0 -79
- package/dist/types/components/xpl-breadcrumbs/breadcrumbs.stories.d.ts +0 -57
- package/dist/types/components/xpl-button/button.stories.d.ts +0 -132
- package/dist/types/components/xpl-button-row/button-row.stories.d.ts +0 -45
- package/dist/types/components/xpl-calendar/calendar.stories.d.ts +0 -62
- package/dist/types/components/xpl-checkbox/checkbox.stories.d.ts +0 -69
- package/dist/types/components/xpl-choicelist/choicelist.stories.d.ts +0 -44
- package/dist/types/components/xpl-content-area/content-area.stories.d.ts +0 -13
- package/dist/types/components/xpl-dashboard/dashboard.stories.d.ts +0 -31
- package/dist/types/components/xpl-data-card/data-card.stories.d.ts +0 -118
- package/dist/types/components/xpl-divider/divider.stories.d.ts +0 -41
- package/dist/types/components/xpl-dropdown/dropdown.stories.d.ts +0 -25
- package/dist/types/components/xpl-dynamic-table/dynamic-table.stories.d.ts +0 -45
- package/dist/types/components/xpl-grid/grid.stories.d.ts +0 -133
- package/dist/types/components/xpl-header-accordion/header-accordion.stories.d.ts +0 -48
- package/dist/types/components/xpl-icon/icons.stories.d.ts +0 -54
- package/dist/types/components/xpl-input/input.stories.d.ts +0 -240
- package/dist/types/components/xpl-large-card/large-card.stories.d.ts +0 -75
- package/dist/types/components/xpl-list/list.stories.d.ts +0 -353
- package/dist/types/components/xpl-main-nav/main-nav.stories.d.ts +0 -13
- package/dist/types/components/xpl-modal/modal.stories.d.ts +0 -103
- package/dist/types/components/xpl-pagination/pagination.stories.d.ts +0 -52
- package/dist/types/components/xpl-panel/panel.stories.d.ts +0 -22
- package/dist/types/components/xpl-popover/popover.stories.d.ts +0 -12
- package/dist/types/components/xpl-progress-bar/progress-bar.stories.d.ts +0 -73
- package/dist/types/components/xpl-progress-indicator/progress-indicator.stories.d.ts +0 -62
- package/dist/types/components/xpl-radio/radio.stories.d.ts +0 -93
- package/dist/types/components/xpl-secondary-nav/secondary-nav.stories.d.ts +0 -5
- package/dist/types/components/xpl-select/select.stories.d.ts +0 -168
- package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +0 -101
- package/dist/types/components/xpl-skeleton/skeleton.stories.d.ts +0 -26
- package/dist/types/components/xpl-slideout/slideout.stories.d.ts +0 -120
- package/dist/types/components/xpl-spotlight/spotlight.stories.d.ts +0 -197
- package/dist/types/components/xpl-table/table.stories.d.ts +0 -88
- package/dist/types/components/xpl-table-header/table-header.stories.d.ts +0 -107
- package/dist/types/components/xpl-table-header-cell/table-header-cell.stories.d.ts +0 -59
- package/dist/types/components/xpl-tabs/segment-control.stories.d.ts +0 -112
- package/dist/types/components/xpl-tabs/tabs.stories.d.ts +0 -97
- package/dist/types/components/xpl-tag/tag.stories.d.ts +0 -65
- package/dist/types/components/xpl-toast/toast.stories.d.ts +0 -66
- package/dist/types/components/xpl-toggle/toggle.stories.d.ts +0 -71
- package/dist/types/components/xpl-tooltip/tooltip.stories.d.ts +0 -43
- package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +0 -540
- package/dist/types/components/xpl-utility-bar/utility-bar.stories.d.ts +0 -20
- package/dist/types/home/runner/work/apollo/apollo/packages/apollo-core/.stencil/css/typography.stories.d.ts +0 -90
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
### Design Tokens
|
|
6
|
+
|
|
7
|
+
Tokens used by this component from `@xplortech/apollo-foundation`.
|
|
8
|
+
|
|
9
|
+
**Color**
|
|
10
|
+
- `--xpl-border-default` — display and swatch border
|
|
11
|
+
- `--xpl-text-default` — display text color
|
|
12
|
+
- `--xpl-text-subdued` — placeholder text color
|
|
13
|
+
- `--xpl-background-action-disabled` — disabled display background
|
|
14
|
+
- `--xpl-border-negative` — error state border color (unified with input-date / input-time)
|
|
15
|
+
- `--xpl-icon-default` — toggle icon color
|
|
16
|
+
- `--xpl-background-action-primary-default` — toggle icon hover color (purple; intentionally not `--xpl-icon-brand`, which is orange)
|
|
17
|
+
- `--xpl-border-subtle` — picker saturation/lightness grid, preview, and range-track borders
|
|
18
|
+
- `--xpl-color-neutral-0`, `--xpl-color-neutral-600` — fixed-color picker thumb ring/shadow (functional, non-themeable)
|
|
19
|
+
|
|
20
|
+
**Typography**
|
|
21
|
+
- `__placeholder`, `__value` — `@extend .xpl-text-body` (14 px normal)
|
|
22
|
+
|
|
5
23
|
<!-- Auto Generated Below -->
|
|
6
24
|
|
|
7
25
|
|
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
### Design Tokens
|
|
6
|
+
|
|
7
|
+
Tokens used by this component from `@xplortech/apollo-foundation`.
|
|
8
|
+
|
|
9
|
+
**Color**
|
|
10
|
+
- `--xpl-text-default` — selected file list text color
|
|
11
|
+
- `--xpl-text-subdued` — accepted-types (help) text color
|
|
12
|
+
- `--xpl-icon-default` — remove (x-circle) icon color
|
|
13
|
+
|
|
14
|
+
**Typography**
|
|
15
|
+
- `__file-name` — `@extend .xpl-text-callout` (12 px normal) — uploaded file names
|
|
16
|
+
- `__accept` — `@extend .xpl-text-caption` (10 px normal) — accepted file types help text
|
|
17
|
+
|
|
5
18
|
<!-- Auto Generated Below -->
|
|
6
19
|
|
|
7
20
|
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
### Design Tokens
|
|
6
|
+
|
|
7
|
+
Tokens used by this component from `@xplortech/apollo-foundation`.
|
|
8
|
+
|
|
9
|
+
**Color**
|
|
10
|
+
- `--xpl-border-negative` — error state border color (unified with input-date / input-color)
|
|
11
|
+
- `--xpl-icon-default` — leading clock icon color (matches input-date's calendar icon)
|
|
12
|
+
- `--xpl-background-surface-transparent-10`, `--xpl-background-surface-transparent-5` — time dropdown box-shadow (purpose-specific; flips to white-based transparency in dark mode)
|
|
13
|
+
|
|
5
14
|
<!-- Auto Generated Below -->
|
|
6
15
|
|
|
7
16
|
|
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
A card is a container and can contain any type of information. Cards contain actions and a content slot. Cards are flexible and can be arranged in grids or lists.
|
|
4
4
|
|
|
5
|
+
## Design Tokens
|
|
6
|
+
|
|
7
|
+
The card is styled entirely with Apollo Foundation purpose-specific tokens (dark mode is automatic — no `.dark` overrides).
|
|
8
|
+
|
|
9
|
+
| Element / state | Property | Token |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| Host surface | `background-color` | `--xpl-background-surface-default` |
|
|
12
|
+
| Host / anchor border | `border-color` | `--xpl-border-default` |
|
|
13
|
+
| Host, header text | `color` | `--xpl-text-default` |
|
|
14
|
+
| Header arrow (chevron) icon | `color` | `--xpl-icon-default` |
|
|
15
|
+
| Description text | `color` | `--xpl-text-subdued` |
|
|
16
|
+
| Anchor hover / active border | `border` | `--xpl-border-small` + `--xpl-background-action-primary-default` |
|
|
17
|
+
| Anchor focus-visible border | `border` | `--xpl-border-small` + `--xpl-border-focus` (purple) |
|
|
18
|
+
| Anchor focus-visible outline | `outline` | `--xpl-border-focus`, 2px width / 2px offset |
|
|
19
|
+
| Anchor hover / focus-visible radius | `border-radius` | `--xpl-border-radius-default` |
|
|
20
|
+
| Anchor hover shadow | `box-shadow` | `--xpl-background-surface-transparent-10` / `--xpl-background-surface-transparent-5` |
|
|
21
|
+
| Header / tooltip / icon spacing | `margin` | `--xpl-space-4`, `--xpl-space-6`, `--xpl-space-8` |
|
|
22
|
+
|
|
5
23
|
<!-- Auto Generated Below -->
|
|
6
24
|
|
|
7
25
|
|
|
@@ -328,14 +328,14 @@ Type: `Promise<void>`
|
|
|
328
328
|
```mermaid
|
|
329
329
|
graph TD;
|
|
330
330
|
xpl-list --> xpl-list-item
|
|
331
|
-
xpl-list-item --> xpl-avatar
|
|
332
331
|
xpl-list-item --> xpl-icon
|
|
333
332
|
xpl-list-item --> xpl-badge
|
|
334
333
|
xpl-list-item --> xpl-button
|
|
335
334
|
xpl-list-item --> xpl-radio
|
|
336
335
|
xpl-list-item --> xpl-divider
|
|
337
|
-
xpl-
|
|
336
|
+
xpl-list-item --> xpl-avatar
|
|
338
337
|
xpl-button --> xpl-icon
|
|
338
|
+
xpl-avatar --> xpl-badge
|
|
339
339
|
style xpl-list fill:#f9f,stroke:#333,stroke-width:4px
|
|
340
340
|
```
|
|
341
341
|
|
|
@@ -72,24 +72,24 @@ Single row for [`xpl-list`](../xpl-list/readme.md). **Slot-based** rows expose `
|
|
|
72
72
|
|
|
73
73
|
### Depends on
|
|
74
74
|
|
|
75
|
-
- [xpl-avatar](../../xpl-avatar)
|
|
76
75
|
- [xpl-icon](../../xpl-icon)
|
|
77
76
|
- [xpl-badge](../../xpl-badge)
|
|
78
77
|
- [xpl-button](../../xpl-button)
|
|
79
78
|
- [xpl-radio](../../xpl-radio)
|
|
80
79
|
- [xpl-divider](../../xpl-divider)
|
|
80
|
+
- [xpl-avatar](../../xpl-avatar)
|
|
81
81
|
|
|
82
82
|
### Graph
|
|
83
83
|
```mermaid
|
|
84
84
|
graph TD;
|
|
85
|
-
xpl-list-item --> xpl-avatar
|
|
86
85
|
xpl-list-item --> xpl-icon
|
|
87
86
|
xpl-list-item --> xpl-badge
|
|
88
87
|
xpl-list-item --> xpl-button
|
|
89
88
|
xpl-list-item --> xpl-radio
|
|
90
89
|
xpl-list-item --> xpl-divider
|
|
91
|
-
xpl-
|
|
90
|
+
xpl-list-item --> xpl-avatar
|
|
92
91
|
xpl-button --> xpl-icon
|
|
92
|
+
xpl-avatar --> xpl-badge
|
|
93
93
|
xpl-list --> xpl-list-item
|
|
94
94
|
style xpl-list-item fill:#f9f,stroke:#333,stroke-width:4px
|
|
95
95
|
```
|
|
@@ -5,6 +5,22 @@ The middle area is where the main navigation links go. It's a `<nav>` tag with a
|
|
|
5
5
|
|
|
6
6
|
The bottom area is fixed to the bottom and should be used for actions. To render content within this area use the slot `footer` with a `<ul slot="footer">` tag.
|
|
7
7
|
|
|
8
|
+
### Design Tokens
|
|
9
|
+
|
|
10
|
+
`xpl-main-nav` is the legacy always-dark side-nav rail; its surface never mode-switches, so colors resolve to the same dark-appropriate value in both page themes.
|
|
11
|
+
|
|
12
|
+
**Color**
|
|
13
|
+
- `--xpl-background-surface-inverse-on-light` — rail surface (neutral-1000, both modes; matches the application-shell nav host)
|
|
14
|
+
- `--xpl-color-neutral-1100` — footer surface (primitive; no purpose token — see `TECH_DEBT.md`)
|
|
15
|
+
- `--xpl-text-subdued` — rail on-surface base text and nav-item rest label (neutral-600 light / neutral-500 dark; Figma-confirmed; keeps text off the ambient page color on the dark rail)
|
|
16
|
+
- `--xpl-text-inverse-on-dark` — brand name + footer primary text (white, both modes)
|
|
17
|
+
- `--xpl-icon-subtle` — muted footer icon (neutral-500, both modes)
|
|
18
|
+
|
|
19
|
+
**Typography**
|
|
20
|
+
- `--xpl-font-size-body` — collapsed (`sm`/`md`) nav item label size
|
|
21
|
+
|
|
22
|
+
**Layout**
|
|
23
|
+
- Collapse-state widths (240 / 112 / 74px) and the 42px brand logo box are raw literals — no matching Foundation size token (see `TECH_DEBT.md`)
|
|
8
24
|
|
|
9
25
|
<!-- Auto Generated Below -->
|
|
10
26
|
|
|
@@ -4,6 +4,42 @@ Modals are dialogs that focus the user’s attention exclusively on one task or
|
|
|
4
4
|
|
|
5
5
|
Modals are disruptive and should only be used when disrupting the user’s flow is desired.
|
|
6
6
|
|
|
7
|
+
## Token Use
|
|
8
|
+
|
|
9
|
+
`xpl-modal` uses Apollo Foundation purpose-specific tokens; light and dark mode are handled by the token definitions, so the component has no `.dark` overrides.
|
|
10
|
+
|
|
11
|
+
| Element | Property | Token |
|
|
12
|
+
| ------- | -------- | ----- |
|
|
13
|
+
| `&__dialog` | background | `--xpl-background-surface-default` |
|
|
14
|
+
| `&__dialog` | text color | `--xpl-text-default` |
|
|
15
|
+
| `&__dialog` | radius | `--xpl-border-radius-large` |
|
|
16
|
+
| `&__dialog` | shadow color | `--xpl-color-transparent-neutral-10` / `--xpl-color-transparent-neutral-5` |
|
|
17
|
+
| `&__title` | typography (size / weight / line-height) | `@extend .xpl-text-title-3` → `title-3` / `bold` / `1.4` |
|
|
18
|
+
| `&__subtitle` | color | `--xpl-text-subdued` |
|
|
19
|
+
| `&__subtitle` | typography (size / weight / line-height) | `@extend .xpl-text-callout` → `callout` / `normal` / `1.3333` |
|
|
20
|
+
| `&__body` | typography (size / weight / line-height) | `@extend .xpl-text-body` → `body` / `normal` / `1.4286` |
|
|
21
|
+
| `&__alert-icon` | color | `--xpl-icon-negative` |
|
|
22
|
+
|
|
23
|
+
Modal widths are documented CSS literals: small `400px`, medium `600px`, large `800px`, mobile `350px` (see `modal.css` and `TECH_DEBT.md`).
|
|
24
|
+
|
|
25
|
+
> **Elevation shadow (interim):** Figma specs the dialog shadow as the single "Shadow 4" elevation style (`y=20`, `blur=25`, color `background-surface-transparent-10`). Foundation has no elevation/shadow tokens yet, so the shadow geometry is hand-authored and its color uses the primitive `--xpl-color-transparent-neutral-10 / -5`. This migrates to the purpose-specific `--xpl-background-surface-transparent-10` (theme-aware) once elevation tokens land — tracked in `TECH_DEBT.md`.
|
|
26
|
+
|
|
27
|
+
## Accessibility
|
|
28
|
+
|
|
29
|
+
`xpl-modal` renders a native `<dialog>` shown via `showModal()`: focus is trapped inside the modal while it is open, and `Escape` closes it (emitting `modalClosed`).
|
|
30
|
+
|
|
31
|
+
Keyboard tab order follows the DOM order of the footer slots: **close (×) → `primary` → `secondary` → `tertiary` → back to ×**. The footer's visual layout (tertiary pinned far-left, secondary and primary right-aligned) is produced with CSS `order` in `modal.css`, so the visual arrangement and the tab order are independent by design — do not reorder the `<slot>` elements in the component template to change the layout.
|
|
32
|
+
|
|
33
|
+
### Accessible names
|
|
34
|
+
|
|
35
|
+
The dialog is named by the `title` slot: the component wraps that slot in `.xpl-modal__title-text`, gives it a per-instance id, and points the dialog's `aria-labelledby` at it. Always provide a `title` slot — without one the dialog is announced only as "dialog". The label deliberately references the title text rather than the whole `.xpl-modal__title` row, which would fold the close button's own name into the dialog's name.
|
|
36
|
+
|
|
37
|
+
The close (×) button carries `aria-label="Close modal"`, so screen readers announce its purpose instead of the underlying icon name.
|
|
38
|
+
|
|
39
|
+
## Mounting and unmounting
|
|
40
|
+
|
|
41
|
+
`showModal()` promotes the dialog into the browser's top layer, where it survives the removal of its host element. `xpl-modal` closes the dialog when the host disconnects so a removed modal cannot leave a blocking overlay behind, and re-opens it — reattaching the `Escape` and backdrop listeners — if the host is connected again while `isOpen` is still `true`. Frameworks that move or reparent DOM nodes therefore get consistent state without extra work from the consumer.
|
|
42
|
+
|
|
7
43
|
<!-- Auto Generated Below -->
|
|
8
44
|
|
|
9
45
|
|
|
@@ -40,15 +76,15 @@ Modals are disruptive and should only be used when disrupting the user’s flow
|
|
|
40
76
|
### Depends on
|
|
41
77
|
|
|
42
78
|
- [xpl-backdrop](../xpl-backdrop)
|
|
43
|
-
- [xpl-icon](../xpl-icon)
|
|
44
79
|
- [xpl-button](../xpl-button)
|
|
80
|
+
- [xpl-icon](../xpl-icon)
|
|
45
81
|
|
|
46
82
|
### Graph
|
|
47
83
|
```mermaid
|
|
48
84
|
graph TD;
|
|
49
85
|
xpl-modal --> xpl-backdrop
|
|
50
|
-
xpl-modal --> xpl-icon
|
|
51
86
|
xpl-modal --> xpl-button
|
|
87
|
+
xpl-modal --> xpl-icon
|
|
52
88
|
xpl-button --> xpl-icon
|
|
53
89
|
style xpl-modal fill:#f9f,stroke:#333,stroke-width:4px
|
|
54
90
|
```
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
This component should be used within sections of the `<xpl-main-nav>`. This component yields a slot named `link`, where a `<a>` tag should be used. Within the `<a>` tag, there are two slots, one named `icon`, where any svg can be placed. An an unnamed slot, where the link text should be placed.
|
|
4
4
|
|
|
5
|
+
### Design Tokens
|
|
6
|
+
|
|
7
|
+
`xpl-nav-item` renders on the legacy always-dark side-nav rail, so its colors resolve to the same dark-appropriate value in both light and dark page themes.
|
|
8
|
+
|
|
9
|
+
**Color**
|
|
10
|
+
- `--xpl-icon-subtle` — rest icon (neutral-500, both modes)
|
|
11
|
+
- `--xpl-text-subdued` — rest label text (neutral-600 light / neutral-500 dark; Figma-confirmed)
|
|
12
|
+
- `--xpl-text-inverse-on-dark` / `--xpl-icon-inverse-on-dark` — hover / focus / active / selected label and icon (white, both modes)
|
|
13
|
+
- `--xpl-color-neutral-1200` — hover / focus / active background (primitive; no purpose token — see `TECH_DEBT.md`)
|
|
14
|
+
- `--xpl-color-orange-400` — active brand accent border + icon (primitive; consult-Figma — see `TECH_DEBT.md`)
|
|
15
|
+
|
|
16
|
+
**Border**
|
|
17
|
+
- `calc(2 * var(--xpl-border-large))` — 4px active accent border width (no 4px Foundation token)
|
|
18
|
+
|
|
5
19
|
<!-- Auto Generated Below -->
|
|
6
20
|
|
|
7
21
|
|
|
@@ -4,6 +4,35 @@ Pagination bar allows users to navigate pages of content.
|
|
|
4
4
|
|
|
5
5
|
> **Note:** This component is in beta. Use with caution and expect updates before the full release.
|
|
6
6
|
|
|
7
|
+
## Design Tokens
|
|
8
|
+
|
|
9
|
+
Pagination themes with the app (light/dark) using Apollo Foundation tokens
|
|
10
|
+
(`packages/apollo-core/src/css/pagination.css`):
|
|
11
|
+
|
|
12
|
+
| Element / state | Property | Token | Resolves (light / dark) |
|
|
13
|
+
| --- | --- | --- | --- |
|
|
14
|
+
| Pager button surface | `background-color` | `--xpl-background-action-secondary-default` | neutral-0 / neutral-1000 |
|
|
15
|
+
| Pager button border | `border-color` | `--xpl-border-strong` | neutral-600 / neutral-400 |
|
|
16
|
+
| Pager arrow icon | `color` (icon) | `--xpl-icon-default` | neutral-1000 / neutral-0 |
|
|
17
|
+
| Pager button hover/active border | `border-color` | `--xpl-background-action-primary-default` | purple-700 / purple-300 |
|
|
18
|
+
| Pager button focus | `outline-color` | `--xpl-border-focus` (2px, 2px offset) | purple-800 / purple-400 |
|
|
19
|
+
| Pager button disabled icon | `color` (icon) | `--xpl-icon-disabled` | neutral-600 / neutral-500 |
|
|
20
|
+
| Pager button disabled bg | `background-color` | `--xpl-background-action-disabled` | neutral-100 / neutral-800 |
|
|
21
|
+
| Pager container text | `color` | `--xpl-text-default` | neutral-900 / neutral-50 |
|
|
22
|
+
| Rows-per-page label | `color` | `--xpl-text-default` | neutral-900 / neutral-50 |
|
|
23
|
+
| Rows-per-page label | `font-size` / `font-weight` / `line-height` | `@extend .xpl-text-body` (14px, normal, 1.4286) | — |
|
|
24
|
+
| Go-to-page value | `color` | `--xpl-text-link-default` | purple-700 / purple-300 |
|
|
25
|
+
| Active page background | `background-color` | `--xpl-background-brand-secondary-surface` | purple-50 / purple-900 |
|
|
26
|
+
| Pager button / page size | `width` / `height` | `--xpl-size-250` | 40px |
|
|
27
|
+
| Prev / next radius | `border-radius` | `--xpl-border-radius-full` | pill |
|
|
28
|
+
|
|
29
|
+
> **Accessibility:** keyboard focus uses the Foundation `:focus-visible` outline pattern
|
|
30
|
+
> (`--xpl-border-focus`, 2px outline + 2px offset) instead of a Tailwind `ring`, so the
|
|
31
|
+
> focus ring stays visible on the pager buttons in both themes.
|
|
32
|
+
>
|
|
33
|
+
> **Note:** the rows-per-page (72px), page-select (88px), and page-info (70px) min-widths
|
|
34
|
+
> have no matching Foundation size token and remain literals — see `TECH_DEBT.md`.
|
|
35
|
+
|
|
7
36
|
<!-- Auto Generated Below -->
|
|
8
37
|
|
|
9
38
|
|
|
@@ -19,6 +19,18 @@ The radio component uses the following Apollo Foundation tokens:
|
|
|
19
19
|
| `--xpl-border-small` | Default border width (1px) |
|
|
20
20
|
| `--xpl-size-100` | Radio dimensions (16px) |
|
|
21
21
|
|
|
22
|
+
### Label tokens (shared `label.css`)
|
|
23
|
+
|
|
24
|
+
The radio label and description are styled by the shared `.xpl-label` / `.xpl-description` classes.
|
|
25
|
+
|
|
26
|
+
| Token | Usage |
|
|
27
|
+
|-------|-------|
|
|
28
|
+
| `--xpl-text-strong` | Label text color (matches `.xpl-input-label`; resolves to white in dark mode) |
|
|
29
|
+
| `--xpl-text-disabled` | Disabled label text color |
|
|
30
|
+
| `--xpl-text-subdued` | Description text color (enabled and disabled) |
|
|
31
|
+
| `.xpl-text-body` | Label typography: `--xpl-font-size-body` (14px) / normal / 1.4286 line-height |
|
|
32
|
+
| `.xpl-text-callout` | Description typography: `--xpl-font-size-callout` (12px) / normal / 1.3333 line-height |
|
|
33
|
+
|
|
22
34
|
<!-- Auto Generated Below -->
|
|
23
35
|
|
|
24
36
|
|
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
The Secondary Nav component is a component that allows navigation within the content area. It yields one slot where a <ul> element with <xpl-nav-item> elements should be rendered.
|
|
4
4
|
|
|
5
|
+
## Design Tokens
|
|
6
|
+
|
|
7
|
+
The secondary nav uses Apollo Foundation purpose-specific tokens, which theme automatically in light and dark mode (no `.dark` overrides).
|
|
8
|
+
|
|
9
|
+
| Element / state | Property | Token |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| `nav`, `ul`, host, item | `background` | `--xpl-background-surface-default` |
|
|
12
|
+
| item (default) | `color` | `--xpl-text-subdued` |
|
|
13
|
+
| item | `font-size` | `--xpl-font-size-body` (0.875rem / 14px) |
|
|
14
|
+
| item | `font-weight` | `--xpl-font-weight-normal` (400) |
|
|
15
|
+
| item hover | `color` | `--xpl-text-strong` |
|
|
16
|
+
| item hover | `background` | `--xpl-background-surface-transparent-0` |
|
|
17
|
+
| item active | `color` | `--xpl-text-strong` |
|
|
18
|
+
| item active | `background` | `--xpl-background-brand-primary-surface` |
|
|
19
|
+
| item active | accent `border-color` | `--xpl-border-accent-brand` |
|
|
20
|
+
| item `:focus-visible` | `outline-color` | `--xpl-border-focus` |
|
|
21
|
+
| item `:focus-visible` | `z-index` (above scroll fade) | `--xpl-z-index-200` |
|
|
22
|
+
| item accent border | `border-width` (4px) | `calc(2 * var(--xpl-border-large))` |
|
|
23
|
+
| item (desktop) | `height` (48px) | `--xpl-size-300` |
|
|
24
|
+
| scroll fade `nav::after` | `z-index` (below focused item) | `--xpl-z-index-100` |
|
|
25
|
+
|
|
26
|
+
The horizontal-scroll fade (`nav::after`, mobile only) fills a strip with `--xpl-background-surface-default` and fades it out with an alpha-only `mask-image`, so it blends into the themed nav background in both modes. It is `pointer-events: none` and sits at `--xpl-z-index-100`, below a keyboard-focused item (`--xpl-z-index-200`), so it never intercepts taps or hides an item's `:focus-visible` ring.
|
|
27
|
+
|
|
28
|
+
**Known token gaps** (see [`TECH_DEBT.md`](../../../../../../TECH_DEBT.md)): the item `height` (52px) and desktop `width` (200px) have no matching Foundation size token; the 4px accent border and the scroll-fade gradient stops have no dedicated Foundation tokens.
|
|
29
|
+
|
|
5
30
|
<!-- Auto Generated Below -->
|
|
6
31
|
|
|
7
32
|
|
|
@@ -8,6 +8,19 @@ The `selectIcon` property accepts icon names as strings. See [xpl-icon available
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
### Design Tokens
|
|
12
|
+
|
|
13
|
+
Tokens used by this component from `@xplortech/apollo-foundation`.
|
|
14
|
+
|
|
15
|
+
**Color**
|
|
16
|
+
- `--xpl-icon-default` — chevron icon color
|
|
17
|
+
- `--xpl-text-subdued` — trigger and placeholder value color (empty state)
|
|
18
|
+
- `--xpl-text-default` — selected value color (`.has-value`)
|
|
19
|
+
|
|
20
|
+
The options panel surface, borders, and option states are styled by [xpl-dropdown](../xpl-dropdown) — see its Design Tokens section.
|
|
21
|
+
|
|
22
|
+
**Note:** the trigger `height` (44px) and `.xpl-input-wrapper` `min-height` (46px) are kept as literals — no `--xpl-size` token matches (250 = 40px, 300 = 48px). See `TECH_DEBT.md`.
|
|
23
|
+
|
|
11
24
|
<!-- Auto Generated Below -->
|
|
12
25
|
|
|
13
26
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# xpl-side-nav
|
|
2
2
|
|
|
3
|
-
Slot-based sidebar for app navigation: scrollable
|
|
3
|
+
Slot-based sidebar for app navigation: a scrollable `nav-header` + `section` area and a fixed footer. Compose with [`xpl-side-nav-item`](./xpl-side-nav-item) for rows in the section and footer.
|
|
4
4
|
|
|
5
5
|
## Slots
|
|
6
6
|
|
|
7
7
|
| Slot | Description |
|
|
8
8
|
| ---- | ----------- |
|
|
9
|
+
| `nav-header` | Optional header row — place an [`xpl-side-nav-header-item`](./xpl-side-nav-header-item) inside. Hidden entirely (no wrapper, no border) when the slot is empty. |
|
|
9
10
|
| `section` | Primary navigation. Place `xpl-side-nav-item` elements (or wrappers) inside this slot; layout uses internal section markup. |
|
|
10
11
|
| `nav-footer` | Footer actions (e.g. Help, Logout). Same item component; typically smaller label styling via CSS. |
|
|
11
12
|
|
|
@@ -15,6 +16,9 @@ Use the **`label`** prop for a unique accessible name on the `<nav>` when multip
|
|
|
15
16
|
|
|
16
17
|
```html
|
|
17
18
|
<xpl-side-nav label="Main navigation">
|
|
19
|
+
<div slot="nav-header">
|
|
20
|
+
<xpl-side-nav-header-item type="sub-account" label="Acme Inc" icon="office-3"></xpl-side-nav-header-item>
|
|
21
|
+
</div>
|
|
18
22
|
<div slot="section">
|
|
19
23
|
<xpl-side-nav-item label="Dashboard" icon="house-4" selected></xpl-side-nav-item>
|
|
20
24
|
<xpl-side-nav-item has-children label="Settings" expanded>
|
|
@@ -129,8 +133,8 @@ When multiple navigation landmarks exist on a page (e.g., side nav, top nav, bre
|
|
|
129
133
|
|
|
130
134
|
## Overview
|
|
131
135
|
|
|
132
|
-
Slot-based sidebar for app navigation: a scrollable
|
|
133
|
-
`nav-footer`. Compose with `xpl-side-nav-item` for rows.
|
|
136
|
+
Slot-based sidebar for app navigation: a scrollable `nav-header` + `section`
|
|
137
|
+
area and a fixed `nav-footer`. Compose with `xpl-side-nav-item` for rows.
|
|
134
138
|
|
|
135
139
|
**Mobile (v2):** below the Tailwind `md` breakpoint, the sidebar collapses to a
|
|
136
140
|
~56px top bar with a toggle button (`sidebar-left-show` / `sidebar-left-hide`).
|
|
@@ -192,10 +196,11 @@ Type: `Promise<void>`
|
|
|
192
196
|
|
|
193
197
|
## Slots
|
|
194
198
|
|
|
195
|
-
| Slot | Description
|
|
196
|
-
| -------------- |
|
|
197
|
-
| `"nav-footer"` | Footer items (e.g. Help, Logout), separated by a top border.
|
|
198
|
-
| `"
|
|
199
|
+
| Slot | Description |
|
|
200
|
+
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
201
|
+
| `"nav-footer"` | Footer items (e.g. Help, Logout), separated by a top border. |
|
|
202
|
+
| `"nav-header"` | Optional header row (e.g. `xpl-side-nav-header-item`), separated by a bottom border. Hidden entirely (no border, no reserved space) when empty. |
|
|
203
|
+
| `"section"` | Primary navigation items (`xpl-side-nav-item`). |
|
|
199
204
|
|
|
200
205
|
|
|
201
206
|
## Dependencies
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# xpl-side-nav-header-item
|
|
2
|
+
|
|
3
|
+
Header row sub-component for [`xpl-side-nav`](../xpl-side-nav)'s `slot="nav-header"` (Figma navHeaderItem, node `51299-9007`).
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
### Product label (static)
|
|
8
|
+
|
|
9
|
+
```html
|
|
10
|
+
<xpl-side-nav-header-item type="product-label" label="My Product"></xpl-side-nav-header-item>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Sub account (interactive)
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<xpl-side-nav-header-item
|
|
17
|
+
type="sub-account"
|
|
18
|
+
label="Acme Inc"
|
|
19
|
+
icon="pin"
|
|
20
|
+
></xpl-side-nav-header-item>
|
|
21
|
+
<script>
|
|
22
|
+
document
|
|
23
|
+
.querySelector('xpl-side-nav-header-item[type="sub-account"]')
|
|
24
|
+
.addEventListener('navigate', () => {
|
|
25
|
+
// open a location / account switcher, e.g. a modal
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Selected sub account
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<xpl-side-nav-header-item
|
|
34
|
+
type="sub-account"
|
|
35
|
+
label="Acme Inc"
|
|
36
|
+
selected
|
|
37
|
+
></xpl-side-nav-header-item>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Custom trailing icon (replaces the auto chevron)
|
|
41
|
+
|
|
42
|
+
```html
|
|
43
|
+
<xpl-side-nav-header-item type="sub-account" label="Xplor Growth">
|
|
44
|
+
<xpl-icon slot="trailing" icon="external-link" size="16" aria-hidden="true"></xpl-icon>
|
|
45
|
+
</xpl-side-nav-header-item>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Rules
|
|
49
|
+
|
|
50
|
+
| Topic | Behavior |
|
|
51
|
+
|---|---|
|
|
52
|
+
| **Leading / trailing columns** | Unlike `xpl-side-nav-item`, these are **not** unconditionally reserved — they only render when there is an `icon` prop or slotted content, matching the Figma variants where the leading icon is an optional toggle. |
|
|
53
|
+
| **Auto chevron** | `sub-account` auto-renders `chevron-expand-y` (a static dual-arrow glyph) in the trailing column when no `slot="trailing"` content is provided. It does not rotate. |
|
|
54
|
+
| **`selected`** | Only meaningful on `sub-account` — wraps the label + trailing chevron in an information-surface pill. Ignored on `product-label`. |
|
|
55
|
+
| **Selected + leading icon** | Figma's selected variant absolute-positions the leading icon over the pill's edge (an auto-layout artifact, not a deliberate detail). This component keeps the leading icon in normal flow outside the pill for a simpler, more maintainable DOM structure. |
|
|
56
|
+
|
|
57
|
+
## Accessibility
|
|
58
|
+
|
|
59
|
+
- `product-label` renders a plain, non-interactive `<div>` — no button semantics, since there is nothing to activate.
|
|
60
|
+
- `sub-account` renders a real `<button type="button">`, so Enter/Space activation and focus are native. Activation emits the `navigate` event (pointer or keyboard).
|
|
61
|
+
- **Selected state** — a selected `sub-account` exposes `aria-current="true"` on the button so assistive tech announces which sub-account is active (the pill is a visual-only cue). `'true'` is used rather than `'page'` because a sub-account switcher is not a page.
|
|
62
|
+
- **Accessible name** — the `label` supplies the button's accessible name, so a `label` is strongly recommended for `sub-account`. When `label` is omitted (icon-only), the leading icon is decorative and the auto chevron is `aria-hidden`, so the component falls back to `aria-label="Sub-account"` to guarantee the button is never unnamed. Provide a meaningful `label` for a better experience.
|
|
63
|
+
- The decorative auto chevron carries `aria-hidden="true"`; a custom `slot="trailing"` icon is left to the consumer to label appropriately.
|
|
64
|
+
|
|
65
|
+
## Token reference
|
|
66
|
+
|
|
67
|
+
| Token | Usage |
|
|
68
|
+
|---|---|
|
|
69
|
+
| `--xpl-text-subdued` | `product-label` label color |
|
|
70
|
+
| `--xpl-text-strong` | `sub-account` label color |
|
|
71
|
+
| `--xpl-icon-default` | Leading / non-auto trailing icon color |
|
|
72
|
+
| `--xpl-icon-subtle` | Auto chevron color |
|
|
73
|
+
| `--xpl-background-surface-information` | Selected pill background |
|
|
74
|
+
| `--xpl-background-surface-transparent-10` | `sub-account` hover background |
|
|
75
|
+
| `--xpl-border-focus` | Focus outline color |
|
|
76
|
+
| `--xpl-space-4` / `--xpl-space-8` / `--xpl-space-16` | Row / pill padding and gap |
|
|
77
|
+
| `--xpl-size-100` / `--xpl-size-150` | Leading/trailing icon box: 16px desktop, 24px mobile |
|
|
78
|
+
| `--xpl-size-200` | Row `min-height` (32px) |
|
|
79
|
+
|
|
80
|
+
## Related
|
|
81
|
+
|
|
82
|
+
- [xpl-side-nav](../xpl-side-nav) — Sidebar container.
|
|
83
|
+
- [xpl-side-nav-item](../xpl-side-nav-item) — Navigation row (shares the leading/trailing slot + icon-prop convention).
|
|
84
|
+
|
|
85
|
+
<!-- Auto Generated Below -->
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## Overview
|
|
89
|
+
|
|
90
|
+
Header row for `xpl-side-nav`'s `nav-header` slot (Figma `<navHeaderItem>`,
|
|
91
|
+
node `51299-9007`). Two types:
|
|
92
|
+
|
|
93
|
+
- **`product-label` (default)** — a non-interactive `<div>` row that shows the
|
|
94
|
+
current product/area name in a subdued color. No click behavior.
|
|
95
|
+
- **`sub-account`** — an interactive `<button>` row (e.g. a location / account
|
|
96
|
+
switcher). Emits `navigate` on activation (pointer click or keyboard); the
|
|
97
|
+
consumer wires this to open a modal or other entity-switching experience.
|
|
98
|
+
When no `slot="trailing"` content is provided, an auto chevron
|
|
99
|
+
(`chevron-expand-y`, a static dual-arrow glyph — no rotation) renders by default.
|
|
100
|
+
|
|
101
|
+
Both types support `slot="leading"` / `slot="trailing"` (the `icon` prop is a
|
|
102
|
+
convenience shorthand for `slot="leading"`, same as `xpl-side-nav-item`) so they
|
|
103
|
+
can scale to future uses. Unlike `xpl-side-nav-item`, the leading/trailing
|
|
104
|
+
columns are NOT unconditionally reserved — they only render when there is
|
|
105
|
+
content, matching the Figma variants where the leading icon is an optional toggle.
|
|
106
|
+
|
|
107
|
+
**Note on the `sub-account` hover / selected visual:** the interactive row
|
|
108
|
+
mirrors `xpl-side-nav-item` — the hover and selected backgrounds fill a single
|
|
109
|
+
`__content` pill that wraps the leading icon + label + trailing chevron, with
|
|
110
|
+
an 8px (`--xpl-border-radius-default`) radius. The pill insets 8px from the nav
|
|
111
|
+
edge (an 8px gutter on the button) so it lines up with the item rows below it,
|
|
112
|
+
and hover/selected therefore highlight the whole row content rather than a
|
|
113
|
+
partial fragment.
|
|
114
|
+
|
|
115
|
+
## Properties
|
|
116
|
+
|
|
117
|
+
| Property | Attribute | Description | Type | Default |
|
|
118
|
+
| ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ----------------- |
|
|
119
|
+
| `icon` | `icon` | Optional icon name; renders as the default content for `slot="leading"`. When `slot="leading"` content is present, this prop is ignored. | `string` | `undefined` |
|
|
120
|
+
| `label` | `label` | The display label for the header item (e.g. the product name or sub-account name). | `string` | `undefined` |
|
|
121
|
+
| `selected` | `selected` | Whether the item is currently in a selected state. Only meaningful when `type` is `sub-account` — applies the information-surface pill around the label + trailing chevron. | `boolean` | `false` |
|
|
122
|
+
| `type` | `type` | The header item variant. `product-label` is a static, non-interactive label. `sub-account` is an interactive button that emits `navigate`. | `"product-label" \| "sub-account"` | `'product-label'` |
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
## Events
|
|
126
|
+
|
|
127
|
+
| Event | Description | Type |
|
|
128
|
+
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
|
|
129
|
+
| `navigate` | Emitted when a `sub-account` item is activated (pointer click or keyboard activation of the native `<button>`). Not emitted for `product-label` (static, no interaction). | `CustomEvent<void>` |
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## Slots
|
|
133
|
+
|
|
134
|
+
| Slot | Description |
|
|
135
|
+
| ------------ | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
136
|
+
| `"leading"` | Leading icon column. The `icon` prop renders an `xpl-icon` here as a shorthand when no slotted `leading` content is present. |
|
|
137
|
+
| `"trailing"` | Trailing content. On `sub-account`, an auto `chevron-expand-y` icon renders here when no `trailing` slot content is provided. |
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## Dependencies
|
|
141
|
+
|
|
142
|
+
### Depends on
|
|
143
|
+
|
|
144
|
+
- [xpl-icon](../../xpl-icon)
|
|
145
|
+
|
|
146
|
+
### Graph
|
|
147
|
+
```mermaid
|
|
148
|
+
graph TD;
|
|
149
|
+
xpl-side-nav-header-item --> xpl-icon
|
|
150
|
+
style xpl-side-nav-header-item fill:#f9f,stroke:#333,stroke-width:4px
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
----------------------------------------------
|
|
154
|
+
|
|
155
|
+
*Built with [StencilJS](https://stenciljs.com/)*
|
|
@@ -15,6 +15,7 @@ Row for [`xpl-side-nav`](../xpl-side-nav): place items in `slot="section"` or `s
|
|
|
15
15
|
| Trailing slot | Not available | `slot="trailing"` | Add to leaf items for custom trailing content |
|
|
16
16
|
| Chevron position | Leading (left side) | Trailing (right side), auto-rendered for parents | No action needed for auto chevron; remove manual chevron markup if any |
|
|
17
17
|
| Chevron override | Not possible | `slot="trailing"` content replaces auto chevron on parents | Pass `slot="trailing"` to customize the trailing column on a parent |
|
|
18
|
+
| Leaf click event | `navClick` event | `navigate` event | Rename listeners: `navClick` → `navigate` (React `onNavClick` → `onNavigate`) |
|
|
18
19
|
|
|
19
20
|
### Before / after examples
|
|
20
21
|
|
|
@@ -50,11 +51,20 @@ Row for [`xpl-side-nav`](../xpl-side-nav): place items in `slot="section"` or `s
|
|
|
50
51
|
</xpl-side-nav-item>
|
|
51
52
|
```
|
|
52
53
|
|
|
54
|
+
**Leaf click event rename:**
|
|
55
|
+
```js
|
|
56
|
+
// v1
|
|
57
|
+
item.addEventListener('navClick', handler);
|
|
58
|
+
// v2
|
|
59
|
+
item.addEventListener('navigate', handler);
|
|
60
|
+
```
|
|
61
|
+
In React the prop changes from `onNavClick` to `onNavigate`.
|
|
62
|
+
|
|
53
63
|
---
|
|
54
64
|
|
|
55
65
|
## Modes
|
|
56
66
|
|
|
57
|
-
- **Leaf (default)** — Button with optional `label`, `icon` prop / `slot="leading"`, and `slot="trailing"`.
|
|
67
|
+
- **Leaf (default)** — Button with optional `label`, `icon` prop / `slot="leading"`, and `slot="trailing"`. Activation (click or keyboard) emits **`navigate`**.
|
|
58
68
|
- **Expandable (`has-children`)** — Put nested `xpl-side-nav-item` elements in the **default slot**. Row renders **leading icon** (from `icon` prop or `slot="leading"`) **+ label + auto chevron** in the trailing position (**`chevron-down`** when collapsed, **`chevron-up`** when expanded). The chevron is replaced if `slot="trailing"` content is provided. Click toggles **`expanded`** and emits **`expandedChange`**.
|
|
59
69
|
- **Link (`link`)** — **Default slot only**: renders a bare `<slot>` with no inner button. Use when the row must be a real `<a>` element — for framework router components, browser right-click / open-in-new-tab behaviour, or when semantic link vs. button distinction matters for screen readers. For typical in-app navigation the default button mode is simpler. The `label` and `icon` props are ignored in link mode; supply all content in your slotted anchor. **Cannot** be combined with `has-children`.
|
|
60
70
|
|
|
@@ -65,7 +75,7 @@ Row for [`xpl-side-nav`](../xpl-side-nav): place items in `slot="section"` or `s
|
|
|
65
75
|
| **`link` vs `has-children`** | Mutually exclusive. When **`link`** is true, **`hasChildren`** is always false; if both attributes appear in markup, `has-children` is cleared. |
|
|
66
76
|
| **Leading icon** | `icon` prop / `slot="leading"` apply to all item types including parents. Nested sub-items (inside a parent) have the leading column hidden in CSS — use label only. |
|
|
67
77
|
| **Trailing chevron** | Auto-rendered for `has-children` items when `slot="trailing"` is empty. Providing `slot="trailing"` content replaces the auto chevron. |
|
|
68
|
-
| **Events** | **`
|
|
78
|
+
| **Events** | **`navigate`** — leaf button rows (pointer or keyboard activation). **`expandedChange`** — expandable rows only (detail = new `expanded` boolean). |
|
|
69
79
|
|
|
70
80
|
## Usage
|
|
71
81
|
|
|
@@ -224,10 +234,10 @@ anchor container (`link` mode). Three slot positions are available:
|
|
|
224
234
|
|
|
225
235
|
## Events
|
|
226
236
|
|
|
227
|
-
| Event | Description
|
|
228
|
-
| ---------------- |
|
|
229
|
-
| `expandedChange` | Emitted when the expanded state changes (`has-children` items only). Detail is the new expanded value.
|
|
230
|
-
| `
|
|
237
|
+
| Event | Description | Type |
|
|
238
|
+
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |
|
|
239
|
+
| `expandedChange` | Emitted when the expanded state changes (`has-children` items only). Detail is the new expanded value. | `CustomEvent<boolean>` |
|
|
240
|
+
| `navigate` | Emitted when a leaf item is activated (pointer click or keyboard activation of the native `<button>`). Expandable parents use `expandedChange` instead. | `CustomEvent<void>` |
|
|
231
241
|
|
|
232
242
|
|
|
233
243
|
## Dependencies
|